valtech-components 4.0.452 → 4.0.454

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.
Files changed (28) hide show
  1. package/esm2022/lib/components/organisms/mini-games/bubble-blitz-game.component.mjs +18 -9
  2. package/esm2022/lib/components/organisms/mini-games/chessimals-engine.mjs +109 -16
  3. package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +18 -9
  4. package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +1735 -0
  5. package/esm2022/lib/components/organisms/mini-games/memory-game.component.mjs +18 -9
  6. package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +159 -9
  7. package/esm2022/lib/components/organisms/mini-games/simon-game.component.mjs +18 -9
  8. package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
  9. package/esm2022/lib/directives/light-ripple.directive.mjs +57 -0
  10. package/esm2022/lib/version.mjs +2 -2
  11. package/esm2022/mini-games/public-api.mjs +34 -2
  12. package/esm2022/public-api.mjs +3 -1
  13. package/fesm2022/valtech-components-mini-games.mjs +34 -2
  14. package/fesm2022/valtech-components-mini-games.mjs.map +1 -1
  15. package/fesm2022/valtech-components.mjs +2122 -58
  16. package/fesm2022/valtech-components.mjs.map +1 -1
  17. package/lib/components/organisms/mini-games/bubble-blitz-game.component.d.ts +2 -0
  18. package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +3 -1
  19. package/lib/components/organisms/mini-games/christianity-game.component.d.ts +113 -0
  20. package/lib/components/organisms/mini-games/memory-game.component.d.ts +2 -0
  21. package/lib/components/organisms/mini-games/simon-game.component.d.ts +2 -0
  22. package/lib/components/organisms/mini-games/types.d.ts +74 -1
  23. package/lib/directives/light-ripple.directive.d.ts +8 -0
  24. package/lib/version.d.ts +1 -1
  25. package/mini-games/public-api.d.ts +4 -0
  26. package/package.json +2 -1
  27. package/public-api.d.ts +2 -0
  28. package/src/lib/assets/games/christianity/card-symbol.svg +51 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, InjectionToken, makeEnvironmentProviders, APP_INITIALIZER, ErrorHandler, Injectable, DestroyRef, Inject, signal, computed, PLATFORM_ID, isDevMode, Optional, runInInjectionContext, effect, Pipe, TemplateRef, ViewContainerRef, input, Directive, EventEmitter, Component, Input, Output, ChangeDetectionStrategy, HostBinding, HostListener, SecurityContext, NgZone, ViewChild, ElementRef, ChangeDetectorRef, output, ContentChild, model, ViewEncapsulation, untracked, viewChild, Injector, isSignal } from '@angular/core';
2
+ import { inject, InjectionToken, makeEnvironmentProviders, APP_INITIALIZER, ErrorHandler, Injectable, DestroyRef, Inject, signal, computed, PLATFORM_ID, isDevMode, Optional, runInInjectionContext, effect, Pipe, TemplateRef, ViewContainerRef, input, Directive, ElementRef, Renderer2, HostListener, EventEmitter, Component, Input, Output, ChangeDetectionStrategy, HostBinding, SecurityContext, NgZone, ViewChild, ChangeDetectorRef, output, ContentChild, model, ViewEncapsulation, untracked, viewChild, Injector, isSignal } from '@angular/core';
3
3
  import { BehaviorSubject, throwError, Subject, map, distinctUntilChanged, filter as filter$1, take as take$1, firstValueFrom, of, from, EMPTY, Observable, interval, defer, timer, merge, concat, debounceTime, switchMap as switchMap$1, catchError as catchError$1, takeUntil, isObservable, forkJoin, race, tap as tap$1, Subscription, shareReplay as shareReplay$1 } from 'rxjs';
4
4
  import { catchError, switchMap, finalize, filter, take, timeout, map as map$1, tap, shareReplay, distinctUntilChanged as distinctUntilChanged$1, retry, debounceTime as debounceTime$1, takeUntil as takeUntil$1 } from 'rxjs/operators';
5
5
  import * as i1$3 from '@angular/common/http';
@@ -49,6 +49,7 @@ import { Capacitor } from '@capacitor/core';
49
49
  import { ImageCropperComponent } from 'ngx-image-cropper';
50
50
  import Compressor from 'compressorjs';
51
51
  import { Calendar } from 'vanilla-calendar-pro';
52
+ import { CdkDrag, CdkDropList } from '@angular/cdk/drag-drop';
52
53
  import 'prismjs/components/prism-scss';
53
54
  import 'prismjs/components/prism-json';
54
55
  import { BrowserMultiFormatReader } from '@zxing/browser';
@@ -58,7 +59,7 @@ import fixWebmDuration from 'fix-webm-duration';
58
59
  * Current version of valtech-components.
59
60
  * This is automatically updated during the publish process.
60
61
  */
61
- const VERSION = '4.0.452';
62
+ const VERSION = '4.0.454';
62
63
 
63
64
  // Control de estado de refresco (singleton a nivel de módulo)
64
65
  let isRefreshing = false;
@@ -10117,6 +10118,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
10117
10118
  }]
10118
10119
  }], ctorParameters: () => [] });
10119
10120
 
