@omnizap-system/omnizap 2.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.clusterfuzzlite/Dockerfile +10 -0
- package/.env.example +907 -0
- package/.github/codeql/codeql-config.yml +10 -0
- package/.github/dependabot.yml +35 -0
- package/.github/workflows/ci.yml +73 -0
- package/.github/workflows/codeql.yml +106 -0
- package/.github/workflows/db-migration-check.yml +98 -0
- package/.github/workflows/dependency-review.yml +22 -0
- package/.github/workflows/deploy.yml +95 -0
- package/.github/workflows/release.yml +106 -0
- package/.github/workflows/security-attest-provenance.yml +51 -0
- package/.github/workflows/security-gitleaks.yml +34 -0
- package/.github/workflows/security-runner-hardening.yml +31 -0
- package/.github/workflows/security-scorecard.yml +44 -0
- package/.github/workflows/security-zap-baseline.yml +44 -0
- package/.github/workflows/security-zap-full-scan.yml +43 -0
- package/.github/workflows/security-zizmor.yml +36 -0
- package/.github/workflows/wiki-sync.yml +44 -0
- package/.gitleaks.toml +15 -0
- package/.prettierrc +34 -0
- package/CODE_OF_CONDUCT.md +114 -0
- package/LICENSE +56 -0
- package/README.md +110 -0
- package/SECURITY.md +110 -0
- package/app/config/index.js +4 -0
- package/app/configParts/adminIdentity.js +92 -0
- package/app/configParts/baileysConfig.js +1818 -0
- package/app/configParts/groupUtils.js +692 -0
- package/app/configParts/loggerConfig.js +394 -0
- package/app/configParts/messagePersistenceService.js +305 -0
- package/app/connection/baileysCompatibility.test.js +40 -0
- package/app/connection/baileysDbAuthState.js +344 -0
- package/app/connection/socketController.js +2243 -0
- package/app/controllers/messageController.js +7 -0
- package/app/controllers/messagePipeline/commandMiddleware.js +146 -0
- package/app/controllers/messagePipeline/conversationMiddleware.js +183 -0
- package/app/controllers/messagePipeline/messagePipelineMiddlewares.test.js +522 -0
- package/app/controllers/messagePipeline/postProcessingMiddleware.js +41 -0
- package/app/controllers/messagePipeline/preProcessingMiddlewares.js +166 -0
- package/app/controllers/messageProcessingPipeline.js +699 -0
- package/app/modules/adminModule/AGENT.md +4056 -0
- package/app/modules/adminModule/adminAiHelpService.js +56 -0
- package/app/modules/adminModule/adminConfigRuntime.js +177 -0
- package/app/modules/adminModule/commandConfig.json +7122 -0
- package/app/modules/adminModule/groupCommandHandlers.js +1823 -0
- package/app/modules/adminModule/groupCommandHandlers.test.js +350 -0
- package/app/modules/adminModule/groupEventHandlers.js +399 -0
- package/app/modules/aiModule/AGENT.md +547 -0
- package/app/modules/aiModule/aiAiHelpService.js +14 -0
- package/app/modules/aiModule/aiConfigRuntime.js +135 -0
- package/app/modules/aiModule/catCommand.js +967 -0
- package/app/modules/aiModule/commandConfig.json +981 -0
- package/app/modules/analyticsModule/messageAnalysisEventRepository.js +83 -0
- package/app/modules/gameModule/AGENT.md +196 -0
- package/app/modules/gameModule/commandConfig.json +366 -0
- package/app/modules/gameModule/diceCommand.js +42 -0
- package/app/modules/gameModule/gameAiHelpService.js +14 -0
- package/app/modules/gameModule/gameConfigRuntime.js +68 -0
- package/app/modules/menuModule/AGENT.md +205 -0
- package/app/modules/menuModule/commandConfig.json +366 -0
- package/app/modules/menuModule/common.js +316 -0
- package/app/modules/menuModule/menuAiHelpService.js +14 -0
- package/app/modules/menuModule/menuConfigRuntime.js +68 -0
- package/app/modules/menuModule/menus.js +66 -0
- package/app/modules/playModule/AGENT.md +321 -0
- package/app/modules/playModule/commandConfig.json +584 -0
- package/app/modules/playModule/playAiHelpService.js +14 -0
- package/app/modules/playModule/playCommand.js +1417 -0
- package/app/modules/playModule/playConfigRuntime.js +68 -0
- package/app/modules/quoteModule/AGENT.md +199 -0
- package/app/modules/quoteModule/commandConfig.json +366 -0
- package/app/modules/quoteModule/quoteAiHelpService.js +14 -0
- package/app/modules/quoteModule/quoteCommand.js +842 -0
- package/app/modules/quoteModule/quoteConfigRuntime.js +68 -0
- package/app/modules/rpgPokemonModule/AGENT.md +229 -0
- package/app/modules/rpgPokemonModule/commandConfig.json +386 -0
- package/app/modules/rpgPokemonModule/rpgBattleCanvasRenderer.js +795 -0
- package/app/modules/rpgPokemonModule/rpgBattleService.js +2110 -0
- package/app/modules/rpgPokemonModule/rpgBattleService.test.js +770 -0
- package/app/modules/rpgPokemonModule/rpgEvolutionUtils.js +22 -0
- package/app/modules/rpgPokemonModule/rpgPokemonAiHelpService.js +14 -0
- package/app/modules/rpgPokemonModule/rpgPokemonCommand.js +174 -0
- package/app/modules/rpgPokemonModule/rpgPokemonConfigRuntime.js +68 -0
- package/app/modules/rpgPokemonModule/rpgPokemonDomain.js +192 -0
- package/app/modules/rpgPokemonModule/rpgPokemonDomain.test.js +93 -0
- package/app/modules/rpgPokemonModule/rpgPokemonEvolution.test.js +46 -0
- package/app/modules/rpgPokemonModule/rpgPokemonMessages.js +746 -0
- package/app/modules/rpgPokemonModule/rpgPokemonRepository.js +1847 -0
- package/app/modules/rpgPokemonModule/rpgPokemonService.js +6839 -0
- package/app/modules/rpgPokemonModule/rpgProfileCanvasRenderer.js +354 -0
- package/app/modules/statsModule/AGENT.md +320 -0
- package/app/modules/statsModule/commandConfig.json +540 -0
- package/app/modules/statsModule/globalRankingCommand.js +64 -0
- package/app/modules/statsModule/rankingCommand.js +41 -0
- package/app/modules/statsModule/rankingCommon.js +1305 -0
- package/app/modules/statsModule/statsAiHelpService.js +14 -0
- package/app/modules/statsModule/statsConfigRuntime.js +68 -0
- package/app/modules/stickerModule/AGENT.md +692 -0
- package/app/modules/stickerModule/addStickerMetadata.js +239 -0
- package/app/modules/stickerModule/commandConfig.json +1216 -0
- package/app/modules/stickerModule/convertToWebp.js +367 -0
- package/app/modules/stickerModule/stickerAiHelpService.js +14 -0
- package/app/modules/stickerModule/stickerCommand.js +446 -0
- package/app/modules/stickerModule/stickerConfigRuntime.js +68 -0
- package/app/modules/stickerModule/stickerConvertCommand.js +159 -0
- package/app/modules/stickerModule/stickerTextCommand.js +653 -0
- package/app/modules/stickerPackModule/AGENT.md +215 -0
- package/app/modules/stickerPackModule/autoPackCollectorRuntime.js +20 -0
- package/app/modules/stickerPackModule/autoPackCollectorService.js +357 -0
- package/app/modules/stickerPackModule/commandConfig.json +387 -0
- package/app/modules/stickerPackModule/domainEventOutboxRepository.js +227 -0
- package/app/modules/stickerPackModule/domainEvents.js +52 -0
- package/app/modules/stickerPackModule/semanticReclassificationEngine.js +429 -0
- package/app/modules/stickerPackModule/semanticReclassificationEngine.test.js +75 -0
- package/app/modules/stickerPackModule/semanticThemeClusterService.js +544 -0
- package/app/modules/stickerPackModule/stickerAssetClassificationRepository.js +400 -0
- package/app/modules/stickerPackModule/stickerAssetRepository.js +400 -0
- package/app/modules/stickerPackModule/stickerAssetReprocessQueueRepository.js +175 -0
- package/app/modules/stickerPackModule/stickerAutoPackByTagsRuntime.js +3702 -0
- package/app/modules/stickerPackModule/stickerClassificationBackgroundRuntime.js +559 -0
- package/app/modules/stickerPackModule/stickerClassificationService.js +557 -0
- package/app/modules/stickerPackModule/stickerDedicatedTaskWorkerRuntime.js +249 -0
- package/app/modules/stickerPackModule/stickerDomainEventBus.js +65 -0
- package/app/modules/stickerPackModule/stickerDomainEventConsumerRuntime.js +208 -0
- package/app/modules/stickerPackModule/stickerMarketplaceDriftService.js +99 -0
- package/app/modules/stickerPackModule/stickerObjectStorageService.js +285 -0
- package/app/modules/stickerPackModule/stickerPackAiHelpService.js +14 -0
- package/app/modules/stickerPackModule/stickerPackCommandHandlers.js +1148 -0
- package/app/modules/stickerPackModule/stickerPackConfigRuntime.js +68 -0
- package/app/modules/stickerPackModule/stickerPackEngagementRepository.js +152 -0
- package/app/modules/stickerPackModule/stickerPackErrors.js +30 -0
- package/app/modules/stickerPackModule/stickerPackInteractionEventRepository.js +101 -0
- package/app/modules/stickerPackModule/stickerPackItemRepository.js +432 -0
- package/app/modules/stickerPackModule/stickerPackMarketplaceService.js +313 -0
- package/app/modules/stickerPackModule/stickerPackMessageService.js +268 -0
- package/app/modules/stickerPackModule/stickerPackRepository.js +450 -0
- package/app/modules/stickerPackModule/stickerPackScoreSnapshotRepository.js +179 -0
- package/app/modules/stickerPackModule/stickerPackScoreSnapshotRuntime.js +271 -0
- package/app/modules/stickerPackModule/stickerPackService.js +733 -0
- package/app/modules/stickerPackModule/stickerPackServiceRuntime.js +32 -0
- package/app/modules/stickerPackModule/stickerPackUtils.js +107 -0
- package/app/modules/stickerPackModule/stickerStorageService.js +559 -0
- package/app/modules/stickerPackModule/stickerWorkerPipelineRuntime.js +242 -0
- package/app/modules/stickerPackModule/stickerWorkerTaskQueueRepository.js +242 -0
- package/app/modules/systemMetricsModule/AGENT.md +193 -0
- package/app/modules/systemMetricsModule/commandConfig.json +344 -0
- package/app/modules/systemMetricsModule/pingCommand.js +399 -0
- package/app/modules/systemMetricsModule/systemMetricsAiHelpService.js +14 -0
- package/app/modules/systemMetricsModule/systemMetricsConfigRuntime.js +68 -0
- package/app/modules/tiktokModule/AGENT.md +196 -0
- package/app/modules/tiktokModule/commandConfig.json +366 -0
- package/app/modules/tiktokModule/tiktokAiHelpService.js +14 -0
- package/app/modules/tiktokModule/tiktokCommand.js +716 -0
- package/app/modules/tiktokModule/tiktokConfigRuntime.js +68 -0
- package/app/modules/userModule/AGENT.md +200 -0
- package/app/modules/userModule/commandConfig.json +386 -0
- package/app/modules/userModule/userAiHelpService.js +14 -0
- package/app/modules/userModule/userCommand.js +1155 -0
- package/app/modules/userModule/userConfigRuntime.js +68 -0
- package/app/modules/waifuPicsModule/AGENT.md +431 -0
- package/app/modules/waifuPicsModule/commandConfig.json +780 -0
- package/app/modules/waifuPicsModule/waifuPicsAiHelpService.js +14 -0
- package/app/modules/waifuPicsModule/waifuPicsCommand.js +586 -0
- package/app/modules/waifuPicsModule/waifuPicsConfigRuntime.js +68 -0
- package/app/observability/metrics.js +766 -0
- package/app/services/ai/aiHelpResponseCacheRepository.js +280 -0
- package/app/services/ai/aiLearningRepository.js +400 -0
- package/app/services/ai/commandConfigEnrichmentRepository.js +769 -0
- package/app/services/ai/commandConfigEnrichmentService.js +452 -0
- package/app/services/ai/commandConfigValidationService.js +443 -0
- package/app/services/ai/commandToolBuilderService.js +192 -0
- package/app/services/ai/conversationRouterService.js +516 -0
- package/app/services/ai/geminiService.js +115 -0
- package/app/services/ai/geminiService.test.js +87 -0
- package/app/services/ai/globalModuleAiHelpService.js +1412 -0
- package/app/services/ai/globalToolCallingService.js +203 -0
- package/app/services/ai/messageCommandExecutionService.js +391 -0
- package/app/services/ai/moduleAiHelpCoreService.js +1099 -0
- package/app/services/ai/moduleAiHelpWrapperFactory.js +65 -0
- package/app/services/ai/moduleCommandConfigRuntimeService.js +113 -0
- package/app/services/ai/moduleToolExecutorService.js +464 -0
- package/app/services/ai/moduleToolRegistryService.js +178 -0
- package/app/services/ai/toolCandidateSelectorService.js +781 -0
- package/app/services/auth/googleWebLinkService.js +80 -0
- package/app/services/auth/whatsappLoginLinkService.js +230 -0
- package/app/services/external/pokeApiService.js +398 -0
- package/app/services/group/groupMetadataService.js +311 -0
- package/app/services/infra/dbWriteQueue.js +874 -0
- package/app/services/infra/featureFlagService.js +131 -0
- package/app/services/infra/queueUtils.js +55 -0
- package/app/services/messaging/captchaService.js +491 -0
- package/app/services/messaging/messagePersistenceService.js +1 -0
- package/app/services/messaging/newsBroadcastService.js +347 -0
- package/app/services/sticker/stickerFocusService.js +347 -0
- package/app/services/sticker/stickerFocusService.test.js +43 -0
- package/app/store/aiPromptStore.js +38 -0
- package/app/store/conversationSessionStore.js +131 -0
- package/app/store/groupConfigStore.js +58 -0
- package/app/store/premiumUserStore.js +54 -0
- package/app/utils/antiLink/antiLinkModule.js +700 -0
- package/app/utils/http/getImageBufferModule.js +18 -0
- package/app/utils/json/jsonSanitizer.js +113 -0
- package/app/utils/json/jsonSanitizer.test.js +40 -0
- package/app/utils/systemMetrics/systemMetricsModule.js +88 -0
- package/app/workers/aiLearningWorker.js +605 -0
- package/app/workers/commandConfigEnrichmentWorker.js +242 -0
- package/database/index.js +2075 -0
- package/database/init.js +151 -0
- package/database/migrations/.gitkeep +0 -0
- package/database/migrations/20260307_d0_hardening_down.sql +64 -0
- package/database/migrations/20260307_d0_hardening_up.sql +79 -0
- package/database/migrations/20260307_d1_terms_acceptance_down.sql +11 -0
- package/database/migrations/20260307_d1_terms_acceptance_up.sql +37 -0
- package/database/migrations/20260307_d2_auth_hardening_down.sql +75 -0
- package/database/migrations/20260307_d2_auth_hardening_up.sql +100 -0
- package/database/migrations/20260314_d7_canonical_sender_down.sql +53 -0
- package/database/migrations/20260314_d7_canonical_sender_up.sql +114 -0
- package/database/migrations/20260406_d30_security_analytics_down.sql +95 -0
- package/database/migrations/20260406_d30_security_analytics_up.sql +292 -0
- package/database/migrations/20260407_d31_web_google_session_token_hardening_down.sql +2 -0
- package/database/migrations/20260407_d31_web_google_session_token_hardening_up.sql +17 -0
- package/database/migrations/20260408_d32_ai_help_response_cache_down.sql +1 -0
- package/database/migrations/20260408_d32_ai_help_response_cache_up.sql +22 -0
- package/database/migrations/20260409_d33_ai_learning_tables_down.sql +4 -0
- package/database/migrations/20260409_d33_ai_learning_tables_up.sql +52 -0
- package/database/migrations/20260410_d34_command_config_enrichment_down.sql +3 -0
- package/database/migrations/20260410_d34_command_config_enrichment_up.sql +48 -0
- package/database/schema.sql +1186 -0
- package/docker-compose.yml +104 -0
- package/docs/audits/stickerCatalogController-out-of-scope.md +103 -0
- package/docs/audits/stickerCatalogController-symbols.md +58 -0
- package/docs/compliance/acceptable-use-policy-2026-03-07.md +35 -0
- package/docs/compliance/dpa-b2b-standard-2026-03-07.md +80 -0
- package/docs/compliance/monthly-compliance-checklist-2026-03-07.md +88 -0
- package/docs/compliance/notice-and-takedown-policy-2026-03-07.md +34 -0
- package/docs/compliance/privacy-policy-2026-03-07.md +75 -0
- package/docs/compliance/subprocessors-inventory-2026-03-07.md +16 -0
- package/docs/database/production-db-evolution-runbook-2026q1.md +365 -0
- package/docs/security/dsar-lgpd-runbook-2026-03-07.md +86 -0
- package/docs/security/incident-response-lgpd-anpd-runbook-2026-03-07.md +77 -0
- package/docs/security/network-hardening-runbook-2026-03-07.md +137 -0
- package/docs/seo/omnizap-seo-playbook-br-2026-02-28.md +238 -0
- package/docs/seo/satellite-page-template.md +116 -0
- package/docs/seo/satellite-pages-phase1.json +364 -0
- package/docs/wiki/Home.md +120 -0
- package/docs/wiki/pair-extraordinaire-2026-03-08.md +3 -0
- package/docs/wiki/recent-changes-2026-03-08.md +47 -0
- package/ecosystem.prod.config.cjs +135 -0
- package/eslint.config.js +89 -0
- package/index.js +488 -0
- package/ml/clip_classifier/Dockerfile +18 -0
- package/ml/clip_classifier/README.md +118 -0
- package/ml/clip_classifier/adaptive_scoring.py +40 -0
- package/ml/clip_classifier/classifier.py +654 -0
- package/ml/clip_classifier/embedding_store.py +481 -0
- package/ml/clip_classifier/env_loader.py +15 -0
- package/ml/clip_classifier/llm_label_expander.py +144 -0
- package/ml/clip_classifier/main.py +213 -0
- package/ml/clip_classifier/requirements.txt +10 -0
- package/ml/clip_classifier/similarity_engine.py +74 -0
- package/new-logo.png +0 -0
- package/observability/alert-rules.yml +60 -0
- package/observability/grafana/dashboards/omnizap-mysql.json +136 -0
- package/observability/grafana/dashboards/omnizap-overview.json +170 -0
- package/observability/grafana/provisioning/dashboards/dashboards.yml +11 -0
- package/observability/grafana/provisioning/datasources/datasources.yml +15 -0
- package/observability/loki-config.yml +38 -0
- package/observability/mysql-setup.sql +46 -0
- package/observability/prometheus.yml +35 -0
- package/observability/promtail-config.yml +84 -0
- package/observability/sticker-catalog-slo.md +83 -0
- package/observability/sticker-scale-hardening-rollout.md +128 -0
- package/package.json +144 -0
- package/public/apple-touch-icon.png +0 -0
- package/public/assets/css/commands-react.input.css +71 -0
- package/public/assets/css/create-pack-react.input.css +31 -0
- package/public/assets/css/home-react.input.css +106 -0
- package/public/assets/css/login-react.input.css +58 -0
- package/public/assets/css/stickers-react.input.css +18 -0
- package/public/assets/css/terms-react.input.css +115 -0
- package/public/assets/css/user-react.input.css +57 -0
- package/public/assets/images/brand-icon-192.png +0 -0
- package/public/assets/images/brand-logo-128.webp +0 -0
- package/public/assets/images/hero-banner-1280.jpg +0 -0
- package/public/comandos/commands-catalog.json +4517 -0
- package/public/css/api-docs.css +161 -0
- package/public/css/stickers-admin.css +1288 -0
- package/public/css/styles.css +679 -0
- package/public/css/systemadm/admin.css +474 -0
- package/public/css/systemadm/base.css +73 -0
- package/public/css/systemadm/components.css +662 -0
- package/public/css/systemadm/layout.css +229 -0
- package/public/css/systemadm/tokens.css +56 -0
- package/public/favicon-16x16.png +0 -0
- package/public/favicon-32x32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/js/apps/apiDocsApp.js +235 -0
- package/public/js/apps/commandsReactApp.js +528 -0
- package/public/js/apps/createPackApp.js +1646 -0
- package/public/js/apps/homeReactApp.js +942 -0
- package/public/js/apps/loginReactApp.js +496 -0
- package/public/js/apps/stickersAdminApp.js +1753 -0
- package/public/js/apps/stickersApp.js +3797 -0
- package/public/js/apps/termsReactApp.js +528 -0
- package/public/js/apps/userApp.js +2540 -0
- package/public/js/apps/userProfile/actions.js +66 -0
- package/public/js/apps/userReactApp.js +547 -0
- package/public/js/catalog.js +950 -0
- package/public/pages/api-docs.html +40 -0
- package/public/pages/aup.html +158 -0
- package/public/pages/comandos.html +41 -0
- package/public/pages/dpa.html +227 -0
- package/public/pages/home.html +45 -0
- package/public/pages/licenca.html +182 -0
- package/public/pages/login.html +40 -0
- package/public/pages/notice-and-takedown.html +234 -0
- package/public/pages/politica-de-privacidade.html +251 -0
- package/public/pages/seo-bot-whatsapp-para-grupo.html +350 -0
- package/public/pages/seo-bot-whatsapp-sem-programar.html +350 -0
- package/public/pages/seo-como-automatizar-avisos-no-whatsapp.html +350 -0
- package/public/pages/seo-como-criar-comandos-whatsapp.html +350 -0
- package/public/pages/seo-como-evitar-spam-no-whatsapp.html +350 -0
- package/public/pages/seo-como-moderar-grupo-whatsapp.html +350 -0
- package/public/pages/seo-como-organizar-comunidade-whatsapp.html +350 -0
- package/public/pages/seo-melhor-bot-whatsapp-para-grupos.html +350 -0
- package/public/pages/stickers-admin.html +31 -0
- package/public/pages/stickers-create.html +41 -0
- package/public/pages/stickers.html +45 -0
- package/public/pages/suboperadores.html +237 -0
- package/public/pages/termos-de-uso-texto-integral.html +241 -0
- package/public/pages/termos-de-uso.html +41 -0
- package/public/pages/user-password-reset.html +32 -0
- package/public/pages/user-systemadm.html +508 -0
- package/public/pages/user.html +39 -0
- package/public/robots.txt +9 -0
- package/public/site.webmanifest +24 -0
- package/public/sitemap.xml +98 -0
- package/schemas/command-config.schema.json +582 -0
- package/scripts/baileys-compat-smoke.mjs +12 -0
- package/scripts/cache-bust.mjs +142 -0
- package/scripts/deploy.sh +916 -0
- package/scripts/email-broadcast-terms-update.mjs +170 -0
- package/scripts/enrich-command-discovery-fields.mjs +286 -0
- package/scripts/generate-command-config-schema.mjs +273 -0
- package/scripts/generate-commands-catalog.mjs +308 -0
- package/scripts/generate-module-agents.mjs +631 -0
- package/scripts/generate-seo-satellite-pages.mjs +400 -0
- package/scripts/github-deploy-notify.mjs +174 -0
- package/scripts/github-release-notify.mjs +219 -0
- package/scripts/release.sh +599 -0
- package/scripts/run-codeql-local.sh +116 -0
- package/scripts/run-prettier-all.mjs +25 -0
- package/scripts/security-smoketest.mjs +581 -0
- package/scripts/sticker-catalog-loadtest.mjs +210 -0
- package/scripts/sticker-worker-task.mjs +119 -0
- package/scripts/sync-readme-snapshot.mjs +133 -0
- package/scripts/validate-command-config-schema.mjs +130 -0
- package/scripts/validate-command-configs.mjs +15 -0
- package/scripts/wiki-sync.sh +191 -0
- package/server/auth/googleWebAuth/googleWebAuthRuntime.js +62 -0
- package/server/auth/googleWebAuth/googleWebAuthService.js +807 -0
- package/server/auth/jwt/webJwtService.js +147 -0
- package/server/auth/stickerCatalogAuthContext.js +165 -0
- package/server/auth/termsAcceptance/termsAcceptanceHandler.js +189 -0
- package/server/auth/userPassword/index.js +14 -0
- package/server/auth/userPassword/userPasswordAuthService.js +422 -0
- package/server/auth/userPassword/userPasswordCrypto.js +199 -0
- package/server/auth/userPassword/userPasswordCrypto.test.js +76 -0
- package/server/auth/userPassword/userPasswordRecoveryService.js +728 -0
- package/server/auth/validation/authSchemas.js +236 -0
- package/server/auth/webAccount/webAccountHandlers.js +1434 -0
- package/server/controllers/admin/adminBanService.js +138 -0
- package/server/controllers/admin/adminPanelHandlers.js +2083 -0
- package/server/controllers/admin/stickerCatalogAdminContext.js +17 -0
- package/server/controllers/admin/systemAdminController.js +201 -0
- package/server/controllers/email/emailAutomationController.js +239 -0
- package/server/controllers/metricsController.js +21 -0
- package/server/controllers/seo/stickerCatalogSeoContext.js +514 -0
- package/server/controllers/sticker/nonCatalogHandlers.js +303 -0
- package/server/controllers/sticker/stickerCatalogController.js +4700 -0
- package/server/controllers/system/contactController.js +115 -0
- package/server/controllers/system/githubController.js +137 -0
- package/server/controllers/system/stickerCatalogSystemContext.js +758 -0
- package/server/controllers/system/storageController.js +154 -0
- package/server/controllers/system/systemController.js +135 -0
- package/server/controllers/system/systemMetricsController.js +156 -0
- package/server/controllers/system/visitController.js +90 -0
- package/server/controllers/userController.js +145 -0
- package/server/email/emailAutomationRuntime.js +225 -0
- package/server/email/emailAutomationService.js +125 -0
- package/server/email/emailOutboxRepository.js +282 -0
- package/server/email/emailTemplateService.js +480 -0
- package/server/email/emailTransportService.js +156 -0
- package/server/http/clientIp.js +95 -0
- package/server/http/httpRequestUtils.js +262 -0
- package/server/http/httpRequestUtils.test.js +80 -0
- package/server/http/httpServer.js +180 -0
- package/server/http/requestContext.js +20 -0
- package/server/http/siteRoutingUtils.js +87 -0
- package/server/index.js +1 -0
- package/server/middleware/cachePolicy.js +26 -0
- package/server/middleware/cachePolicyHelpers.js +1 -0
- package/server/middleware/endpointRateLimit.js +181 -0
- package/server/middleware/rateLimit.js +70 -0
- package/server/middleware/requireAdminAuth.js +48 -0
- package/server/middleware/securityHeaders.js +97 -0
- package/server/routes/admin/systemAdminRouter.js +64 -0
- package/server/routes/email/emailAutomationRouter.js +46 -0
- package/server/routes/health/healthRouter.js +41 -0
- package/server/routes/indexRouter.js +234 -0
- package/server/routes/metrics/metricsRouter.js +58 -0
- package/server/routes/static/staticPageRouter.js +134 -0
- package/server/routes/sticker/catalogHandlers/catalogAdminHttp.js +105 -0
- package/server/routes/sticker/catalogHandlers/catalogAuthHttp.js +77 -0
- package/server/routes/sticker/catalogHandlers/catalogPublicHttp.js +120 -0
- package/server/routes/sticker/catalogHandlers/catalogUploadHttp.js +83 -0
- package/server/routes/sticker/catalogRouter.js +77 -0
- package/server/routes/sticker/stickerApiRouter.js +84 -0
- package/server/routes/sticker/stickerDataRouter.js +145 -0
- package/server/routes/sticker/stickerSiteRouter.js +43 -0
- package/server/routes/user/userApiPaths.js +66 -0
- package/server/routes/user/userRouter.js +65 -0
- package/server/utils/safePath.js +26 -0
- package/utils/logger/loggerModule.js +35 -0
- package/vite.config.mjs +38 -0
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
color-scheme: dark;
|
|
3
|
+
--bg: #0f172a;
|
|
4
|
+
--bg-2: #111827;
|
|
5
|
+
--card: rgba(30, 41, 59, 0.9);
|
|
6
|
+
--line: rgba(255, 255, 255, 0.05);
|
|
7
|
+
--line-soft: rgba(255, 255, 255, 0.12);
|
|
8
|
+
--text: #f8fafc;
|
|
9
|
+
--muted: #94a3b8;
|
|
10
|
+
--primary: #22c55e;
|
|
11
|
+
--primary-strong: #16a34a;
|
|
12
|
+
--primary-2: #2563eb;
|
|
13
|
+
--accent-tech: #7c3aed;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
body.catalog-body {
|
|
17
|
+
font-family: 'Manrope', 'Bricolage Grotesque', sans-serif;
|
|
18
|
+
color: var(--text);
|
|
19
|
+
background: radial-gradient(58rem 24rem at -8% -12%, rgba(37, 99, 235, 0.14), transparent 60%), radial-gradient(58rem 24rem at 112% -10%, rgba(124, 58, 237, 0.14), transparent 58%), linear-gradient(165deg, var(--bg), var(--bg-2));
|
|
20
|
+
min-height: 100vh;
|
|
21
|
+
background-attachment: fixed;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
body.catalog-body::before {
|
|
25
|
+
content: '';
|
|
26
|
+
position: fixed;
|
|
27
|
+
inset: 0;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
background: linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
|
|
30
|
+
background-size: 26px 26px;
|
|
31
|
+
opacity: 0.2;
|
|
32
|
+
z-index: -1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.glass-nav {
|
|
36
|
+
backdrop-filter: blur(12px);
|
|
37
|
+
background: rgba(10, 17, 33, 0.84);
|
|
38
|
+
border-color: #223250 !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.navbar-brand,
|
|
42
|
+
.nav-link {
|
|
43
|
+
color: var(--text) !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.navbar-brand {
|
|
47
|
+
font-weight: 700;
|
|
48
|
+
letter-spacing: 0.1px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.nav-link {
|
|
52
|
+
opacity: 0.9;
|
|
53
|
+
border: 1px solid transparent;
|
|
54
|
+
border-radius: 12px;
|
|
55
|
+
padding: 0.44rem 0.72rem !important;
|
|
56
|
+
transition: 180ms ease;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.nav-link:hover,
|
|
60
|
+
.nav-link:focus {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
border-color: #355688;
|
|
63
|
+
background: #0f1b33;
|
|
64
|
+
color: #dff0ff !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.hero-card {
|
|
68
|
+
border-color: var(--line-soft) !important;
|
|
69
|
+
background: linear-gradient(155deg, rgba(12, 22, 42, 0.97), rgba(15, 27, 51, 0.97));
|
|
70
|
+
box-shadow: 0 18px 50px rgba(4, 9, 20, 0.42);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.hero-card .card-body {
|
|
74
|
+
padding-block: clamp(1.3rem, 2.5vw, 2.2rem) !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.catalog-title,
|
|
78
|
+
.section-title,
|
|
79
|
+
#panel-title {
|
|
80
|
+
font-family: 'Sora', 'Instrument Serif', serif;
|
|
81
|
+
color: var(--text);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.catalog-title {
|
|
85
|
+
font-size: clamp(1.7rem, 4vw, 2.5rem);
|
|
86
|
+
line-height: 1.07;
|
|
87
|
+
max-width: 760px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.status-text {
|
|
91
|
+
color: var(--muted);
|
|
92
|
+
min-height: 20px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.panel-controls {
|
|
96
|
+
border: 1px solid var(--line);
|
|
97
|
+
background: rgba(13, 21, 40, 0.88);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.form-control,
|
|
101
|
+
.form-select {
|
|
102
|
+
background: #0f1729;
|
|
103
|
+
border-color: var(--line);
|
|
104
|
+
color: var(--text);
|
|
105
|
+
border-radius: 14px;
|
|
106
|
+
min-height: 46px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.search-wrap {
|
|
110
|
+
position: relative;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.search-input-icon {
|
|
114
|
+
position: absolute;
|
|
115
|
+
left: 12px;
|
|
116
|
+
top: 50%;
|
|
117
|
+
transform: translateY(-50%);
|
|
118
|
+
color: #8aa3c8;
|
|
119
|
+
pointer-events: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
#search-input {
|
|
123
|
+
padding-left: 36px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.form-control:focus,
|
|
127
|
+
.form-select:focus {
|
|
128
|
+
border-color: #3f5f90;
|
|
129
|
+
box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
|
|
130
|
+
background: #1e293b;
|
|
131
|
+
color: var(--text);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
#categories-input {
|
|
135
|
+
display: none !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.categories-picker {
|
|
139
|
+
border: 1px solid #345381;
|
|
140
|
+
border-radius: 14px;
|
|
141
|
+
background: linear-gradient(160deg, rgba(13, 24, 45, 0.98), rgba(9, 18, 34, 0.98));
|
|
142
|
+
box-shadow: inset 0 1px 0 rgba(158, 191, 245, 0.08);
|
|
143
|
+
padding: 0.45rem;
|
|
144
|
+
min-height: 104px;
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
gap: 0.38rem;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.categories-picker:focus-within {
|
|
151
|
+
border-color: #4c72ac;
|
|
152
|
+
box-shadow:
|
|
153
|
+
0 0 0 0.2rem rgba(124, 58, 237, 0.2),
|
|
154
|
+
inset 0 1px 0 rgba(190, 214, 255, 0.12);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.categories-search-wrap {
|
|
158
|
+
position: relative;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.categories-search-icon {
|
|
162
|
+
position: absolute;
|
|
163
|
+
left: 11px;
|
|
164
|
+
top: 50%;
|
|
165
|
+
transform: translateY(-50%);
|
|
166
|
+
color: #88a4cd;
|
|
167
|
+
pointer-events: none;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.categories-search-input {
|
|
171
|
+
min-height: 34px;
|
|
172
|
+
font-size: 0.86rem;
|
|
173
|
+
border-radius: 10px;
|
|
174
|
+
padding-left: 30px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.categories-chips {
|
|
178
|
+
display: flex;
|
|
179
|
+
flex-wrap: wrap;
|
|
180
|
+
gap: 0.28rem;
|
|
181
|
+
min-height: 24px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.categories-empty {
|
|
185
|
+
color: #94a8c7;
|
|
186
|
+
font-size: 0.75rem;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.category-chip {
|
|
190
|
+
border: 1px solid rgba(114, 154, 220, 0.56);
|
|
191
|
+
background: linear-gradient(130deg, rgba(19, 40, 72, 0.94), rgba(15, 30, 56, 0.94));
|
|
192
|
+
color: #dcedff;
|
|
193
|
+
border-radius: 999px;
|
|
194
|
+
font-size: 0.68rem;
|
|
195
|
+
font-weight: 700;
|
|
196
|
+
display: inline-flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
gap: 0.34rem;
|
|
199
|
+
padding: 0.2rem 0.46rem;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.category-chip:hover,
|
|
204
|
+
.category-chip:focus-visible {
|
|
205
|
+
border-color: rgba(146, 183, 240, 0.8);
|
|
206
|
+
background: linear-gradient(130deg, rgba(24, 47, 84, 0.96), rgba(18, 35, 66, 0.96));
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.category-chip-remove {
|
|
210
|
+
font-size: 0.66rem;
|
|
211
|
+
opacity: 0.9;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.categories-options {
|
|
215
|
+
display: grid;
|
|
216
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
217
|
+
gap: 0.3rem;
|
|
218
|
+
max-height: 120px;
|
|
219
|
+
overflow: auto;
|
|
220
|
+
padding-right: 2px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.category-option {
|
|
224
|
+
border: 1px solid #33527e;
|
|
225
|
+
background: rgba(16, 30, 54, 0.88);
|
|
226
|
+
color: #d7e7fb;
|
|
227
|
+
border-radius: 10px;
|
|
228
|
+
font-size: 0.74rem;
|
|
229
|
+
line-height: 1.1;
|
|
230
|
+
min-height: 28px;
|
|
231
|
+
padding: 0.28rem 0.4rem;
|
|
232
|
+
text-align: left;
|
|
233
|
+
display: inline-flex;
|
|
234
|
+
align-items: center;
|
|
235
|
+
justify-content: space-between;
|
|
236
|
+
gap: 0.35rem;
|
|
237
|
+
cursor: pointer;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.category-option:hover,
|
|
241
|
+
.category-option:focus-visible {
|
|
242
|
+
border-color: #4a74ab;
|
|
243
|
+
background: rgba(22, 39, 68, 0.94);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.category-option-check {
|
|
247
|
+
opacity: 0;
|
|
248
|
+
transform: scale(0.7);
|
|
249
|
+
transition: 140ms ease;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.category-option.selected {
|
|
253
|
+
border-color: rgba(49, 180, 112, 0.72);
|
|
254
|
+
background: linear-gradient(90deg, rgba(30, 168, 99, 0.36), rgba(23, 124, 76, 0.36));
|
|
255
|
+
color: #e9fff4;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.category-option.selected .category-option-check {
|
|
259
|
+
opacity: 1;
|
|
260
|
+
transform: scale(1);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.categories-options-empty {
|
|
264
|
+
color: #93a7c7;
|
|
265
|
+
font-size: 0.76rem;
|
|
266
|
+
padding: 0.18rem 0.3rem;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.categories-options::-webkit-scrollbar {
|
|
270
|
+
width: 8px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.categories-options::-webkit-scrollbar-track {
|
|
274
|
+
background: rgba(14, 24, 43, 0.8);
|
|
275
|
+
border-radius: 999px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.categories-options::-webkit-scrollbar-thumb {
|
|
279
|
+
background: linear-gradient(180deg, #3a5e92, #284874);
|
|
280
|
+
border-radius: 999px;
|
|
281
|
+
border: 1px solid rgba(14, 24, 43, 0.85);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.btn-success {
|
|
285
|
+
background: linear-gradient(90deg, var(--primary), var(--primary-strong));
|
|
286
|
+
border-color: transparent;
|
|
287
|
+
color: #062411;
|
|
288
|
+
font-weight: 700;
|
|
289
|
+
border-radius: 14px;
|
|
290
|
+
box-shadow: 0 8px 24px rgba(24, 152, 88, 0.24);
|
|
291
|
+
transition:
|
|
292
|
+
transform 180ms ease,
|
|
293
|
+
box-shadow 180ms ease,
|
|
294
|
+
filter 180ms ease;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.btn-success:hover,
|
|
298
|
+
.btn-success:focus {
|
|
299
|
+
background: linear-gradient(90deg, #21b965, #178d55);
|
|
300
|
+
color: #041a0c;
|
|
301
|
+
transform: translateY(-1px);
|
|
302
|
+
box-shadow: 0 14px 30px rgba(24, 152, 88, 0.3);
|
|
303
|
+
filter: saturate(0.95);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.btn-outline-light {
|
|
307
|
+
border-color: #3d557f;
|
|
308
|
+
color: #d5e4fb;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.btn-outline-light:hover,
|
|
312
|
+
.btn-outline-light:focus {
|
|
313
|
+
background: #1a2742;
|
|
314
|
+
border-color: #4a6696;
|
|
315
|
+
color: #eff6ff;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.pack-card {
|
|
319
|
+
cursor: pointer;
|
|
320
|
+
background: rgba(16, 26, 44, 0.96) !important;
|
|
321
|
+
border-color: var(--line-soft) !important;
|
|
322
|
+
border-radius: 14px !important;
|
|
323
|
+
overflow: hidden;
|
|
324
|
+
transition:
|
|
325
|
+
transform 220ms ease,
|
|
326
|
+
box-shadow 220ms ease,
|
|
327
|
+
border-color 220ms ease;
|
|
328
|
+
animation: fadeInUp 260ms ease both;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.pack-card .card-body {
|
|
332
|
+
padding: 0.75rem;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.pack-card:nth-child(2n) {
|
|
336
|
+
animation-delay: 0.03s;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.pack-card:nth-child(3n) {
|
|
340
|
+
animation-delay: 0.06s;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.pack-card:hover,
|
|
344
|
+
.pack-card:focus-visible {
|
|
345
|
+
transform: translateY(-4px);
|
|
346
|
+
border-color: #5171a6 !important;
|
|
347
|
+
box-shadow:
|
|
348
|
+
0 0 0 1px rgba(122, 168, 255, 0.22),
|
|
349
|
+
0 18px 36px rgba(0, 0, 0, 0.4);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.pack-card .card-title {
|
|
353
|
+
font-size: 0.92rem;
|
|
354
|
+
color: #eaf3ff;
|
|
355
|
+
line-height: 1.28;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.pack-thumb {
|
|
359
|
+
position: relative;
|
|
360
|
+
aspect-ratio: 1 / 1;
|
|
361
|
+
border: 1px solid #2f4a74;
|
|
362
|
+
border-radius: 0.82rem;
|
|
363
|
+
overflow: hidden;
|
|
364
|
+
background: radial-gradient(circle at 20% 20%, rgba(122, 168, 255, 0.2), rgba(9, 15, 30, 0.95));
|
|
365
|
+
display: grid;
|
|
366
|
+
place-items: center;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.pack-thumb::after {
|
|
370
|
+
content: '';
|
|
371
|
+
position: absolute;
|
|
372
|
+
inset: 0;
|
|
373
|
+
background: linear-gradient(to top, rgba(8, 14, 28, 0.32), rgba(8, 14, 28, 0));
|
|
374
|
+
opacity: 0;
|
|
375
|
+
transition: opacity 180ms ease;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.pack-card:hover .pack-thumb::after,
|
|
379
|
+
.pack-card:focus-visible .pack-thumb::after {
|
|
380
|
+
opacity: 1;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.pack-thumb img {
|
|
384
|
+
width: 100%;
|
|
385
|
+
height: 100%;
|
|
386
|
+
object-fit: cover;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.pack-visibility-badge,
|
|
390
|
+
.pack-count-badge {
|
|
391
|
+
position: absolute;
|
|
392
|
+
z-index: 2;
|
|
393
|
+
font-size: 0.63rem;
|
|
394
|
+
line-height: 1;
|
|
395
|
+
border-radius: 999px;
|
|
396
|
+
padding: 0.34rem 0.48rem;
|
|
397
|
+
backdrop-filter: blur(6px);
|
|
398
|
+
border: 1px solid rgba(116, 151, 214, 0.42);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.pack-visibility-badge {
|
|
402
|
+
top: 8px;
|
|
403
|
+
left: 8px;
|
|
404
|
+
color: #d5e7ff;
|
|
405
|
+
background: rgba(15, 26, 49, 0.78);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.pack-count-badge {
|
|
409
|
+
right: 8px;
|
|
410
|
+
bottom: 8px;
|
|
411
|
+
color: #dbf8e8;
|
|
412
|
+
background: rgba(19, 52, 35, 0.78);
|
|
413
|
+
border-color: rgba(61, 180, 119, 0.45);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.pack-thumb-fallback {
|
|
417
|
+
color: #9eb2d2;
|
|
418
|
+
font-size: 0.75rem;
|
|
419
|
+
text-align: center;
|
|
420
|
+
padding: 0.6rem;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.pack-meta {
|
|
424
|
+
color: #a7b9d8;
|
|
425
|
+
font-size: 0.73rem;
|
|
426
|
+
line-height: 1.28;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.pack-count {
|
|
430
|
+
color: #d5e6ff;
|
|
431
|
+
font-weight: 700;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.pack-author {
|
|
435
|
+
color: #8ea6cb;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.orphan-card {
|
|
439
|
+
border: 1px solid #334b72;
|
|
440
|
+
background: linear-gradient(165deg, rgba(17, 26, 46, 0.95), rgba(14, 22, 40, 0.95));
|
|
441
|
+
position: relative;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.orphan-card img {
|
|
445
|
+
width: 100%;
|
|
446
|
+
aspect-ratio: 1 / 1;
|
|
447
|
+
object-fit: contain;
|
|
448
|
+
border-radius: 0.5rem;
|
|
449
|
+
background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.13), rgba(7, 12, 24, 0.95));
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.orphan-meta {
|
|
453
|
+
font-size: 0.75rem;
|
|
454
|
+
color: #b9c9e4;
|
|
455
|
+
word-break: break-word;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.sticker-tile {
|
|
459
|
+
border: 1px solid #334b72;
|
|
460
|
+
background: linear-gradient(165deg, rgba(17, 26, 46, 0.95), rgba(14, 22, 40, 0.95));
|
|
461
|
+
border-radius: 0.75rem;
|
|
462
|
+
padding: 0.5rem;
|
|
463
|
+
position: relative;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.sticker-tile img {
|
|
467
|
+
width: 100%;
|
|
468
|
+
aspect-ratio: 1 / 1;
|
|
469
|
+
object-fit: contain;
|
|
470
|
+
border-radius: 0.5rem;
|
|
471
|
+
background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.13), rgba(7, 12, 24, 0.95));
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
#pack-page-stickers .sticker-tile {
|
|
475
|
+
min-height: 120px;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.sticker-tags {
|
|
479
|
+
position: static;
|
|
480
|
+
display: flex;
|
|
481
|
+
flex-wrap: wrap;
|
|
482
|
+
justify-content: flex-start;
|
|
483
|
+
gap: 0.28rem;
|
|
484
|
+
max-width: 100%;
|
|
485
|
+
margin-top: 0.42rem;
|
|
486
|
+
margin-bottom: 0.2rem;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.sticker-tag {
|
|
490
|
+
font-size: 0.62rem;
|
|
491
|
+
line-height: 1;
|
|
492
|
+
padding: 0.24rem 0.42rem;
|
|
493
|
+
border-radius: 999px;
|
|
494
|
+
color: #eff7ff;
|
|
495
|
+
background: linear-gradient(120deg, rgba(16, 31, 57, 0.92), rgba(28, 53, 94, 0.9));
|
|
496
|
+
border: 1px solid rgba(111, 151, 220, 0.62);
|
|
497
|
+
box-shadow:
|
|
498
|
+
0 6px 14px rgba(2, 8, 22, 0.34),
|
|
499
|
+
inset 0 1px 0 rgba(190, 216, 255, 0.2);
|
|
500
|
+
backdrop-filter: blur(6px);
|
|
501
|
+
text-transform: lowercase;
|
|
502
|
+
letter-spacing: 0.015em;
|
|
503
|
+
font-weight: 600;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.pack-tags {
|
|
507
|
+
display: flex;
|
|
508
|
+
flex-wrap: wrap;
|
|
509
|
+
gap: 0.3rem;
|
|
510
|
+
margin-top: 0.1rem;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.pack-tag {
|
|
514
|
+
display: inline-flex;
|
|
515
|
+
align-items: center;
|
|
516
|
+
border-radius: 999px;
|
|
517
|
+
padding: 0.2rem 0.44rem;
|
|
518
|
+
font-size: 0.62rem;
|
|
519
|
+
line-height: 1;
|
|
520
|
+
font-weight: 700;
|
|
521
|
+
text-transform: lowercase;
|
|
522
|
+
color: #def0ff;
|
|
523
|
+
border: 1px solid rgba(108, 151, 219, 0.58);
|
|
524
|
+
background: linear-gradient(120deg, rgba(13, 26, 48, 0.96), rgba(20, 39, 70, 0.94));
|
|
525
|
+
box-shadow: inset 0 1px 0 rgba(176, 206, 255, 0.16);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.modal-content {
|
|
529
|
+
background: #111827 !important;
|
|
530
|
+
border-color: var(--line-soft) !important;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
#panel-subtitle,
|
|
534
|
+
#panel-page-info,
|
|
535
|
+
#orphan-page-info,
|
|
536
|
+
.text-secondary {
|
|
537
|
+
color: var(--muted) !important;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.skeleton {
|
|
541
|
+
border-radius: 0.55rem;
|
|
542
|
+
background: linear-gradient(90deg, rgba(61, 85, 127, 0.26), rgba(104, 137, 189, 0.28), rgba(61, 85, 127, 0.26));
|
|
543
|
+
background-size: 220% 100%;
|
|
544
|
+
animation: shimmer 1.2s linear infinite;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.skeleton-thumb,
|
|
548
|
+
.skeleton-orphan {
|
|
549
|
+
width: 100%;
|
|
550
|
+
aspect-ratio: 1 / 1;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.skeleton-line {
|
|
554
|
+
width: 100%;
|
|
555
|
+
height: 14px;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.skeleton-line.short {
|
|
559
|
+
width: 58%;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
@keyframes shimmer {
|
|
563
|
+
0% {
|
|
564
|
+
background-position: 100% 0;
|
|
565
|
+
}
|
|
566
|
+
100% {
|
|
567
|
+
background-position: -100% 0;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
@keyframes fadeInUp {
|
|
572
|
+
from {
|
|
573
|
+
opacity: 0;
|
|
574
|
+
transform: translateY(6px);
|
|
575
|
+
}
|
|
576
|
+
to {
|
|
577
|
+
opacity: 1;
|
|
578
|
+
transform: translateY(0);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
@media (max-width: 576px) {
|
|
583
|
+
.hero-card .card-body {
|
|
584
|
+
padding: 1.2rem !important;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
#packs-section #grid {
|
|
588
|
+
--bs-gutter-x: 0.55rem;
|
|
589
|
+
--bs-gutter-y: 0.55rem;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
#packs-section .pack-card .card-body {
|
|
593
|
+
padding: 0.48rem;
|
|
594
|
+
gap: 0.3rem !important;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
#packs-section .pack-card .card-title {
|
|
598
|
+
font-size: 0.66rem;
|
|
599
|
+
line-height: 1.18;
|
|
600
|
+
margin-bottom: 0.1rem;
|
|
601
|
+
display: -webkit-box;
|
|
602
|
+
-webkit-line-clamp: 2;
|
|
603
|
+
-webkit-box-orient: vertical;
|
|
604
|
+
overflow: hidden;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
#packs-section .pack-thumb {
|
|
608
|
+
border-radius: 0.4rem;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
#packs-section .pack-meta {
|
|
612
|
+
font-size: 0.56rem;
|
|
613
|
+
line-height: 1.2;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.pack-visibility-badge,
|
|
617
|
+
.pack-count-badge {
|
|
618
|
+
font-size: 0.52rem;
|
|
619
|
+
padding: 0.28rem 0.36rem;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.sticker-tags {
|
|
623
|
+
gap: 0.18rem;
|
|
624
|
+
margin-top: 0.36rem;
|
|
625
|
+
margin-bottom: 0.16rem;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.sticker-tag {
|
|
629
|
+
font-size: 0.5rem;
|
|
630
|
+
padding: 0.18rem 0.28rem;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.categories-picker {
|
|
634
|
+
min-height: 96px;
|
|
635
|
+
padding: 0.4rem;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.categories-options {
|
|
639
|
+
grid-template-columns: 1fr;
|
|
640
|
+
max-height: 96px;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.category-chip {
|
|
644
|
+
font-size: 0.62rem;
|
|
645
|
+
padding: 0.16rem 0.38rem;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.category-option {
|
|
649
|
+
font-size: 0.68rem;
|
|
650
|
+
min-height: 26px;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.pack-tags {
|
|
654
|
+
gap: 0.2rem;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.pack-tag {
|
|
658
|
+
font-size: 0.5rem;
|
|
659
|
+
padding: 0.16rem 0.3rem;
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
@media (max-width: 430px) {
|
|
664
|
+
#packs-section .pack-card .card-body {
|
|
665
|
+
padding: 0.35rem;
|
|
666
|
+
gap: 0.25rem !important;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
#packs-section .pack-card .card-title {
|
|
670
|
+
font-size: 0.62rem;
|
|
671
|
+
line-height: 1.15;
|
|
672
|
+
min-height: 1.45rem;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
#packs-section .pack-meta {
|
|
676
|
+
font-size: 0.56rem;
|
|
677
|
+
line-height: 1.15;
|
|
678
|
+
}
|
|
679
|
+
}
|