@magmonium/one 0.2.7 → 0.2.9

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.
@@ -5390,6 +5390,10 @@ class ImgComponent {
5390
5390
  sizes = input(...(ngDevMode ? [undefined, { debugName: "sizes" }] : /* istanbul ignore next */ []));
5391
5391
  attrWidth = computed(() => this.width() ?? 1200, ...(ngDevMode ? [{ debugName: "attrWidth" }] : /* istanbul ignore next */ []));
5392
5392
  attrHeight = computed(() => this.height() ?? 1800, ...(ngDevMode ? [{ debugName: "attrHeight" }] : /* istanbul ignore next */ []));
5393
+ // On the tag only when the picture is not filling its box — a filling
5394
+ // picture is sized by its box, the others carry the reservation figures.
5395
+ widthAttr = computed(() => (this.fill() ? undefined : this.attrWidth()), ...(ngDevMode ? [{ debugName: "widthAttr" }] : /* istanbul ignore next */ []));
5396
+ heightAttr = computed(() => (this.fill() ? undefined : this.attrHeight()), ...(ngDevMode ? [{ debugName: "heightAttr" }] : /* istanbul ignore next */ []));
5393
5397
  // Null unless the picture is drawn at a size it was told: a filling picture
5394
5398
  // takes its size from the box around it, and an unnamed figure leaves the
5395
5399
  // stylesheet's `width: 100%` in charge.
@@ -5446,7 +5450,7 @@ class ImgComponent {
5446
5450
  this.isLoaded.set(false);
5447
5451
  }
5448
5452
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ImgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5449
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: ImgComponent, isStandalone: true, selector: "m-img", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, dataType: { classPropertyName: "dataType", publicName: "dataType", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: true, transformFunction: null }, priority: { classPropertyName: "priority", publicName: "priority", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: false, transformFunction: null }, ngSrcset: { classPropertyName: "ngSrcset", publicName: "ngSrcset", isSignal: true, isRequired: false, transformFunction: null }, sizes: { classPropertyName: "sizes", publicName: "sizes", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.m-img-host--fill": "fill()", "style.width.px": "boxWidth()", "style.height.px": "boxHeight()" } }, providers: [
5453
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: ImgComponent, isStandalone: true, selector: "m-img", inputs: { src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, dataType: { classPropertyName: "dataType", publicName: "dataType", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: true, transformFunction: null }, priority: { classPropertyName: "priority", publicName: "priority", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: false, transformFunction: null }, ngSrcset: { classPropertyName: "ngSrcset", publicName: "ngSrcset", isSignal: true, isRequired: false, transformFunction: null }, sizes: { classPropertyName: "sizes", publicName: "sizes", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.width.px": "boxWidth()", "style.height.px": "boxHeight()" } }, providers: [
5450
5454
  {
5451
5455
  provide: IMAGE_LOADER,
5452
5456
  useValue: (config) => {
@@ -5470,50 +5474,13 @@ class ImgComponent {
5470
5474
  [class.m-img--sized]="isSized()"
5471
5475
  >
5472
5476
  @if (hasError()) {
5473
- <div class="m-img__fallback" [attr.aria-label]="alt()">
5474
- <svg
5475
- viewBox="0 0 24 24"
5476
- fill="none"
5477
- xmlns="http://www.w3.org/2000/svg"
5478
- >
5479
- <path
5480
- d="M2 13V19C2 20.6569 3.34315 22 5 22H19C20.6569 22 22 20.6569 22 19V13"
5481
- stroke="currentColor"
5482
- stroke-width="1.5"
5483
- stroke-linecap="round"
5484
- />
5485
- <path
5486
- d="M22 8V5C22 3.34315 20.6569 2 19 2H5C3.34315 2 2 3.34315 2 5V8"
5487
- stroke="currentColor"
5488
- stroke-width="1.5"
5489
- stroke-linecap="round"
5490
- />
5491
- <circle
5492
- cx="8.5"
5493
- cy="8.5"
5494
- r="2.5"
5495
- stroke="currentColor"
5496
- stroke-width="1.5"
5497
- opacity="0.4"
5498
- />
5499
- <path
5500
- d="M22 13L17 8L10 15L7 12L2 17"
5501
- stroke="currentColor"
5502
- stroke-width="1.5"
5503
- stroke-linecap="round"
5504
- stroke-linejoin="round"
5505
- opacity="0.4"
5506
- />
5507
- <path
5508
- d="M12 2L13 5L11 8L14 12L12 16L13 22"
5509
- stroke="currentColor"
5510
- stroke-width="1.5"
5511
- stroke-linecap="round"
5512
- stroke-linejoin="round"
5513
- class="m-img__crack"
5514
- />
5477
+ <div class="m-img__fallback" role="img" [attr.aria-label]="alt()">
5478
+ <svg viewBox="0 0 24 24" fill="none">
5479
+ <path d="M2 13V19C2 20.6569 3.34315 22 5 22H19C20.6569 22 22 20.6569 22 19V13" />
5480
+ <path d="M22 8V5C22 3.34315 20.6569 2 19 2H5C3.34315 2 2 3.34315 2 5V8" />
5481
+ <circle cx="8.5" cy="8.5" r="2.5" opacity="0.4" />
5482
+ <path d="M22 13L17 8L10 15L7 12L2 17" stroke-linejoin="round" opacity="0.4" />
5515
5483
  </svg>
5516
- <span class="m-img__error-text">{{ 'failed-to-load-image' | translate }}</span>
5517
5484
  </div>
5518
5485
  } @else if (effectiveSrc()) {
5519
5486
  <div class="m-img__wrapper">
@@ -5524,43 +5491,26 @@ class ImgComponent {
5524
5491
  [alt]="alt()"
5525
5492
  (load)="onLoad()"
5526
5493
  (error)="onError()"
5527
- [width]="!fill() ? attrWidth() : undefined"
5528
- [height]="!fill() ? attrHeight() : undefined"
5494
+ [width]="widthAttr()"
5495
+ [height]="heightAttr()"
5529
5496
  referrerpolicy="no-referrer"
5530
5497
  />
5531
5498
  } @else {
5532
- @if (autoNgSrcset()) {
5533
- <img
5534
- class="m-img__img"
5535
- [ngSrc]="effectiveSrc()!"
5536
- [alt]="alt()"
5537
- [priority]="priority()"
5538
- (load)="onLoad()"
5539
- (error)="onError()"
5540
- [fill]="fill()"
5541
- [width]="!fill() ? attrWidth() : undefined"
5542
- [height]="!fill() ? attrHeight() : undefined"
5543
- [ngSrcset]="autoNgSrcset()!"
5544
- [sizes]="sizes() || undefined"
5545
- decoding="async"
5546
- referrerpolicy="no-referrer"
5547
- />
5548
- } @else {
5549
- <img
5550
- class="m-img__img"
5551
- [ngSrc]="effectiveSrc()!"
5552
- [alt]="alt()"
5553
- [priority]="priority()"
5554
- (load)="onLoad()"
5555
- (error)="onError()"
5556
- [fill]="fill()"
5557
- [width]="!fill() ? attrWidth() : undefined"
5558
- [height]="!fill() ? attrHeight() : undefined"
5559
- [sizes]="sizes() || undefined"
5560
- decoding="async"
5561
- referrerpolicy="no-referrer"
5562
- />
5563
- }
5499
+ <img
5500
+ class="m-img__img"
5501
+ [ngSrc]="effectiveSrc()!"
5502
+ [alt]="alt()"
5503
+ [priority]="priority()"
5504
+ (load)="onLoad()"
5505
+ (error)="onError()"
5506
+ [fill]="fill()"
5507
+ [width]="widthAttr()"
5508
+ [height]="heightAttr()"
5509
+ [ngSrcset]="autoNgSrcset()!"
5510
+ [sizes]="sizes() || undefined"
5511
+ decoding="async"
5512
+ referrerpolicy="no-referrer"
5513
+ />
5564
5514
  }
5565
5515
  @if (!isLoaded() && !priority()) {
5566
5516
  <div class="m-img__skeleton"></div>
@@ -5568,16 +5518,13 @@ class ImgComponent {
5568
5518
  </div>
5569
5519
  }
5570
5520
  </div>
5571
- `, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;max-width:100%;overflow:hidden;border-radius:inherit;contain:paint}:host.m-img-host--fill{height:100%}.m-img{position:relative;width:100%;background:#ffffff05;border-radius:inherit;transition:transform .6s cubic-bezier(.2,0,.2,1);display:flex;flex-direction:column}.m-img--fill,.m-img--sized{height:100%}.m-img--error{height:auto;min-height:12rem;background:#0003}.m-img__wrapper{position:relative;width:100%;overflow:hidden;border-radius:inherit}.m-img--fill .m-img__wrapper,.m-img--sized .m-img__wrapper{height:100%}.m-img__img{display:block;width:100%;opacity:0;transform:scale(1.05) translateZ(0);filter:blur(10px) brightness(.8);transition:opacity 1.2s cubic-bezier(.4,0,.2,1),transform 1.2s cubic-bezier(.2,0,.2,1),filter 1s ease-out}.m-img--fill .m-img__img,.m-img--sized .m-img__img{height:100%;object-fit:cover}.m-img__img:not(.m-img--fill *):not(.m-img--sized *){height:auto}.m-img--loaded .m-img__img,.m-img--priority .m-img__img{opacity:1;transform:scale(1) translateZ(0);filter:blur(0) brightness(1)}.m-img__skeleton{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,#fff0,#ffffff0d,#fff0);background-size:200% 100%;animation:shimmer 2s infinite linear,pulse 2.5s infinite ease-in-out;border-radius:inherit}.m-img__fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:12rem;background:#14141499;backdrop-filter:blur(12px) brightness(1.1);-webkit-backdrop-filter:blur(12px) brightness(1.1);background-color:var(--m-backdrop-frosted);border:1px solid rgba(255,255,255,.1);color:#fff9;gap:1.25rem;padding:2.5rem;border-radius:inherit;text-align:center;position:relative;z-index:1}.m-img__fallback svg{width:56px;height:56px;stroke:currentColor;stroke-width:1.5;opacity:.8;filter:drop-shadow(0 0 15px rgba(255,255,255,.2));animation:icon-float 4s infinite ease-in-out}.m-img__fallback .m-img__crack{stroke-dasharray:100;stroke-dashoffset:100;animation:crack-draw 1.5s cubic-bezier(.4,0,.2,1) forwards,crack-glitch 6s infinite 3s}.m-img__error-text{font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;opacity:.5;margin-top:-.5rem}@media(hover:hover){.m-img:hover .m-img__img{transform:scale(1.04) translateZ(0);transition-duration:2s}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes icon-float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(-2deg)}}@keyframes crack-draw{to{stroke-dashoffset:0}}@keyframes crack-glitch{0%,80%,to{opacity:1;transform:translate(0)}82%{opacity:.4;transform:translate(-2px,1px)}84%{opacity:.8;transform:translate(2px,-1px)}86%{opacity:.2;transform:translate(-3px,2px)}88%{opacity:.6;transform:translate(1px,-2px)}}\n"], dependencies: [{ kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5521
+ `, isInline: true, styles: [":host{display:block;width:100%;height:100%;max-width:100%;overflow:hidden;border-radius:inherit;contain:paint}.m-img{position:relative;width:100%;height:100%;background:#ffffff05;border-radius:inherit;transition:transform .6s cubic-bezier(.2,0,.2,1);display:flex;flex-direction:column}.m-img--error{background:#0003}.m-img__wrapper{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit}.m-img__img{display:block;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.05) translateZ(0);filter:blur(10px) brightness(.8);transition:opacity 1.2s cubic-bezier(.4,0,.2,1),transform 1.2s cubic-bezier(.2,0,.2,1),filter 1s ease-out}.m-img--loaded .m-img__img,.m-img--priority .m-img__img{opacity:1;transform:scale(1) translateZ(0);filter:blur(0) brightness(1)}.m-img__skeleton{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,#fff0,#ffffff0d,#fff0);background-size:200% 100%;animation:shimmer 2s infinite linear,pulse 2.5s infinite ease-in-out;border-radius:inherit}.m-img__fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#ffffff80;border-radius:inherit}.m-img__fallback svg{width:clamp(1.5rem,20%,3.5rem);height:auto;aspect-ratio:1;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;opacity:.8}@media(hover:hover){.m-img:hover .m-img__img{transform:scale(1.04) translateZ(0);transition-duration:2s}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}\n"], dependencies: [{ kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5572
5522
  }
5573
5523
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ImgComponent, decorators: [{
5574
5524
  type: Component,
5575
- args: [{ selector: 'm-img', changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgOptimizedImage, TranslatePipe], host: {
5576
- '[class.m-img-host--fill]': 'fill()',
5577
- // The figures decide the box, not just the ratio NgOptimizedImage reserves
5578
- // it with — a caller that names them means that size. Only a caller that
5579
- // names them: unset, they keep serving the reservation alone, which is
5580
- // what every picture that takes its size from its column relies on.
5525
+ args: [{ selector: 'm-img', changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgOptimizedImage], host: {
5526
+ // The box is the container's: 100% wide and tall unless a caller names
5527
+ // width/height figures, which land as inline px on this element.
5581
5528
  '[style.width.px]': 'boxWidth()',
5582
5529
  '[style.height.px]': 'boxHeight()',
5583
5530
  }, providers: [
@@ -5604,50 +5551,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
5604
5551
  [class.m-img--sized]="isSized()"
5605
5552
  >
5606
5553
  @if (hasError()) {
5607
- <div class="m-img__fallback" [attr.aria-label]="alt()">
5608
- <svg
5609
- viewBox="0 0 24 24"
5610
- fill="none"
5611
- xmlns="http://www.w3.org/2000/svg"
5612
- >
5613
- <path
5614
- d="M2 13V19C2 20.6569 3.34315 22 5 22H19C20.6569 22 22 20.6569 22 19V13"
5615
- stroke="currentColor"
5616
- stroke-width="1.5"
5617
- stroke-linecap="round"
5618
- />
5619
- <path
5620
- d="M22 8V5C22 3.34315 20.6569 2 19 2H5C3.34315 2 2 3.34315 2 5V8"
5621
- stroke="currentColor"
5622
- stroke-width="1.5"
5623
- stroke-linecap="round"
5624
- />
5625
- <circle
5626
- cx="8.5"
5627
- cy="8.5"
5628
- r="2.5"
5629
- stroke="currentColor"
5630
- stroke-width="1.5"
5631
- opacity="0.4"
5632
- />
5633
- <path
5634
- d="M22 13L17 8L10 15L7 12L2 17"
5635
- stroke="currentColor"
5636
- stroke-width="1.5"
5637
- stroke-linecap="round"
5638
- stroke-linejoin="round"
5639
- opacity="0.4"
5640
- />
5641
- <path
5642
- d="M12 2L13 5L11 8L14 12L12 16L13 22"
5643
- stroke="currentColor"
5644
- stroke-width="1.5"
5645
- stroke-linecap="round"
5646
- stroke-linejoin="round"
5647
- class="m-img__crack"
5648
- />
5554
+ <div class="m-img__fallback" role="img" [attr.aria-label]="alt()">
5555
+ <svg viewBox="0 0 24 24" fill="none">
5556
+ <path d="M2 13V19C2 20.6569 3.34315 22 5 22H19C20.6569 22 22 20.6569 22 19V13" />
5557
+ <path d="M22 8V5C22 3.34315 20.6569 2 19 2H5C3.34315 2 2 3.34315 2 5V8" />
5558
+ <circle cx="8.5" cy="8.5" r="2.5" opacity="0.4" />
5559
+ <path d="M22 13L17 8L10 15L7 12L2 17" stroke-linejoin="round" opacity="0.4" />
5649
5560
  </svg>
5650
- <span class="m-img__error-text">{{ 'failed-to-load-image' | translate }}</span>
5651
5561
  </div>
5652
5562
  } @else if (effectiveSrc()) {
5653
5563
  <div class="m-img__wrapper">
@@ -5658,43 +5568,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
5658
5568
  [alt]="alt()"
5659
5569
  (load)="onLoad()"
5660
5570
  (error)="onError()"
5661
- [width]="!fill() ? attrWidth() : undefined"
5662
- [height]="!fill() ? attrHeight() : undefined"
5571
+ [width]="widthAttr()"
5572
+ [height]="heightAttr()"
5663
5573
  referrerpolicy="no-referrer"
5664
5574
  />
5665
5575
  } @else {
5666
- @if (autoNgSrcset()) {
5667
- <img
5668
- class="m-img__img"
5669
- [ngSrc]="effectiveSrc()!"
5670
- [alt]="alt()"
5671
- [priority]="priority()"
5672
- (load)="onLoad()"
5673
- (error)="onError()"
5674
- [fill]="fill()"
5675
- [width]="!fill() ? attrWidth() : undefined"
5676
- [height]="!fill() ? attrHeight() : undefined"
5677
- [ngSrcset]="autoNgSrcset()!"
5678
- [sizes]="sizes() || undefined"
5679
- decoding="async"
5680
- referrerpolicy="no-referrer"
5681
- />
5682
- } @else {
5683
- <img
5684
- class="m-img__img"
5685
- [ngSrc]="effectiveSrc()!"
5686
- [alt]="alt()"
5687
- [priority]="priority()"
5688
- (load)="onLoad()"
5689
- (error)="onError()"
5690
- [fill]="fill()"
5691
- [width]="!fill() ? attrWidth() : undefined"
5692
- [height]="!fill() ? attrHeight() : undefined"
5693
- [sizes]="sizes() || undefined"
5694
- decoding="async"
5695
- referrerpolicy="no-referrer"
5696
- />
5697
- }
5576
+ <img
5577
+ class="m-img__img"
5578
+ [ngSrc]="effectiveSrc()!"
5579
+ [alt]="alt()"
5580
+ [priority]="priority()"
5581
+ (load)="onLoad()"
5582
+ (error)="onError()"
5583
+ [fill]="fill()"
5584
+ [width]="widthAttr()"
5585
+ [height]="heightAttr()"
5586
+ [ngSrcset]="autoNgSrcset()!"
5587
+ [sizes]="sizes() || undefined"
5588
+ decoding="async"
5589
+ referrerpolicy="no-referrer"
5590
+ />
5698
5591
  }
5699
5592
  @if (!isLoaded() && !priority()) {
5700
5593
  <div class="m-img__skeleton"></div>
@@ -5702,7 +5595,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
5702
5595
  </div>
5703
5596
  }
5704
5597
  </div>
5705
- `, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;max-width:100%;overflow:hidden;border-radius:inherit;contain:paint}:host.m-img-host--fill{height:100%}.m-img{position:relative;width:100%;background:#ffffff05;border-radius:inherit;transition:transform .6s cubic-bezier(.2,0,.2,1);display:flex;flex-direction:column}.m-img--fill,.m-img--sized{height:100%}.m-img--error{height:auto;min-height:12rem;background:#0003}.m-img__wrapper{position:relative;width:100%;overflow:hidden;border-radius:inherit}.m-img--fill .m-img__wrapper,.m-img--sized .m-img__wrapper{height:100%}.m-img__img{display:block;width:100%;opacity:0;transform:scale(1.05) translateZ(0);filter:blur(10px) brightness(.8);transition:opacity 1.2s cubic-bezier(.4,0,.2,1),transform 1.2s cubic-bezier(.2,0,.2,1),filter 1s ease-out}.m-img--fill .m-img__img,.m-img--sized .m-img__img{height:100%;object-fit:cover}.m-img__img:not(.m-img--fill *):not(.m-img--sized *){height:auto}.m-img--loaded .m-img__img,.m-img--priority .m-img__img{opacity:1;transform:scale(1) translateZ(0);filter:blur(0) brightness(1)}.m-img__skeleton{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,#fff0,#ffffff0d,#fff0);background-size:200% 100%;animation:shimmer 2s infinite linear,pulse 2.5s infinite ease-in-out;border-radius:inherit}.m-img__fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;min-height:12rem;background:#14141499;backdrop-filter:blur(12px) brightness(1.1);-webkit-backdrop-filter:blur(12px) brightness(1.1);background-color:var(--m-backdrop-frosted);border:1px solid rgba(255,255,255,.1);color:#fff9;gap:1.25rem;padding:2.5rem;border-radius:inherit;text-align:center;position:relative;z-index:1}.m-img__fallback svg{width:56px;height:56px;stroke:currentColor;stroke-width:1.5;opacity:.8;filter:drop-shadow(0 0 15px rgba(255,255,255,.2));animation:icon-float 4s infinite ease-in-out}.m-img__fallback .m-img__crack{stroke-dasharray:100;stroke-dashoffset:100;animation:crack-draw 1.5s cubic-bezier(.4,0,.2,1) forwards,crack-glitch 6s infinite 3s}.m-img__error-text{font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;opacity:.5;margin-top:-.5rem}@media(hover:hover){.m-img:hover .m-img__img{transform:scale(1.04) translateZ(0);transition-duration:2s}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes icon-float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(-2deg)}}@keyframes crack-draw{to{stroke-dashoffset:0}}@keyframes crack-glitch{0%,80%,to{opacity:1;transform:translate(0)}82%{opacity:.4;transform:translate(-2px,1px)}84%{opacity:.8;transform:translate(2px,-1px)}86%{opacity:.2;transform:translate(-3px,2px)}88%{opacity:.6;transform:translate(1px,-2px)}}\n"] }]
5598
+ `, styles: [":host{display:block;width:100%;height:100%;max-width:100%;overflow:hidden;border-radius:inherit;contain:paint}.m-img{position:relative;width:100%;height:100%;background:#ffffff05;border-radius:inherit;transition:transform .6s cubic-bezier(.2,0,.2,1);display:flex;flex-direction:column}.m-img--error{background:#0003}.m-img__wrapper{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit}.m-img__img{display:block;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.05) translateZ(0);filter:blur(10px) brightness(.8);transition:opacity 1.2s cubic-bezier(.4,0,.2,1),transform 1.2s cubic-bezier(.2,0,.2,1),filter 1s ease-out}.m-img--loaded .m-img__img,.m-img--priority .m-img__img{opacity:1;transform:scale(1) translateZ(0);filter:blur(0) brightness(1)}.m-img__skeleton{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,#fff0,#ffffff0d,#fff0);background-size:200% 100%;animation:shimmer 2s infinite linear,pulse 2.5s infinite ease-in-out;border-radius:inherit}.m-img__fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#ffffff80;border-radius:inherit}.m-img__fallback svg{width:clamp(1.5rem,20%,3.5rem);height:auto;aspect-ratio:1;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;opacity:.8}@media(hover:hover){.m-img:hover .m-img__img{transform:scale(1.04) translateZ(0);transition-duration:2s}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}\n"] }]
5706
5599
  }], ctorParameters: () => [], propDecorators: { src: [{ type: i0.Input, args: [{ isSignal: true, alias: "src", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataType: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataType", required: false }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: true }] }], priority: [{ type: i0.Input, args: [{ isSignal: true, alias: "priority", required: false }] }], fill: [{ type: i0.Input, args: [{ isSignal: true, alias: "fill", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], remote: [{ type: i0.Input, args: [{ isSignal: true, alias: "remote", required: false }] }], ngSrcset: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngSrcset", required: false }] }], sizes: [{ type: i0.Input, args: [{ isSignal: true, alias: "sizes", required: false }] }] } });
5707
5600
 
5708
5601
  const SECTION_FORM_CONTEXT = new InjectionToken('SECTION_FORM_CONTEXT');
@@ -6533,7 +6426,7 @@ class SectionFormItemComponent extends ConfigComponent {
6533
6426
  break;
6534
6427
  }
6535
6428
  case InputType.TOGGLE: {
6536
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-D6m3oJjU.mjs');
6429
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-CuXmaquM.mjs');
6537
6430
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
6538
6431
  break;
6539
6432
  }
@@ -6545,12 +6438,12 @@ class SectionFormItemComponent extends ConfigComponent {
6545
6438
  break;
6546
6439
  }
6547
6440
  case InputType.PASSWORD: {
6548
- const { PasswordInputComponent } = await import('./magmonium-one-password-BHOGmDmt.mjs');
6441
+ const { PasswordInputComponent } = await import('./magmonium-one-password-DARd8Drq.mjs');
6549
6442
  this.createDynamicComponent(seq, PasswordInputComponent);
6550
6443
  break;
6551
6444
  }
6552
6445
  case InputType.OTP: {
6553
- const { OtpInputComponent } = await import('./magmonium-one-otp-DDZPXJWc.mjs');
6446
+ const { OtpInputComponent } = await import('./magmonium-one-otp-D96jgeof.mjs');
6554
6447
  this.createDynamicComponent(seq, OtpInputComponent);
6555
6448
  break;
6556
6449
  }
@@ -17971,7 +17864,7 @@ class WrapperInputComponent extends ConfigComponent {
17971
17864
  break;
17972
17865
  }
17973
17866
  case InputType.TOGGLE: {
17974
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-D6m3oJjU.mjs');
17867
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-CuXmaquM.mjs');
17975
17868
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
17976
17869
  break;
17977
17870
  }
@@ -17983,12 +17876,12 @@ class WrapperInputComponent extends ConfigComponent {
17983
17876
  break;
17984
17877
  }
17985
17878
  case InputType.PASSWORD: {
17986
- const { PasswordInputComponent } = await import('./magmonium-one-password-BHOGmDmt.mjs');
17879
+ const { PasswordInputComponent } = await import('./magmonium-one-password-DARd8Drq.mjs');
17987
17880
  this.createDynamicComponent(seq, PasswordInputComponent);
17988
17881
  break;
17989
17882
  }
17990
17883
  case InputType.OTP: {
17991
- const { OtpInputComponent } = await import('./magmonium-one-otp-DDZPXJWc.mjs');
17884
+ const { OtpInputComponent } = await import('./magmonium-one-otp-D96jgeof.mjs');
17992
17885
  this.createDynamicComponent(seq, OtpInputComponent);
17993
17886
  break;
17994
17887
  }
@@ -32321,4 +32214,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
32321
32214
  */
32322
32215
 
32323
32216
  export { DateInputComponent as $, ACCESS_DOMAINS as A, BaseInputComponent as B, COMPONENT_INPUT_REGISTRY as C, CardComponent as D, CardWrapperComponent as E, CarouselComponent as F, ChartComponent as G, CheckboxInputComponent as H, IS_DESIGN_MODE as I, ClearableInputComponent as J, ColComponent as K, LabelComponent as L, ColorPickerInputComponent as M, CommentItemComponent as N, CommentsApiService as O, CommentsComponent as P, CommentsStore as Q, ComponentInputComponent as R, ComponentStepperComponent as S, TranslatePipe as T, ConfigComponent as U, ConfirmComponent as V, ContextMenuComponent as W, CustomIconClass as X, CustomIconEditComponent as Y, DEFAULT_SIZE as Z, DashboardCardComponent as _, BaseTextInputComponent as a, NavComponent as a$, DatePickerComponent as a0, DeviceService as a1, DomService as a2, Domain as a3, DotGridComponent as a4, DragListDirective as a5, DragListItemDirective as a6, DraggableDirective as a7, DropdownInputComponent as a8, FLEX_VARIANTS as a9, LOGIN_STORE as aA, LanguageComponent as aB, LogoComponent as aC, MAG_SOCKET_EVENT as aD, MHeroColorDirective as aE, MHeroComponent as aF, MODAL_REF as aG, MODAL_STORE_REF as aH, MRefDirective as aI, MStepComponent as aJ, MURL_PARAM as aK, MURL_SEP as aL, ManifestEnrichmentService as aM, MenuComponent as aN, ModalDirective as aO, ModalRef as aP, ModalStore as aQ, MoneyPipe as aR, MultiRangeInputComponent as aS, MurlUrlSerializer as aT, NAV_DEFAULT_MURL as aU, NAV_ID_SEP as aV, NAV_MAIN_BUTTONS as aW, NAV_SEGMENT_RE as aX, NAV_STORE_REF as aY, NAV_WC_COMPONENTS as aZ, NAV_WIDGET_MAP as a_, FOLDER_PICK_LISTENER as aa, FORM_ASSET_FOLDER as ab, FileService as ac, FileUploadDirective as ad, FileUploadInputComponent as ae, FlexComponent as af, FlexItemComponent as ag, FormGroupComponent as ah, FrameComponent as ai, FreezeService as aj, GRID_BREAKPOINTS as ak, GetNavService as al, HeaderComponent$1 as am, HighlightDirective as an, HttpService as ao, ICON_SOURCE as ap, IS_SIDE_PANEL as aq, IconComponent as ar, ImgComponent as as, InputType as at, InstrumentScoreComponent as au, InterceptorObservables as av, JumbotronComponent as aw, KeyValueComponent as ax, LAYOUT_ASSET_FOLDER as ay, LOGIN_COMPONENT as az, TextOutputComponent as b, SectionFooterComponent as b$, NavDetailsComponent as b0, NavHeaderComponent as b1, NavMenuComponent as b2, NavStore as b3, NavTrailComponent as b4, NothingComponent as b5, NotificationElementComponent as b6, NotificationGroupComponent as b7, NotificationPopupComponent as b8, NotificationService as b9, ReactiveElementComponent as bA, RemoteComponent as bB, RemoteLoaderService as bC, ResizeElementComponent as bD, RouteContainer as bE, RowComponent as bF, SEARCH_QUERY as bG, SEARCH_RESULTS_EVENT as bH, SECTION_ACCORDION_GROUP as bI, SECTION_FORM_CONTEXT as bJ, SHARED_ICONS as bK, SIZE_CONTEXT as bL, ScoreComponent as bM, ScrollComponent as bN, ScrollService as bO, SearchPanelComponent as bP, SearchStore as bQ, SearchUserPanelComponent as bR, SectionAccordionDirective as bS, SectionAccordionGroupDirective as bT, SectionBackComponent as bU, SectionBadgesComponent as bV, SectionButtonGroupComponent as bW, SectionCardComponent as bX, SectionCarouselComponent as bY, SectionComponent as bZ, SectionFilterComponent as b_, NotificationStore as ba, NotificationType as bb, NotificationWidgetComponent as bc, ONE_ASSET_BASE_URL as bd, OPTIONS_SOURCE as be, OVERLAY_WIDGETS as bf, OneApp as bg, OptionsSourceDirective as bh, OverlayBodyComponent as bi, OverlayRef as bj, OverlayService as bk, PLATFORM_BUTTON_NAV_IDS as bl, PLATFORM_EXTENSIBLE_NAV_IDS as bm, PLATFORM_NAV_MAP as bn, PLATFORM_ROOT_CHILDREN as bo, PaginationComponent as bp, PanelComponent as bq, PercentagePipe as br, PlaygroundComponent as bs, PositionDirective as bt, PwaInstallComponent as bu, ROOT_NAV$1 as bv, RadioGroupComponent as bw, RadioInputComponent as bx, RangeInputComponent as by, RatingInputComponent as bz, ButtonComponent as c, WIN_USER_TAB_KEY as c$, SectionFormComponent as c0, SectionFormItemComponent as c1, SectionHeaderComponent as c2, SectionHeroComponent as c3, SectionSearchComponent as c4, SectionStepperComponent as c5, SectionTabsComponent as c6, SectionToggleComponent as c7, SectionToggleItemDirective as c8, SelectableCardInputComponent as c9, ThemeComponent as cA, ThemeDataService as cB, ThemeService as cC, ThemeStore as cD, TimeAgoPipe as cE, TimelineComponent as cF, ToggleButtonComponent as cG, ToggleInputComponent as cH, ToggleRadioInputComponent as cI, ToolTipDirective as cJ, TooltipComponent as cK, TranslateService as cL, TreeGridComponent as cM, URL_SEP as cN, USER_STORE_REF as cO, USER_TAB_MAP as cP, UlComponent as cQ, UniverseComponent as cR, UserApiService as cS, UserAvatarComponent as cT, UserComponent as cU, UserNavComponent as cV, UserSettingsComponent as cW, UserStore as cX, WC_ROUTE_CHANGED_EVENT as cY, WC_SEARCH_GROUPS as cZ, WIN_USER_TAB_HOOK as c_, SelectorDirective as ca, SettingsSearchBarComponent as cb, SettingsSearchService as cc, ShapeComponent as cd, SharedStoreRegistry as ce, SidePanelDirective as cf, Size as cg, SocketStore as ch, SortComponent as ci, StatComponent as cj, StepComponent as ck, StepperComponent as cl, StepsComponent as cm, StorageService as cn, StrokeLinecap as co, StrokeLinejoin as cp, SummaryComponent as cq, SvgGeneratorComponent as cr, SvgGeneratorService as cs, SvgService as ct, TOTAL_COLUMNS as cu, TRANSLATION_SOURCE as cv, TableComponent as cw, TechnicalMeterComponent as cx, TextInputComponent as cy, TextareaInputComponent as cz, APP_CONTEXT_REF as d, linkToId as d$, WatermarkComponent as d0, WcRouterStore as d1, WrapperInputComponent as d2, anchorNavId as d3, applyColorsToElement as d4, bootstrapMagApp as d5, bootstrapPwaInstall as d6, buildWcBaseUrl as d7, calculateLuminance as d8, calculateRanks as d9, getTreeGridRow as dA, getUniqueId as dB, getValue as dC, hasErrorComputed as dD, hexToRgb as dE, hslToRgb$1 as dF, initMagmoniumApp as dG, initialNotificationState as dH, initialState$2 as dI, initials as dJ, injectAuthenticate as dK, injectInstallApp as dL, injectParentSize as dM, injectScrollSticky as dN, isButtonName as dO, isCancelledComputed as dP, isExtensiblePlatformNavId as dQ, isJson as dR, isLoadingComputed as dS, isLocalhost as dT, isPlatformNavId as dU, isSize as dV, isTierPreview as dW, isUrlLocalhost as dX, isValidNavId as dY, isValidNavSegment as dZ, isWebComponent as d_, cellText as da, checkFilterCondition as db, childNavId as dc, classListSignal as dd, coerceSize as de, cornerEdge as df, cornerSide as dg, createMap as dh, createPlatformNavMap as di, deriveAvatarGradient as dj, deriveContrastColor as dk, deriveOppositeColor as dl, derivePropertyName as dm, emailValidation as dn, evaluate as dp, evaluateBool as dq, flattenTreeGridRows as dr, formatBadgeCount as ds, fullName as dt, generateClipPath as du, generateTransform as dv, getClassList as dw, getProperty as dx, getScrollParent as dy, getTierFromPreviewPath as dz, ASSET_BASE_URL as e, toAttrNumber as e$, linkToNav as e0, loadingActions as e1, mInterceptor as e2, manualValidation as e3, matchFieldValidation as e4, maxLengthValidation as e5, maxValidation as e6, mergePlatformNav as e7, mergeUnique as e8, mergeUniqueBy as e9, provideNavWidgets as eA, provideOverlayWidgets as eB, providePlatformNavWidgets as eC, provideSearch as eD, provideSizeContext as eE, provideUserTabs as eF, publicGuard as eG, readFieldPatterns as eH, renderAddress as eI, requiredValidation as eJ, resolveConfigAsset as eK, resolveIconSize as eL, resolvePallet as eM, resolvePatternRules as eN, resolveSize as eO, rgbToHex as eP, rgbToHsl as eQ, rowHasChildren as eR, samePatterns as eS, segmentsToNavId as eT, setProperty as eU, setTreeGridChildren as eV, settingsWidgets as eW, shouldShowBadge as eX, splitNavId as eY, stringToColor as eZ, toAttrBool as e_, mergeUniqueWith as ea, minAgeValidation as eb, minLengthValidation as ec, minValidation as ed, miniMarkToHtml as ee, navIdChain as ef, navIdFor as eg, navIdSegment as eh, navIdToRoutePath as ei, navIdToSegments as ej, navToId as ek, parentNavId as el, parseAddress as em, parseColor as en, parsePatternNames as eo, patternValidation as ep, patternsValidation as eq, platformNavWidgets as er, privateGuard as es, processImageToSvg as et, provideAppContext as eu, provideMagAppConfig as ev, provideMagWcConfig as ew, provideMagWcRoutes as ex, provideModalComponents as ey, provideMurlUrlSerializer as ez, AccordionBodyDirective as f, toCssLength as f0, toHostNavId as f1, toLength$1 as f2, toLocalNavId as f3, toggleTreeGridRow as f4, unfetchedPlatformNav as f5, urlValidation as f6, AccordionComponent as g, AccordionGroupComponent as h, ActionComponent as i, AnimatedGraphsComponent as j, AppCardComponent as k, AppRelationType as l, AppTileComponent as m, AssetStore as n, AssetUrlPipe as o, Assets as p, AuthActivityPageComponent as q, AuthApiService as r, AuthStore as s, AutosizeDirective as t, BadgeComponent as u, BandingComponent as v, BaseArrayInputComponent as w, BaseRootWebComponent as x, BaseWebComponent as y, ButtonGroupComponent as z };
32324
- //# sourceMappingURL=magmonium-one-magmonium-one-CJJHe_Ht.mjs.map
32217
+ //# sourceMappingURL=magmonium-one-magmonium-one-N1WmgAQH.mjs.map