10121
+ class LightRippleDirective {
10122
+ constructor() {
10123
+ this.host = inject(ElementRef);
10124
+ this.renderer = inject(Renderer2);
10125
+ }
10126
+ createRipple(event) {
10127
+ const element = this.host.nativeElement;
10128
+ const rect = element.getBoundingClientRect();
10129
+ const size = Math.max(rect.width, rect.height) * 1.55;
10130
+ const ripple = this.renderer.createElement('span');
10131
+ const x = event.clientX - rect.left - size / 2;
10132
+ const y = event.clientY - rect.top - size / 2;
10133
+ if (getComputedStyle(element).position === 'static') {
10134
+ this.renderer.setStyle(element, 'position', 'relative');
10135
+ }
10136
+ this.renderer.setStyle(element, 'overflow', 'hidden');
10137
+ this.renderer.setStyle(element, 'isolation', 'isolate');
10138
+ this.renderer.setStyle(element, 'touch-action', 'manipulation');
10139
+ this.renderer.setStyle(ripple, 'position', 'absolute');
10140
+ this.renderer.setStyle(ripple, 'left', `${x}px`);
10141
+ this.renderer.setStyle(ripple, 'top', `${y}px`);
10142
+ this.renderer.setStyle(ripple, 'width', `${size}px`);
10143
+ this.renderer.setStyle(ripple, 'height', `${size}px`);
10144
+ this.renderer.setStyle(ripple, 'border-radius', '999px');
10145
+ this.renderer.setStyle(ripple, 'pointer-events', 'none');
10146
+ this.renderer.setStyle(ripple, 'z-index', '1');
10147
+ this.renderer.setStyle(ripple, 'background', 'radial-gradient(circle, rgba(255,255,255,0.98) 0 0.16rem, rgba(191,219,254,0.9) 0.18rem 0.34rem, rgba(96,165,250,0.46) 0.36rem 23%, rgba(96,165,250,0.18) 38%, transparent 70%)');
10148
+ this.renderer.setStyle(ripple, 'box-shadow', '0 0 0.75rem rgba(255,255,255,0.85), 0 0 1.8rem rgba(96,165,250,0.52)');
10149
+ this.renderer.appendChild(element, ripple);
10150
+ ripple
10151
+ .animate([
10152
+ { opacity: 0.88, transform: 'scale(0.08)' },
10153
+ { opacity: 0.48, transform: 'scale(0.48)' },
10154
+ { opacity: 0, transform: 'scale(1)' },
10155
+ ], { duration: 680, easing: 'cubic-bezier(0.16, 0.84, 0.24, 1)' })
10156
+ .finished.finally(() => {
10157
+ if (ripple.parentNode === element) {
10158
+ this.renderer.removeChild(element, ripple);
10159
+ }
10160
+ });
10161
+ }
10162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LightRippleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10163
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LightRippleDirective, isStandalone: true, selector: "[valLightRipple]", host: { listeners: { "pointerdown": "createRipple($event)" } }, ngImport: i0 }); }
10164
+ }
10165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LightRippleDirective, decorators: [{
10166
+ type: Directive,
10167
+ args: [{
10168
+ selector: '[valLightRipple]',
10169
+ standalone: true,
10170
+ }]
10171
+ }], propDecorators: { createRipple: [{
10172
+ type: HostListener,
10173
+ args: ['pointerdown', ['$event']]
10174
+ }] } });
10175
+
10120
10176
  /**
10121
10177
  * Presets de botón por defecto provistos por la librería.
10122
10178
  *
@@ -61031,18 +61087,66 @@ const CHESSIMALS_BOT_PROFILES = [
61031
61087
  labelKey: 'chessimalsBotSentinel',
61032
61088
  descriptionKey: 'chessimalsBotSentinelBody',
61033
61089
  },
61090
+ {
61091
+ id: 'oracle',
61092
+ difficulty: 'hard',
61093
+ avatar: '🔮',
61094
+ labelKey: 'chessimalsBotOracle',
61095
+ descriptionKey: 'chessimalsBotOracleBody',
61096
+ },
61097
+ {
61098
+ id: 'ambusher',
61099
+ difficulty: 'hard',
61100
+ avatar: '🪤',
61101
+ labelKey: 'chessimalsBotAmbusher',
61102
+ descriptionKey: 'chessimalsBotAmbusherBody',
61103
+ },
61104
+ {
61105
+ id: 'locksmith',
61106
+ difficulty: 'hard',
61107
+ avatar: '🔐',
61108
+ labelKey: 'chessimalsBotLocksmith',
61109
+ descriptionKey: 'chessimalsBotLocksmithBody',
61110
+ },
61111
+ {
61112
+ id: 'storm',
61113
+ difficulty: 'hard',
61114
+ avatar: '🌩️',
61115
+ labelKey: 'chessimalsBotStorm',
61116
+ descriptionKey: 'chessimalsBotStormBody',
61117
+ },
61118
+ {
61119
+ id: 'matriarch',
61120
+ difficulty: 'hard',
61121
+ avatar: '👑',
61122
+ labelKey: 'chessimalsBotMatriarch',
61123
+ descriptionKey: 'chessimalsBotMatriarchBody',
61124
+ },
61125
+ {
61126
+ id: 'endgame',
61127
+ difficulty: 'hard',
61128
+ avatar: '⌛',
61129
+ labelKey: 'chessimalsBotEndgame',
61130
+ descriptionKey: 'chessimalsBotEndgameBody',
61131
+ },
61034
61132
  ];
61035
61133
  const BOT_STYLES = {
61036
- explorer: { advancement: 1.05, capture: 0.82, safety: 0.62, power: 0.8, center: 1.15, unlock: 1.05, reply: 0.7, randomness: 260, spread: 0.68 },
61037
- impulsive: { advancement: 0.9, capture: 1.45, safety: 0.48, power: 1.15, center: 0.8, unlock: 0.9, reply: 0.55, randomness: 290, spread: 0.62 },
61038
- runner: { advancement: 1.55, capture: 0.78, safety: 0.5, power: 0.95, center: 0.7, unlock: 1.1, reply: 0.55, randomness: 250, spread: 0.6 },
61039
- hunter: { advancement: 0.95, capture: 1.45, safety: 0.9, power: 1.05, center: 0.95, unlock: 0.95, reply: 1, randomness: 90, spread: 0.3 },
61040
- guardian: { advancement: 0.88, capture: 1, safety: 1.45, power: 0.85, center: 1.05, unlock: 1, reply: 1.15, randomness: 70, spread: 0.26 },
61041
- jumper: { advancement: 1.12, capture: 1, safety: 0.92, power: 1.42, center: 1.18, unlock: 1.08, reply: 0.95, randomness: 95, spread: 0.32 },
61042
- strategist: { advancement: 1.05, capture: 1.08, safety: 1.22, power: 1.08, center: 1.16, unlock: 1.1, reply: 1.25, randomness: 22, spread: 0.14 },
61043
- predator: { advancement: 0.98, capture: 1.68, safety: 1.02, power: 1.34, center: 1, unlock: 1, reply: 1.12, randomness: 28, spread: 0.16 },
61044
- sprinter: { advancement: 1.72, capture: 0.9, safety: 0.95, power: 1.08, center: 0.86, unlock: 1.18, reply: 1, randomness: 26, spread: 0.15 },
61045
- sentinel: { advancement: 0.9, capture: 1.12, safety: 1.72, power: 0.95, center: 1.28, unlock: 1.05, reply: 1.38, randomness: 18, spread: 0.12 },
61134
+ explorer: { advancement: 1.05, capture: 0.82, safety: 0.62, power: 0.8, center: 1.15, unlock: 1.05, reply: 0.7, randomness: 260, spread: 0.68, mobility: 0.75, trap: 0.5, endgame: 0.55 },
61135
+ impulsive: { advancement: 0.9, capture: 1.45, safety: 0.48, power: 1.15, center: 0.8, unlock: 0.9, reply: 0.55, randomness: 290, spread: 0.62, mobility: 0.85, trap: 0.62, endgame: 0.5 },
61136
+ runner: { advancement: 1.55, capture: 0.78, safety: 0.5, power: 0.95, center: 0.7, unlock: 1.1, reply: 0.55, randomness: 250, spread: 0.6, mobility: 0.72, trap: 0.45, endgame: 1.1 },
61137
+ hunter: { advancement: 0.95, capture: 1.45, safety: 0.9, power: 1.05, center: 0.95, unlock: 0.95, reply: 1, randomness: 90, spread: 0.3, mobility: 0.95, trap: 0.82, endgame: 0.76 },
61138
+ guardian: { advancement: 0.88, capture: 1, safety: 1.45, power: 0.85, center: 1.05, unlock: 1, reply: 1.15, randomness: 70, spread: 0.26, mobility: 0.82, trap: 0.72, endgame: 0.72 },
61139
+ jumper: { advancement: 1.12, capture: 1, safety: 0.92, power: 1.42, center: 1.18, unlock: 1.08, reply: 0.95, randomness: 95, spread: 0.32, mobility: 1.15, trap: 0.9, endgame: 0.82 },
61140
+ strategist: { advancement: 1.05, capture: 1.08, safety: 1.22, power: 1.08, center: 1.16, unlock: 1.1, reply: 1.25, randomness: 22, spread: 0.14, mobility: 1.08, trap: 1.06, endgame: 1 },
61141
+ predator: { advancement: 0.98, capture: 1.68, safety: 1.02, power: 1.34, center: 1, unlock: 1, reply: 1.12, randomness: 28, spread: 0.16, mobility: 1.02, trap: 1.18, endgame: 0.82 },
61142
+ sprinter: { advancement: 1.72, capture: 0.9, safety: 0.95, power: 1.08, center: 0.86, unlock: 1.18, reply: 1, randomness: 26, spread: 0.15, mobility: 0.95, trap: 0.78, endgame: 1.42 },
61143
+ sentinel: { advancement: 0.9, capture: 1.12, safety: 1.72, power: 0.95, center: 1.28, unlock: 1.05, reply: 1.38, randomness: 18, spread: 0.12, mobility: 0.86, trap: 1.04, endgame: 0.84 },
61144
+ oracle: { advancement: 1, capture: 1.12, safety: 1.42, power: 1.1, center: 1.18, unlock: 1.08, reply: 1.8, randomness: 8, spread: 0.08, mobility: 1.06, trap: 1.22, endgame: 1.08 },
61145
+ ambusher: { advancement: 0.9, capture: 1.48, safety: 1.08, power: 1.46, center: 1.05, unlock: 1.02, reply: 1.32, randomness: 14, spread: 0.1, mobility: 1.12, trap: 1.72, endgame: 0.92 },
61146
+ locksmith: { advancement: 0.88, capture: 1.04, safety: 1.55, power: 1.02, center: 1.48, unlock: 1.12, reply: 1.52, randomness: 12, spread: 0.1, mobility: 1.58, trap: 1.24, endgame: 0.86 },
61147
+ storm: { advancement: 1.18, capture: 1.38, safety: 0.98, power: 1.62, center: 1.08, unlock: 1.18, reply: 1.22, randomness: 18, spread: 0.13, mobility: 1.36, trap: 1.28, endgame: 1.02 },
61148
+ matriarch: { advancement: 0.96, capture: 1.18, safety: 1.64, power: 1.18, center: 1.22, unlock: 1.08, reply: 1.66, randomness: 10, spread: 0.08, mobility: 1.02, trap: 1.36, endgame: 1 },
61149
+ endgame: { advancement: 1.46, capture: 1, safety: 1.28, power: 1.04, center: 0.94, unlock: 1.08, reply: 1.44, randomness: 10, spread: 0.09, mobility: 0.98, trap: 1.02, endgame: 1.86 },
61046
61150
  };
61047
61151
  const DEFAULT_BOT_PROFILE_BY_DIFFICULTY = {
61048
61152
  easy: 'explorer',
@@ -61128,8 +61232,17 @@ function chooseChessimalsBotMove(state, difficulty = 'normal', profileId = DEFAU
61128
61232
  if (moves.length === 0)
61129
61233
  return undefined;
61130
61234
  const style = BOT_STYLES[profileId] ?? BOT_STYLES[DEFAULT_BOT_PROFILE_BY_DIFFICULTY[difficulty]];
61131
- const scored = moves
61132
- .map((move) => ({ move, score: scoreBotMoveWithLookahead(state, move, difficulty, style) }))
61235
+ const quickScored = moves
61236
+ .map((move) => ({ move, score: scoreBotMove(state, move, difficulty, style) }))
61237
+ .sort((a, b) => b.score - a.score);
61238
+ const lookaheadLimit = difficulty === 'hard' ? 32 : difficulty === 'normal' ? 24 : 0;
61239
+ const scored = quickScored
61240
+ .map((item, index) => ({
61241
+ move: item.move,
61242
+ score: index < lookaheadLimit
61243
+ ? scoreBotMoveWithLookahead(state, item.move, difficulty, style)
61244
+ : item.score,
61245
+ }))
61133
61246
  .sort((a, b) => b.score - a.score);
61134
61247
  if (difficulty === 'easy') {
61135
61248
  const playable = scored.filter((item) => item.score > -3000);
@@ -61327,7 +61440,7 @@ function getPowerMoves(state, piece, animal) {
61327
61440
  const directions = getPowerDirections(animal);
61328
61441
  const moves = [];
61329
61442
  for (const direction of directions) {
61330
- for (let distance = 1; distance <= 3; distance += 1) {
61443
+ for (let distance = 1; distance < state.boardSize; distance += 1) {
61331
61444
  const target = {
61332
61445
  row: piece.position.row + direction.row * distance,
61333
61446
  col: piece.position.col + direction.col * distance,
@@ -61388,7 +61501,7 @@ function getKangarooMoves(state, piece) {
61388
61501
  }
61389
61502
  return moves;
61390
61503
  }
61391
- function scoreBotMove(state, move, difficulty, style) {
61504
+ function scoreBotMove(state, move, difficulty, style, includeTacticalPressure = true) {
61392
61505
  const color = state.currentTurn;
61393
61506
  const targetPiece = move.capturesPieceId
61394
61507
  ? activePieces(state).find((piece) => piece.id === move.capturesPieceId)
@@ -61414,6 +61527,14 @@ function scoreBotMove(state, move, difficulty, style) {
61414
61527
  score += 14 * style.power;
61415
61528
  if (wouldUnlockPower(state, color, move.to))
61416
61529
  score += 90 * style.unlock;
61530
+ if (includeTacticalPressure && state.boardSize <= 6) {
61531
+ score += countPowerReachAfterMove(state, move, color) * (difficulty === 'hard' ? 8 : 4) * style.mobility;
61532
+ score += countProtectedThreatsAfterMove(state, move, color) * (difficulty === 'hard' ? 36 : 18) * style.trap;
61533
+ score += scoreEndgamePressure(state, move, color) * style.endgame;
61534
+ }
61535
+ else {
61536
+ score += scoreEndgamePressure(state, move, color) * style.endgame;
61537
+ }
61417
61538
  if (difficulty === 'hard' && isSquareVulnerableAfterMove(state, move)) {
61418
61539
  score -= (targetPiece ? 80 : 140) * style.safety;
61419
61540
  }
@@ -61444,7 +61565,7 @@ function scoreBotMoveWithLookahead(state, move, difficulty, style) {
61444
61565
  score += centerControl * (difficulty === 'hard' ? 18 : 10) * style.center;
61445
61566
  }
61446
61567
  const opponentBestReply = opponentMoves
61447
- .map((opponentMove) => scoreBotMove(afterMove, opponentMove, difficulty, style))
61568
+ .map((opponentMove) => scoreBotMove(afterMove, opponentMove, difficulty, style, false))
61448
61569
  .sort((a, b) => b - a)[0];
61449
61570
  if (opponentBestReply) {
61450
61571
  const replyWeight = difficulty === 'easy' ? 0.12 : difficulty === 'normal' ? 0.32 : 0.48;
@@ -61456,6 +61577,34 @@ function scoreBotMoveWithLookahead(state, move, difficulty, style) {
61456
61577
  }
61457
61578
  return score;
61458
61579
  }
61580
+ function countPowerReachAfterMove(state, move, color) {
61581
+ try {
61582
+ const afterMove = applyChessimalsMove(state, move);
61583
+ const evaluationState = { ...afterMove, currentTurn: color };
61584
+ return getChessimalsAllLegalMoves(evaluationState, color).filter((nextMove) => nextMove.kind === 'power').length;
61585
+ }
61586
+ catch {
61587
+ return 0;
61588
+ }
61589
+ }
61590
+ function countProtectedThreatsAfterMove(state, move, color) {
61591
+ try {
61592
+ const afterMove = applyChessimalsMove(state, move);
61593
+ const evaluationState = { ...afterMove, currentTurn: color };
61594
+ const ourMoves = getChessimalsAllLegalMoves(evaluationState, color);
61595
+ const enemyPieces = activePieces(afterMove).filter((piece) => piece.color !== color && !piece.captured);
61596
+ return enemyPieces.filter((piece) => ourMoves.some((nextMove) => nextMove.capturesPieceId === piece.id)).length;
61597
+ }
61598
+ catch {
61599
+ return 0;
61600
+ }
61601
+ }
61602
+ function scoreEndgamePressure(state, move, color) {
61603
+ const remainingEnemyPieces = activePieces(state).filter((piece) => piece.color !== color && !piece.captured).length;
61604
+ const urgency = remainingEnemyPieces <= Math.max(2, Math.floor(state.boardSize / 2)) ? 1.6 : 1;
61605
+ const distanceToPromotion = color === 'white' ? move.to.row : state.boardSize - 1 - move.to.row;
61606
+ return Math.max(0, state.boardSize - distanceToPromotion) * 14 * urgency;
61607
+ }
61459
61608
  function pickNoisyBotMove(scored, spread) {
61460
61609
  if (scored.length === 0)
61461
61610
  return undefined;
@@ -62545,6 +62694,63 @@ const MINI_GAMES_I18N = {
62545
62694
  bubbleDescription: 'Revienta grupos de burbujas, encadena combos y sube tu puntaje.',
62546
62695
  chessimalsTitle: 'Chessimals',
62547
62696
  chessimalsDescription: 'Una carrera de peones con cartas de animales y poderes tácticos.',
62697
+ christianityTitle: 'Christianity',
62698
+ christianityDescription: 'Un juego de cartas familiar con líderes, ofrendas y decisiones tácticas.',
62699
+ christianityEyebrow: 'MVP de mesa',
62700
+ christianityTable: 'Mesa de Christianity',
62701
+ christianityTurn: 'Turno',
62702
+ christianityOfferings: 'Ofrendas',
62703
+ christianityHand: 'Mano',
62704
+ christianityOpponentBattle: 'Zona de batalla rival',
62705
+ christianityYourBattle: 'Tu zona de batalla',
62706
+ christianityOpponentHand: 'Mano rival',
62707
+ christianitySharedZone: 'Zona compartida',
62708
+ christianityMatch: 'Match',
62709
+ christianityMatchScore: 'Marcador de match',
62710
+ christianityHistory: 'Historia',
62711
+ christianityDeck: 'Mazo',
62712
+ christianityPlace: 'Lugar',
62713
+ christianityEmpty: 'Vacío',
62714
+ christianityYourHand: 'Tu mano',
62715
+ christianityCost: 'Coste',
62716
+ christianityOfferingCard: 'Ofrenda',
62717
+ christianityCharacterCard: 'Personaje',
62718
+ christianityLeaderCard: 'Líder',
62719
+ christianityHiddenCard: 'Carta oculta',
62720
+ christianityPreviewCard: 'Ver carta',
62721
+ christianityEndTurn: 'Terminar turno',
62722
+ christianityPlayCard: 'Jugar carta',
62723
+ christianityPlayOffering: 'Jugar ofrenda',
62724
+ christianityPlayHere: 'Jugar aquí',
62725
+ christianityReset: 'Reiniciar mock',
62726
+ christianityWaitTurn: 'Espera el turno rival.',
62727
+ christianityChooseTarget: 'Elige un objetivo para atacar.',
62728
+ christianityChooseCharacterTarget: 'El rival tiene personajes: debes atacarlos antes que al líder.',
62729
+ christianityReadyToPlay: 'Puedes jugar esta carta.',
62730
+ christianityChooseSlot: 'Elige una casilla disponible para jugar esta carta.',
62731
+ christianityPlaceOffering: 'Puedes jugar esta ofrenda con el botón de acción.',
62732
+ christianityNeedOfferings: 'Necesitas más ofrendas para jugar esa carta.',
62733
+ christianityChooseCard: 'Elige una carta o un personaje listo para actuar.',
62734
+ christianityLeaderProtected: 'No puedes atacar directamente al líder mientras tenga personajes en batalla.',
62735
+ christianityLeaderBody: 'Si su vida llega a 0, la partida termina.',
62736
+ christianityOfferingReady: 'Lista',
62737
+ christianityOfferingExhausted: 'Agotada',
62738
+ christianityOfferingBody: 'Se agota para pagar costes y vuelve a estar lista al comenzar tu turno.',
62739
+ christianityOfferingNoAbility: 'Esta ofrenda no tiene habilidad activable.',
62740
+ christianityUseAbility: 'Usar',
62741
+ christianityCloseOfferings: 'Cerrar ofrendas',
62742
+ christianityCharacterBody: 'Entra a batalla y debe esperar un turno para atacar.',
62743
+ christianityCharacterReady: 'Listo para atacar.',
62744
+ christianityCharacterExhausted: 'No puede atacar todavía.',
62745
+ christianityCardRemaining: 'carta restante',
62746
+ christianityCardsRemaining: 'cartas restantes',
62747
+ christianityDeckBody: 'El mazo es una pila compartida. Ambos jugadores roban desde aquí, por eso importa adaptarse a lo que aparece y cuidar el ritmo de la partida.',
62748
+ christianityDeckRuleShared: 'Todas las cartas jugables viven en este mazo compartido, incluyendo personajes y ofrendas.',
62749
+ christianityDeckRuleDraw: 'Al comenzar cada turno, el jugador activo roba la primera carta disponible.',
62750
+ christianityDeckRuleEmpty: 'Si el mazo se queda sin cartas, se revisa la condición de victoria por vida al final del turno.',
62751
+ christianityClosePreview: 'Cerrar previsualizacion de carta',
62752
+ christianityCloseHistory: 'Cerrar historia',
62753
+ christianityHistoryEmpty: 'Todavía no hay cartas en historia.',
62548
62754
  soonTitle: 'Próximamente',
62549
62755
  openGame: 'Jugar',
62550
62756
  close: 'Cerrar',
@@ -62669,10 +62875,10 @@ const MINI_GAMES_I18N = {
62669
62875
  chessimalsRulePowersTitle: 'Cuándo se activan los poderes',
62670
62876
  chessimalsRulePowersBody: 'Tus cartas se desbloquean cuando uno de tus peones cruza la línea central o cuando un peón rival entra en tu mitad del tablero.',
62671
62877
  chessimalsRuleCardsTitle: 'Cartas de animales',
62672
- chessimalsRuleEagle: 'Águila: se mueve hasta 3 casillas en diagonal, hacia adelante o atrás.',
62673
- chessimalsRuleBull: 'Toro: se mueve hasta 3 casillas en línea recta, incluso hacia los lados.',
62878
+ chessimalsRuleEagle: 'Águila: se mueve en diagonal por todo el tablero, hacia adelante o atrás, sin entrar a la última fila.',
62879
+ chessimalsRuleBull: 'Toro: se mueve en línea recta por todo el tablero, incluso hacia los lados, sin entrar a la última fila.',
62674
62880
  chessimalsRuleKangaroo: 'Canguro: salta en L, como el caballo del ajedrez. Puede saltar por encima de piezas y caer libre o capturar una pieza rival.',
62675
- chessimalsRuleLion: 'León: se mueve hasta 3 casillas en cualquier dirección.',
62881
+ chessimalsRuleLion: 'León: se mueve en cualquier dirección por todo el tablero, sin entrar a la última fila.',
62676
62882
  chessimalsRuleLimitsTitle: 'Reglas de equilibrio',
62677
62883
  chessimalsRuleLimitsBody: 'Cada carta se usa una sola vez por partida. Ningún poder puede entrar directamente a la última fila: el paso final para ganar siempre debe ser un avance normal.',
62678
62884
  chessimalsBoardSize: 'Tamaño del tablero',
@@ -62785,6 +62991,18 @@ const MINI_GAMES_I18N = {
62785
62991
  chessimalsBotSprinterBody: 'Optimiza rutas de promoción.',
62786
62992
  chessimalsBotSentinel: 'Centinela',
62787
62993
  chessimalsBotSentinelBody: 'Defiende sólido y castiga errores.',
62994
+ chessimalsBotOracle: 'Oráculo',
62995
+ chessimalsBotOracleBody: 'Lee respuestas y evita trampas profundas.',
62996
+ chessimalsBotAmbusher: 'Emboscador',
62997
+ chessimalsBotAmbusherBody: 'Prepara capturas dobles con poderes largos.',
62998
+ chessimalsBotLocksmith: 'Cerrajero',
62999
+ chessimalsBotLocksmithBody: 'Cierra el centro y reduce tus rutas.',
63000
+ chessimalsBotStorm: 'Tormenta',
63001
+ chessimalsBotStormBody: 'Usa poderes largos para presionar todo el tablero.',
63002
+ chessimalsBotMatriarch: 'Matriarca',
63003
+ chessimalsBotMatriarchBody: 'Protege su estructura y gana por desgaste.',
63004
+ chessimalsBotEndgame: 'Finalista',
63005
+ chessimalsBotEndgameBody: 'Convierte ventajas pequeñas en promoción.',
62788
63006
  chessimalsBotExplorerTendency: 'Tiende a variar rutas, probar el centro y cometer errores suaves.',
62789
63007
  chessimalsBotImpulsiveTendency: 'Tiende a capturar rápido, incluso cuando puede quedar expuesto.',
62790
63008
  chessimalsBotRunnerTendency: 'Tiende a avanzar hacia la promoción antes que defender.',
@@ -62795,6 +63013,12 @@ const MINI_GAMES_I18N = {
62795
63013
  chessimalsBotPredatorTendency: 'Tiende a forzar capturas y usar poderes agresivos.',
62796
63014
  chessimalsBotSprinterTendency: 'Tiende a encontrar caminos rápidos de promoción.',
62797
63015
  chessimalsBotSentinelTendency: 'Tiende a defender sólido y castigar errores.',
63016
+ chessimalsBotOracleTendency: 'Tiende a anticipar respuestas y elegir jugadas difíciles de refutar.',
63017
+ chessimalsBotAmbusherTendency: 'Tiende a dejar piezas bajo amenaza múltiple antes de capturar.',
63018
+ chessimalsBotLocksmithTendency: 'Tiende a cortar rutas por el centro y dejarte sin buenas casillas.',
63019
+ chessimalsBotStormTendency: 'Tiende a convertir poderes largos en presión desde varios ángulos.',
63020
+ chessimalsBotMatriarchTendency: 'Tiende a conservar piezas y cambiar solo cuando queda mejor.',
63021
+ chessimalsBotEndgameTendency: 'Tiende a simplificar y correr hacia la promoción cuando ve ventaja.',
62798
63022
  chessimalsBotReportTitle: 'Reporte del bot',
62799
63023
  chessimalsBotReportVs: 'Contra {bot}',
62800
63024
  chessimalsBotReportBody: '{outcome}. Hizo {captures} capturas y usó {powers} poderes. {style}',
@@ -62889,7 +63113,7 @@ const MINI_GAMES_I18N = {
62889
63113
  chessimalsTutorialStep4Title: 'Devuelve el turno',
62890
63114
  chessimalsTutorialStep4Body: 'Mueve el peón negro de la columna F una casilla hacia abajo para continuar.',
62891
63115
  chessimalsTutorialStep5Title: 'Usa el poder Canguro',
62892
- chessimalsTutorialStep5Body: 'Selecciona la carta Canguro y salta en L para capturar el peón negro.',
63116
+ chessimalsTutorialStep5Body: 'Selecciona la carta Canguro y salta en L para capturar el peón negro. Las otras cartas pueden cruzar todo el tablero, pero ningún poder puede entrar a la última fila.',
62893
63117
  chessimalsTutorialStep6Title: 'Prepara la llegada',
62894
63118
  chessimalsTutorialStep6Body: 'Mueve el último peón negro hacia abajo. Después tendrás camino para ganar.',
62895
63119
  chessimalsTutorialStep7Title: 'Llega a la última fila',
@@ -62953,6 +63177,63 @@ const MINI_GAMES_I18N = {
62953
63177
  bubbleDescription: 'Pop bubble groups, chain combos, and push your score higher.',
62954
63178
  chessimalsTitle: 'Chessimals',
62955
63179
  chessimalsDescription: 'A pawn race with animal cards and tactical powers.',
63180
+ christianityTitle: 'Christianity',
63181
+ christianityDescription: 'A family card game with leaders, offerings, and tactical choices.',
63182
+ christianityEyebrow: 'Table MVP',
63183
+ christianityTable: 'Christianity table',
63184
+ christianityTurn: 'Turn',
63185
+ christianityOfferings: 'Offerings',
63186
+ christianityHand: 'Hand',
63187
+ christianityOpponentBattle: 'Opponent battle zone',
63188
+ christianityYourBattle: 'Your battle zone',
63189
+ christianityOpponentHand: 'Opponent hand',
63190
+ christianitySharedZone: 'Shared zone',
63191
+ christianityMatch: 'Match',
63192
+ christianityMatchScore: 'Match score',
63193
+ christianityHistory: 'History',
63194
+ christianityDeck: 'Deck',
63195
+ christianityPlace: 'Place',
63196
+ christianityEmpty: 'Empty',
63197
+ christianityYourHand: 'Your hand',
63198
+ christianityCost: 'Cost',
63199
+ christianityOfferingCard: 'Offering',
63200
+ christianityCharacterCard: 'Character',
63201
+ christianityLeaderCard: 'Leader',
63202
+ christianityHiddenCard: 'Hidden card',
63203
+ christianityPreviewCard: 'Preview card',
63204
+ christianityEndTurn: 'End turn',
63205
+ christianityPlayCard: 'Play card',
63206
+ christianityPlayOffering: 'Play offering',
63207
+ christianityPlayHere: 'Play here',
63208
+ christianityReset: 'Reset mock',
63209
+ christianityWaitTurn: 'Wait for the opponent turn.',
63210
+ christianityChooseTarget: 'Choose a target to attack.',
63211
+ christianityChooseCharacterTarget: 'The opponent has characters: attack them before the leader.',
63212
+ christianityReadyToPlay: 'You can play this card.',
63213
+ christianityChooseSlot: 'Choose an available slot to play this card.',
63214
+ christianityPlaceOffering: 'You can play this offering with the action button.',
63215
+ christianityNeedOfferings: 'You need more offerings to play that card.',
63216
+ christianityChooseCard: 'Choose a card or a ready character.',
63217
+ christianityLeaderProtected: 'You cannot attack the leader directly while they have characters in battle.',
63218
+ christianityLeaderBody: 'If this leader reaches 0 life, the game ends.',
63219
+ christianityOfferingReady: 'Ready',
63220
+ christianityOfferingExhausted: 'Exhausted',
63221
+ christianityOfferingBody: 'Exhaust it to pay costs. It readies again at the start of your turn.',
63222
+ christianityOfferingNoAbility: 'This offering has no active ability.',
63223
+ christianityUseAbility: 'Use',
63224
+ christianityCloseOfferings: 'Close offerings',
63225
+ christianityCharacterBody: 'Enters battle and must wait one turn before attacking.',
63226
+ christianityCharacterReady: 'Ready to attack.',
63227
+ christianityCharacterExhausted: 'Cannot attack yet.',
63228
+ christianityCardRemaining: 'card remaining',
63229
+ christianityCardsRemaining: 'cards remaining',
63230
+ christianityDeckBody: 'The deck is a shared pile. Both players draw from it, so the match rewards adapting to what appears and managing the pace.',
63231
+ christianityDeckRuleShared: 'All playable cards live in this shared deck, including characters and offerings.',
63232
+ christianityDeckRuleDraw: 'At the start of each turn, the active player draws the first available card.',
63233
+ christianityDeckRuleEmpty: 'If the deck runs out, the leader life victory condition is checked at the end of the turn.',
63234
+ christianityClosePreview: 'Close card preview',
63235
+ christianityCloseHistory: 'Close history',
63236
+ christianityHistoryEmpty: 'There are no cards in history yet.',
62956
63237
  soonTitle: 'Coming soon',
62957
63238
  openGame: 'Play',
62958
63239
  close: 'Close',
@@ -63077,10 +63358,10 @@ const MINI_GAMES_I18N = {
63077
63358
  chessimalsRulePowersTitle: 'When powers unlock',
63078
63359
  chessimalsRulePowersBody: 'Your cards unlock when one of your pawns crosses the center line, or when a rival pawn enters your half of the board.',
63079
63360
  chessimalsRuleCardsTitle: 'Animal cards',
63080
- chessimalsRuleEagle: 'Eagle: moves up to 3 squares diagonally, forward or backward.',
63081
- chessimalsRuleBull: 'Bull: moves up to 3 squares in a straight line, including sideways.',
63361
+ chessimalsRuleEagle: 'Eagle: moves diagonally across the whole board, forward or backward, without entering the final row.',
63362
+ chessimalsRuleBull: 'Bull: moves in a straight line across the whole board, including sideways, without entering the final row.',
63082
63363
  chessimalsRuleKangaroo: 'Kangaroo: jumps in an L shape, like a chess knight. It can jump over pieces and land on an empty square or capture a rival piece.',
63083
- chessimalsRuleLion: 'Lion: moves up to 3 squares in any direction.',
63364
+ chessimalsRuleLion: 'Lion: moves in any direction across the whole board, without entering the final row.',
63084
63365
  chessimalsRuleLimitsTitle: 'Balance rules',
63085
63366
  chessimalsRuleLimitsBody: 'Each card can be used once per game. No power can land directly on the final row: the winning step must always be a normal forward move.',
63086
63367
  chessimalsBoardSize: 'Board size',
@@ -63193,6 +63474,18 @@ const MINI_GAMES_I18N = {
63193
63474
  chessimalsBotSprinterBody: 'Optimizes promotion routes.',
63194
63475
  chessimalsBotSentinel: 'Sentinel',
63195
63476
  chessimalsBotSentinelBody: 'Defends solidly and punishes mistakes.',
63477
+ chessimalsBotOracle: 'Oracle',
63478
+ chessimalsBotOracleBody: 'Reads replies and avoids deep traps.',
63479
+ chessimalsBotAmbusher: 'Ambusher',
63480
+ chessimalsBotAmbusherBody: 'Sets up double captures with long powers.',
63481
+ chessimalsBotLocksmith: 'Locksmith',
63482
+ chessimalsBotLocksmithBody: 'Closes the center and reduces your routes.',
63483
+ chessimalsBotStorm: 'Storm',
63484
+ chessimalsBotStormBody: 'Uses long powers to pressure the whole board.',
63485
+ chessimalsBotMatriarch: 'Matriarch',
63486
+ chessimalsBotMatriarchBody: 'Protects structure and wins by attrition.',
63487
+ chessimalsBotEndgame: 'Endgame',
63488
+ chessimalsBotEndgameBody: 'Turns small edges into promotion.',
63196
63489
  chessimalsBotExplorerTendency: 'Tends to vary routes, test the center, and make soft mistakes.',
63197
63490
  chessimalsBotImpulsiveTendency: 'Tends to capture quickly, even when it can become exposed.',
63198
63491
  chessimalsBotRunnerTendency: 'Tends to push toward promotion before defending.',
@@ -63203,6 +63496,12 @@ const MINI_GAMES_I18N = {
63203
63496
  chessimalsBotPredatorTendency: 'Tends to force captures and use aggressive powers.',
63204
63497
  chessimalsBotSprinterTendency: 'Tends to find fast promotion paths.',
63205
63498
  chessimalsBotSentinelTendency: 'Tends to defend solidly and punish mistakes.',
63499
+ chessimalsBotOracleTendency: 'Tends to anticipate replies and choose hard-to-refute moves.',
63500
+ chessimalsBotAmbusherTendency: 'Tends to leave pieces under multiple threats before capturing.',
63501
+ chessimalsBotLocksmithTendency: 'Tends to close central routes and leave you without good squares.',
63502
+ chessimalsBotStormTendency: 'Tends to turn long powers into pressure from several angles.',
63503
+ chessimalsBotMatriarchTendency: 'Tends to preserve pieces and trade only when it improves.',
63504
+ chessimalsBotEndgameTendency: 'Tends to simplify and race toward promotion when ahead.',
63206
63505
  chessimalsBotReportTitle: 'Bot report',
63207
63506
  chessimalsBotReportVs: 'Against {bot}',
63208
63507
  chessimalsBotReportBody: '{outcome}. It made {captures} captures and used {powers} powers. {style}',
@@ -63297,7 +63596,7 @@ const MINI_GAMES_I18N = {
63297
63596
  chessimalsTutorialStep4Title: 'Return the turn',
63298
63597
  chessimalsTutorialStep4Body: 'Move the black pawn on file F one square downward to continue.',
63299
63598
  chessimalsTutorialStep5Title: 'Use the Kangaroo power',
63300
- chessimalsTutorialStep5Body: 'Select the Kangaroo card and jump in an L shape to capture the black pawn.',
63599
+ chessimalsTutorialStep5Body: 'Select the Kangaroo card and jump in an L shape to capture the black pawn. The other cards can cross the whole board, but no power can enter the final row.',
63301
63600
  chessimalsTutorialStep6Title: 'Prepare the finish',
63302
63601
  chessimalsTutorialStep6Body: 'Move the last black pawn downward. Then your path to win is open.',
63303
63602
  chessimalsTutorialStep7Title: 'Reach the last row',
@@ -64480,6 +64779,7 @@ class ChessimalsGameComponent {
64480
64779
  });
64481
64780
  this.botThinking = signal(false);
64482
64781
  this.confirmAction = signal(undefined);
64782
+ this.confirmedAction = signal(undefined);
64483
64783
  this.onlineJoinCode = signal('');
64484
64784
  this.onlineLoading = signal(false);
64485
64785
  this.onlineAction = signal(undefined);
@@ -65458,13 +65758,12 @@ class ChessimalsGameComponent {
65458
65758
  closeConfirmModal() {
65459
65759
  this.confirmAction.set(undefined);
65460
65760
  }
65461
- confirmPendingAction(token) {
65462
- if (token !== 'confirm') {
65463
- this.closeConfirmModal();
65464
- return;
65465
- }
65466
- const action = this.confirmAction();
65761
+ handleConfirmModalDismissed() {
65467
65762
  this.confirmAction.set(undefined);
65763
+ const action = this.confirmedAction();
65764
+ this.confirmedAction.set(undefined);
65765
+ if (!action)
65766
+ return;
65468
65767
  if (action === 'restart') {
65469
65768
  this.restartGame();
65470
65769
  return;
@@ -65486,6 +65785,15 @@ class ChessimalsGameComponent {
65486
65785
  this.createNewChallengeRun();
65487
65786
  }
65488
65787
  }
65788
+ confirmPendingAction(token) {
65789
+ if (token !== 'confirm') {
65790
+ this.closeConfirmModal();
65791
+ return;
65792
+ }
65793
+ const action = this.confirmAction();
65794
+ this.confirmedAction.set(action);
65795
+ this.confirmAction.set(undefined);
65796
+ }
65489
65797
  resignGame() {
65490
65798
  const game = this.game();
65491
65799
  if (game.status === 'finished')
@@ -67577,7 +67885,7 @@ class ChessimalsGameComponent {
67577
67885
  <ion-modal
67578
67886
  [isOpen]="!!confirmAction()"
67579
67887
  cssClass="val-modal-adaptive"
67580
- (didDismiss)="closeConfirmModal()"
67888
+ (didDismiss)="handleConfirmModalDismissed()"
67581
67889
  >
67582
67890
  <ng-template>
67583
67891
  <val-modal-layout
@@ -68538,7 +68846,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
68538
68846
  <ion-modal
68539
68847
  [isOpen]="!!confirmAction()"
68540
68848
  cssClass="val-modal-adaptive"
68541
- (didDismiss)="closeConfirmModal()"
68849
+ (didDismiss)="handleConfirmModalDismissed()"
68542
68850
  >
68543
68851
  <ng-template>
68544
68852
  <val-modal-layout
@@ -68564,6 +68872,1735 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
68564
68872
  type: Input
68565
68873
  }] } });
68566
68874
 
68875
+ const STARTER_CARDS = {
68876
+ o_simple: {
68877
+ id: 'o_simple',
68878
+ name: 'Ofrenda simple',
68879
+ type: 'offering',
68880
+ cost: 0,
68881
+ attack: 0,
68882
+ life: 1,
68883
+ verseText: 'Una ofrenda sencilla queda lista para sostener tus siguientes jugadas.',
68884
+ scripture: 'Genesis 4:4',
68885
+ edition: 'GEN',
68886
+ collectorNumber: '001/020',
68887
+ year: '2026',
68888
+ author: 'MVP',
68889
+ rarity: 'normal',
68890
+ },
68891
+ o_forbidden: {
68892
+ id: 'o_forbidden',
68893
+ name: 'El fruto prohibido',
68894
+ type: 'offering',
68895
+ cost: 0,
68896
+ attack: 0,
68897
+ life: 2,
68898
+ abilityName: 'Conocimiento del bien y del mal',
68899
+ abilityText: 'Al usarla, disminuye en 1 los puntos de vida de tu Líder.',
68900
+ abilityCost: 0,
68901
+ verseText: 'Dios el Señor puso al hombre en el jardín de Edén para que lo labrara y lo cuidara.',
68902
+ scripture: 'Genesis 2:17 NBV',
68903
+ edition: 'GEN',
68904
+ collectorNumber: '012/180',
68905
+ year: '2026',
68906
+ author: 'MVP',
68907
+ rarity: 'uncommon',
68908
+ },
68909
+ p_scout: {
68910
+ id: 'p_scout',
68911
+ name: 'Scout',
68912
+ type: 'character',
68913
+ cost: 1,
68914
+ attack: 1,
68915
+ life: 1,
68916
+ verseText: 'Un explorador humilde abre camino antes de que llegue la batalla.',
68917
+ scripture: 'Genesis 13:17',
68918
+ edition: 'GEN',
68919
+ collectorNumber: '002/020',
68920
+ year: '2026',
68921
+ author: 'MVP',
68922
+ rarity: 'normal',
68923
+ },
68924
+ p_guard: { id: 'p_guard', name: 'Guard', type: 'character', cost: 2, attack: 1, life: 3, edition: 'GEN', collectorNumber: '003/020', year: '2026', author: 'MVP', rarity: 'normal' },
68925
+ p_warrior: { id: 'p_warrior', name: 'Warrior', type: 'character', cost: 2, attack: 2, life: 2, edition: 'GEN', collectorNumber: '004/020', year: '2026', author: 'MVP', rarity: 'normal' },
68926
+ p_elder: { id: 'p_elder', name: 'Elder', type: 'character', cost: 3, attack: 2, life: 4, edition: 'GEN', collectorNumber: '005/020', year: '2026', author: 'MVP', rarity: 'uncommon' },
68927
+ p_champion: { id: 'p_champion', name: 'Champion', type: 'character', cost: 4, attack: 4, life: 4, edition: 'GEN', collectorNumber: '006/020', year: '2026', author: 'MVP', rarity: 'rare' },
68928
+ };
68929
+ const STARTING_SHARED_DECK = [
68930
+ 'o_simple',
68931
+ 'p_scout',
68932
+ 'o_forbidden',
68933
+ 'o_simple',
68934
+ 'p_guard',
68935
+ 'p_warrior',
68936
+ 'o_simple',
68937
+ 'p_elder',
68938
+ 'p_scout',
68939
+ 'o_simple',
68940
+ 'p_champion',
68941
+ 'p_guard',
68942
+ 'o_simple',
68943
+ 'p_warrior',
68944
+ 'p_scout',
68945
+ 'o_simple',
68946
+ 'p_elder',
68947
+ 'p_guard',
68948
+ 'o_simple',
68949
+ ];
68950
+ const STARTING_GAME = {
68951
+ gameId: 'mock-christianity',
68952
+ status: 'in_progress',
68953
+ mode: 'local_pass',
68954
+ turnOwner: 'P1',
68955
+ revision: 0,
68956
+ turnCount: 1,
68957
+ matchScore: { P1: 1, P2: 0 },
68958
+ sharedDeck: STARTING_SHARED_DECK,
68959
+ historyZone: [],
68960
+ players: {
68961
+ P1: {
68962
+ seat: 'P1',
68963
+ displayName: 'Jugador',
68964
+ avatar: 'J',
68965
+ avatarColor: '#2563eb',
68966
+ leaderName: 'Adam',
68967
+ leaderHp: 15,
68968
+ leaderMaxHp: 15,
68969
+ offerings: [
68970
+ { instanceId: 'p1_offering_001', cardId: 'o_simple', name: 'Ofrenda simple', owner: 'P1', ready: true, value: 1 },
68971
+ {
68972
+ instanceId: 'p1_offering_002',
68973
+ cardId: 'o_forbidden',
68974
+ name: 'El fruto prohibido',
68975
+ owner: 'P1',
68976
+ ready: true,
68977
+ value: 2,
68978
+ abilityName: 'Conocimiento del bien y del mal',
68979
+ abilityText: 'Al usarla, disminuye en 1 los puntos de vida de tu Lider.',
68980
+ abilityCost: 0,
68981
+ },
68982
+ ],
68983
+ offeringPlayedThisTurn: false,
68984
+ hand: ['o_simple', 'p_scout', 'p_warrior', 'p_guard'],
68985
+ battleZone: [],
68986
+ },
68987
+ P2: {
68988
+ seat: 'P2',
68989
+ displayName: 'Rival',
68990
+ avatar: 'R',
68991
+ avatarColor: '#b45309',
68992
+ leaderName: 'Noah',
68993
+ leaderHp: 15,
68994
+ leaderMaxHp: 15,
68995
+ offerings: [{ instanceId: 'p2_offering_001', cardId: 'o_simple', name: 'Ofrenda simple', owner: 'P2', ready: true, value: 1 }],
68996
+ offeringPlayedThisTurn: false,
68997
+ handCount: 4,
68998
+ battleZone: [
68999
+ {
69000
+ instanceId: 'opp_001',
69001
+ cardId: 'p_scout',
69002
+ name: 'Scout',
69003
+ owner: 'P2',
69004
+ controller: 'P2',
69005
+ attack: 1,
69006
+ currentHp: 1,
69007
+ maxHp: 1,
69008
+ canAttack: false,
69009
+ },
69010
+ ],
69011
+ },
69012
+ },
69013
+ log: ['Partida iniciada.'],
69014
+ };
69015
+ class ChristianityGameComponent {
69016
+ constructor() {
69017
+ this.i18n = inject(I18nService);
69018
+ this.game = signal(structuredClone(STARTING_GAME));
69019
+ this.selectedHandCard = signal(null);
69020
+ this.selectedAttacker = signal(null);
69021
+ this.selectedPreview = signal(null);
69022
+ this.selectedInfo = signal(null);
69023
+ this.previewTilt = signal({ rotateX: 5, rotateY: -5, shiftX: 0, shiftY: 0 });
69024
+ this.hoveredHandIndex = signal(null);
69025
+ this.draggingCardId = signal(null);
69026
+ this.showHistory = signal(false);
69027
+ this.offeringsSeat = signal(null);
69028
+ this.canDropOnBattleSlot = (drag) => {
69029
+ const card = this.cardDefinition(drag.data);
69030
+ return card.type === 'character' && this.canPlay(card);
69031
+ };
69032
+ this.canDropOnOfferings = (drag) => {
69033
+ const card = this.cardDefinition(drag.data);
69034
+ return card.type === 'offering' && this.canPlay(card);
69035
+ };
69036
+ this.player = computed(() => this.game().players.P1);
69037
+ this.opponent = computed(() => this.game().players.P2);
69038
+ this.currentPlayer = computed(() => this.game().players[this.game().turnOwner]);
69039
+ this.isOwnTurn = computed(() => this.game().turnOwner === 'P1');
69040
+ this.hasOpponentGuards = computed(() => this.opponent().battleZone.length > 0);
69041
+ this.opponentHandCount = computed(() => this.opponent().handCount ?? this.opponent().hand?.length ?? 0);
69042
+ this.selectedCardDefinition = computed(() => {
69043
+ const selected = this.selectedHandCard();
69044
+ return selected ? this.cardDefinition(selected) : null;
69045
+ });
69046
+ this.selectedPreviewCard = computed(() => {
69047
+ const cardId = this.selectedPreview()?.cardId;
69048
+ return cardId ? this.cardDefinition(cardId) : null;
69049
+ });
69050
+ this.statusText = computed(() => {
69051
+ const attacker = this.selectedAttacker();
69052
+ const handCard = this.selectedCardDefinition();
69053
+ if (!this.isOwnTurn()) {
69054
+ return this.t('christianityWaitTurn');
69055
+ }
69056
+ if (attacker) {
69057
+ return this.hasOpponentGuards() ? this.t('christianityChooseCharacterTarget') : this.t('christianityChooseTarget');
69058
+ }
69059
+ if (handCard) {
69060
+ if (!this.canPlay(handCard)) {
69061
+ return this.t('christianityNeedOfferings');
69062
+ }
69063
+ return handCard.type === 'offering' ? this.t('christianityPlaceOffering') : this.t('christianityChooseSlot');
69064
+ }
69065
+ return this.t('christianityChooseCard');
69066
+ });
69067
+ this.i18n.registerDefaults('MiniGames', MINI_GAMES_I18N);
69068
+ }
69069
+ t(key) {
69070
+ this.i18n.lang();
69071
+ return this.i18n.t(key, 'MiniGames');
69072
+ }
69073
+ cardDefinition(cardId) {
69074
+ return STARTER_CARDS[cardId] ?? STARTER_CARDS['p_scout'];
69075
+ }
69076
+ cardTypeLabel(card) {
69077
+ return card.type === 'offering' ? this.t('christianityOfferingCard') : this.t('christianityCharacterCard');
69078
+ }
69079
+ battleSlots(seat) {
69080
+ const cards = this.game().players[seat].battleZone;
69081
+ return Array.from({ length: 4 }, (_, index) => ({
69082
+ trackId: cards[index]?.instanceId ?? `${seat}-empty-${index}`,
69083
+ card: cards[index],
69084
+ }));
69085
+ }
69086
+ battleSlotDropId(index) {
69087
+ return `christianity-battle-slot-${index}`;
69088
+ }
69089
+ dropTargetIds() {
69090
+ return ['christianity-offerings-drop', ...this.battleSlots('P1').map((_, index) => this.battleSlotDropId(index))];
69091
+ }
69092
+ hiddenHandCards(count) {
69093
+ return Array.from({ length: count });
69094
+ }
69095
+ fanTransform(index, total, opponent) {
69096
+ if (total <= 1)
69097
+ return 'none';
69098
+ const center = (total - 1) / 2;
69099
+ const offset = index - center;
69100
+ const rotate = offset * (opponent ? 8 : 5);
69101
+ const lift = Math.abs(offset) * 0.25;
69102
+ const hoverLift = opponent ? 0 : this.handWaveLift(index);
69103
+ const scale = opponent ? 1 : this.handWaveScale(index);
69104
+ const fanLift = opponent ? Math.abs(offset) * 0.34 : lift + hoverLift;
69105
+ const fanSpread = opponent ? offset * 0.08 : 0;
69106
+ return `translate(${fanSpread}rem, ${fanLift}rem) rotate(${rotate}deg) scale(${scale})`;
69107
+ }
69108
+ handCardZIndex(index) {
69109
+ const hovered = this.hoveredHandIndex();
69110
+ if (hovered === null)
69111
+ return 2;
69112
+ const distance = Math.abs(index - hovered);
69113
+ return Math.max(2, 8 - distance);
69114
+ }
69115
+ setHoveredHandIndex(index) {
69116
+ this.hoveredHandIndex.set(index);
69117
+ }
69118
+ clearHoveredHandIndex() {
69119
+ this.hoveredHandIndex.set(null);
69120
+ }
69121
+ releaseHoveredHand(event) {
69122
+ if (event.pointerType !== 'mouse') {
69123
+ window.setTimeout(() => this.clearHoveredHandIndex(), 180);
69124
+ }
69125
+ }
69126
+ handWaveLift(index) {
69127
+ const hovered = this.hoveredHandIndex();
69128
+ if (hovered === null)
69129
+ return 0;
69130
+ const distance = Math.abs(index - hovered);
69131
+ if (distance === 0)
69132
+ return -1.15;
69133
+ if (distance === 1)
69134
+ return -0.58;
69135
+ if (distance === 2)
69136
+ return -0.22;
69137
+ return 0;
69138
+ }
69139
+ handWaveScale(index) {
69140
+ const hovered = this.hoveredHandIndex();
69141
+ if (hovered === null)
69142
+ return 1;
69143
+ const distance = Math.abs(index - hovered);
69144
+ if (distance === 0)
69145
+ return 1.06;
69146
+ if (distance === 1)
69147
+ return 1.03;
69148
+ return 1;
69149
+ }
69150
+ readyOfferings(player) {
69151
+ return player.offerings.reduce((total, offering) => total + (offering.ready ? offering.value : 0), 0);
69152
+ }
69153
+ totalOfferings(player) {
69154
+ return player.offerings.reduce((total, offering) => total + offering.value, 0);
69155
+ }
69156
+ canPlay(card) {
69157
+ if (!this.isOwnTurn())
69158
+ return false;
69159
+ if (card.type === 'offering')
69160
+ return !this.player().offeringPlayedThisTurn;
69161
+ return this.readyOfferings(this.player()) >= card.cost && this.player().battleZone.length < 4;
69162
+ }
69163
+ canPlaySelected() {
69164
+ const selected = this.selectedHandCard();
69165
+ return !!selected && this.canPlay(this.cardDefinition(selected));
69166
+ }
69167
+ selectedActionLabel() {
69168
+ const selected = this.selectedCardDefinition();
69169
+ if (!selected)
69170
+ return this.t('christianityPlayCard');
69171
+ return selected.type === 'offering' ? this.t('christianityPlayOffering') : this.t('christianityPlayCard');
69172
+ }
69173
+ selectedActionDisabled() {
69174
+ const selected = this.selectedCardDefinition();
69175
+ if (!selected || !this.canPlay(selected))
69176
+ return true;
69177
+ return selected.type === 'character';
69178
+ }
69179
+ previewActionDisabled() {
69180
+ const preview = this.selectedPreview();
69181
+ if (preview?.source !== 'hand' || !preview.cardId)
69182
+ return true;
69183
+ return !this.canPlay(this.cardDefinition(preview.cardId));
69184
+ }
69185
+ canPlaceSelectedCharacter() {
69186
+ const selected = this.selectedCardDefinition();
69187
+ return !!selected && selected.type === 'character' && this.canPlay(selected);
69188
+ }
69189
+ canPlaceSelectedOffering() {
69190
+ const selected = this.selectedCardDefinition();
69191
+ return !!selected && selected.type === 'offering' && this.canPlay(selected);
69192
+ }
69193
+ isDraggingCharacter() {
69194
+ const cardId = this.draggingCardId();
69195
+ if (!cardId)
69196
+ return false;
69197
+ const card = this.cardDefinition(cardId);
69198
+ return card.type === 'character' && this.canPlay(card);
69199
+ }
69200
+ isDraggingOffering() {
69201
+ const cardId = this.draggingCardId();
69202
+ if (!cardId)
69203
+ return false;
69204
+ const card = this.cardDefinition(cardId);
69205
+ return card.type === 'offering' && this.canPlay(card);
69206
+ }
69207
+ startDraggingCard(cardId) {
69208
+ this.selectedAttacker.set(null);
69209
+ this.selectedHandCard.set(cardId);
69210
+ this.draggingCardId.set(cardId);
69211
+ this.closePreview();
69212
+ }
69213
+ endDraggingCard() {
69214
+ this.draggingCardId.set(null);
69215
+ }
69216
+ dropOnBattleSlot(event, slotIndex) {
69217
+ const card = this.cardDefinition(event.item.data);
69218
+ if (card.type !== 'character')
69219
+ return;
69220
+ this.playCardFromHand(event.item.data, slotIndex);
69221
+ }
69222
+ dropOnOfferings(event) {
69223
+ const card = this.cardDefinition(event.item.data);
69224
+ if (card.type !== 'offering')
69225
+ return;
69226
+ this.playCardFromHand(event.item.data);
69227
+ }
69228
+ selectHandCard(cardId) {
69229
+ const wasSelected = this.selectedHandCard() === cardId;
69230
+ this.selectedAttacker.set(null);
69231
+ this.selectedHandCard.set(wasSelected ? null : cardId);
69232
+ this.closePreview();
69233
+ }
69234
+ playSelectedCard(slotIndex) {
69235
+ const cardId = this.selectedHandCard();
69236
+ if (!cardId)
69237
+ return;
69238
+ this.playCardFromHand(cardId, slotIndex);
69239
+ }
69240
+ playCardFromHand(cardId, slotIndex) {
69241
+ const card = this.cardDefinition(cardId);
69242
+ if (!this.canPlay(card))
69243
+ return;
69244
+ this.game.update(game => {
69245
+ const next = structuredClone(game);
69246
+ const player = next.players.P1;
69247
+ const handIndex = player.hand?.indexOf(cardId) ?? -1;
69248
+ if (handIndex < 0 || !player.hand)
69249
+ return game;
69250
+ player.hand.splice(handIndex, 1);
69251
+ if (card.type === 'offering') {
69252
+ player.offerings.push({
69253
+ instanceId: `p1_offering_${next.revision + 1}`,
69254
+ cardId: card.id,
69255
+ name: card.name,
69256
+ owner: 'P1',
69257
+ ready: true,
69258
+ value: card.life,
69259
+ abilityName: card.abilityName,
69260
+ abilityText: card.abilityText,
69261
+ abilityCost: card.abilityCost,
69262
+ });
69263
+ player.offeringPlayedThisTurn = true;
69264
+ }
69265
+ else {
69266
+ this.spendOfferings(player, card.cost);
69267
+ const insertIndex = Math.min(slotIndex ?? player.battleZone.length, player.battleZone.length);
69268
+ player.battleZone.splice(insertIndex, 0, {
69269
+ instanceId: `p1_${next.revision + 1}_${player.battleZone.length}`,
69270
+ cardId: card.id,
69271
+ name: card.name,
69272
+ owner: 'P1',
69273
+ controller: 'P1',
69274
+ attack: card.attack,
69275
+ currentHp: card.life,
69276
+ maxHp: card.life,
69277
+ canAttack: false,
69278
+ });
69279
+ }
69280
+ next.revision++;
69281
+ next.log = [
69282
+ card.type === 'offering' ? `${card.name} queda lista como ofrenda.` : `${card.name} entra en batalla.`,
69283
+ ...next.log,
69284
+ ].slice(0, 4);
69285
+ return next;
69286
+ });
69287
+ this.selectedHandCard.set(null);
69288
+ this.draggingCardId.set(null);
69289
+ this.closePreview();
69290
+ }
69291
+ playPreviewCard() {
69292
+ const preview = this.selectedPreview();
69293
+ if (preview?.source !== 'hand' || !preview.cardId)
69294
+ return;
69295
+ const card = this.cardDefinition(preview.cardId);
69296
+ if (!this.canPlay(card))
69297
+ return;
69298
+ this.selectedHandCard.set(preview.cardId);
69299
+ if (card.type === 'character') {
69300
+ this.closePreview();
69301
+ return;
69302
+ }
69303
+ this.playSelectedCard();
69304
+ }
69305
+ handleOfferingPile(seat) {
69306
+ this.openOfferings(seat);
69307
+ }
69308
+ selectAttacker(card) {
69309
+ this.selectedHandCard.set(null);
69310
+ this.inspectCharacter(card);
69311
+ if (!this.isOwnTurn() || !card.canAttack)
69312
+ return;
69313
+ this.selectedAttacker.set(this.selectedAttacker()?.instanceId === card.instanceId ? null : card);
69314
+ }
69315
+ handleOpponentCharacter(card) {
69316
+ this.inspectCharacter(card);
69317
+ if (this.selectedAttacker()) {
69318
+ this.attackCharacter(card);
69319
+ }
69320
+ }
69321
+ handleOpponentLeader() {
69322
+ this.inspectLeader('P2');
69323
+ if (this.selectedAttacker() && !this.hasOpponentGuards()) {
69324
+ this.attackLeader();
69325
+ }
69326
+ }
69327
+ attackLeader() {
69328
+ const attacker = this.selectedAttacker();
69329
+ if (!attacker)
69330
+ return;
69331
+ if (this.hasOpponentGuards()) {
69332
+ this.selectedPreview.set({
69333
+ title: this.opponent().leaderName,
69334
+ eyebrow: this.t('christianityLeaderCard'),
69335
+ meta: `${this.opponent().leaderHp}/${this.opponent().leaderMaxHp}`,
69336
+ body: this.t('christianityLeaderProtected'),
69337
+ });
69338
+ return;
69339
+ }
69340
+ this.game.update(game => {
69341
+ const next = structuredClone(game);
69342
+ const liveAttacker = next.players.P1.battleZone.find(card => card.instanceId === attacker.instanceId);
69343
+ if (!liveAttacker || !liveAttacker.canAttack)
69344
+ return game;
69345
+ next.players.P2.leaderHp = Math.max(0, next.players.P2.leaderHp - liveAttacker.attack);
69346
+ liveAttacker.canAttack = false;
69347
+ next.revision++;
69348
+ next.log = [`${liveAttacker.name} ataca al lider rival.`, ...next.log].slice(0, 4);
69349
+ return next;
69350
+ });
69351
+ this.selectedAttacker.set(null);
69352
+ }
69353
+ attackCharacter(target) {
69354
+ const attacker = this.selectedAttacker();
69355
+ if (!attacker)
69356
+ return;
69357
+ this.game.update(game => {
69358
+ const next = structuredClone(game);
69359
+ const liveAttacker = next.players.P1.battleZone.find(card => card.instanceId === attacker.instanceId);
69360
+ const liveTarget = next.players.P2.battleZone.find(card => card.instanceId === target.instanceId);
69361
+ if (!liveAttacker || !liveTarget || !liveAttacker.canAttack)
69362
+ return game;
69363
+ liveTarget.currentHp -= liveAttacker.attack;
69364
+ liveAttacker.currentHp -= liveTarget.attack;
69365
+ liveAttacker.canAttack = false;
69366
+ this.cleanupDestroyed(next.players.P1, next);
69367
+ this.cleanupDestroyed(next.players.P2, next);
69368
+ next.revision++;
69369
+ next.log = [`${liveAttacker.name} combate contra ${liveTarget.name}.`, ...next.log].slice(0, 4);
69370
+ return next;
69371
+ });
69372
+ this.selectedAttacker.set(null);
69373
+ }
69374
+ endTurn() {
69375
+ this.selectedHandCard.set(null);
69376
+ this.selectedAttacker.set(null);
69377
+ this.selectedPreview.set(null);
69378
+ this.selectedInfo.set(null);
69379
+ this.game.update(game => {
69380
+ const next = structuredClone(game);
69381
+ next.turnOwner = next.turnOwner === 'P1' ? 'P2' : 'P1';
69382
+ next.turnCount++;
69383
+ const current = next.players[next.turnOwner];
69384
+ current.offeringPlayedThisTurn = false;
69385
+ current.offerings = current.offerings.map(offering => ({ ...offering, ready: true }));
69386
+ current.battleZone = current.battleZone.map(card => ({ ...card, canAttack: true }));
69387
+ const drawnCard = next.sharedDeck.shift();
69388
+ if (drawnCard) {
69389
+ if (current.hand) {
69390
+ current.hand.push(drawnCard);
69391
+ }
69392
+ else {
69393
+ current.handCount = (current.handCount ?? 0) + 1;
69394
+ }
69395
+ }
69396
+ next.revision++;
69397
+ next.log = [
69398
+ drawnCard ? `${current.displayName} roba una carta.` : `El mazo esta vacio.`,
69399
+ `Turno de ${current.displayName}.`,
69400
+ ...next.log,
69401
+ ].slice(0, 4);
69402
+ return next;
69403
+ });
69404
+ }
69405
+ resetMock() {
69406
+ this.game.set(structuredClone(STARTING_GAME));
69407
+ this.selectedHandCard.set(null);
69408
+ this.selectedAttacker.set(null);
69409
+ this.selectedPreview.set(null);
69410
+ this.selectedInfo.set(null);
69411
+ this.showHistory.set(false);
69412
+ this.offeringsSeat.set(null);
69413
+ }
69414
+ closePreview() {
69415
+ this.selectedPreview.set(null);
69416
+ this.resetPreviewTilt();
69417
+ }
69418
+ closeInfo() {
69419
+ this.selectedInfo.set(null);
69420
+ }
69421
+ openOfferings(seat) {
69422
+ this.selectedPreview.set(null);
69423
+ this.selectedInfo.set(null);
69424
+ this.showHistory.set(false);
69425
+ this.offeringsSeat.set(seat);
69426
+ }
69427
+ openHistory() {
69428
+ this.selectedPreview.set(null);
69429
+ this.selectedInfo.set(null);
69430
+ this.offeringsSeat.set(null);
69431
+ this.showHistory.set(true);
69432
+ }
69433
+ closeOfferings() {
69434
+ this.offeringsSeat.set(null);
69435
+ }
69436
+ tiltPreview(event) {
69437
+ const bounds = event.currentTarget.getBoundingClientRect();
69438
+ const x = (event.clientX - bounds.left) / bounds.width - 0.5;
69439
+ const y = (event.clientY - bounds.top) / bounds.height - 0.5;
69440
+ this.previewTilt.set({
69441
+ rotateX: 5 - y * 18,
69442
+ rotateY: -5 + x * 18,
69443
+ shiftX: x * 10,
69444
+ shiftY: y * 10,
69445
+ });
69446
+ }
69447
+ resetPreviewTilt() {
69448
+ this.previewTilt.set({ rotateX: 5, rotateY: -5, shiftX: 0, shiftY: 0 });
69449
+ }
69450
+ cleanupDestroyed(player, game) {
69451
+ const destroyed = player.battleZone.filter(card => card.currentHp <= 0);
69452
+ if (!destroyed.length)
69453
+ return;
69454
+ game.historyZone.push(...destroyed.map(card => card.cardId));
69455
+ player.battleZone = player.battleZone.filter(card => card.currentHp > 0);
69456
+ }
69457
+ inspectLeader(seat) {
69458
+ this.selectedInfo.set(null);
69459
+ const player = this.game().players[seat];
69460
+ this.selectedPreview.set({
69461
+ title: player.leaderName,
69462
+ eyebrow: this.t('christianityLeaderCard'),
69463
+ meta: `${player.leaderHp}/${player.leaderMaxHp}`,
69464
+ body: seat === 'P2' && this.hasOpponentGuards() ? this.t('christianityLeaderProtected') : this.t('christianityLeaderBody'),
69465
+ });
69466
+ }
69467
+ inspectOffering(offering) {
69468
+ this.selectedInfo.set(null);
69469
+ this.selectedPreview.set({
69470
+ title: offering.name,
69471
+ eyebrow: this.t('christianityOfferingCard'),
69472
+ meta: offering.ready ? this.t('christianityOfferingReady') : this.t('christianityOfferingExhausted'),
69473
+ body: offering.abilityText || this.t('christianityOfferingBody'),
69474
+ });
69475
+ }
69476
+ canUseOfferingAbility(offering, seat) {
69477
+ if (seat !== 'P1' || !this.isOwnTurn())
69478
+ return false;
69479
+ if (!offering.ready || !offering.abilityName)
69480
+ return false;
69481
+ return this.readyOfferings(this.game().players[seat]) >= (offering.abilityCost ?? 0);
69482
+ }
69483
+ useOfferingAbility(offering, seat) {
69484
+ if (!this.canUseOfferingAbility(offering, seat))
69485
+ return;
69486
+ this.game.update(game => {
69487
+ const next = structuredClone(game);
69488
+ const player = next.players[seat];
69489
+ const liveOffering = player.offerings.find(card => card.instanceId === offering.instanceId);
69490
+ if (!liveOffering || !liveOffering.ready)
69491
+ return game;
69492
+ const offeringId = liveOffering.instanceId;
69493
+ this.spendOfferings(player, liveOffering.abilityCost ?? 0);
69494
+ player.offerings = player.offerings.map(card => (card.instanceId === offeringId ? { ...card, ready: false } : card));
69495
+ player.leaderHp = Math.max(0, player.leaderHp - 1);
69496
+ next.revision++;
69497
+ next.log = [`${liveOffering.name}: ${liveOffering.abilityName}.`, ...next.log].slice(0, 4);
69498
+ return next;
69499
+ });
69500
+ }
69501
+ inspectDeck() {
69502
+ const remainingCards = this.game().sharedDeck.length;
69503
+ this.selectedPreview.set(null);
69504
+ this.selectedInfo.set({
69505
+ title: this.t('christianityDeck'),
69506
+ eyebrow: this.t('christianitySharedZone'),
69507
+ meta: `${remainingCards} ${remainingCards === 1 ? this.t('christianityCardRemaining') : this.t('christianityCardsRemaining')}`,
69508
+ body: this.t('christianityDeckBody'),
69509
+ facts: [
69510
+ this.t('christianityDeckRuleShared'),
69511
+ this.t('christianityDeckRuleDraw'),
69512
+ this.t('christianityDeckRuleEmpty'),
69513
+ ],
69514
+ });
69515
+ }
69516
+ inspectHandCard(cardId, fromHand = false) {
69517
+ this.selectedInfo.set(null);
69518
+ const card = this.cardDefinition(cardId);
69519
+ if (fromHand) {
69520
+ this.selectedAttacker.set(null);
69521
+ this.selectedHandCard.set(cardId);
69522
+ }
69523
+ this.selectedPreview.set({
69524
+ title: card.name,
69525
+ eyebrow: card.type === 'offering' ? this.t('christianityOfferingCard') : this.t('christianityCharacterCard'),
69526
+ meta: card.type === 'offering' ? `+${card.life}` : `${this.t('christianityCost')} ${card.cost} · ${card.attack}/${card.life}`,
69527
+ body: card.type === 'offering' ? this.t('christianityOfferingBody') : this.t('christianityCharacterBody'),
69528
+ cardId,
69529
+ source: fromHand ? 'hand' : 'pile',
69530
+ });
69531
+ }
69532
+ inspectHistoryCard(cardId) {
69533
+ this.showHistory.set(false);
69534
+ this.inspectHandCard(cardId);
69535
+ }
69536
+ inspectCharacter(card) {
69537
+ this.selectedInfo.set(null);
69538
+ this.selectedPreview.set({
69539
+ title: card.name,
69540
+ eyebrow: this.t('christianityCharacterCard'),
69541
+ meta: `${card.attack}/${card.currentHp}`,
69542
+ body: card.canAttack ? this.t('christianityCharacterReady') : this.t('christianityCharacterExhausted'),
69543
+ });
69544
+ }
69545
+ spendOfferings(player, cost) {
69546
+ let remaining = cost;
69547
+ player.offerings = player.offerings.map(offering => {
69548
+ if (remaining <= 0 || !offering.ready)
69549
+ return offering;
69550
+ remaining -= offering.value;
69551
+ return { ...offering, ready: false };
69552
+ });
69553
+ }
69554
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChristianityGameComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69555
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ChristianityGameComponent, isStandalone: true, selector: "val-christianity-game", ngImport: i0, template: `
69556
+ <main class="christianity-shell">
69557
+ <section class="christianity-header">
69558
+ <div>
69559
+ <p>{{ t('christianityEyebrow') }}</p>
69560
+ <h1>{{ t('christianityTitle') }}</h1>
69561
+ </div>
69562
+ <div class="christianity-turn" [class.is-own-turn]="isOwnTurn()">
69563
+ <span>{{ t('christianityTurn') }}</span>
69564
+ <strong>{{ currentPlayer().displayName }}</strong>
69565
+ </div>
69566
+ </section>
69567
+
69568
+ <section class="christianity-match-strip" [attr.aria-label]="t('christianityMatchScore')">
69569
+ <article class="christianity-match-player">
69570
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
69571
+ <div>
69572
+ <strong>{{ player().displayName }}</strong>
69573
+ <small>{{ player().leaderName }} · {{ player().leaderHp }}/{{ player().leaderMaxHp }}</small>
69574
+ </div>
69575
+ </article>
69576
+ <div class="christianity-scoreboard">
69577
+ <span>{{ t('christianityMatch') }}</span>
69578
+ <strong>{{ game().matchScore.P1 }}-{{ game().matchScore.P2 }}</strong>
69579
+ </div>
69580
+ <article class="christianity-match-player christianity-match-player--opponent">
69581
+ <span class="christianity-avatar" [style.background]="opponent().avatarColor">{{ opponent().avatar }}</span>
69582
+ <div>
69583
+ <strong>{{ opponent().displayName }}</strong>
69584
+ <small>{{ opponent().leaderName }} · {{ opponent().leaderHp }}/{{ opponent().leaderMaxHp }}</small>
69585
+ </div>
69586
+ </article>
69587
+ </section>
69588
+
69589
+ <section class="christianity-hand-shelf christianity-hand-shelf--opponent">
69590
+ <div class="christianity-hand-meter christianity-hand-meter--opponent">
69591
+ <span>{{ t('christianityHand') }}</span>
69592
+ <strong>{{ opponentHandCount() }}</strong>
69593
+ </div>
69594
+ <section class="christianity-hand-fan christianity-hand-fan--opponent" [attr.aria-label]="t('christianityOpponentHand')">
69595
+ @for (_ of hiddenHandCards(opponentHandCount()); track $index) {
69596
+ <button
69597
+ type="button"
69598
+ class="christianity-card-preview-card christianity-card-frame christianity-card-frame--back"
69599
+ valLightRipple
69600
+ [style.transform]="fanTransform($index, opponentHandCount(), true)"
69601
+ [attr.aria-label]="t('christianityHiddenCard')"
69602
+ >
69603
+ <img class="christianity-card-back-symbol" src="assets/games/christianity/card-symbol.svg" alt="" />
69604
+ </button>
69605
+ }
69606
+ </section>
69607
+ </section>
69608
+
69609
+ <section class="christianity-table" [attr.aria-label]="t('christianityTable')">
69610
+ <section class="christianity-player-side christianity-player-side--opponent">
69611
+ <section class="christianity-player-rack christianity-player-rack--opponent">
69612
+ <div class="christianity-offerings-zone">
69613
+ <button type="button" class="christianity-offering-pile" valLightRipple (click)="openOfferings('P2')">
69614
+ <i aria-hidden="true"></i>
69615
+ <i aria-hidden="true"></i>
69616
+ <i aria-hidden="true"></i>
69617
+ <span>{{ t('christianityOfferings') }}</span>
69618
+ <strong>{{ readyOfferings(opponent()) }}/{{ totalOfferings(opponent()) }}</strong>
69619
+ </button>
69620
+ </div>
69621
+ <button type="button" class="christianity-leader-card christianity-card-frame christianity-card-frame--leader" valLightRipple [class.is-target]="selectedAttacker() && !hasOpponentGuards()" (click)="handleOpponentLeader()">
69622
+ <header class="christianity-card-frame-header">
69623
+ <small>{{ t('christianityLeaderCard') }}</small>
69624
+ <strong>{{ opponent().leaderName }}</strong>
69625
+ <span>{{ opponent().leaderHp }}</span>
69626
+ </header>
69627
+ <section class="christianity-card-frame-art">
69628
+ <span>{{ opponent().leaderName }}</span>
69629
+ <small>{{ t('christianityLeaderCard') }}</small>
69630
+ </section>
69631
+ <section class="christianity-card-frame-effect">
69632
+ <strong>{{ opponent().leaderHp }}/{{ opponent().leaderMaxHp }}</strong>
69633
+ </section>
69634
+ </button>
69635
+ <span class="christianity-rack-spacer" aria-hidden="true"></span>
69636
+ </section>
69637
+
69638
+ <section class="christianity-battle-zone christianity-battle-zone--opponent" [attr.aria-label]="t('christianityOpponentBattle')">
69639
+ @for (slot of battleSlots('P2'); track slot.trackId) {
69640
+ @if (slot.card) {
69641
+ <button
69642
+ type="button"
69643
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-card-frame christianity-card-frame--battle"
69644
+ valLightRipple
69645
+ [class.is-target]="selectedAttacker()"
69646
+ (click)="handleOpponentCharacter(slot.card)"
69647
+ >
69648
+ <header class="christianity-card-frame-header">
69649
+ <small>{{ t('christianityCost') }} {{ cardDefinition(slot.card.cardId).cost }}</small>
69650
+ <strong>{{ slot.card.name }}</strong>
69651
+ <span>{{ cardDefinition(slot.card.cardId).cost }}</span>
69652
+ </header>
69653
+ <section class="christianity-card-frame-art">
69654
+ <span>{{ slot.card.name }}</span>
69655
+ <small>{{ t('christianityCharacterCard') }}</small>
69656
+ </section>
69657
+ <section class="christianity-card-frame-effect">
69658
+ <strong>{{ slot.card.attack }} / {{ slot.card.currentHp }}</strong>
69659
+ </section>
69660
+ </button>
69661
+ } @else {
69662
+ <span class="christianity-slot"></span>
69663
+ }
69664
+ }
69665
+ </section>
69666
+ </section>
69667
+
69668
+ <section class="christianity-shared-zone" [attr.aria-label]="t('christianitySharedZone')">
69669
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--history" valLightRipple (click)="openHistory()">
69670
+ <i aria-hidden="true"></i>
69671
+ <i aria-hidden="true"></i>
69672
+ <i aria-hidden="true"></i>
69673
+ <span>{{ t('christianityHistory') }}</span>
69674
+ <strong>{{ game().historyZone.length }}</strong>
69675
+ </button>
69676
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--deck" valLightRipple aria-live="polite" (click)="inspectDeck()">
69677
+ <i aria-hidden="true"></i>
69678
+ <i aria-hidden="true"></i>
69679
+ <i aria-hidden="true"></i>
69680
+ <span>{{ t('christianityDeck') }}</span>
69681
+ <strong>{{ game().sharedDeck.length }}</strong>
69682
+ </button>
69683
+ <div class="christianity-zone-card">
69684
+ <span>{{ t('christianityPlace') }}</span>
69685
+ <strong>{{ t('christianityEmpty') }}</strong>
69686
+ </div>
69687
+ </section>
69688
+
69689
+ <section class="christianity-player-side">
69690
+ <section class="christianity-battle-zone" [class.is-placing-card]="canPlaceSelectedCharacter() || isDraggingCharacter()" [attr.aria-label]="t('christianityYourBattle')">
69691
+ @for (slot of battleSlots('P1'); track slot.trackId) {
69692
+ @if (slot.card) {
69693
+ <button
69694
+ type="button"
69695
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-card-frame christianity-card-frame--battle"
69696
+ valLightRipple
69697
+ [class.is-selected]="selectedAttacker()?.instanceId === slot.card.instanceId"
69698
+ [class.is-exhausted]="!slot.card.canAttack"
69699
+ (click)="selectAttacker(slot.card)"
69700
+ >
69701
+ <header class="christianity-card-frame-header">
69702
+ <small>{{ t('christianityCost') }} {{ cardDefinition(slot.card.cardId).cost }}</small>
69703
+ <strong>{{ slot.card.name }}</strong>
69704
+ <span>{{ cardDefinition(slot.card.cardId).cost }}</span>
69705
+ </header>
69706
+ <section class="christianity-card-frame-art">
69707
+ <span>{{ slot.card.name }}</span>
69708
+ <small>{{ t('christianityCharacterCard') }}</small>
69709
+ </section>
69710
+ <section class="christianity-card-frame-effect">
69711
+ <strong>{{ slot.card.attack }} / {{ slot.card.currentHp }}</strong>
69712
+ </section>
69713
+ </button>
69714
+ } @else {
69715
+ <button
69716
+ type="button"
69717
+ class="christianity-slot"
69718
+ cdkDropList
69719
+ [id]="battleSlotDropId($index)"
69720
+ [cdkDropListData]="$index"
69721
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
69722
+ [cdkDropListEnterPredicate]="canDropOnBattleSlot"
69723
+ [class.christianity-slot--play-target]="canPlaceSelectedCharacter() || isDraggingCharacter()"
69724
+ valLightRipple
69725
+ (cdkDropListDropped)="dropOnBattleSlot($event, $index)"
69726
+ (click)="playSelectedCard($index)"
69727
+ >
69728
+ @if (canPlaceSelectedCharacter() || isDraggingCharacter()) {
69729
+ <span>{{ t('christianityPlayHere') }}</span>
69730
+ }
69731
+ </button>
69732
+ }
69733
+ }
69734
+ </section>
69735
+
69736
+ <section class="christianity-player-rack">
69737
+ <div class="christianity-offerings-zone">
69738
+ <button
69739
+ type="button"
69740
+ class="christianity-offering-pile"
69741
+ cdkDropList
69742
+ id="christianity-offerings-drop"
69743
+ valLightRipple
69744
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
69745
+ [class.is-play-target]="canPlaceSelectedOffering() || isDraggingOffering()"
69746
+ [cdkDropListEnterPredicate]="canDropOnOfferings"
69747
+ (cdkDropListDropped)="dropOnOfferings($event)"
69748
+ (click)="handleOfferingPile('P1')"
69749
+ >
69750
+ <i aria-hidden="true"></i>
69751
+ <i aria-hidden="true"></i>
69752
+ <i aria-hidden="true"></i>
69753
+ <span>{{ t('christianityOfferings') }}</span>
69754
+ <strong>{{ readyOfferings(player()) }}/{{ totalOfferings(player()) }}</strong>
69755
+ </button>
69756
+ </div>
69757
+ <button type="button" class="christianity-leader-card christianity-card-frame christianity-card-frame--leader" valLightRipple (click)="inspectLeader('P1')">
69758
+ <header class="christianity-card-frame-header">
69759
+ <small>{{ t('christianityLeaderCard') }}</small>
69760
+ <strong>{{ player().leaderName }}</strong>
69761
+ <span>{{ player().leaderHp }}</span>
69762
+ </header>
69763
+ <section class="christianity-card-frame-art">
69764
+ <span>{{ player().leaderName }}</span>
69765
+ <small>{{ t('christianityLeaderCard') }}</small>
69766
+ </section>
69767
+ <section class="christianity-card-frame-effect">
69768
+ <strong>{{ player().leaderHp }}/{{ player().leaderMaxHp }}</strong>
69769
+ </section>
69770
+ </button>
69771
+ <div class="christianity-player-command">
69772
+ <div class="christianity-player-badge">
69773
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
69774
+ <strong>{{ player().displayName }}</strong>
69775
+ </div>
69776
+ <button
69777
+ type="button"
69778
+ class="christianity-end-turn"
69779
+ (click)="endTurn()"
69780
+ >
69781
+ {{ t('christianityEndTurn') }}
69782
+ </button>
69783
+ </div>
69784
+ </section>
69785
+ </section>
69786
+ </section>
69787
+
69788
+ <section class="christianity-hand-shelf">
69789
+ <div class="christianity-hand-meter">
69790
+ <span>{{ t('christianityHand') }}</span>
69791
+ <strong>{{ player().hand?.length ?? 0 }}</strong>
69792
+ </div>
69793
+ <section
69794
+ class="christianity-hand-fan"
69795
+ cdkDropList
69796
+ id="christianity-hand-source"
69797
+ [cdkDropListConnectedTo]="dropTargetIds()"
69798
+ [attr.aria-label]="t('christianityYourHand')"
69799
+ (pointerleave)="clearHoveredHandIndex()"
69800
+ >
69801
+ @for (cardId of player().hand ?? []; track cardId + $index) {
69802
+ @let card = cardDefinition(cardId);
69803
+ <div
69804
+ class="christianity-hand-card-wrap"
69805
+ [class.is-selected]="selectedHandCard() === cardId"
69806
+ [class.is-dragging]="draggingCardId() === cardId"
69807
+ [style.z-index]="handCardZIndex($index)"
69808
+ [style.transform]="fanTransform($index, player().hand?.length ?? 0, false)"
69809
+ (pointerenter)="setHoveredHandIndex($index)"
69810
+ (pointerdown)="setHoveredHandIndex($index)"
69811
+ (pointerup)="releaseHoveredHand($event)"
69812
+ >
69813
+ <button
69814
+ type="button"
69815
+ class="christianity-card-preview-card christianity-card-preview-card--hand christianity-card-frame"
69816
+ cdkDrag
69817
+ valLightRipple
69818
+ [cdkDragData]="cardId"
69819
+ [cdkDragDisabled]="!canPlay(card)"
69820
+ [class.is-selected]="selectedHandCard() === cardId"
69821
+ [class.is-disabled]="!canPlay(card)"
69822
+ (cdkDragStarted)="startDraggingCard(cardId)"
69823
+ (cdkDragEnded)="endDraggingCard()"
69824
+ (click)="selectHandCard(cardId)"
69825
+ >
69826
+ <header class="christianity-card-frame-header">
69827
+ <small>{{ card.type === 'offering' ? t('christianityOfferingCard') : t('christianityCost') + ' ' + card.cost }}</small>
69828
+ <strong>{{ card.name }}</strong>
69829
+ <span>{{ card.type === 'offering' ? '+' + card.life : card.cost }}</span>
69830
+ </header>
69831
+ <section class="christianity-card-frame-art">
69832
+ <span>{{ card.name }}</span>
69833
+ <small>{{ cardTypeLabel(card) }}</small>
69834
+ </section>
69835
+ <section class="christianity-card-frame-effect">
69836
+ <strong>
69837
+ @if (card.type === 'offering') {
69838
+ +{{ card.life }}
69839
+ } @else {
69840
+ {{ card.attack }} / {{ card.life }}
69841
+ }
69842
+ </strong>
69843
+ </section>
69844
+ <footer class="christianity-card-frame-footer">
69845
+ <span>{{ card.edition ?? 'MVP' }}</span>
69846
+ <span>{{ card.collectorNumber ?? card.id }}</span>
69847
+ </footer>
69848
+ </button>
69849
+ <button
69850
+ type="button"
69851
+ class="christianity-card-eye"
69852
+ [attr.aria-label]="t('christianityPreviewCard')"
69853
+ (click)="inspectHandCard(cardId, true); $event.stopPropagation()"
69854
+ ></button>
69855
+ </div>
69856
+ }
69857
+ </section>
69858
+ </section>
69859
+
69860
+ @if (selectedPreview()) {
69861
+ <button type="button" class="christianity-preview-backdrop" [attr.aria-label]="t('christianityClosePreview')" (click)="closePreview()"></button>
69862
+ <aside
69863
+ class="christianity-floating-card-shell"
69864
+ aria-live="polite"
69865
+ >
69866
+ <button type="button" class="christianity-floating-card-close" (click)="closePreview()">
69867
+ {{ t('close') }}
69868
+ </button>
69869
+ <div
69870
+ class="christianity-floating-card"
69871
+ [style.--preview-rotate-x]="previewTilt().rotateX + 'deg'"
69872
+ [style.--preview-rotate-y]="previewTilt().rotateY + 'deg'"
69873
+ [style.--preview-shift-x]="previewTilt().shiftX + 'px'"
69874
+ [style.--preview-shift-y]="previewTilt().shiftY + 'px'"
69875
+ (pointermove)="tiltPreview($event)"
69876
+ (pointerleave)="resetPreviewTilt()"
69877
+ >
69878
+ @if (selectedPreviewCard(); as previewCard) {
69879
+ <header class="christianity-full-card-header">
69880
+ <span class="christianity-full-card-type-icon" aria-hidden="true"></span>
69881
+ <strong>{{ previewCard.name }}</strong>
69882
+ <span class="christianity-full-card-cost">{{ previewCard.type === 'offering' ? '+' + previewCard.life : previewCard.cost }}</span>
69883
+ </header>
69884
+ <section class="christianity-full-card-art" [class.has-image]="previewCard.imageUrl">
69885
+ @if (previewCard.imageUrl) {
69886
+ <img [src]="previewCard.imageUrl" [alt]="previewCard.name" />
69887
+ } @else {
69888
+ <span>{{ previewCard.name }}</span>
69889
+ }
69890
+ <small>{{ cardTypeLabel(previewCard) }}</small>
69891
+ </section>
69892
+ <section class="christianity-full-card-verse">
69893
+ <p>{{ previewCard.verseText ?? selectedPreview()?.body }}</p>
69894
+ @if (previewCard.scripture) {
69895
+ <strong>{{ previewCard.scripture }}</strong>
69896
+ }
69897
+ </section>
69898
+ <section class="christianity-full-card-effect">
69899
+ <div class="christianity-full-card-stats">
69900
+ @if (previewCard.type === 'character') {
69901
+ <strong>{{ previewCard.attack }}</strong>
69902
+ <strong>{{ previewCard.life }}</strong>
69903
+ } @else {
69904
+ <strong>+{{ previewCard.life }}</strong>
69905
+ }
69906
+ </div>
69907
+ <div>
69908
+ @if (previewCard.abilityName) {
69909
+ <strong>{{ previewCard.abilityName }}</strong>
69910
+ }
69911
+ <p>{{ previewCard.abilityText ?? selectedPreview()?.body }}</p>
69912
+ </div>
69913
+ <span
69914
+ class="christianity-full-card-rarity"
69915
+ [class.is-normal]="!previewCard.rarity || previewCard.rarity === 'normal'"
69916
+ [class.is-uncommon]="previewCard.rarity === 'uncommon'"
69917
+ [class.is-rare]="previewCard.rarity === 'rare'"
69918
+ [class.is-legendary]="previewCard.rarity === 'legendary'"
69919
+ aria-hidden="true"
69920
+ ></span>
69921
+ </section>
69922
+ <footer class="christianity-full-card-footer">
69923
+ <span>{{ previewCard.edition ?? 'MVP' }}</span>
69924
+ <span>{{ previewCard.collectorNumber ?? previewCard.id }}</span>
69925
+ <span>{{ previewCard.year ?? '2026' }} CHRISTIANITY</span>
69926
+ <span>{{ previewCard.author ?? 'MVP' }}</span>
69927
+ </footer>
69928
+ } @else {
69929
+ <small>{{ selectedPreview()?.eyebrow }}</small>
69930
+ <strong>{{ selectedPreview()?.title }}</strong>
69931
+ <span>{{ selectedPreview()?.meta }}</span>
69932
+ <p>{{ selectedPreview()?.body }}</p>
69933
+ }
69934
+ </div>
69935
+ @if (selectedPreview()?.source === 'hand') {
69936
+ <div class="christianity-floating-card-actions">
69937
+ <button type="button" [disabled]="previewActionDisabled()" (click)="playPreviewCard()">
69938
+ {{ selectedActionLabel() }}
69939
+ </button>
69940
+ </div>
69941
+ }
69942
+ </aside>
69943
+ }
69944
+
69945
+ @if (selectedInfo(); as info) {
69946
+ <button type="button" class="christianity-info-backdrop" [attr.aria-label]="t('close')" (click)="closeInfo()"></button>
69947
+ <aside class="christianity-info-panel" aria-live="polite">
69948
+ <button type="button" class="christianity-dialog-close christianity-info-close" (click)="closeInfo()">
69949
+ {{ t('close') }}
69950
+ </button>
69951
+ <div class="christianity-rule-note">
69952
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
69953
+ <div>
69954
+ <small>{{ info.eyebrow }}</small>
69955
+ <h2>{{ info.title }}</h2>
69956
+ <strong>{{ info.meta }}</strong>
69957
+ <p>{{ info.body }}</p>
69958
+ <ul>
69959
+ @for (fact of info.facts; track fact) {
69960
+ <li>{{ fact }}</li>
69961
+ }
69962
+ </ul>
69963
+ </div>
69964
+ </div>
69965
+ </aside>
69966
+ }
69967
+
69968
+ <section class="christianity-actions" aria-live="polite">
69969
+ <p>{{ statusText() }}</p>
69970
+ <div>
69971
+ <button type="button" [disabled]="selectedActionDisabled()" (click)="playSelectedCard()">
69972
+ {{ selectedActionLabel() }}
69973
+ </button>
69974
+ <button type="button" (click)="resetMock()">
69975
+ {{ t('christianityReset') }}
69976
+ </button>
69977
+ </div>
69978
+ </section>
69979
+
69980
+ @if (showHistory()) {
69981
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseHistory')" (click)="showHistory.set(false)"></button>
69982
+ <section class="christianity-history-drawer">
69983
+ <header>
69984
+ <h2>{{ t('christianityHistory') }}</h2>
69985
+ <div class="christianity-dialog-actions">
69986
+ <span>{{ game().historyZone.length }}</span>
69987
+ <button type="button" class="christianity-dialog-close" (click)="showHistory.set(false)">
69988
+ {{ t('close') }}
69989
+ </button>
69990
+ </div>
69991
+ </header>
69992
+ @if (game().historyZone.length) {
69993
+ <div class="christianity-history-grid">
69994
+ @for (cardId of game().historyZone; track cardId + $index) {
69995
+ @let card = cardDefinition(cardId);
69996
+ <button type="button" class="christianity-card-preview-card christianity-card-frame christianity-card-frame--list" valLightRipple (click)="inspectHistoryCard(cardId)">
69997
+ <header class="christianity-card-frame-header">
69998
+ <small>{{ card.type === 'offering' ? t('christianityOfferingCard') : t('christianityCost') + ' ' + card.cost }}</small>
69999
+ <strong>{{ card.name }}</strong>
70000
+ <span>{{ card.type === 'offering' ? '+' + card.life : card.cost }}</span>
70001
+ </header>
70002
+ <section class="christianity-card-frame-art">
70003
+ <span>{{ card.name }}</span>
70004
+ <small>{{ cardTypeLabel(card) }}</small>
70005
+ </section>
70006
+ <section class="christianity-card-frame-effect">
70007
+ <strong>
70008
+ @if (card.type === 'offering') {
70009
+ +{{ card.life }}
70010
+ } @else {
70011
+ {{ card.attack }} / {{ card.life }}
70012
+ }
70013
+ </strong>
70014
+ </section>
70015
+ </button>
70016
+ }
70017
+ </div>
70018
+ } @else {
70019
+ <p>{{ t('christianityHistoryEmpty') }}</p>
70020
+ }
70021
+ </section>
70022
+ }
70023
+
70024
+ @if (offeringsSeat()) {
70025
+ @let offeringPlayer = game().players[offeringsSeat()!];
70026
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseOfferings')" (click)="closeOfferings()"></button>
70027
+ <section class="christianity-history-drawer christianity-offerings-drawer">
70028
+ <header>
70029
+ <h2>{{ t('christianityOfferings') }}</h2>
70030
+ <div class="christianity-dialog-actions">
70031
+ <span>{{ readyOfferings(offeringPlayer) }}/{{ totalOfferings(offeringPlayer) }}</span>
70032
+ <button type="button" class="christianity-dialog-close" (click)="closeOfferings()">
70033
+ {{ t('close') }}
70034
+ </button>
70035
+ </div>
70036
+ </header>
70037
+ <div class="christianity-offering-list">
70038
+ @for (offering of offeringPlayer.offerings; track offering.instanceId) {
70039
+ <article class="christianity-offering-row" [class.is-exhausted]="!offering.ready">
70040
+ <button type="button" class="christianity-offering-card christianity-card-frame christianity-card-frame--list" valLightRipple (click)="inspectOffering(offering)">
70041
+ <header class="christianity-card-frame-header">
70042
+ <small>{{ t('christianityOfferingCard') }}</small>
70043
+ <strong>{{ offering.name }}</strong>
70044
+ <span>+{{ offering.value }}</span>
70045
+ </header>
70046
+ <section class="christianity-card-frame-art">
70047
+ <span>{{ offering.name }}</span>
70048
+ <small>{{ t('christianityOfferingCard') }}</small>
70049
+ </section>
70050
+ <section class="christianity-card-frame-effect">
70051
+ <strong>+{{ offering.value }}</strong>
70052
+ @if (offering.abilityName) {
70053
+ <p>{{ offering.abilityName }}</p>
70054
+ }
70055
+ </section>
70056
+ </button>
70057
+ <div>
70058
+ <strong>{{ offering.ready ? t('christianityOfferingReady') : t('christianityOfferingExhausted') }}</strong>
70059
+ <p>{{ offering.abilityText || t('christianityOfferingNoAbility') }}</p>
70060
+ @if (offering.abilityName) {
70061
+ <button
70062
+ type="button"
70063
+ [disabled]="!canUseOfferingAbility(offering, offeringsSeat()!)"
70064
+ (click)="useOfferingAbility(offering, offeringsSeat()!)"
70065
+ >
70066
+ {{ t('christianityUseAbility') }}
70067
+ </button>
70068
+ }
70069
+ </div>
70070
+ </article>
70071
+ }
70072
+ </div>
70073
+ </section>
70074
+ }
70075
+ </main>
70076
+ `, isInline: true, styles: [":host{--christianity-theme-ink: var(--val-text-color, #1f2933);--christianity-theme-surface: #ffffff;--christianity-theme-parchment: #fffaf0;--christianity-theme-olive: #5f6f2a;--christianity-theme-gold: #d6a21d;--christianity-theme-gold-soft: rgba(214, 162, 29, .18);--christianity-theme-gold-ring: rgba(214, 162, 29, .48);--christianity-theme-glow: rgba(245, 199, 85, .32);--christianity-theme-focus: #2563eb;--christianity-theme-shadow: rgba(82, 64, 28, .18);--christianity-theme-shadow-strong: rgba(82, 64, 28, .3);--christianity-card-aspect: 5 / 7.45;display:block;max-width:100%;min-width:0;overflow-x:clip;color:var(--christianity-theme-ink)}.christianity-shell{box-sizing:border-box;display:grid;gap:.65rem;width:100%;max-width:100%;min-width:0;padding:.75rem .25rem;border:1px solid rgba(36,48,68,.12);border-radius:.75rem;background:#f6f8fb;overflow-x:clip;overflow-y:visible}.christianity-header,.christianity-match-strip,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-header h1,.christianity-header p,.christianity-match-player strong,.christianity-match-player small,.christianity-scoreboard span,.christianity-history h2,.christianity-actions p{margin:0}.christianity-header h1{font-size:1.35rem;line-height:1.1}.christianity-header p,.christianity-turn span,.christianity-offerings span,.christianity-hidden-hand span,.christianity-deck span,.christianity-place span,.christianity-pile span,.christianity-leader span{color:#1f2933a3;font-size:.75rem}.christianity-turn,.christianity-leader,.christianity-offerings,.christianity-hidden-hand,.christianity-pile,.christianity-deck,.christianity-place{display:grid;gap:.15rem;min-width:5.25rem;padding:.55rem .65rem;border:1px solid rgba(36,48,68,.12);border-radius:.5rem;background:#fff}.christianity-turn.is-own-turn{border-color:#12806c59;background:#ecfdf5}.christianity-match-strip{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:.45rem;border:1px solid rgba(36,48,68,.1);border-radius:.75rem;background:#fff}.christianity-match-player{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0}.christianity-match-player--opponent{direction:rtl}.christianity-match-player--opponent div{direction:ltr;text-align:right}.christianity-match-player div{display:grid;min-width:0}.christianity-match-player strong,.christianity-match-player small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-match-player small,.christianity-scoreboard span{color:#1f293394;font-size:.72rem}.christianity-scoreboard{display:grid;justify-items:center;min-width:4.2rem;padding:0 .55rem;border-right:1px solid rgba(36,48,68,.1);border-left:1px solid rgba(36,48,68,.1)}.christianity-scoreboard strong{font-size:1.2rem;line-height:1}.christianity-table{box-sizing:border-box;display:grid;gap:.45rem;width:100%;max-width:100%;min-width:0;padding:.45rem .35rem;border-radius:.75rem;background:#dceafb;overflow-x:clip;overflow-y:visible}.christianity-player-side{box-sizing:border-box;display:grid;gap:.35rem;width:100%;max-width:100%;min-width:0;padding:.35rem .3rem;border-radius:.7rem;background:#ffffff57;grid-template-rows:minmax(7rem,1fr) auto;min-height:13.75rem}.christianity-player-side--opponent{grid-template-rows:auto minmax(7rem,1fr)}.christianity-player{display:grid;gap:.65rem}.christianity-battle-zone{--christianity-battle-card-width: clamp(4.8rem, 15vw, 6.6rem);box-sizing:border-box;display:grid;grid-template-columns:repeat(4,var(--christianity-battle-card-width));gap:.5rem;align-items:center;justify-content:center;width:100%;max-width:100%;min-width:0;min-height:clamp(9.1rem,29vw,11rem);padding:.55rem .4rem;border-radius:.75rem;background:#ffffffc2;transition:background .16s ease,box-shadow .16s ease}.christianity-battle-zone.is-placing-card{background:linear-gradient(180deg,#fffaf0f5,#ffffffd6),#ffffffc2;box-shadow:inset 0 0 0 .14rem var(--christianity-theme-gold-soft),0 .8rem 1.7rem #5f6f2a1f}.christianity-shared-zone{padding:.55rem .4rem;border-radius:.75rem;background:#ffffffe6}.christianity-card,.christianity-end-turn,.christianity-actions button,.christianity-pile,.christianity-leader--target{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card{display:grid;align-content:space-between;min-height:5.8rem;padding:.5rem;text-align:left;box-shadow:0 .5rem 1.25rem #24304414}.christianity-card span{font-weight:700}.christianity-card strong{justify-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-card.is-selected{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .18rem var(--christianity-theme-gold-soft),0 .85rem 1.4rem var(--christianity-theme-shadow)}.christianity-card.is-disabled,.christianity-card.is-exhausted{opacity:.55}.christianity-card.is-target{border-color:#dc2626}.christianity-offering-cards{display:grid;grid-auto-flow:column;grid-auto-columns:.7rem;gap:.16rem;align-items:end;min-height:1.05rem}.christianity-offering-cards i{display:block;width:.65rem;height:.95rem;border:1px solid rgba(16,42,67,.22);border-radius:.18rem;background:#f8fafc}.christianity-offering-cards i.is-used{background:#cbd5e1;transform:rotate(90deg);transform-origin:center}.christianity-slot{display:grid;place-items:center;justify-self:center;width:var(--christianity-battle-card-width);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px dashed rgba(36,48,68,.22);border-radius:.5rem;background:#ffffff73;color:inherit;font:inherit}.christianity-slot--play-target{position:relative;border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0eb,#f8fafcd1),#ffffffb3;color:#5d4305;font-weight:800;overflow:hidden;box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-slot--play-target:before{content:\"\";position:absolute;inset:.35rem;border:1px solid rgba(214,162,29,.22);border-radius:.4rem;background:linear-gradient(135deg,rgba(214,162,29,.1),transparent 46%),radial-gradient(circle at 50% 42%,var(--christianity-theme-glow),transparent 58%)}.christianity-slot--play-target span{position:relative;z-index:2;padding:.16rem .44rem;border-radius:999px;background:#ffffffc7;font-size:.78rem}@keyframes christianity-target-pulse{0%,to{box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow)}50%{box-shadow:inset 0 0 0 .16rem #d6a21d57,0 .9rem 1.65rem var(--christianity-theme-shadow-strong)}}.christianity-hand{display:grid;grid-auto-columns:minmax(6rem,8rem);grid-auto-flow:column;gap:.55rem;overflow-x:auto;padding-bottom:.25rem}.christianity-actions{align-items:flex-start;padding:.75rem;border-radius:.75rem;background:#fff}.christianity-actions div{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.christianity-actions button,.christianity-end-turn{min-height:2.4rem;padding:0 .75rem;font-weight:700}.christianity-actions button:not(:disabled),.christianity-end-turn{background:#102a43;color:#fff}.christianity-history{padding:.75rem;border-radius:.75rem;background:#fff}.christianity-hand-fan{position:relative;display:flex;justify-content:center;min-height:10.8rem;padding:.25rem .25rem 2.1rem;isolation:isolate;overflow:visible}.christianity-hand-shelf{position:relative;display:grid;z-index:12;min-height:12rem;margin-top:-1.15rem;padding:1.45rem .25rem 1rem;overflow:visible}.christianity-hand-shelf--opponent{z-index:8;min-height:6.85rem;margin-top:0;margin-bottom:0;padding:.45rem .25rem .85rem}.christianity-hand-fan--opponent{min-height:5.9rem;padding-bottom:.75rem;align-items:start}.christianity-card-preview-card,.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile,.christianity-end-turn{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card-preview-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);padding:.48rem;text-align:left;transform-origin:50% 115%;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;box-shadow:0 .5rem 1.25rem #2430441a}.christianity-card-frame{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;overflow:hidden;padding:.48rem;text-align:left;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 15% 0%,rgba(214,162,29,.12),transparent 44%);box-shadow:0 .5rem 1.25rem #2430441a,inset 0 0 0 .18rem #ffffff9e}.christianity-card-frame-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.16rem;align-items:start;min-width:0}.christianity-card-frame-header small{grid-column:1;min-width:0;overflow:hidden;color:#1f2933a3;font-size:clamp(.52rem,1.5vw,.68rem);line-height:1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-header strong{grid-column:1;justify-self:start;align-self:start;min-width:0;padding:0;overflow:hidden;border-radius:0;background:transparent;font-size:clamp(.82rem,2.5vw,1.05rem);line-height:1.02;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-header span{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;min-width:1.3rem;height:1.3rem;padding:0 .22rem;border-radius:999px;background:#ffd91a;color:#243044;font-size:.8rem;font-weight:900;line-height:1;box-shadow:inset 0 -.08rem #52401c2e}.christianity-card-frame-art{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:.36rem;background:linear-gradient(135deg,#5f6f2a2e,#d6a21d24),radial-gradient(circle at 50% 18%,rgba(255,255,255,.72),transparent 48%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-card-frame-art>span{max-width:78%;overflow:hidden;color:#2430447a;font-size:clamp(.82rem,2.2vw,1.05rem);font-weight:900;line-height:1.02;text-align:center;text-overflow:ellipsis}.christianity-card-frame-art small{position:absolute;right:0;bottom:.28rem;max-width:78%;padding:.1rem .34rem;overflow:hidden;border-radius:999px 0 0 999px;background:#ffffffe6;color:#1f2933a8;font-size:.48rem;font-style:italic;font-weight:900;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-card-frame-effect{display:grid;align-content:center;gap:.1rem;min-height:1.45rem;padding:.24rem;overflow:hidden;border-radius:.34rem;background:radial-gradient(circle at 50% 70%,rgba(36,48,68,.06),transparent 44%),#ffffffdb}.christianity-card-frame-effect strong{justify-self:end;align-self:end;padding:.12rem .32rem;border-radius:999px;background:#edf2f7;font-size:clamp(.66rem,2vw,.82rem);line-height:1.05}.christianity-card-frame-effect p{margin:0;overflow:hidden;color:#1f2933b8;font-size:.58rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-footer{display:flex;justify-content:space-between;gap:.22rem;color:#1f293385;font-size:.46rem;font-weight:800;line-height:1}.christianity-card-frame--battle{gap:.22rem;padding:.42rem}.christianity-card-frame--battle .christianity-card-frame-art{min-height:2.6rem}.christianity-card-frame--leader .christianity-card-frame-art{background:linear-gradient(135deg,#2563eb24,#d6a21d29),radial-gradient(circle at 50% 18%,rgba(255,255,255,.78),transparent 48%),#e7eef8}.christianity-card-frame--list{width:clamp(4.4rem,22vw,5.8rem);padding:.38rem}.christianity-card-frame--list .christianity-card-frame-art{min-height:2.5rem}.christianity-hand-card-wrap{position:relative;display:grid;justify-items:center;flex:0 0 auto;margin-inline:-.42rem;padding-bottom:2rem;transform-origin:50% 115%;transition:transform .16s ease,filter .16s ease}.christianity-hand-card-wrap:hover,.christianity-hand-card-wrap.is-selected,.christianity-hand-card-wrap.is-dragging{z-index:3}.christianity-hand-card-wrap:hover .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-selected .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-dragging .christianity-card-preview-card--hand{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .12rem var(--christianity-theme-gold-soft),0 1rem 2rem var(--christianity-theme-shadow)}.christianity-card-preview-card--hand{touch-action:none}.christianity-card-preview-card--hand.cdk-drag-disabled{cursor:not-allowed}.christianity-card-preview-card.cdk-drag-preview{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px solid var(--christianity-theme-gold-ring);box-shadow:0 0 0 .16rem #fff4c2ad,0 1.5rem 3rem var(--christianity-theme-shadow-strong);transform:rotate(2deg) scale(1.03)}.christianity-card-preview-card.cdk-drag-placeholder{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);opacity:.22}.christianity-slot.cdk-drop-list-dragging,.christianity-offering-pile.cdk-drop-list-dragging{border-color:var(--christianity-theme-gold-ring)}.christianity-slot.cdk-drop-list-receiving,.christianity-offering-pile.cdk-drop-list-receiving{box-shadow:inset 0 0 0 .18rem #d6a21d57,0 1rem 1.9rem var(--christianity-theme-shadow-strong)}.christianity-card-eye{position:absolute;right:50%;bottom:.38rem;width:2.15rem;height:1.55rem;border:1px solid color-mix(in srgb,var(--christianity-theme-focus) 52%,transparent);border-radius:999px;background:#fffffff0;box-shadow:0 .55rem 1.1rem #102a4324;opacity:0;transform:translate(50%,-.2rem) scale(.92);transition:opacity .14s ease,transform .14s ease,border-color .14s ease}.christianity-card-eye:before{content:\"\";position:absolute;top:50%;left:50%;width:1.1rem;height:1.1rem;border:.12rem solid var(--christianity-theme-focus);border-radius:82% 0;background:#fffffff0;transform:translate(-50%,-50%) rotate(45deg)}.christianity-card-eye:after{content:\"\";position:absolute;top:50%;left:50%;width:.42rem;height:.42rem;border:.09rem solid rgba(255,255,255,.95);border-radius:999px;background:radial-gradient(circle at 35% 32%,#ffffff 0 .06rem,transparent .07rem),var(--christianity-theme-focus);transform:translate(-50%,-50%)}.christianity-hand-card-wrap:hover .christianity-card-eye,.christianity-hand-card-wrap.is-selected .christianity-card-eye,.christianity-card-eye:focus-visible{opacity:1;transform:translate(50%) scale(1)}.christianity-offering-pile.is-play-target{border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0f5,#fffffff0),radial-gradient(circle at 82% 14%,rgba(250,204,21,.28) 0 .7rem,transparent .72rem);box-shadow:inset 0 0 0 .12rem #d6a21d3d,0 .8rem 1.55rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-card-preview-card--back{width:clamp(4rem,14vw,5.7rem);min-height:0;aspect-ratio:var(--christianity-card-aspect);place-items:center;padding:.55rem;box-shadow:0 .8rem 1.55rem #24304424;transform-origin:50% -18%;background:radial-gradient(circle at 50% 44%,rgba(143,215,242,.22),transparent 40%),linear-gradient(135deg,#102a431f,#102a4305),repeating-linear-gradient(45deg,#dbeafe 0 .34rem,#f8fafc .34rem .68rem)}.christianity-card-back-symbol{width:min(72%,3.65rem);height:auto;opacity:.92;filter:drop-shadow(0 .25rem .35rem rgba(16,42,67,.16)) saturate(.95)}.christianity-card-preview-card--battle{justify-self:center;width:var(--christianity-battle-card-width);min-width:0;height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);margin-inline:0}.christianity-card-preview-card>span,.christianity-card-mini>span,.christianity-offering-pile>span,.christianity-offering-card>span,.christianity-leader-card>span,.christianity-zone-card>span,.christianity-zone-pile>span{position:relative;z-index:2;align-self:start;font-weight:700;line-height:1.05}.christianity-card-preview-card>strong,.christianity-card-mini>strong,.christianity-offering-pile>strong,.christianity-offering-card>strong,.christianity-leader-card>strong,.christianity-zone-card>strong,.christianity-zone-pile>strong{position:relative;z-index:3;justify-self:end;align-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-player-rack{box-sizing:border-box;display:grid;grid-template-columns:minmax(5.9rem,7rem) minmax(5rem,1fr) minmax(4.2rem,7rem);gap:.45rem;align-items:end;justify-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-player-rack--opponent{align-items:start}.christianity-hand-meter{position:absolute;top:0;right:.35rem;z-index:4;display:inline-grid;grid-auto-flow:column;gap:.25rem;align-items:center;min-height:1.7rem;padding:.18rem .46rem;border:1px solid rgba(36,48,68,.12);border-radius:999px;background:#ffffffe6;box-shadow:0 .35rem .8rem #102a4314}.christianity-hand-meter--opponent{top:.15rem}.christianity-hand-meter span{color:#1f293394;font-size:.68rem}.christianity-hand-meter strong{font-size:.86rem}.christianity-player-badge,.christianity-player-command{display:grid;gap:.35rem;justify-items:center;min-width:0}.christianity-player-badge{align-content:start;color:#1f2933c2;font-size:.74rem}.christianity-player-badge--opponent{justify-self:center;grid-auto-flow:column;align-items:center;justify-content:center}.christianity-player-badge strong{max-width:6.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-avatar{display:grid;place-items:center;width:1.85rem;height:1.85rem;border-radius:999px;color:#fff;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .9rem #102a4329}.christianity-offerings-zone{display:flex;flex-wrap:wrap;gap:.25rem;justify-content:flex-start;justify-self:start;width:100%}.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile{display:grid;align-content:space-between;min-height:4.9rem;padding:.48rem;text-align:left}.christianity-card-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch}.christianity-offering-pile,.christianity-zone-card,.christianity-zone-pile{grid-template-rows:auto minmax(2.6rem,1fr) auto;align-content:stretch;gap:.32rem}.christianity-card-mini{width:3.5rem}.christianity-offering-pile{position:relative;isolation:isolate;overflow:hidden;justify-self:start;width:min(100%,5.9rem);min-height:7.1rem;padding:.95rem .52rem .6rem;background:linear-gradient(180deg,#fff,#f8fafc),linear-gradient(135deg,rgba(250,204,21,.18),transparent 42%)}.christianity-offering-pile i{position:absolute;top:2.45rem;left:.72rem;z-index:-1;width:2.55rem;height:3.55rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:linear-gradient(180deg,#ffffffeb,#f1f5f9eb),radial-gradient(circle at 78% 18%,#facc15 0 .38rem,transparent .4rem);box-shadow:0 .35rem .85rem #102a431a;transform:rotate(-5deg)}.christianity-offering-pile i:nth-child(2){transform:translate(.28rem,.08rem) rotate(3deg)}.christianity-offering-pile i:nth-child(3){transform:translate(.55rem,.18rem) rotate(-1deg)}.christianity-leader-card{align-self:center;justify-self:center;width:clamp(4.75rem,17vw,6rem);min-height:0;aspect-ratio:var(--christianity-card-aspect)}.christianity-rack-spacer{display:block;min-height:1px}.christianity-battle-zone{grid-template-columns:repeat(4,var(--christianity-battle-card-width))}.christianity-shared-zone{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(4.3rem,1fr));align-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-zone-card,.christianity-zone-pile{min-height:6.45rem;padding:.7rem .52rem .55rem}.christianity-zone-pile{position:relative;isolation:isolate;overflow:hidden;box-shadow:inset 0 0 0 999px #ffffff1f}.christianity-zone-pile i{position:absolute;top:2.2rem;right:.72rem;z-index:-1;width:2.7rem;height:3.7rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:#f8fafc;box-shadow:0 .35rem .85rem #102a431c;transform:rotate(4deg)}.christianity-zone-pile i:nth-child(2){transform:translate(-.28rem,.12rem) rotate(-3deg)}.christianity-zone-pile i:nth-child(3){background:linear-gradient(135deg,#102a4329,#102a4308),repeating-linear-gradient(45deg,#dbeafe 0 .33rem,#fff .33rem .66rem);transform:translate(-.54rem,.24rem) rotate(2deg)}.christianity-floating-card-shell{position:fixed;top:50%;left:50%;z-index:80;display:grid;gap:.55rem;width:min(26rem,calc(100vw - 1.25rem));padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-floating-card{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(9rem,1.25fr) auto minmax(7rem,.9fr) auto;gap:.58rem;width:100%;min-height:min(29rem,calc(100vh - 3.5rem));padding:.72rem;border:1px solid rgba(36,48,68,.18);border-radius:.75rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 20% 0%,var(--christianity-theme-gold-soft),transparent 45%);box-shadow:0 0 0 .18rem #fff4c294,0 0 2.2rem var(--christianity-theme-glow),0 2.4rem 5rem #102a4357,inset 0 0 0 .35rem #ffffff8c;touch-action:none;transform:translate(var(--preview-shift-x, 0px),var(--preview-shift-y, 0px)) perspective(48rem) rotateX(var(--preview-rotate-x, 5deg)) rotateY(var(--preview-rotate-y, -5deg));transition:transform 90ms ease-out}.christianity-full-card-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.42rem;align-items:center}.christianity-full-card-header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.25rem,5vw,1.85rem);line-height:1.04}.christianity-full-card-type-icon,.christianity-full-card-cost{display:grid;place-items:center;border-radius:999px}.christianity-full-card-type-icon{width:1.6rem;height:1.6rem;background:radial-gradient(circle at 50% 50%,rgba(95,111,42,.72) 0 .22rem,transparent .24rem),#2430441a}.christianity-full-card-cost{width:2.1rem;height:2.1rem;background:#ffd91a;color:#243044;font-size:1.35rem;font-weight:900;box-shadow:inset 0 -.12rem #52401c2e}.christianity-full-card-art{position:relative;display:grid;place-items:center;min-height:9rem;overflow:hidden;border-radius:.48rem;background:linear-gradient(135deg,#5f6f2a33,#d6a21d29),radial-gradient(circle at 50% 25%,rgba(255,255,255,.76),transparent 42%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-full-card-art img{width:100%;height:100%;object-fit:cover}.christianity-full-card-art>span{max-width:80%;color:#24304494;font-size:clamp(1.1rem,5vw,1.8rem);font-weight:900;line-height:1.05;text-align:center}.christianity-full-card-art small{position:absolute;right:0;bottom:.55rem;min-width:5rem;padding:.16rem .48rem;border-radius:999px 0 0 999px;background:#ffffffe6;box-shadow:0 .3rem .8rem #102a431f;color:#1f2933bd;font-size:.68rem;font-style:italic;font-weight:900;text-align:center;text-transform:uppercase}.christianity-full-card-verse,.christianity-full-card-effect{display:grid;gap:.32rem}.christianity-full-card-verse p,.christianity-full-card-effect p{margin:0;line-height:1.25}.christianity-full-card-verse{color:#171923;font-family:Georgia,Times New Roman,serif;font-size:clamp(.72rem,2.7vw,.86rem)}.christianity-full-card-verse strong{font-family:inherit;font-size:.78rem;font-weight:900}.christianity-full-card-effect{position:relative;align-content:start;min-height:7rem;padding:.6rem .7rem;overflow:hidden;border-radius:.45rem;background:radial-gradient(circle at 50% 72%,rgba(36,48,68,.07),transparent 34%),#ffffffdb}.christianity-full-card-stats{display:flex;gap:1rem;min-height:1.35rem}.christianity-full-card-stats strong{font-size:1rem;line-height:1}.christianity-full-card-effect>div:last-of-type{display:grid;gap:.12rem}.christianity-full-card-effect>div:last-of-type strong{font-size:.82rem}.christianity-full-card-effect p{font-size:clamp(.78rem,2.9vw,.92rem)}.christianity-full-card-rarity{position:absolute;top:.62rem;right:.62rem;width:.46rem;height:.46rem;border-radius:.12rem;transform:rotate(45deg)}.christianity-full-card-rarity.is-normal{background:#d1d5db}.christianity-full-card-rarity.is-uncommon{background:#22c55e}.christianity-full-card-rarity.is-rare{background:#3b82f6}.christianity-full-card-rarity.is-legendary{background:#eab308}.christianity-full-card-footer{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:.34rem;align-items:center;color:#1f2933ad;font-size:.58rem;line-height:1;text-transform:uppercase}.christianity-full-card-footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-floating-card-close{position:absolute;top:0;right:.15rem;z-index:4;min-height:2rem;padding:0 .6rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#ffffffe6;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .45rem 1rem #102a431a}.christianity-preview-backdrop,.christianity-history-backdrop,.christianity-info-backdrop{position:fixed;inset:0;border:0;border-radius:0;background:#0f172a75}.christianity-preview-backdrop{z-index:79}.christianity-info-backdrop{z-index:50}.christianity-info-panel{position:fixed;top:50%;left:50%;z-index:51;width:min(31rem,calc(100vw - 1.25rem));max-height:min(34rem,calc(100vh - 2rem));padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-info-close{position:absolute;top:0;right:.15rem;z-index:2}.christianity-rule-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.85rem;max-height:inherit;padding:1rem;overflow-y:auto;border:1px solid rgba(36,48,68,.14);border-radius:.9rem;background:linear-gradient(180deg,#fffffff7,#f8fafcf7),radial-gradient(circle at 8% 0%,rgba(37,99,235,.1),transparent 38%);box-shadow:0 1.2rem 2.6rem #102a433d,inset 0 0 0 .25rem #ffffff85}.christianity-rule-note-icon{display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:999px;background:color-mix(in srgb,var(--christianity-theme-focus) 12%,#ffffff);color:var(--christianity-theme-focus);font-size:1rem;font-weight:900;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent)}.christianity-rule-note small,.christianity-rule-note strong,.christianity-rule-note p,.christianity-rule-note h2{margin:0}.christianity-rule-note small{color:#1f29339e;font-size:.78rem;font-weight:800;text-transform:uppercase}.christianity-rule-note h2{margin-top:.18rem;font-size:clamp(1.5rem,7vw,2.2rem);line-height:1.05}.christianity-rule-note strong{display:inline-flex;width:fit-content;margin-top:.55rem;padding:.22rem .55rem;border-radius:999px;background:#edf2f7;font-size:.92rem}.christianity-rule-note p{margin-top:.75rem;color:#1f2933c7;line-height:1.45}.christianity-rule-note ul{display:grid;gap:.45rem;margin:.8rem 0 0;padding-left:1.05rem;color:#1f2933c7;line-height:1.35}.christianity-floating-card>small,.christianity-floating-card>span{color:#1f2933a3}.christianity-floating-card>strong{font-size:clamp(1.55rem,8vw,2.35rem);line-height:1.05}.christianity-floating-card>p{margin:0;align-self:end;font-size:.95rem;line-height:1.35}.christianity-floating-card-actions{position:relative;z-index:4;display:flex;justify-content:center;padding:0 .35rem;transform:translateZ(0)}.christianity-floating-card-actions button{min-height:2.35rem;padding:0 1rem;border:0;border-radius:999px;background:#102a43;color:#fff;font:inherit;font-size:.9rem;font-weight:800;box-shadow:0 .65rem 1.3rem #102a432e}.christianity-floating-card-actions button:disabled{cursor:not-allowed;opacity:.45}@media (min-width: 52rem){.christianity-floating-card-shell{width:min(29rem,calc(100vw - 3rem))}.christianity-floating-card{min-height:min(35rem,calc(100vh - 4rem));padding:1.35rem}}.christianity-history-backdrop{z-index:40}.christianity-history-drawer{position:fixed;right:auto;bottom:max(.5rem,env(safe-area-inset-bottom));left:50%;z-index:41;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.75rem;width:min(calc(100vw - 1rem),44rem);min-height:min(18rem,calc(100dvh - 1rem));max-height:min(32rem,calc(100dvh - 2rem));padding:.8rem;border:1px solid rgba(36,48,68,.16);border-radius:.75rem;background:#fffffffa;box-shadow:0 1.5rem 4rem #102a4347;transform:translate(-50%)}.christianity-history-drawer header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-history-drawer h2,.christianity-history-drawer p{margin:0}.christianity-history-drawer header span{display:grid;place-items:center;min-width:1.85rem;height:1.85rem;border-radius:999px;background:#edf2f7;font-weight:800}.christianity-dialog-actions{display:flex;align-items:center;gap:.45rem}.christianity-dialog-close{min-height:1.85rem;padding:0 .62rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#fff;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .8rem #102a4314}.christianity-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(5.4rem,1fr));gap:.55rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem .1rem .25rem}.christianity-history-grid::-webkit-scrollbar,.christianity-offering-list::-webkit-scrollbar{width:.65rem}.christianity-history-grid::-webkit-scrollbar-track,.christianity-offering-list::-webkit-scrollbar-track{border-radius:999px;background:#e2e8f0b8}.christianity-history-grid::-webkit-scrollbar-thumb,.christianity-offering-list::-webkit-scrollbar-thumb{border:.14rem solid rgba(226,232,240,.72);border-radius:999px;background:#24304452}.christianity-offerings-drawer{width:min(calc(100vw - 1rem),48rem);min-height:min(20rem,calc(100dvh - 1rem));max-height:min(34rem,calc(100dvh - 2rem))}.christianity-offering-list{display:grid;gap:.6rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem}.christianity-offering-row{display:grid;grid-template-columns:minmax(4.9rem,6.2rem) minmax(0,1fr);gap:.65rem;align-items:stretch;padding:.45rem;border:1px solid rgba(36,48,68,.12);border-radius:.65rem;background:#fff}.christianity-offering-row.is-exhausted{opacity:.68}.christianity-offering-card{min-height:7.4rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 82% 14%,#facc15 0 .48rem,transparent .5rem);box-shadow:0 .45rem 1rem #102a431a}.christianity-offering-card.christianity-card-frame{min-height:0;aspect-ratio:var(--christianity-card-aspect)}.christianity-offering-card small{color:#1f293394;font-size:.66rem;text-transform:uppercase}.christianity-offering-card p,.christianity-offering-row p{margin:0}.christianity-offering-card p{align-self:end;color:#1f2933a3;font-size:.72rem;line-height:1.2}.christianity-offering-row>div{display:grid;gap:.35rem;align-content:center;min-width:0}.christianity-offering-row>div p{color:#1f2933b8;font-size:.85rem;line-height:1.3}.christianity-offering-row>div button{justify-self:start;min-height:2.2rem;padding:0 .7rem;border:1px solid rgba(16,42,67,.16);border-radius:.5rem;background:#102a43;color:#fff;font:inherit;font-weight:800}.christianity-offering-row>div button:disabled{background:#e2e8f0;color:#1f293394}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible{outline:.1875rem solid color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent);outline-offset:.125rem}@media (max-width: 720px){.christianity-shell{padding:.55rem 0;border-right:0;border-left:0;border-radius:0}.christianity-header,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{align-items:stretch;flex-direction:column}.christianity-match-strip{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.35rem;padding:.35rem}.christianity-match-player{gap:.35rem}.christianity-match-player small{display:none}.christianity-scoreboard{min-width:3.65rem;padding:0 .35rem}.christianity-scoreboard strong{font-size:1.05rem}.christianity-table{gap:.35rem;padding-right:.25rem;padding-left:.25rem}.christianity-player-side{padding:.3rem .25rem}.christianity-battle-zone{--christianity-battle-card-width: min(5.2rem, calc((100vw - 4.25rem)/4) );grid-template-columns:repeat(4,var(--christianity-battle-card-width));justify-content:center;min-height:8.75rem;overflow-x:clip}.christianity-hand-fan{min-height:11.45rem;padding-bottom:2rem;overflow:visible}.christianity-hand-shelf{min-height:12.65rem;margin-top:-1rem;padding-top:1.35rem;padding-bottom:.9rem}.christianity-hand-shelf--opponent{min-height:6.65rem;margin-top:0;margin-bottom:0;padding-top:.4rem;padding-bottom:.85rem}.christianity-player-rack{grid-template-columns:minmax(4.5rem,5.7rem) minmax(4.4rem,1fr) minmax(3.5rem,4.8rem)}.christianity-shared-zone{gap:.45rem;grid-template-columns:repeat(3,minmax(0,1fr))}.christianity-zone-card,.christianity-zone-pile{min-height:6.15rem;padding:.58rem .46rem .5rem;gap:.24rem}.christianity-zone-pile i{top:2rem;right:.52rem;width:2.35rem;height:3.25rem}.christianity-offering-pile{min-height:6.85rem;padding:.88rem .46rem .55rem;gap:.24rem}.christianity-offering-pile i{top:2.25rem;left:.56rem;width:2.35rem;height:3.25rem}.christianity-card-preview-card{width:clamp(4.2rem,20vw,5.7rem);height:auto;min-height:0}.christianity-leader-card{width:clamp(4.55rem,20vw,5.7rem);min-height:0}.christianity-offering-row{grid-template-columns:minmax(4.5rem,5.5rem) minmax(0,1fr);gap:.5rem}.christianity-hand-fan--opponent{min-height:5.75rem;padding-bottom:.7rem}}\n"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: LightRippleDirective, selector: "[valLightRipple]" }] }); }
70077
+ }
70078
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChristianityGameComponent, decorators: [{
70079
+ type: Component,
70080
+ args: [{ selector: 'val-christianity-game', standalone: true, imports: [CdkDrag, CdkDropList, LightRippleDirective], template: `
70081
+ <main class="christianity-shell">
70082
+ <section class="christianity-header">
70083
+ <div>
70084
+ <p>{{ t('christianityEyebrow') }}</p>
70085
+ <h1>{{ t('christianityTitle') }}</h1>
70086
+ </div>
70087
+ <div class="christianity-turn" [class.is-own-turn]="isOwnTurn()">
70088
+ <span>{{ t('christianityTurn') }}</span>
70089
+ <strong>{{ currentPlayer().displayName }}</strong>
70090
+ </div>
70091
+ </section>
70092
+
70093
+ <section class="christianity-match-strip" [attr.aria-label]="t('christianityMatchScore')">
70094
+ <article class="christianity-match-player">
70095
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
70096
+ <div>
70097
+ <strong>{{ player().displayName }}</strong>
70098
+ <small>{{ player().leaderName }} · {{ player().leaderHp }}/{{ player().leaderMaxHp }}</small>
70099
+ </div>
70100
+ </article>
70101
+ <div class="christianity-scoreboard">
70102
+ <span>{{ t('christianityMatch') }}</span>
70103
+ <strong>{{ game().matchScore.P1 }}-{{ game().matchScore.P2 }}</strong>
70104
+ </div>
70105
+ <article class="christianity-match-player christianity-match-player--opponent">
70106
+ <span class="christianity-avatar" [style.background]="opponent().avatarColor">{{ opponent().avatar }}</span>
70107
+ <div>
70108
+ <strong>{{ opponent().displayName }}</strong>
70109
+ <small>{{ opponent().leaderName }} · {{ opponent().leaderHp }}/{{ opponent().leaderMaxHp }}</small>
70110
+ </div>
70111
+ </article>
70112
+ </section>
70113
+
70114
+ <section class="christianity-hand-shelf christianity-hand-shelf--opponent">
70115
+ <div class="christianity-hand-meter christianity-hand-meter--opponent">
70116
+ <span>{{ t('christianityHand') }}</span>
70117
+ <strong>{{ opponentHandCount() }}</strong>
70118
+ </div>
70119
+ <section class="christianity-hand-fan christianity-hand-fan--opponent" [attr.aria-label]="t('christianityOpponentHand')">
70120
+ @for (_ of hiddenHandCards(opponentHandCount()); track $index) {
70121
+ <button
70122
+ type="button"
70123
+ class="christianity-card-preview-card christianity-card-frame christianity-card-frame--back"
70124
+ valLightRipple
70125
+ [style.transform]="fanTransform($index, opponentHandCount(), true)"
70126
+ [attr.aria-label]="t('christianityHiddenCard')"
70127
+ >
70128
+ <img class="christianity-card-back-symbol" src="assets/games/christianity/card-symbol.svg" alt="" />
70129
+ </button>
70130
+ }
70131
+ </section>
70132
+ </section>
70133
+
70134
+ <section class="christianity-table" [attr.aria-label]="t('christianityTable')">
70135
+ <section class="christianity-player-side christianity-player-side--opponent">
70136
+ <section class="christianity-player-rack christianity-player-rack--opponent">
70137
+ <div class="christianity-offerings-zone">
70138
+ <button type="button" class="christianity-offering-pile" valLightRipple (click)="openOfferings('P2')">
70139
+ <i aria-hidden="true"></i>
70140
+ <i aria-hidden="true"></i>
70141
+ <i aria-hidden="true"></i>
70142
+ <span>{{ t('christianityOfferings') }}</span>
70143
+ <strong>{{ readyOfferings(opponent()) }}/{{ totalOfferings(opponent()) }}</strong>
70144
+ </button>
70145
+ </div>
70146
+ <button type="button" class="christianity-leader-card christianity-card-frame christianity-card-frame--leader" valLightRipple [class.is-target]="selectedAttacker() && !hasOpponentGuards()" (click)="handleOpponentLeader()">
70147
+ <header class="christianity-card-frame-header">
70148
+ <small>{{ t('christianityLeaderCard') }}</small>
70149
+ <strong>{{ opponent().leaderName }}</strong>
70150
+ <span>{{ opponent().leaderHp }}</span>
70151
+ </header>
70152
+ <section class="christianity-card-frame-art">
70153
+ <span>{{ opponent().leaderName }}</span>
70154
+ <small>{{ t('christianityLeaderCard') }}</small>
70155
+ </section>
70156
+ <section class="christianity-card-frame-effect">
70157
+ <strong>{{ opponent().leaderHp }}/{{ opponent().leaderMaxHp }}</strong>
70158
+ </section>
70159
+ </button>
70160
+ <span class="christianity-rack-spacer" aria-hidden="true"></span>
70161
+ </section>
70162
+
70163
+ <section class="christianity-battle-zone christianity-battle-zone--opponent" [attr.aria-label]="t('christianityOpponentBattle')">
70164
+ @for (slot of battleSlots('P2'); track slot.trackId) {
70165
+ @if (slot.card) {
70166
+ <button
70167
+ type="button"
70168
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-card-frame christianity-card-frame--battle"
70169
+ valLightRipple
70170
+ [class.is-target]="selectedAttacker()"
70171
+ (click)="handleOpponentCharacter(slot.card)"
70172
+ >
70173
+ <header class="christianity-card-frame-header">
70174
+ <small>{{ t('christianityCost') }} {{ cardDefinition(slot.card.cardId).cost }}</small>
70175
+ <strong>{{ slot.card.name }}</strong>
70176
+ <span>{{ cardDefinition(slot.card.cardId).cost }}</span>
70177
+ </header>
70178
+ <section class="christianity-card-frame-art">
70179
+ <span>{{ slot.card.name }}</span>
70180
+ <small>{{ t('christianityCharacterCard') }}</small>
70181
+ </section>
70182
+ <section class="christianity-card-frame-effect">
70183
+ <strong>{{ slot.card.attack }} / {{ slot.card.currentHp }}</strong>
70184
+ </section>
70185
+ </button>
70186
+ } @else {
70187
+ <span class="christianity-slot"></span>
70188
+ }
70189
+ }
70190
+ </section>
70191
+ </section>
70192
+
70193
+ <section class="christianity-shared-zone" [attr.aria-label]="t('christianitySharedZone')">
70194
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--history" valLightRipple (click)="openHistory()">
70195
+ <i aria-hidden="true"></i>
70196
+ <i aria-hidden="true"></i>
70197
+ <i aria-hidden="true"></i>
70198
+ <span>{{ t('christianityHistory') }}</span>
70199
+ <strong>{{ game().historyZone.length }}</strong>
70200
+ </button>
70201
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--deck" valLightRipple aria-live="polite" (click)="inspectDeck()">
70202
+ <i aria-hidden="true"></i>
70203
+ <i aria-hidden="true"></i>
70204
+ <i aria-hidden="true"></i>
70205
+ <span>{{ t('christianityDeck') }}</span>
70206
+ <strong>{{ game().sharedDeck.length }}</strong>
70207
+ </button>
70208
+ <div class="christianity-zone-card">
70209
+ <span>{{ t('christianityPlace') }}</span>
70210
+ <strong>{{ t('christianityEmpty') }}</strong>
70211
+ </div>
70212
+ </section>
70213
+
70214
+ <section class="christianity-player-side">
70215
+ <section class="christianity-battle-zone" [class.is-placing-card]="canPlaceSelectedCharacter() || isDraggingCharacter()" [attr.aria-label]="t('christianityYourBattle')">
70216
+ @for (slot of battleSlots('P1'); track slot.trackId) {
70217
+ @if (slot.card) {
70218
+ <button
70219
+ type="button"
70220
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-card-frame christianity-card-frame--battle"
70221
+ valLightRipple
70222
+ [class.is-selected]="selectedAttacker()?.instanceId === slot.card.instanceId"
70223
+ [class.is-exhausted]="!slot.card.canAttack"
70224
+ (click)="selectAttacker(slot.card)"
70225
+ >
70226
+ <header class="christianity-card-frame-header">
70227
+ <small>{{ t('christianityCost') }} {{ cardDefinition(slot.card.cardId).cost }}</small>
70228
+ <strong>{{ slot.card.name }}</strong>
70229
+ <span>{{ cardDefinition(slot.card.cardId).cost }}</span>
70230
+ </header>
70231
+ <section class="christianity-card-frame-art">
70232
+ <span>{{ slot.card.name }}</span>
70233
+ <small>{{ t('christianityCharacterCard') }}</small>
70234
+ </section>
70235
+ <section class="christianity-card-frame-effect">
70236
+ <strong>{{ slot.card.attack }} / {{ slot.card.currentHp }}</strong>
70237
+ </section>
70238
+ </button>
70239
+ } @else {
70240
+ <button
70241
+ type="button"
70242
+ class="christianity-slot"
70243
+ cdkDropList
70244
+ [id]="battleSlotDropId($index)"
70245
+ [cdkDropListData]="$index"
70246
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
70247
+ [cdkDropListEnterPredicate]="canDropOnBattleSlot"
70248
+ [class.christianity-slot--play-target]="canPlaceSelectedCharacter() || isDraggingCharacter()"
70249
+ valLightRipple
70250
+ (cdkDropListDropped)="dropOnBattleSlot($event, $index)"
70251
+ (click)="playSelectedCard($index)"
70252
+ >
70253
+ @if (canPlaceSelectedCharacter() || isDraggingCharacter()) {
70254
+ <span>{{ t('christianityPlayHere') }}</span>
70255
+ }
70256
+ </button>
70257
+ }
70258
+ }
70259
+ </section>
70260
+
70261
+ <section class="christianity-player-rack">
70262
+ <div class="christianity-offerings-zone">
70263
+ <button
70264
+ type="button"
70265
+ class="christianity-offering-pile"
70266
+ cdkDropList
70267
+ id="christianity-offerings-drop"
70268
+ valLightRipple
70269
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
70270
+ [class.is-play-target]="canPlaceSelectedOffering() || isDraggingOffering()"
70271
+ [cdkDropListEnterPredicate]="canDropOnOfferings"
70272
+ (cdkDropListDropped)="dropOnOfferings($event)"
70273
+ (click)="handleOfferingPile('P1')"
70274
+ >
70275
+ <i aria-hidden="true"></i>
70276
+ <i aria-hidden="true"></i>
70277
+ <i aria-hidden="true"></i>
70278
+ <span>{{ t('christianityOfferings') }}</span>
70279
+ <strong>{{ readyOfferings(player()) }}/{{ totalOfferings(player()) }}</strong>
70280
+ </button>
70281
+ </div>
70282
+ <button type="button" class="christianity-leader-card christianity-card-frame christianity-card-frame--leader" valLightRipple (click)="inspectLeader('P1')">
70283
+ <header class="christianity-card-frame-header">
70284
+ <small>{{ t('christianityLeaderCard') }}</small>
70285
+ <strong>{{ player().leaderName }}</strong>
70286
+ <span>{{ player().leaderHp }}</span>
70287
+ </header>
70288
+ <section class="christianity-card-frame-art">
70289
+ <span>{{ player().leaderName }}</span>
70290
+ <small>{{ t('christianityLeaderCard') }}</small>
70291
+ </section>
70292
+ <section class="christianity-card-frame-effect">
70293
+ <strong>{{ player().leaderHp }}/{{ player().leaderMaxHp }}</strong>
70294
+ </section>
70295
+ </button>
70296
+ <div class="christianity-player-command">
70297
+ <div class="christianity-player-badge">
70298
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
70299
+ <strong>{{ player().displayName }}</strong>
70300
+ </div>
70301
+ <button
70302
+ type="button"
70303
+ class="christianity-end-turn"
70304
+ (click)="endTurn()"
70305
+ >
70306
+ {{ t('christianityEndTurn') }}
70307
+ </button>
70308
+ </div>
70309
+ </section>
70310
+ </section>
70311
+ </section>
70312
+
70313
+ <section class="christianity-hand-shelf">
70314
+ <div class="christianity-hand-meter">
70315
+ <span>{{ t('christianityHand') }}</span>
70316
+ <strong>{{ player().hand?.length ?? 0 }}</strong>
70317
+ </div>
70318
+ <section
70319
+ class="christianity-hand-fan"
70320
+ cdkDropList
70321
+ id="christianity-hand-source"
70322
+ [cdkDropListConnectedTo]="dropTargetIds()"
70323
+ [attr.aria-label]="t('christianityYourHand')"
70324
+ (pointerleave)="clearHoveredHandIndex()"
70325
+ >
70326
+ @for (cardId of player().hand ?? []; track cardId + $index) {
70327
+ @let card = cardDefinition(cardId);
70328
+ <div
70329
+ class="christianity-hand-card-wrap"
70330
+ [class.is-selected]="selectedHandCard() === cardId"
70331
+ [class.is-dragging]="draggingCardId() === cardId"
70332
+ [style.z-index]="handCardZIndex($index)"
70333
+ [style.transform]="fanTransform($index, player().hand?.length ?? 0, false)"
70334
+ (pointerenter)="setHoveredHandIndex($index)"
70335
+ (pointerdown)="setHoveredHandIndex($index)"
70336
+ (pointerup)="releaseHoveredHand($event)"
70337
+ >
70338
+ <button
70339
+ type="button"
70340
+ class="christianity-card-preview-card christianity-card-preview-card--hand christianity-card-frame"
70341
+ cdkDrag
70342
+ valLightRipple
70343
+ [cdkDragData]="cardId"
70344
+ [cdkDragDisabled]="!canPlay(card)"
70345
+ [class.is-selected]="selectedHandCard() === cardId"
70346
+ [class.is-disabled]="!canPlay(card)"
70347
+ (cdkDragStarted)="startDraggingCard(cardId)"
70348
+ (cdkDragEnded)="endDraggingCard()"
70349
+ (click)="selectHandCard(cardId)"
70350
+ >
70351
+ <header class="christianity-card-frame-header">
70352
+ <small>{{ card.type === 'offering' ? t('christianityOfferingCard') : t('christianityCost') + ' ' + card.cost }}</small>
70353
+ <strong>{{ card.name }}</strong>
70354
+ <span>{{ card.type === 'offering' ? '+' + card.life : card.cost }}</span>
70355
+ </header>
70356
+ <section class="christianity-card-frame-art">
70357
+ <span>{{ card.name }}</span>
70358
+ <small>{{ cardTypeLabel(card) }}</small>
70359
+ </section>
70360
+ <section class="christianity-card-frame-effect">
70361
+ <strong>
70362
+ @if (card.type === 'offering') {
70363
+ +{{ card.life }}
70364
+ } @else {
70365
+ {{ card.attack }} / {{ card.life }}
70366
+ }
70367
+ </strong>
70368
+ </section>
70369
+ <footer class="christianity-card-frame-footer">
70370
+ <span>{{ card.edition ?? 'MVP' }}</span>
70371
+ <span>{{ card.collectorNumber ?? card.id }}</span>
70372
+ </footer>
70373
+ </button>
70374
+ <button
70375
+ type="button"
70376
+ class="christianity-card-eye"
70377
+ [attr.aria-label]="t('christianityPreviewCard')"
70378
+ (click)="inspectHandCard(cardId, true); $event.stopPropagation()"
70379
+ ></button>
70380
+ </div>
70381
+ }
70382
+ </section>
70383
+ </section>
70384
+
70385
+ @if (selectedPreview()) {
70386
+ <button type="button" class="christianity-preview-backdrop" [attr.aria-label]="t('christianityClosePreview')" (click)="closePreview()"></button>
70387
+ <aside
70388
+ class="christianity-floating-card-shell"
70389
+ aria-live="polite"
70390
+ >
70391
+ <button type="button" class="christianity-floating-card-close" (click)="closePreview()">
70392
+ {{ t('close') }}
70393
+ </button>
70394
+ <div
70395
+ class="christianity-floating-card"
70396
+ [style.--preview-rotate-x]="previewTilt().rotateX + 'deg'"
70397
+ [style.--preview-rotate-y]="previewTilt().rotateY + 'deg'"
70398
+ [style.--preview-shift-x]="previewTilt().shiftX + 'px'"
70399
+ [style.--preview-shift-y]="previewTilt().shiftY + 'px'"
70400
+ (pointermove)="tiltPreview($event)"
70401
+ (pointerleave)="resetPreviewTilt()"
70402
+ >
70403
+ @if (selectedPreviewCard(); as previewCard) {
70404
+ <header class="christianity-full-card-header">
70405
+ <span class="christianity-full-card-type-icon" aria-hidden="true"></span>
70406
+ <strong>{{ previewCard.name }}</strong>
70407
+ <span class="christianity-full-card-cost">{{ previewCard.type === 'offering' ? '+' + previewCard.life : previewCard.cost }}</span>
70408
+ </header>
70409
+ <section class="christianity-full-card-art" [class.has-image]="previewCard.imageUrl">
70410
+ @if (previewCard.imageUrl) {
70411
+ <img [src]="previewCard.imageUrl" [alt]="previewCard.name" />
70412
+ } @else {
70413
+ <span>{{ previewCard.name }}</span>
70414
+ }
70415
+ <small>{{ cardTypeLabel(previewCard) }}</small>
70416
+ </section>
70417
+ <section class="christianity-full-card-verse">
70418
+ <p>{{ previewCard.verseText ?? selectedPreview()?.body }}</p>
70419
+ @if (previewCard.scripture) {
70420
+ <strong>{{ previewCard.scripture }}</strong>
70421
+ }
70422
+ </section>
70423
+ <section class="christianity-full-card-effect">
70424
+ <div class="christianity-full-card-stats">
70425
+ @if (previewCard.type === 'character') {
70426
+ <strong>{{ previewCard.attack }}</strong>
70427
+ <strong>{{ previewCard.life }}</strong>
70428
+ } @else {
70429
+ <strong>+{{ previewCard.life }}</strong>
70430
+ }
70431
+ </div>
70432
+ <div>
70433
+ @if (previewCard.abilityName) {
70434
+ <strong>{{ previewCard.abilityName }}</strong>
70435
+ }
70436
+ <p>{{ previewCard.abilityText ?? selectedPreview()?.body }}</p>
70437
+ </div>
70438
+ <span
70439
+ class="christianity-full-card-rarity"
70440
+ [class.is-normal]="!previewCard.rarity || previewCard.rarity === 'normal'"
70441
+ [class.is-uncommon]="previewCard.rarity === 'uncommon'"
70442
+ [class.is-rare]="previewCard.rarity === 'rare'"
70443
+ [class.is-legendary]="previewCard.rarity === 'legendary'"
70444
+ aria-hidden="true"
70445
+ ></span>
70446
+ </section>
70447
+ <footer class="christianity-full-card-footer">
70448
+ <span>{{ previewCard.edition ?? 'MVP' }}</span>
70449
+ <span>{{ previewCard.collectorNumber ?? previewCard.id }}</span>
70450
+ <span>{{ previewCard.year ?? '2026' }} CHRISTIANITY</span>
70451
+ <span>{{ previewCard.author ?? 'MVP' }}</span>
70452
+ </footer>
70453
+ } @else {
70454
+ <small>{{ selectedPreview()?.eyebrow }}</small>
70455
+ <strong>{{ selectedPreview()?.title }}</strong>
70456
+ <span>{{ selectedPreview()?.meta }}</span>
70457
+ <p>{{ selectedPreview()?.body }}</p>
70458
+ }
70459
+ </div>
70460
+ @if (selectedPreview()?.source === 'hand') {
70461
+ <div class="christianity-floating-card-actions">
70462
+ <button type="button" [disabled]="previewActionDisabled()" (click)="playPreviewCard()">
70463
+ {{ selectedActionLabel() }}
70464
+ </button>
70465
+ </div>
70466
+ }
70467
+ </aside>
70468
+ }
70469
+
70470
+ @if (selectedInfo(); as info) {
70471
+ <button type="button" class="christianity-info-backdrop" [attr.aria-label]="t('close')" (click)="closeInfo()"></button>
70472
+ <aside class="christianity-info-panel" aria-live="polite">
70473
+ <button type="button" class="christianity-dialog-close christianity-info-close" (click)="closeInfo()">
70474
+ {{ t('close') }}
70475
+ </button>
70476
+ <div class="christianity-rule-note">
70477
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
70478
+ <div>
70479
+ <small>{{ info.eyebrow }}</small>
70480
+ <h2>{{ info.title }}</h2>
70481
+ <strong>{{ info.meta }}</strong>
70482
+ <p>{{ info.body }}</p>
70483
+ <ul>
70484
+ @for (fact of info.facts; track fact) {
70485
+ <li>{{ fact }}</li>
70486
+ }
70487
+ </ul>
70488
+ </div>
70489
+ </div>
70490
+ </aside>
70491
+ }
70492
+
70493
+ <section class="christianity-actions" aria-live="polite">
70494
+ <p>{{ statusText() }}</p>
70495
+ <div>
70496
+ <button type="button" [disabled]="selectedActionDisabled()" (click)="playSelectedCard()">
70497
+ {{ selectedActionLabel() }}
70498
+ </button>
70499
+ <button type="button" (click)="resetMock()">
70500
+ {{ t('christianityReset') }}
70501
+ </button>
70502
+ </div>
70503
+ </section>
70504
+
70505
+ @if (showHistory()) {
70506
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseHistory')" (click)="showHistory.set(false)"></button>
70507
+ <section class="christianity-history-drawer">
70508
+ <header>
70509
+ <h2>{{ t('christianityHistory') }}</h2>
70510
+ <div class="christianity-dialog-actions">
70511
+ <span>{{ game().historyZone.length }}</span>
70512
+ <button type="button" class="christianity-dialog-close" (click)="showHistory.set(false)">
70513
+ {{ t('close') }}
70514
+ </button>
70515
+ </div>
70516
+ </header>
70517
+ @if (game().historyZone.length) {
70518
+ <div class="christianity-history-grid">
70519
+ @for (cardId of game().historyZone; track cardId + $index) {
70520
+ @let card = cardDefinition(cardId);
70521
+ <button type="button" class="christianity-card-preview-card christianity-card-frame christianity-card-frame--list" valLightRipple (click)="inspectHistoryCard(cardId)">
70522
+ <header class="christianity-card-frame-header">
70523
+ <small>{{ card.type === 'offering' ? t('christianityOfferingCard') : t('christianityCost') + ' ' + card.cost }}</small>
70524
+ <strong>{{ card.name }}</strong>
70525
+ <span>{{ card.type === 'offering' ? '+' + card.life : card.cost }}</span>
70526
+ </header>
70527
+ <section class="christianity-card-frame-art">
70528
+ <span>{{ card.name }}</span>
70529
+ <small>{{ cardTypeLabel(card) }}</small>
70530
+ </section>
70531
+ <section class="christianity-card-frame-effect">
70532
+ <strong>
70533
+ @if (card.type === 'offering') {
70534
+ +{{ card.life }}
70535
+ } @else {
70536
+ {{ card.attack }} / {{ card.life }}
70537
+ }
70538
+ </strong>
70539
+ </section>
70540
+ </button>
70541
+ }
70542
+ </div>
70543
+ } @else {
70544
+ <p>{{ t('christianityHistoryEmpty') }}</p>
70545
+ }
70546
+ </section>
70547
+ }
70548
+
70549
+ @if (offeringsSeat()) {
70550
+ @let offeringPlayer = game().players[offeringsSeat()!];
70551
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseOfferings')" (click)="closeOfferings()"></button>
70552
+ <section class="christianity-history-drawer christianity-offerings-drawer">
70553
+ <header>
70554
+ <h2>{{ t('christianityOfferings') }}</h2>
70555
+ <div class="christianity-dialog-actions">
70556
+ <span>{{ readyOfferings(offeringPlayer) }}/{{ totalOfferings(offeringPlayer) }}</span>
70557
+ <button type="button" class="christianity-dialog-close" (click)="closeOfferings()">
70558
+ {{ t('close') }}
70559
+ </button>
70560
+ </div>
70561
+ </header>
70562
+ <div class="christianity-offering-list">
70563
+ @for (offering of offeringPlayer.offerings; track offering.instanceId) {
70564
+ <article class="christianity-offering-row" [class.is-exhausted]="!offering.ready">
70565
+ <button type="button" class="christianity-offering-card christianity-card-frame christianity-card-frame--list" valLightRipple (click)="inspectOffering(offering)">
70566
+ <header class="christianity-card-frame-header">
70567
+ <small>{{ t('christianityOfferingCard') }}</small>
70568
+ <strong>{{ offering.name }}</strong>
70569
+ <span>+{{ offering.value }}</span>
70570
+ </header>
70571
+ <section class="christianity-card-frame-art">
70572
+ <span>{{ offering.name }}</span>
70573
+ <small>{{ t('christianityOfferingCard') }}</small>
70574
+ </section>
70575
+ <section class="christianity-card-frame-effect">
70576
+ <strong>+{{ offering.value }}</strong>
70577
+ @if (offering.abilityName) {
70578
+ <p>{{ offering.abilityName }}</p>
70579
+ }
70580
+ </section>
70581
+ </button>
70582
+ <div>
70583
+ <strong>{{ offering.ready ? t('christianityOfferingReady') : t('christianityOfferingExhausted') }}</strong>
70584
+ <p>{{ offering.abilityText || t('christianityOfferingNoAbility') }}</p>
70585
+ @if (offering.abilityName) {
70586
+ <button
70587
+ type="button"
70588
+ [disabled]="!canUseOfferingAbility(offering, offeringsSeat()!)"
70589
+ (click)="useOfferingAbility(offering, offeringsSeat()!)"
70590
+ >
70591
+ {{ t('christianityUseAbility') }}
70592
+ </button>
70593
+ }
70594
+ </div>
70595
+ </article>
70596
+ }
70597
+ </div>
70598
+ </section>
70599
+ }
70600
+ </main>
70601
+ `, styles: [":host{--christianity-theme-ink: var(--val-text-color, #1f2933);--christianity-theme-surface: #ffffff;--christianity-theme-parchment: #fffaf0;--christianity-theme-olive: #5f6f2a;--christianity-theme-gold: #d6a21d;--christianity-theme-gold-soft: rgba(214, 162, 29, .18);--christianity-theme-gold-ring: rgba(214, 162, 29, .48);--christianity-theme-glow: rgba(245, 199, 85, .32);--christianity-theme-focus: #2563eb;--christianity-theme-shadow: rgba(82, 64, 28, .18);--christianity-theme-shadow-strong: rgba(82, 64, 28, .3);--christianity-card-aspect: 5 / 7.45;display:block;max-width:100%;min-width:0;overflow-x:clip;color:var(--christianity-theme-ink)}.christianity-shell{box-sizing:border-box;display:grid;gap:.65rem;width:100%;max-width:100%;min-width:0;padding:.75rem .25rem;border:1px solid rgba(36,48,68,.12);border-radius:.75rem;background:#f6f8fb;overflow-x:clip;overflow-y:visible}.christianity-header,.christianity-match-strip,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-header h1,.christianity-header p,.christianity-match-player strong,.christianity-match-player small,.christianity-scoreboard span,.christianity-history h2,.christianity-actions p{margin:0}.christianity-header h1{font-size:1.35rem;line-height:1.1}.christianity-header p,.christianity-turn span,.christianity-offerings span,.christianity-hidden-hand span,.christianity-deck span,.christianity-place span,.christianity-pile span,.christianity-leader span{color:#1f2933a3;font-size:.75rem}.christianity-turn,.christianity-leader,.christianity-offerings,.christianity-hidden-hand,.christianity-pile,.christianity-deck,.christianity-place{display:grid;gap:.15rem;min-width:5.25rem;padding:.55rem .65rem;border:1px solid rgba(36,48,68,.12);border-radius:.5rem;background:#fff}.christianity-turn.is-own-turn{border-color:#12806c59;background:#ecfdf5}.christianity-match-strip{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:.45rem;border:1px solid rgba(36,48,68,.1);border-radius:.75rem;background:#fff}.christianity-match-player{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0}.christianity-match-player--opponent{direction:rtl}.christianity-match-player--opponent div{direction:ltr;text-align:right}.christianity-match-player div{display:grid;min-width:0}.christianity-match-player strong,.christianity-match-player small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-match-player small,.christianity-scoreboard span{color:#1f293394;font-size:.72rem}.christianity-scoreboard{display:grid;justify-items:center;min-width:4.2rem;padding:0 .55rem;border-right:1px solid rgba(36,48,68,.1);border-left:1px solid rgba(36,48,68,.1)}.christianity-scoreboard strong{font-size:1.2rem;line-height:1}.christianity-table{box-sizing:border-box;display:grid;gap:.45rem;width:100%;max-width:100%;min-width:0;padding:.45rem .35rem;border-radius:.75rem;background:#dceafb;overflow-x:clip;overflow-y:visible}.christianity-player-side{box-sizing:border-box;display:grid;gap:.35rem;width:100%;max-width:100%;min-width:0;padding:.35rem .3rem;border-radius:.7rem;background:#ffffff57;grid-template-rows:minmax(7rem,1fr) auto;min-height:13.75rem}.christianity-player-side--opponent{grid-template-rows:auto minmax(7rem,1fr)}.christianity-player{display:grid;gap:.65rem}.christianity-battle-zone{--christianity-battle-card-width: clamp(4.8rem, 15vw, 6.6rem);box-sizing:border-box;display:grid;grid-template-columns:repeat(4,var(--christianity-battle-card-width));gap:.5rem;align-items:center;justify-content:center;width:100%;max-width:100%;min-width:0;min-height:clamp(9.1rem,29vw,11rem);padding:.55rem .4rem;border-radius:.75rem;background:#ffffffc2;transition:background .16s ease,box-shadow .16s ease}.christianity-battle-zone.is-placing-card{background:linear-gradient(180deg,#fffaf0f5,#ffffffd6),#ffffffc2;box-shadow:inset 0 0 0 .14rem var(--christianity-theme-gold-soft),0 .8rem 1.7rem #5f6f2a1f}.christianity-shared-zone{padding:.55rem .4rem;border-radius:.75rem;background:#ffffffe6}.christianity-card,.christianity-end-turn,.christianity-actions button,.christianity-pile,.christianity-leader--target{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card{display:grid;align-content:space-between;min-height:5.8rem;padding:.5rem;text-align:left;box-shadow:0 .5rem 1.25rem #24304414}.christianity-card span{font-weight:700}.christianity-card strong{justify-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-card.is-selected{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .18rem var(--christianity-theme-gold-soft),0 .85rem 1.4rem var(--christianity-theme-shadow)}.christianity-card.is-disabled,.christianity-card.is-exhausted{opacity:.55}.christianity-card.is-target{border-color:#dc2626}.christianity-offering-cards{display:grid;grid-auto-flow:column;grid-auto-columns:.7rem;gap:.16rem;align-items:end;min-height:1.05rem}.christianity-offering-cards i{display:block;width:.65rem;height:.95rem;border:1px solid rgba(16,42,67,.22);border-radius:.18rem;background:#f8fafc}.christianity-offering-cards i.is-used{background:#cbd5e1;transform:rotate(90deg);transform-origin:center}.christianity-slot{display:grid;place-items:center;justify-self:center;width:var(--christianity-battle-card-width);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px dashed rgba(36,48,68,.22);border-radius:.5rem;background:#ffffff73;color:inherit;font:inherit}.christianity-slot--play-target{position:relative;border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0eb,#f8fafcd1),#ffffffb3;color:#5d4305;font-weight:800;overflow:hidden;box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-slot--play-target:before{content:\"\";position:absolute;inset:.35rem;border:1px solid rgba(214,162,29,.22);border-radius:.4rem;background:linear-gradient(135deg,rgba(214,162,29,.1),transparent 46%),radial-gradient(circle at 50% 42%,var(--christianity-theme-glow),transparent 58%)}.christianity-slot--play-target span{position:relative;z-index:2;padding:.16rem .44rem;border-radius:999px;background:#ffffffc7;font-size:.78rem}@keyframes christianity-target-pulse{0%,to{box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow)}50%{box-shadow:inset 0 0 0 .16rem #d6a21d57,0 .9rem 1.65rem var(--christianity-theme-shadow-strong)}}.christianity-hand{display:grid;grid-auto-columns:minmax(6rem,8rem);grid-auto-flow:column;gap:.55rem;overflow-x:auto;padding-bottom:.25rem}.christianity-actions{align-items:flex-start;padding:.75rem;border-radius:.75rem;background:#fff}.christianity-actions div{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.christianity-actions button,.christianity-end-turn{min-height:2.4rem;padding:0 .75rem;font-weight:700}.christianity-actions button:not(:disabled),.christianity-end-turn{background:#102a43;color:#fff}.christianity-history{padding:.75rem;border-radius:.75rem;background:#fff}.christianity-hand-fan{position:relative;display:flex;justify-content:center;min-height:10.8rem;padding:.25rem .25rem 2.1rem;isolation:isolate;overflow:visible}.christianity-hand-shelf{position:relative;display:grid;z-index:12;min-height:12rem;margin-top:-1.15rem;padding:1.45rem .25rem 1rem;overflow:visible}.christianity-hand-shelf--opponent{z-index:8;min-height:6.85rem;margin-top:0;margin-bottom:0;padding:.45rem .25rem .85rem}.christianity-hand-fan--opponent{min-height:5.9rem;padding-bottom:.75rem;align-items:start}.christianity-card-preview-card,.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile,.christianity-end-turn{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card-preview-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);padding:.48rem;text-align:left;transform-origin:50% 115%;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;box-shadow:0 .5rem 1.25rem #2430441a}.christianity-card-frame{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;overflow:hidden;padding:.48rem;text-align:left;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 15% 0%,rgba(214,162,29,.12),transparent 44%);box-shadow:0 .5rem 1.25rem #2430441a,inset 0 0 0 .18rem #ffffff9e}.christianity-card-frame-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.16rem;align-items:start;min-width:0}.christianity-card-frame-header small{grid-column:1;min-width:0;overflow:hidden;color:#1f2933a3;font-size:clamp(.52rem,1.5vw,.68rem);line-height:1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-header strong{grid-column:1;justify-self:start;align-self:start;min-width:0;padding:0;overflow:hidden;border-radius:0;background:transparent;font-size:clamp(.82rem,2.5vw,1.05rem);line-height:1.02;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-header span{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;min-width:1.3rem;height:1.3rem;padding:0 .22rem;border-radius:999px;background:#ffd91a;color:#243044;font-size:.8rem;font-weight:900;line-height:1;box-shadow:inset 0 -.08rem #52401c2e}.christianity-card-frame-art{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:.36rem;background:linear-gradient(135deg,#5f6f2a2e,#d6a21d24),radial-gradient(circle at 50% 18%,rgba(255,255,255,.72),transparent 48%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-card-frame-art>span{max-width:78%;overflow:hidden;color:#2430447a;font-size:clamp(.82rem,2.2vw,1.05rem);font-weight:900;line-height:1.02;text-align:center;text-overflow:ellipsis}.christianity-card-frame-art small{position:absolute;right:0;bottom:.28rem;max-width:78%;padding:.1rem .34rem;overflow:hidden;border-radius:999px 0 0 999px;background:#ffffffe6;color:#1f2933a8;font-size:.48rem;font-style:italic;font-weight:900;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-card-frame-effect{display:grid;align-content:center;gap:.1rem;min-height:1.45rem;padding:.24rem;overflow:hidden;border-radius:.34rem;background:radial-gradient(circle at 50% 70%,rgba(36,48,68,.06),transparent 44%),#ffffffdb}.christianity-card-frame-effect strong{justify-self:end;align-self:end;padding:.12rem .32rem;border-radius:999px;background:#edf2f7;font-size:clamp(.66rem,2vw,.82rem);line-height:1.05}.christianity-card-frame-effect p{margin:0;overflow:hidden;color:#1f2933b8;font-size:.58rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-footer{display:flex;justify-content:space-between;gap:.22rem;color:#1f293385;font-size:.46rem;font-weight:800;line-height:1}.christianity-card-frame--battle{gap:.22rem;padding:.42rem}.christianity-card-frame--battle .christianity-card-frame-art{min-height:2.6rem}.christianity-card-frame--leader .christianity-card-frame-art{background:linear-gradient(135deg,#2563eb24,#d6a21d29),radial-gradient(circle at 50% 18%,rgba(255,255,255,.78),transparent 48%),#e7eef8}.christianity-card-frame--list{width:clamp(4.4rem,22vw,5.8rem);padding:.38rem}.christianity-card-frame--list .christianity-card-frame-art{min-height:2.5rem}.christianity-hand-card-wrap{position:relative;display:grid;justify-items:center;flex:0 0 auto;margin-inline:-.42rem;padding-bottom:2rem;transform-origin:50% 115%;transition:transform .16s ease,filter .16s ease}.christianity-hand-card-wrap:hover,.christianity-hand-card-wrap.is-selected,.christianity-hand-card-wrap.is-dragging{z-index:3}.christianity-hand-card-wrap:hover .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-selected .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-dragging .christianity-card-preview-card--hand{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .12rem var(--christianity-theme-gold-soft),0 1rem 2rem var(--christianity-theme-shadow)}.christianity-card-preview-card--hand{touch-action:none}.christianity-card-preview-card--hand.cdk-drag-disabled{cursor:not-allowed}.christianity-card-preview-card.cdk-drag-preview{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px solid var(--christianity-theme-gold-ring);box-shadow:0 0 0 .16rem #fff4c2ad,0 1.5rem 3rem var(--christianity-theme-shadow-strong);transform:rotate(2deg) scale(1.03)}.christianity-card-preview-card.cdk-drag-placeholder{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);opacity:.22}.christianity-slot.cdk-drop-list-dragging,.christianity-offering-pile.cdk-drop-list-dragging{border-color:var(--christianity-theme-gold-ring)}.christianity-slot.cdk-drop-list-receiving,.christianity-offering-pile.cdk-drop-list-receiving{box-shadow:inset 0 0 0 .18rem #d6a21d57,0 1rem 1.9rem var(--christianity-theme-shadow-strong)}.christianity-card-eye{position:absolute;right:50%;bottom:.38rem;width:2.15rem;height:1.55rem;border:1px solid color-mix(in srgb,var(--christianity-theme-focus) 52%,transparent);border-radius:999px;background:#fffffff0;box-shadow:0 .55rem 1.1rem #102a4324;opacity:0;transform:translate(50%,-.2rem) scale(.92);transition:opacity .14s ease,transform .14s ease,border-color .14s ease}.christianity-card-eye:before{content:\"\";position:absolute;top:50%;left:50%;width:1.1rem;height:1.1rem;border:.12rem solid var(--christianity-theme-focus);border-radius:82% 0;background:#fffffff0;transform:translate(-50%,-50%) rotate(45deg)}.christianity-card-eye:after{content:\"\";position:absolute;top:50%;left:50%;width:.42rem;height:.42rem;border:.09rem solid rgba(255,255,255,.95);border-radius:999px;background:radial-gradient(circle at 35% 32%,#ffffff 0 .06rem,transparent .07rem),var(--christianity-theme-focus);transform:translate(-50%,-50%)}.christianity-hand-card-wrap:hover .christianity-card-eye,.christianity-hand-card-wrap.is-selected .christianity-card-eye,.christianity-card-eye:focus-visible{opacity:1;transform:translate(50%) scale(1)}.christianity-offering-pile.is-play-target{border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0f5,#fffffff0),radial-gradient(circle at 82% 14%,rgba(250,204,21,.28) 0 .7rem,transparent .72rem);box-shadow:inset 0 0 0 .12rem #d6a21d3d,0 .8rem 1.55rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-card-preview-card--back{width:clamp(4rem,14vw,5.7rem);min-height:0;aspect-ratio:var(--christianity-card-aspect);place-items:center;padding:.55rem;box-shadow:0 .8rem 1.55rem #24304424;transform-origin:50% -18%;background:radial-gradient(circle at 50% 44%,rgba(143,215,242,.22),transparent 40%),linear-gradient(135deg,#102a431f,#102a4305),repeating-linear-gradient(45deg,#dbeafe 0 .34rem,#f8fafc .34rem .68rem)}.christianity-card-back-symbol{width:min(72%,3.65rem);height:auto;opacity:.92;filter:drop-shadow(0 .25rem .35rem rgba(16,42,67,.16)) saturate(.95)}.christianity-card-preview-card--battle{justify-self:center;width:var(--christianity-battle-card-width);min-width:0;height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);margin-inline:0}.christianity-card-preview-card>span,.christianity-card-mini>span,.christianity-offering-pile>span,.christianity-offering-card>span,.christianity-leader-card>span,.christianity-zone-card>span,.christianity-zone-pile>span{position:relative;z-index:2;align-self:start;font-weight:700;line-height:1.05}.christianity-card-preview-card>strong,.christianity-card-mini>strong,.christianity-offering-pile>strong,.christianity-offering-card>strong,.christianity-leader-card>strong,.christianity-zone-card>strong,.christianity-zone-pile>strong{position:relative;z-index:3;justify-self:end;align-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-player-rack{box-sizing:border-box;display:grid;grid-template-columns:minmax(5.9rem,7rem) minmax(5rem,1fr) minmax(4.2rem,7rem);gap:.45rem;align-items:end;justify-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-player-rack--opponent{align-items:start}.christianity-hand-meter{position:absolute;top:0;right:.35rem;z-index:4;display:inline-grid;grid-auto-flow:column;gap:.25rem;align-items:center;min-height:1.7rem;padding:.18rem .46rem;border:1px solid rgba(36,48,68,.12);border-radius:999px;background:#ffffffe6;box-shadow:0 .35rem .8rem #102a4314}.christianity-hand-meter--opponent{top:.15rem}.christianity-hand-meter span{color:#1f293394;font-size:.68rem}.christianity-hand-meter strong{font-size:.86rem}.christianity-player-badge,.christianity-player-command{display:grid;gap:.35rem;justify-items:center;min-width:0}.christianity-player-badge{align-content:start;color:#1f2933c2;font-size:.74rem}.christianity-player-badge--opponent{justify-self:center;grid-auto-flow:column;align-items:center;justify-content:center}.christianity-player-badge strong{max-width:6.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-avatar{display:grid;place-items:center;width:1.85rem;height:1.85rem;border-radius:999px;color:#fff;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .9rem #102a4329}.christianity-offerings-zone{display:flex;flex-wrap:wrap;gap:.25rem;justify-content:flex-start;justify-self:start;width:100%}.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile{display:grid;align-content:space-between;min-height:4.9rem;padding:.48rem;text-align:left}.christianity-card-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch}.christianity-offering-pile,.christianity-zone-card,.christianity-zone-pile{grid-template-rows:auto minmax(2.6rem,1fr) auto;align-content:stretch;gap:.32rem}.christianity-card-mini{width:3.5rem}.christianity-offering-pile{position:relative;isolation:isolate;overflow:hidden;justify-self:start;width:min(100%,5.9rem);min-height:7.1rem;padding:.95rem .52rem .6rem;background:linear-gradient(180deg,#fff,#f8fafc),linear-gradient(135deg,rgba(250,204,21,.18),transparent 42%)}.christianity-offering-pile i{position:absolute;top:2.45rem;left:.72rem;z-index:-1;width:2.55rem;height:3.55rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:linear-gradient(180deg,#ffffffeb,#f1f5f9eb),radial-gradient(circle at 78% 18%,#facc15 0 .38rem,transparent .4rem);box-shadow:0 .35rem .85rem #102a431a;transform:rotate(-5deg)}.christianity-offering-pile i:nth-child(2){transform:translate(.28rem,.08rem) rotate(3deg)}.christianity-offering-pile i:nth-child(3){transform:translate(.55rem,.18rem) rotate(-1deg)}.christianity-leader-card{align-self:center;justify-self:center;width:clamp(4.75rem,17vw,6rem);min-height:0;aspect-ratio:var(--christianity-card-aspect)}.christianity-rack-spacer{display:block;min-height:1px}.christianity-battle-zone{grid-template-columns:repeat(4,var(--christianity-battle-card-width))}.christianity-shared-zone{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(4.3rem,1fr));align-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-zone-card,.christianity-zone-pile{min-height:6.45rem;padding:.7rem .52rem .55rem}.christianity-zone-pile{position:relative;isolation:isolate;overflow:hidden;box-shadow:inset 0 0 0 999px #ffffff1f}.christianity-zone-pile i{position:absolute;top:2.2rem;right:.72rem;z-index:-1;width:2.7rem;height:3.7rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:#f8fafc;box-shadow:0 .35rem .85rem #102a431c;transform:rotate(4deg)}.christianity-zone-pile i:nth-child(2){transform:translate(-.28rem,.12rem) rotate(-3deg)}.christianity-zone-pile i:nth-child(3){background:linear-gradient(135deg,#102a4329,#102a4308),repeating-linear-gradient(45deg,#dbeafe 0 .33rem,#fff .33rem .66rem);transform:translate(-.54rem,.24rem) rotate(2deg)}.christianity-floating-card-shell{position:fixed;top:50%;left:50%;z-index:80;display:grid;gap:.55rem;width:min(26rem,calc(100vw - 1.25rem));padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-floating-card{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(9rem,1.25fr) auto minmax(7rem,.9fr) auto;gap:.58rem;width:100%;min-height:min(29rem,calc(100vh - 3.5rem));padding:.72rem;border:1px solid rgba(36,48,68,.18);border-radius:.75rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 20% 0%,var(--christianity-theme-gold-soft),transparent 45%);box-shadow:0 0 0 .18rem #fff4c294,0 0 2.2rem var(--christianity-theme-glow),0 2.4rem 5rem #102a4357,inset 0 0 0 .35rem #ffffff8c;touch-action:none;transform:translate(var(--preview-shift-x, 0px),var(--preview-shift-y, 0px)) perspective(48rem) rotateX(var(--preview-rotate-x, 5deg)) rotateY(var(--preview-rotate-y, -5deg));transition:transform 90ms ease-out}.christianity-full-card-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.42rem;align-items:center}.christianity-full-card-header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.25rem,5vw,1.85rem);line-height:1.04}.christianity-full-card-type-icon,.christianity-full-card-cost{display:grid;place-items:center;border-radius:999px}.christianity-full-card-type-icon{width:1.6rem;height:1.6rem;background:radial-gradient(circle at 50% 50%,rgba(95,111,42,.72) 0 .22rem,transparent .24rem),#2430441a}.christianity-full-card-cost{width:2.1rem;height:2.1rem;background:#ffd91a;color:#243044;font-size:1.35rem;font-weight:900;box-shadow:inset 0 -.12rem #52401c2e}.christianity-full-card-art{position:relative;display:grid;place-items:center;min-height:9rem;overflow:hidden;border-radius:.48rem;background:linear-gradient(135deg,#5f6f2a33,#d6a21d29),radial-gradient(circle at 50% 25%,rgba(255,255,255,.76),transparent 42%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-full-card-art img{width:100%;height:100%;object-fit:cover}.christianity-full-card-art>span{max-width:80%;color:#24304494;font-size:clamp(1.1rem,5vw,1.8rem);font-weight:900;line-height:1.05;text-align:center}.christianity-full-card-art small{position:absolute;right:0;bottom:.55rem;min-width:5rem;padding:.16rem .48rem;border-radius:999px 0 0 999px;background:#ffffffe6;box-shadow:0 .3rem .8rem #102a431f;color:#1f2933bd;font-size:.68rem;font-style:italic;font-weight:900;text-align:center;text-transform:uppercase}.christianity-full-card-verse,.christianity-full-card-effect{display:grid;gap:.32rem}.christianity-full-card-verse p,.christianity-full-card-effect p{margin:0;line-height:1.25}.christianity-full-card-verse{color:#171923;font-family:Georgia,Times New Roman,serif;font-size:clamp(.72rem,2.7vw,.86rem)}.christianity-full-card-verse strong{font-family:inherit;font-size:.78rem;font-weight:900}.christianity-full-card-effect{position:relative;align-content:start;min-height:7rem;padding:.6rem .7rem;overflow:hidden;border-radius:.45rem;background:radial-gradient(circle at 50% 72%,rgba(36,48,68,.07),transparent 34%),#ffffffdb}.christianity-full-card-stats{display:flex;gap:1rem;min-height:1.35rem}.christianity-full-card-stats strong{font-size:1rem;line-height:1}.christianity-full-card-effect>div:last-of-type{display:grid;gap:.12rem}.christianity-full-card-effect>div:last-of-type strong{font-size:.82rem}.christianity-full-card-effect p{font-size:clamp(.78rem,2.9vw,.92rem)}.christianity-full-card-rarity{position:absolute;top:.62rem;right:.62rem;width:.46rem;height:.46rem;border-radius:.12rem;transform:rotate(45deg)}.christianity-full-card-rarity.is-normal{background:#d1d5db}.christianity-full-card-rarity.is-uncommon{background:#22c55e}.christianity-full-card-rarity.is-rare{background:#3b82f6}.christianity-full-card-rarity.is-legendary{background:#eab308}.christianity-full-card-footer{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:.34rem;align-items:center;color:#1f2933ad;font-size:.58rem;line-height:1;text-transform:uppercase}.christianity-full-card-footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-floating-card-close{position:absolute;top:0;right:.15rem;z-index:4;min-height:2rem;padding:0 .6rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#ffffffe6;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .45rem 1rem #102a431a}.christianity-preview-backdrop,.christianity-history-backdrop,.christianity-info-backdrop{position:fixed;inset:0;border:0;border-radius:0;background:#0f172a75}.christianity-preview-backdrop{z-index:79}.christianity-info-backdrop{z-index:50}.christianity-info-panel{position:fixed;top:50%;left:50%;z-index:51;width:min(31rem,calc(100vw - 1.25rem));max-height:min(34rem,calc(100vh - 2rem));padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-info-close{position:absolute;top:0;right:.15rem;z-index:2}.christianity-rule-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.85rem;max-height:inherit;padding:1rem;overflow-y:auto;border:1px solid rgba(36,48,68,.14);border-radius:.9rem;background:linear-gradient(180deg,#fffffff7,#f8fafcf7),radial-gradient(circle at 8% 0%,rgba(37,99,235,.1),transparent 38%);box-shadow:0 1.2rem 2.6rem #102a433d,inset 0 0 0 .25rem #ffffff85}.christianity-rule-note-icon{display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:999px;background:color-mix(in srgb,var(--christianity-theme-focus) 12%,#ffffff);color:var(--christianity-theme-focus);font-size:1rem;font-weight:900;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent)}.christianity-rule-note small,.christianity-rule-note strong,.christianity-rule-note p,.christianity-rule-note h2{margin:0}.christianity-rule-note small{color:#1f29339e;font-size:.78rem;font-weight:800;text-transform:uppercase}.christianity-rule-note h2{margin-top:.18rem;font-size:clamp(1.5rem,7vw,2.2rem);line-height:1.05}.christianity-rule-note strong{display:inline-flex;width:fit-content;margin-top:.55rem;padding:.22rem .55rem;border-radius:999px;background:#edf2f7;font-size:.92rem}.christianity-rule-note p{margin-top:.75rem;color:#1f2933c7;line-height:1.45}.christianity-rule-note ul{display:grid;gap:.45rem;margin:.8rem 0 0;padding-left:1.05rem;color:#1f2933c7;line-height:1.35}.christianity-floating-card>small,.christianity-floating-card>span{color:#1f2933a3}.christianity-floating-card>strong{font-size:clamp(1.55rem,8vw,2.35rem);line-height:1.05}.christianity-floating-card>p{margin:0;align-self:end;font-size:.95rem;line-height:1.35}.christianity-floating-card-actions{position:relative;z-index:4;display:flex;justify-content:center;padding:0 .35rem;transform:translateZ(0)}.christianity-floating-card-actions button{min-height:2.35rem;padding:0 1rem;border:0;border-radius:999px;background:#102a43;color:#fff;font:inherit;font-size:.9rem;font-weight:800;box-shadow:0 .65rem 1.3rem #102a432e}.christianity-floating-card-actions button:disabled{cursor:not-allowed;opacity:.45}@media (min-width: 52rem){.christianity-floating-card-shell{width:min(29rem,calc(100vw - 3rem))}.christianity-floating-card{min-height:min(35rem,calc(100vh - 4rem));padding:1.35rem}}.christianity-history-backdrop{z-index:40}.christianity-history-drawer{position:fixed;right:auto;bottom:max(.5rem,env(safe-area-inset-bottom));left:50%;z-index:41;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.75rem;width:min(calc(100vw - 1rem),44rem);min-height:min(18rem,calc(100dvh - 1rem));max-height:min(32rem,calc(100dvh - 2rem));padding:.8rem;border:1px solid rgba(36,48,68,.16);border-radius:.75rem;background:#fffffffa;box-shadow:0 1.5rem 4rem #102a4347;transform:translate(-50%)}.christianity-history-drawer header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-history-drawer h2,.christianity-history-drawer p{margin:0}.christianity-history-drawer header span{display:grid;place-items:center;min-width:1.85rem;height:1.85rem;border-radius:999px;background:#edf2f7;font-weight:800}.christianity-dialog-actions{display:flex;align-items:center;gap:.45rem}.christianity-dialog-close{min-height:1.85rem;padding:0 .62rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#fff;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .8rem #102a4314}.christianity-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(5.4rem,1fr));gap:.55rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem .1rem .25rem}.christianity-history-grid::-webkit-scrollbar,.christianity-offering-list::-webkit-scrollbar{width:.65rem}.christianity-history-grid::-webkit-scrollbar-track,.christianity-offering-list::-webkit-scrollbar-track{border-radius:999px;background:#e2e8f0b8}.christianity-history-grid::-webkit-scrollbar-thumb,.christianity-offering-list::-webkit-scrollbar-thumb{border:.14rem solid rgba(226,232,240,.72);border-radius:999px;background:#24304452}.christianity-offerings-drawer{width:min(calc(100vw - 1rem),48rem);min-height:min(20rem,calc(100dvh - 1rem));max-height:min(34rem,calc(100dvh - 2rem))}.christianity-offering-list{display:grid;gap:.6rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem}.christianity-offering-row{display:grid;grid-template-columns:minmax(4.9rem,6.2rem) minmax(0,1fr);gap:.65rem;align-items:stretch;padding:.45rem;border:1px solid rgba(36,48,68,.12);border-radius:.65rem;background:#fff}.christianity-offering-row.is-exhausted{opacity:.68}.christianity-offering-card{min-height:7.4rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 82% 14%,#facc15 0 .48rem,transparent .5rem);box-shadow:0 .45rem 1rem #102a431a}.christianity-offering-card.christianity-card-frame{min-height:0;aspect-ratio:var(--christianity-card-aspect)}.christianity-offering-card small{color:#1f293394;font-size:.66rem;text-transform:uppercase}.christianity-offering-card p,.christianity-offering-row p{margin:0}.christianity-offering-card p{align-self:end;color:#1f2933a3;font-size:.72rem;line-height:1.2}.christianity-offering-row>div{display:grid;gap:.35rem;align-content:center;min-width:0}.christianity-offering-row>div p{color:#1f2933b8;font-size:.85rem;line-height:1.3}.christianity-offering-row>div button{justify-self:start;min-height:2.2rem;padding:0 .7rem;border:1px solid rgba(16,42,67,.16);border-radius:.5rem;background:#102a43;color:#fff;font:inherit;font-weight:800}.christianity-offering-row>div button:disabled{background:#e2e8f0;color:#1f293394}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible{outline:.1875rem solid color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent);outline-offset:.125rem}@media (max-width: 720px){.christianity-shell{padding:.55rem 0;border-right:0;border-left:0;border-radius:0}.christianity-header,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{align-items:stretch;flex-direction:column}.christianity-match-strip{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.35rem;padding:.35rem}.christianity-match-player{gap:.35rem}.christianity-match-player small{display:none}.christianity-scoreboard{min-width:3.65rem;padding:0 .35rem}.christianity-scoreboard strong{font-size:1.05rem}.christianity-table{gap:.35rem;padding-right:.25rem;padding-left:.25rem}.christianity-player-side{padding:.3rem .25rem}.christianity-battle-zone{--christianity-battle-card-width: min(5.2rem, calc((100vw - 4.25rem)/4) );grid-template-columns:repeat(4,var(--christianity-battle-card-width));justify-content:center;min-height:8.75rem;overflow-x:clip}.christianity-hand-fan{min-height:11.45rem;padding-bottom:2rem;overflow:visible}.christianity-hand-shelf{min-height:12.65rem;margin-top:-1rem;padding-top:1.35rem;padding-bottom:.9rem}.christianity-hand-shelf--opponent{min-height:6.65rem;margin-top:0;margin-bottom:0;padding-top:.4rem;padding-bottom:.85rem}.christianity-player-rack{grid-template-columns:minmax(4.5rem,5.7rem) minmax(4.4rem,1fr) minmax(3.5rem,4.8rem)}.christianity-shared-zone{gap:.45rem;grid-template-columns:repeat(3,minmax(0,1fr))}.christianity-zone-card,.christianity-zone-pile{min-height:6.15rem;padding:.58rem .46rem .5rem;gap:.24rem}.christianity-zone-pile i{top:2rem;right:.52rem;width:2.35rem;height:3.25rem}.christianity-offering-pile{min-height:6.85rem;padding:.88rem .46rem .55rem;gap:.24rem}.christianity-offering-pile i{top:2.25rem;left:.56rem;width:2.35rem;height:3.25rem}.christianity-card-preview-card{width:clamp(4.2rem,20vw,5.7rem);height:auto;min-height:0}.christianity-leader-card{width:clamp(4.55rem,20vw,5.7rem);min-height:0}.christianity-offering-row{grid-template-columns:minmax(4.5rem,5.5rem) minmax(0,1fr);gap:.5rem}.christianity-hand-fan--opponent{min-height:5.75rem;padding-bottom:.7rem}}\n"] }]
70602
+ }], ctorParameters: () => [] });
70603
+
68567
70604
  addIcons({ refreshOutline, sparklesOutline, trophyOutline });
68568
70605
  const BUBBLE_COLORS = {
68569
70606
  rose: '#ff4f9f',
@@ -68620,6 +70657,7 @@ class BubbleBlitzGameComponent {
68620
70657
  this.animating = signal(false);
68621
70658
  this.leaderboard = signal(this.readLeaderboard());
68622
70659
  this.confirmAction = signal(undefined);
70660
+ this.confirmedAction = signal(undefined);
68623
70661
  this.config = computed(() => MODE_CONFIG[this.mode()]);
68624
70662
  this.feverReady = computed(() => this.fever() >= this.config().feverTarget);
68625
70663
  this.feverProgress = computed(() => Math.min(100, Math.round((this.fever() / this.config().feverTarget) * 100)));
@@ -68799,13 +70837,12 @@ class BubbleBlitzGameComponent {
68799
70837
  closeConfirmModal() {
68800
70838
  this.confirmAction.set(undefined);
68801
70839
  }
68802
- confirmPendingAction(token) {
68803
- if (token !== 'confirm') {
68804
- this.closeConfirmModal();
68805
- return;
68806
- }
68807
- const action = this.confirmAction();
70840
+ handleConfirmModalDismissed() {
68808
70841
  this.confirmAction.set(undefined);
70842
+ const action = this.confirmedAction();
70843
+ this.confirmedAction.set(undefined);
70844
+ if (!action)
70845
+ return;
68809
70846
  if (action === 'restart') {
68810
70847
  this.start();
68811
70848
  return;
@@ -68818,6 +70855,15 @@ class BubbleBlitzGameComponent {
68818
70855
  this.resetToGamesMenu();
68819
70856
  }
68820
70857
  }
70858
+ confirmPendingAction(token) {
70859
+ if (token !== 'confirm') {
70860
+ this.closeConfirmModal();
70861
+ return;
70862
+ }
70863
+ const action = this.confirmAction();
70864
+ this.confirmedAction.set(action);
70865
+ this.confirmAction.set(undefined);
70866
+ }
68821
70867
  startTimer() {
68822
70868
  this.stopTimer();
68823
70869
  this.timer = window.setInterval(() => {
@@ -69121,7 +71167,7 @@ class BubbleBlitzGameComponent {
69121
71167
  <ion-modal
69122
71168
  [isOpen]="!!confirmAction()"
69123
71169
  cssClass="val-modal-adaptive"
69124
- (didDismiss)="closeConfirmModal()"
71170
+ (didDismiss)="handleConfirmModalDismissed()"
69125
71171
  >
69126
71172
  <ng-template>
69127
71173
  <val-modal-layout
@@ -69271,7 +71317,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
69271
71317
  <ion-modal
69272
71318
  [isOpen]="!!confirmAction()"
69273
71319
  cssClass="val-modal-adaptive"
69274
- (didDismiss)="closeConfirmModal()"
71320
+ (didDismiss)="handleConfirmModalDismissed()"
69275
71321
  >
69276
71322
  <ng-template>
69277
71323
  <val-modal-layout
@@ -69335,6 +71381,7 @@ class MemoryGameComponent {
69335
71381
  this.lockBoard = signal(false);
69336
71382
  this.leaderboard = signal(this.readLeaderboard());
69337
71383
  this.confirmAction = signal(undefined);
71384
+ this.confirmedAction = signal(undefined);
69338
71385
  this.profileConfig = computed(() => PROFILE_CONFIG[this.profile()]);
69339
71386
  this.pairCount = computed(() => this.profileConfig().pairs);
69340
71387
  this.boardClass = computed(() => `memory-board ${this.profileConfig().boardClass}`);
@@ -69472,13 +71519,12 @@ class MemoryGameComponent {
69472
71519
  closeConfirmModal() {
69473
71520
  this.confirmAction.set(undefined);
69474
71521
  }
69475
- confirmPendingAction(token) {
69476
- if (token !== 'confirm') {
69477
- this.closeConfirmModal();
69478
- return;
69479
- }
69480
- const action = this.confirmAction();
71522
+ handleConfirmModalDismissed() {
69481
71523
  this.confirmAction.set(undefined);
71524
+ const action = this.confirmedAction();
71525
+ this.confirmedAction.set(undefined);
71526
+ if (!action)
71527
+ return;
69482
71528
  if (action === 'restart') {
69483
71529
  this.start();
69484
71530
  return;
@@ -69491,6 +71537,15 @@ class MemoryGameComponent {
69491
71537
  this.resetToGamesMenu();
69492
71538
  }
69493
71539
  }
71540
+ confirmPendingAction(token) {
71541
+ if (token !== 'confirm') {
71542
+ this.closeConfirmModal();
71543
+ return;
71544
+ }
71545
+ const action = this.confirmAction();
71546
+ this.confirmedAction.set(action);
71547
+ this.confirmAction.set(undefined);
71548
+ }
69494
71549
  flip(card) {
69495
71550
  if (this.lockBoard() || card.flipped || card.matched || this.won() || this.failed())
69496
71551
  return;
@@ -69805,7 +71860,7 @@ class MemoryGameComponent {
69805
71860
  <ion-modal
69806
71861
  [isOpen]="!!confirmAction()"
69807
71862
  cssClass="val-modal-adaptive"
69808
- (didDismiss)="closeConfirmModal()"
71863
+ (didDismiss)="handleConfirmModalDismissed()"
69809
71864
  >
69810
71865
  <ng-template>
69811
71866
  <val-modal-layout
@@ -69963,7 +72018,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
69963
72018
  <ion-modal
69964
72019
  [isOpen]="!!confirmAction()"
69965
72020
  cssClass="val-modal-adaptive"
69966
- (didDismiss)="closeConfirmModal()"
72021
+ (didDismiss)="handleConfirmModalDismissed()"
69967
72022
  >
69968
72023
  <ng-template>
69969
72024
  <val-modal-layout
@@ -70309,6 +72364,7 @@ class SimonGameComponent {
70309
72364
  this.activePad = signal(undefined);
70310
72365
  this.leaderboard = signal(this.readLeaderboard());
70311
72366
  this.confirmAction = signal(undefined);
72367
+ this.confirmedAction = signal(undefined);
70312
72368
  this.modeConfig = computed(() => SIMON_MODES[this.mode()]);
70313
72369
  this.bestRound = computed(() => this.modeLeaderboard()[0]?.round ?? 0);
70314
72370
  this.modeLeaderboard = computed(() => this.leaderboard()
@@ -70408,13 +72464,12 @@ class SimonGameComponent {
70408
72464
  closeConfirmModal() {
70409
72465
  this.confirmAction.set(undefined);
70410
72466
  }
70411
- confirmPendingAction(token) {
70412
- if (token !== 'confirm') {
70413
- this.closeConfirmModal();
70414
- return;
70415
- }
70416
- const action = this.confirmAction();
72467
+ handleConfirmModalDismissed() {
70417
72468
  this.confirmAction.set(undefined);
72469
+ const action = this.confirmedAction();
72470
+ this.confirmedAction.set(undefined);
72471
+ if (!action)
72472
+ return;
70418
72473
  if (action === 'restart') {
70419
72474
  this.start();
70420
72475
  return;
@@ -70427,6 +72482,15 @@ class SimonGameComponent {
70427
72482
  this.resetToGamesMenu();
70428
72483
  }
70429
72484
  }
72485
+ confirmPendingAction(token) {
72486
+ if (token !== 'confirm') {
72487
+ this.closeConfirmModal();
72488
+ return;
72489
+ }
72490
+ const action = this.confirmAction();
72491
+ this.confirmedAction.set(action);
72492
+ this.confirmAction.set(undefined);
72493
+ }
70430
72494
  tap(pad) {
70431
72495
  if (this.phase() !== 'waiting' || !this.acceptingInput)
70432
72496
  return;
@@ -70670,7 +72734,7 @@ class SimonGameComponent {
70670
72734
  <ion-modal
70671
72735
  [isOpen]="!!confirmAction()"
70672
72736
  cssClass="val-modal-adaptive"
70673
- (didDismiss)="closeConfirmModal()"
72737
+ (didDismiss)="handleConfirmModalDismissed()"
70674
72738
  >
70675
72739
  <ng-template>
70676
72740
  <val-modal-layout
@@ -70800,7 +72864,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
70800
72864
  <ion-modal
70801
72865
  [isOpen]="!!confirmAction()"
70802
72866
  cssClass="val-modal-adaptive"
70803
- (didDismiss)="closeConfirmModal()"
72867
+ (didDismiss)="handleConfirmModalDismissed()"
70804
72868
  >
70805
72869
  <ng-template>
70806
72870
  <val-modal-layout
@@ -86116,5 +88180,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
86116
88180
  * Generated bundle index. Do not edit.
86117
88181
  */
86118
88182
 
86119
- export { ACTION_CARD_DEFAULTS, AD_SIZE_MAP, API_TABLE_COLUMN_LABELS, APP_VERSION_PLATFORM_PLUGIN, APP_VERSION_REMOTE_PLUGIN, ARTICLE_CARD_DEFAULTS, ARTICLE_SPACING, ARTICLE_STRIP_DEFAULTS, AUTH_CTA_DEFAULTS, AVATAR_UPLOAD_DEFAULTS, AboutViewComponent, AccordionComponent, AccountViewComponent, ActionCardComponent, ActionHeaderComponent, ActionType, AdSlotComponent, AdsLoaderService, AdsService, AlertBoxComponent, AnalyticsErrorHandler, AnalyticsRouterTracker, AnalyticsService, AnimatedTerminalComponent, ApiKeyCreateModalComponent, ApiKeyService, ApiKeysModalComponent, ApiKeysViewComponent, AppConfigService, AppVersionService, ArticleBuilder, ArticleCardComponent, ArticleComponent, ArticleStripComponent, AttachmentUploaderComponent, AuthBackgroundComponent, AuthCtaComponent, AuthService, AuthStateService, AuthStorageService, AuthSyncService, AvatarComponent, AvatarUploadComponent, BOTTOM_NAV_DEFAULTS, BannerComponent, BlogPostBuilder, BottomNavComponent, BoxComponent, BreadcrumbComponent, BubbleBlitzGameComponent, ButtonComponent, ButtonGroupComponent, CALLOUT_LABELS, CHESSIMALS_BOT_PROFILES, CHEV_KEYS, CIRCLE_KEYS, COMMON_COUNTRY_CODES, COMMON_CURRENCIES, CORNER_KEYS, CTA_CARD_DEFAULTS, CURRENCY_INFO, CardComponent, CardSection, CardType, CardsCarouselComponent, ChangeEmailModalComponent, ChangePasswordModalComponent, ChatComposerComponent, ChatInputComponent, ChatWindowComponent, CheckInputComponent, CheckboxRadioInputComponent, ChessimalsGameComponent, ChessimalsOnlineService, ChipGroupComponent, CodeDisplayComponent, CommandDisplayComponent, CommentComponent, CommentInputComponent, CommentSectionComponent, CompanyFooterComponent, ComponentStates, ConfirmationDialogService, ContainerComponent, ContentLoaderComponent, ContentReactionComponent, ContentReactionModalComponent, ContentService, ContentTransformer, ConversationListItemComponent, ConversationService, CookieBannerComponent, CookieSettingsComponent, CountdownComponent, CreateOrgModalComponent, CtaCardComponent, CurrencyInputComponent, DEFAULT_ADS_CONFIG, DEFAULT_APP_CONFIG_SERVICE_CONFIG, DEFAULT_APP_VERSION_SERVICE_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_BACK_HEADER, DEFAULT_BUTTON_PRESETS, DEFAULT_CANCEL_BUTTON, DEFAULT_CHECK_INTERVAL_MS, DEFAULT_CONFIRM_BUTTON, DEFAULT_COUNTDOWN_LABELS, DEFAULT_COUNTDOWN_LABELS_EN, DEFAULT_DEBUG_CONSOLE_CONFIG, DEFAULT_DONATION_CONFIG, DEFAULT_EMPTY_STATE, DEFAULT_EMULATOR_CONFIG, DEFAULT_FEEDBACK_CONFIG, DEFAULT_FEEDBACK_TYPE_OPTIONS, DEFAULT_HOME_HEADER, DEFAULT_INFINITE_LIST_METADATA, DEFAULT_LOGIN_LOGO, DEFAULT_MODAL_CANCEL_BUTTON, DEFAULT_MODAL_CONFIRM_BUTTON, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PLATFORMS, DEFAULT_POST_UPDATE_GRACE_MS, DEFAULT_PRESETS, DEFAULT_REFRESHER_METADATA, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLASH_SCREEN_CONFIG, DataTableComponent, DatasetPaginationService, DateInputComponent, DatePickerComponent, DateRangeInputComponent, DebugConsoleComponent, DeleteAccountModalComponent, DetailSkeletonComponent, DeviceService, DisplayComponent, DividerComponent, DocsApiTableComponent, DocsBreadcrumbComponent, DocsBuilder, DocsCalloutComponent, DocsCodeExampleComponent, DocsLayoutComponent, DocsNavLinksComponent, DocsNavigationService, DocsPageComponent, DocsSearchComponent, DocsSectionComponent, DocsShellComponent, DocsSidebarComponent, DocsTocComponent, DonationService, DownloadService, EditOrgModalComponent, EmptyStateComponent, EntityCardComponent, EntityFeedService, ExpandableTextComponent, ExternalBrowserService, FEATURES_LIST_DEFAULTS, FUN_MODAL_DEFAULTS, FabComponent, FaqComponent, FeaturesListComponent, FeedbackFormComponent, FeedbackService, FieldListComponent, FileInputComponent, FirebaseService, FirestoreCollectionFactory, FirestoreService, FontSizeOption, FontSizeSelectorComponent, FontSizeService, FooterComponent, FooterLinksComponent, FormComponent, FormFieldComponent, FormSchemaBuilderService, FormSkeletonComponent, FunHeaderComponent, FunModalComponent, GlassComponent, GlowCardComponent, GlowComponent, GridSkeletonComponent, HANDOFF_ROUTE_PARAM, HANDOFF_TOKEN_PARAM, HandoffService, HapticsService, HasPermissionDirective, HeaderActionsService, HeaderComponent, HintComponent, HorizontalScrollComponent, HrefComponent, HtmlViewerModalComponent, I18nService, IMAGE_DEFAULTS, INITIAL_AUTH_STATE, INITIAL_MFA_STATE, INVITATION_CARD_DEFAULTS, IONIC_COLORS$5 as IONIC_COLORS, Icon, IconComponent, IconService, ImageComponent, ImageCropComponent, ImageService, InAppBrowserService, InfiniteListComponent, InfoComponent, InputI18nHelper, InputType, InvitationCardComponent, InviteMemberModalComponent, ItemListComponent, KNOWN_ROUTES, LANG_STORAGE_KEY$1 as LANG_STORAGE_KEY, LEGAL_CONTENT_CONFIG, LOGGED_IN_HINT_COOKIE, LOGIN_DEFAULTS, LandingSplitComponent, LandingStepsComponent, LanguageSelectorComponent, LanguageSelectorV2Component, LayeredCardComponent, LegalContentService, LegalLinkService, LinkComponent, LinkProcessorService, LinkedProvidersComponent, LinksAccordionComponent, LinksCakeComponent, ListSkeletonComponent, LiveReadFallbackService, LoadMoreComponent, LoadingDirective, LocalStorageService, LocaleService, LoginAttemptModalComponent, LoginComponent, MEDIA_OBJECT_DEFAULTS, MEMBER_CARD_DEFAULTS, META_SCHEMA_VERSION, METRIC_CARD_DEFAULTS, MINI_GAME_PLAYER_AVATARS, MINI_GAME_PLAYER_COLORS, MODAL_SIZES, MOTIF_KEYS, MOTION, MaintenancePageComponent, MarkdownArticleParserService, MediaObjectComponent, MediaViewerModalComponent, MemberCardComponent, MemberDetailModalComponent, MemberImportModalComponent, MemoryGameComponent, MenuComponent, MessageBubbleComponent, MessagingService, MetaService, MetricCardComponent, MfaModalComponent, MiniGamePlayerProfileService, MiniGamesMenuComponent, ModalLayoutComponent, ModalService, ModalShellComponent, MultiSelectSearchComponent, NUM_KEYS, NavigationService, NetworkBannerComponent, NetworkStatusService, NewsBuilder, NoContentComponent, NotesBoxComponent, NotificationActionService, NotificationPreferencesViewComponent, NotificationsService, NotificationsViewComponent, NumberFromToComponent, NumberStepperComponent, OAUTH_PROVIDERS_INFO, OAuthCallbackComponent, OAuthService, OperationReferenceComponent, OptionCardsComponent, OrgInfoSheetComponent, OrgService, OrgSwitchService, OrganizationViewComponent, PATTERN_MOTIFS, PATTERN_PALETTES, PATTERN_STYLE_CONFIGS, PLATFORM_CONFIGS, POST_UPDATE_TS_KEY, PageContentComponent, PageLinksComponent, PageRefreshService, PageTemplateComponent, PageWavesComponent, PageWrapperComponent, PaginationComponent, PaginationService, PasswordInputComponent, PatternComponent, PdfService, PermissionCatalogService, PermissionSelectorComponent, PermissionsModalComponent, PermissionsViewComponent, PhoneDisplayComponent, PhoneFormatService, PhoneInputComponent, PickerV2Component, PillComponent, PinInputComponent, PlainCodeBoxComponent, PopoverSelectorComponent, PreferencesService, PreferencesViewComponent, PresetService, PriceTagComponent, PricingTableComponent, ProcessLinksPipe, ProfileContentComponent, ProfileModalComponent, ProfileSkeletonComponent, ProfileViewComponent, ProgressBarComponent, ProgressRingComponent, ProgressStatusComponent, PrompterComponent, QR_PRESETS, QrCodeComponent, QrGeneratorService, QrScannerComponent, QueryBuilder, QuoteBoxComponent, REQUEST_STATUSES, RadioInputComponent, RangeInputComponent, RatingComponent, ReactionBarComponent, ReactionsService, RefresherComponent, RequestFirestoreService, RequestFormBuilderService, RequestFormComponent, RequestModalComponent, RequestService, RetroAudioService, RightsFooterComponent, RotatingTextComponent, SEARCH_HEADER_DEFAULTS, SETTINGS_SECTIONS_CATALOG, SHAPE_KEYS, SHARE_PROFILE_MODAL_DEFAULTS, SKELETON_LAYOUT_DEFAULT_ROWS, SKELETON_PRESETS, SOLID_KEYS, STATS_BAR_DEFAULTS, STROKE_KEYS, SearchHeaderComponent, SearchSelectorComponent, SearchbarComponent, SectionHeaderComponent, SecurityViewComponent, SegmentControlComponent, SelectSearchComponent, SessionListModalComponent, SessionService, SessionTransitionOverlayComponent, SettingsHubComponent, ShareButtonsComponent, ShareProfileModalComponent, SimonGameComponent, SimpleComponent, SkeletonComponent, SkeletonLayoutComponent, SkeletonService, SplashComponent, SplashScreenService, StatsBarComponent, StatsCardComponent, StepperComponent, StorageService, SwipeCarouselComponent, SwitchOrgModalComponent, TRI_KEYS, TabbedContentComponent, TableSkeletonComponent, TabsComponent, Terminal404Component, TestimonialCardComponent, TestimonialCarouselComponent, TextComponent, TextInputComponent, TextareaInputComponent, ThemeOption, ThemeService, ThreadPanelComponent, TicketCardComponent, TicketCardImageService, TimelineComponent, TitleBlockComponent, TitleComponent, ToastService, ToggleInputComponent, TokenService, ToolbarActionType, ToolbarComponent, TransferOwnershipModalComponent, TranslatePipe, TypedCollection, TypingIndicatorComponent, UPDATE_BANNER_DEFAULT_CONTENT, UPDATE_BANNER_I18N_NAMESPACE, UpdateBannerComponent, UsageMetersComponent, UsageService, UserAvatarComponent, UsernameInputComponent, VALTECH_ADS_CONFIG, VALTECH_APP_CONFIG, VALTECH_APP_VERSION, VALTECH_AUTH_CONFIG, VALTECH_CHAT_CONFIG, VALTECH_COMPANY_LINKS, VALTECH_CONTENT_CONFIG, VALTECH_DEBUG_CONSOLE, VALTECH_DEFAULT_CONTENT, VALTECH_DONATION_CONFIG, VALTECH_FEEDBACK_CONFIG, VALTECH_FIREBASE_CONFIG, VALTECH_FOOTER_I18N, VALTECH_FOOTER_LOGO, VALTECH_LANGUAGE_SELECTOR, VALTECH_LEGAL_CONFIG, VALTECH_NETWORK_ERROR_KEY, VALTECH_REACTIONS_CONFIG, VALTECH_SETTINGS_MENU_LINKS, VALTECH_SITE_PATHS, VALTECH_SOCIAL_LINKS, VALTECH_SPLASH_SCREEN, VALTECH_WEB_BASE_URLS, VALTECH_WHATSAPP_CONFIG, VERSION, ValtechErrorService, VerifyViewComponent, WhatsappFabComponent, WhatsappService, WizardComponent, WizardFooterComponent, WorkflowService, applyChessimalsMove, applyDefaultValueToControl, authGuard, authInterceptor, authPasswordValidator, beautifyLegalArticle, blogPost, buildCompanyFooterProps, buildFooterLinks, buildLegalLinkResolver, buildPath, buildSettingsCards, button, canSubmitRequestType, chooseChessimalsBotMove, collections, connectPageRefresh, createChessimalsGame, createChessimalsReviewState, createErrorStateProps, createFirebaseConfig, createGlowCardProps, createInitialDatasetState, createInitialPaginationState, createNumberFromToField, createPageState, createPermissionLabeler, createRefreshableStream, createTitleProps, datasetPageFromLegacyCursor, docs, errorLoggingInterceptor, extractPathParams, formatClockTime, formatDateSeparator, formatRelativeTime, generatePatternTiles, generateRandomTile, getAppInfo, getAppVersion, getChessimalsAllLegalMoves, getChessimalsLegalMoves, getChessimalsPieceAt, getCollectionPath, getDocumentId, getTimeOfDayKey, goToTop, groupPermissionsByScope, guestGuard, hasEmulators, iconButton, interpretError, isAtEnd, isCollectionPath, isDocumentPath, isEmulatorMode, isIonicColor, isKnownRoute, isValidPath, joinPath, maxLength, mulberry32, news, parseMarkdownArticle, permissionGuard, permissionGuardFromRoute, positionKey, provideLegalContent, provideSplashScreen, provideValtechAboutRoutes, provideValtechAccountRoutes, provideValtechAds, provideValtechApiKeysRoutes, provideValtechAppConfig, provideValtechAppVersion, provideValtechAppVersionHttp, provideValtechAuth, provideValtechAuthInterceptor, provideValtechChat, provideValtechContent, provideValtechDebugConsole, provideValtechDonations, provideValtechErrorHandling, provideValtechFeedback, provideValtechFirebase, provideValtechI18n, provideValtechLegal, provideValtechNotificationClickActions, provideValtechNotificationPreferencesRoutes, provideValtechNotificationsRoutes, provideValtechOrganizationRoutes, provideValtechPermissionsRoutes, provideValtechPreferencesRoutes, provideValtechPresets, provideValtechProfileRoutes, provideValtechReactions, provideValtechSecurityRoutes, provideValtechSettingsRoutes, provideValtechSite, provideValtechSkeleton, provideValtechWhatsapp, query, rbacGuard, renderPatternSvgInner, replaceSpecialChars, requestSubmitMode, resignChessimalsGame, resolveColor, resolveInputDefaultValue, resolveIonicColor, resolveWebBaseUrl, roleGuard, selectableRequestTypes, storagePaths, superAdminGuard, toArticle, validateRoutes };
88183
+ export { ACTION_CARD_DEFAULTS, AD_SIZE_MAP, API_TABLE_COLUMN_LABELS, APP_VERSION_PLATFORM_PLUGIN, APP_VERSION_REMOTE_PLUGIN, ARTICLE_CARD_DEFAULTS, ARTICLE_SPACING, ARTICLE_STRIP_DEFAULTS, AUTH_CTA_DEFAULTS, AVATAR_UPLOAD_DEFAULTS, AboutViewComponent, AccordionComponent, AccountViewComponent, ActionCardComponent, ActionHeaderComponent, ActionType, AdSlotComponent, AdsLoaderService, AdsService, AlertBoxComponent, AnalyticsErrorHandler, AnalyticsRouterTracker, AnalyticsService, AnimatedTerminalComponent, ApiKeyCreateModalComponent, ApiKeyService, ApiKeysModalComponent, ApiKeysViewComponent, AppConfigService, AppVersionService, ArticleBuilder, ArticleCardComponent, ArticleComponent, ArticleStripComponent, AttachmentUploaderComponent, AuthBackgroundComponent, AuthCtaComponent, AuthService, AuthStateService, AuthStorageService, AuthSyncService, AvatarComponent, AvatarUploadComponent, BOTTOM_NAV_DEFAULTS, BannerComponent, BlogPostBuilder, BottomNavComponent, BoxComponent, BreadcrumbComponent, BubbleBlitzGameComponent, ButtonComponent, ButtonGroupComponent, CALLOUT_LABELS, CHESSIMALS_BOT_PROFILES, CHEV_KEYS, CIRCLE_KEYS, COMMON_COUNTRY_CODES, COMMON_CURRENCIES, CORNER_KEYS, CTA_CARD_DEFAULTS, CURRENCY_INFO, CardComponent, CardSection, CardType, CardsCarouselComponent, ChangeEmailModalComponent, ChangePasswordModalComponent, ChatComposerComponent, ChatInputComponent, ChatWindowComponent, CheckInputComponent, CheckboxRadioInputComponent, ChessimalsGameComponent, ChessimalsOnlineService, ChipGroupComponent, ChristianityGameComponent, CodeDisplayComponent, CommandDisplayComponent, CommentComponent, CommentInputComponent, CommentSectionComponent, CompanyFooterComponent, ComponentStates, ConfirmationDialogService, ContainerComponent, ContentLoaderComponent, ContentReactionComponent, ContentReactionModalComponent, ContentService, ContentTransformer, ConversationListItemComponent, ConversationService, CookieBannerComponent, CookieSettingsComponent, CountdownComponent, CreateOrgModalComponent, CtaCardComponent, CurrencyInputComponent, DEFAULT_ADS_CONFIG, DEFAULT_APP_CONFIG_SERVICE_CONFIG, DEFAULT_APP_VERSION_SERVICE_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_BACK_HEADER, DEFAULT_BUTTON_PRESETS, DEFAULT_CANCEL_BUTTON, DEFAULT_CHECK_INTERVAL_MS, DEFAULT_CONFIRM_BUTTON, DEFAULT_COUNTDOWN_LABELS, DEFAULT_COUNTDOWN_LABELS_EN, DEFAULT_DEBUG_CONSOLE_CONFIG, DEFAULT_DONATION_CONFIG, DEFAULT_EMPTY_STATE, DEFAULT_EMULATOR_CONFIG, DEFAULT_FEEDBACK_CONFIG, DEFAULT_FEEDBACK_TYPE_OPTIONS, DEFAULT_HOME_HEADER, DEFAULT_INFINITE_LIST_METADATA, DEFAULT_LOGIN_LOGO, DEFAULT_MODAL_CANCEL_BUTTON, DEFAULT_MODAL_CONFIRM_BUTTON, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PLATFORMS, DEFAULT_POST_UPDATE_GRACE_MS, DEFAULT_PRESETS, DEFAULT_REFRESHER_METADATA, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLASH_SCREEN_CONFIG, DataTableComponent, DatasetPaginationService, DateInputComponent, DatePickerComponent, DateRangeInputComponent, DebugConsoleComponent, DeleteAccountModalComponent, DetailSkeletonComponent, DeviceService, DisplayComponent, DividerComponent, DocsApiTableComponent, DocsBreadcrumbComponent, DocsBuilder, DocsCalloutComponent, DocsCodeExampleComponent, DocsLayoutComponent, DocsNavLinksComponent, DocsNavigationService, DocsPageComponent, DocsSearchComponent, DocsSectionComponent, DocsShellComponent, DocsSidebarComponent, DocsTocComponent, DonationService, DownloadService, EditOrgModalComponent, EmptyStateComponent, EntityCardComponent, EntityFeedService, ExpandableTextComponent, ExternalBrowserService, FEATURES_LIST_DEFAULTS, FUN_MODAL_DEFAULTS, FabComponent, FaqComponent, FeaturesListComponent, FeedbackFormComponent, FeedbackService, FieldListComponent, FileInputComponent, FirebaseService, FirestoreCollectionFactory, FirestoreService, FontSizeOption, FontSizeSelectorComponent, FontSizeService, FooterComponent, FooterLinksComponent, FormComponent, FormFieldComponent, FormSchemaBuilderService, FormSkeletonComponent, FunHeaderComponent, FunModalComponent, GlassComponent, GlowCardComponent, GlowComponent, GridSkeletonComponent, HANDOFF_ROUTE_PARAM, HANDOFF_TOKEN_PARAM, HandoffService, HapticsService, HasPermissionDirective, HeaderActionsService, HeaderComponent, HintComponent, HorizontalScrollComponent, HrefComponent, HtmlViewerModalComponent, I18nService, IMAGE_DEFAULTS, INITIAL_AUTH_STATE, INITIAL_MFA_STATE, INVITATION_CARD_DEFAULTS, IONIC_COLORS$5 as IONIC_COLORS, Icon, IconComponent, IconService, ImageComponent, ImageCropComponent, ImageService, InAppBrowserService, InfiniteListComponent, InfoComponent, InputI18nHelper, InputType, InvitationCardComponent, InviteMemberModalComponent, ItemListComponent, KNOWN_ROUTES, LANG_STORAGE_KEY$1 as LANG_STORAGE_KEY, LEGAL_CONTENT_CONFIG, LOGGED_IN_HINT_COOKIE, LOGIN_DEFAULTS, LandingSplitComponent, LandingStepsComponent, LanguageSelectorComponent, LanguageSelectorV2Component, LayeredCardComponent, LegalContentService, LegalLinkService, LightRippleDirective, LinkComponent, LinkProcessorService, LinkedProvidersComponent, LinksAccordionComponent, LinksCakeComponent, ListSkeletonComponent, LiveReadFallbackService, LoadMoreComponent, LoadingDirective, LocalStorageService, LocaleService, LoginAttemptModalComponent, LoginComponent, MEDIA_OBJECT_DEFAULTS, MEMBER_CARD_DEFAULTS, META_SCHEMA_VERSION, METRIC_CARD_DEFAULTS, MINI_GAME_PLAYER_AVATARS, MINI_GAME_PLAYER_COLORS, MODAL_SIZES, MOTIF_KEYS, MOTION, MaintenancePageComponent, MarkdownArticleParserService, MediaObjectComponent, MediaViewerModalComponent, MemberCardComponent, MemberDetailModalComponent, MemberImportModalComponent, MemoryGameComponent, MenuComponent, MessageBubbleComponent, MessagingService, MetaService, MetricCardComponent, MfaModalComponent, MiniGamePlayerProfileService, MiniGamesMenuComponent, ModalLayoutComponent, ModalService, ModalShellComponent, MultiSelectSearchComponent, NUM_KEYS, NavigationService, NetworkBannerComponent, NetworkStatusService, NewsBuilder, NoContentComponent, NotesBoxComponent, NotificationActionService, NotificationPreferencesViewComponent, NotificationsService, NotificationsViewComponent, NumberFromToComponent, NumberStepperComponent, OAUTH_PROVIDERS_INFO, OAuthCallbackComponent, OAuthService, OperationReferenceComponent, OptionCardsComponent, OrgInfoSheetComponent, OrgService, OrgSwitchService, OrganizationViewComponent, PATTERN_MOTIFS, PATTERN_PALETTES, PATTERN_STYLE_CONFIGS, PLATFORM_CONFIGS, POST_UPDATE_TS_KEY, PageContentComponent, PageLinksComponent, PageRefreshService, PageTemplateComponent, PageWavesComponent, PageWrapperComponent, PaginationComponent, PaginationService, PasswordInputComponent, PatternComponent, PdfService, PermissionCatalogService, PermissionSelectorComponent, PermissionsModalComponent, PermissionsViewComponent, PhoneDisplayComponent, PhoneFormatService, PhoneInputComponent, PickerV2Component, PillComponent, PinInputComponent, PlainCodeBoxComponent, PopoverSelectorComponent, PreferencesService, PreferencesViewComponent, PresetService, PriceTagComponent, PricingTableComponent, ProcessLinksPipe, ProfileContentComponent, ProfileModalComponent, ProfileSkeletonComponent, ProfileViewComponent, ProgressBarComponent, ProgressRingComponent, ProgressStatusComponent, PrompterComponent, QR_PRESETS, QrCodeComponent, QrGeneratorService, QrScannerComponent, QueryBuilder, QuoteBoxComponent, REQUEST_STATUSES, RadioInputComponent, RangeInputComponent, RatingComponent, ReactionBarComponent, ReactionsService, RefresherComponent, RequestFirestoreService, RequestFormBuilderService, RequestFormComponent, RequestModalComponent, RequestService, RetroAudioService, RightsFooterComponent, RotatingTextComponent, SEARCH_HEADER_DEFAULTS, SETTINGS_SECTIONS_CATALOG, SHAPE_KEYS, SHARE_PROFILE_MODAL_DEFAULTS, SKELETON_LAYOUT_DEFAULT_ROWS, SKELETON_PRESETS, SOLID_KEYS, STATS_BAR_DEFAULTS, STROKE_KEYS, SearchHeaderComponent, SearchSelectorComponent, SearchbarComponent, SectionHeaderComponent, SecurityViewComponent, SegmentControlComponent, SelectSearchComponent, SessionListModalComponent, SessionService, SessionTransitionOverlayComponent, SettingsHubComponent, ShareButtonsComponent, ShareProfileModalComponent, SimonGameComponent, SimpleComponent, SkeletonComponent, SkeletonLayoutComponent, SkeletonService, SplashComponent, SplashScreenService, StatsBarComponent, StatsCardComponent, StepperComponent, StorageService, SwipeCarouselComponent, SwitchOrgModalComponent, TRI_KEYS, TabbedContentComponent, TableSkeletonComponent, TabsComponent, Terminal404Component, TestimonialCardComponent, TestimonialCarouselComponent, TextComponent, TextInputComponent, TextareaInputComponent, ThemeOption, ThemeService, ThreadPanelComponent, TicketCardComponent, TicketCardImageService, TimelineComponent, TitleBlockComponent, TitleComponent, ToastService, ToggleInputComponent, TokenService, ToolbarActionType, ToolbarComponent, TransferOwnershipModalComponent, TranslatePipe, TypedCollection, TypingIndicatorComponent, UPDATE_BANNER_DEFAULT_CONTENT, UPDATE_BANNER_I18N_NAMESPACE, UpdateBannerComponent, UsageMetersComponent, UsageService, UserAvatarComponent, UsernameInputComponent, VALTECH_ADS_CONFIG, VALTECH_APP_CONFIG, VALTECH_APP_VERSION, VALTECH_AUTH_CONFIG, VALTECH_CHAT_CONFIG, VALTECH_COMPANY_LINKS, VALTECH_CONTENT_CONFIG, VALTECH_DEBUG_CONSOLE, VALTECH_DEFAULT_CONTENT, VALTECH_DONATION_CONFIG, VALTECH_FEEDBACK_CONFIG, VALTECH_FIREBASE_CONFIG, VALTECH_FOOTER_I18N, VALTECH_FOOTER_LOGO, VALTECH_LANGUAGE_SELECTOR, VALTECH_LEGAL_CONFIG, VALTECH_NETWORK_ERROR_KEY, VALTECH_REACTIONS_CONFIG, VALTECH_SETTINGS_MENU_LINKS, VALTECH_SITE_PATHS, VALTECH_SOCIAL_LINKS, VALTECH_SPLASH_SCREEN, VALTECH_WEB_BASE_URLS, VALTECH_WHATSAPP_CONFIG, VERSION, ValtechErrorService, VerifyViewComponent, WhatsappFabComponent, WhatsappService, WizardComponent, WizardFooterComponent, WorkflowService, applyChessimalsMove, applyDefaultValueToControl, authGuard, authInterceptor, authPasswordValidator, beautifyLegalArticle, blogPost, buildCompanyFooterProps, buildFooterLinks, buildLegalLinkResolver, buildPath, buildSettingsCards, button, canSubmitRequestType, chooseChessimalsBotMove, collections, connectPageRefresh, createChessimalsGame, createChessimalsReviewState, createErrorStateProps, createFirebaseConfig, createGlowCardProps, createInitialDatasetState, createInitialPaginationState, createNumberFromToField, createPageState, createPermissionLabeler, createRefreshableStream, createTitleProps, datasetPageFromLegacyCursor, docs, errorLoggingInterceptor, extractPathParams, formatClockTime, formatDateSeparator, formatRelativeTime, generatePatternTiles, generateRandomTile, getAppInfo, getAppVersion, getChessimalsAllLegalMoves, getChessimalsLegalMoves, getChessimalsPieceAt, getCollectionPath, getDocumentId, getTimeOfDayKey, goToTop, groupPermissionsByScope, guestGuard, hasEmulators, iconButton, interpretError, isAtEnd, isCollectionPath, isDocumentPath, isEmulatorMode, isIonicColor, isKnownRoute, isValidPath, joinPath, maxLength, mulberry32, news, parseMarkdownArticle, permissionGuard, permissionGuardFromRoute, positionKey, provideLegalContent, provideSplashScreen, provideValtechAboutRoutes, provideValtechAccountRoutes, provideValtechAds, provideValtechApiKeysRoutes, provideValtechAppConfig, provideValtechAppVersion, provideValtechAppVersionHttp, provideValtechAuth, provideValtechAuthInterceptor, provideValtechChat, provideValtechContent, provideValtechDebugConsole, provideValtechDonations, provideValtechErrorHandling, provideValtechFeedback, provideValtechFirebase, provideValtechI18n, provideValtechLegal, provideValtechNotificationClickActions, provideValtechNotificationPreferencesRoutes, provideValtechNotificationsRoutes, provideValtechOrganizationRoutes, provideValtechPermissionsRoutes, provideValtechPreferencesRoutes, provideValtechPresets, provideValtechProfileRoutes, provideValtechReactions, provideValtechSecurityRoutes, provideValtechSettingsRoutes, provideValtechSite, provideValtechSkeleton, provideValtechWhatsapp, query, rbacGuard, renderPatternSvgInner, replaceSpecialChars, requestSubmitMode, resignChessimalsGame, resolveColor, resolveInputDefaultValue, resolveIonicColor, resolveWebBaseUrl, roleGuard, selectableRequestTypes, storagePaths, superAdminGuard, toArticle, validateRoutes };
86120
88184
  //# sourceMappingURL=valtech-components.mjs.map