@ethlete/core 0.2.0-next.16 → 0.2.0-next.18

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 (38) hide show
  1. package/esm2020/lib/components/structured-data/structured-data.component.mjs +3 -3
  2. package/esm2020/lib/directives/click-outside/click-outside.directive.mjs +3 -3
  3. package/esm2020/lib/directives/cursor-drag-scroll/cursor-drag-scroll.directive.mjs +5 -5
  4. package/esm2020/lib/directives/let/let.directive.mjs +3 -3
  5. package/esm2020/lib/directives/observe-content/observe-content.directive.mjs +3 -3
  6. package/esm2020/lib/directives/observe-resize/observe-resize.directive.mjs +3 -3
  7. package/esm2020/lib/directives/observe-scroll-state/observe-scroll-state.directive.mjs +5 -5
  8. package/esm2020/lib/directives/repeat/repeat.directive.mjs +3 -3
  9. package/esm2020/lib/directives/scroll-observer-first-element/scroll-observer-first-element.directive.mjs +3 -3
  10. package/esm2020/lib/directives/scroll-observer-ignore-target/scroll-observer-ignore-target.directive.mjs +3 -3
  11. package/esm2020/lib/directives/scroll-observer-last-element/scroll-observer-last-element.directive.mjs +3 -3
  12. package/esm2020/lib/directives/seo/seo.directive.mjs +3 -3
  13. package/esm2020/lib/pipes/normalize-game-result-type/normalize-game-result-type.pipe.mjs +3 -3
  14. package/esm2020/lib/pipes/normalize-match-participants/normalize-match-participants.pipe.mjs +3 -3
  15. package/esm2020/lib/pipes/normalize-match-score/normalize-match-score.pipe.mjs +3 -3
  16. package/esm2020/lib/pipes/normalize-match-state/normalize-match-state.pipe.mjs +3 -3
  17. package/esm2020/lib/pipes/normalize-match-type/normalize-match-type.pipe.mjs +3 -3
  18. package/esm2020/lib/pipes/to-array/to-array.pipe.mjs +3 -3
  19. package/esm2020/lib/services/click-observer.service.mjs +6 -6
  20. package/esm2020/lib/services/content-observer.service.mjs +6 -6
  21. package/esm2020/lib/services/destroy.service.mjs +3 -3
  22. package/esm2020/lib/services/focus-visible.service.mjs +3 -3
  23. package/esm2020/lib/services/resize-observer.service.mjs +6 -6
  24. package/esm2020/lib/services/viewport.service.mjs +3 -3
  25. package/esm2020/lib/types/angular.types.mjs +4 -1
  26. package/esm2020/lib/utils/clone.util.mjs +78 -0
  27. package/esm2020/lib/utils/equal.util.mjs +118 -0
  28. package/esm2020/lib/utils/public-api.mjs +3 -1
  29. package/esm2020/lib/utils/reactive-binding.util.mjs +2 -2
  30. package/fesm2015/ethlete-core.mjs +284 -85
  31. package/fesm2015/ethlete-core.mjs.map +1 -1
  32. package/fesm2020/ethlete-core.mjs +284 -85
  33. package/fesm2020/ethlete-core.mjs.map +1 -1
  34. package/lib/types/angular.types.d.ts +1 -0
  35. package/lib/utils/clone.util.d.ts +15 -0
  36. package/lib/utils/equal.util.d.ts +27 -0
  37. package/lib/utils/public-api.d.ts +2 -0
  38. package/package.json +3 -3
@@ -21,9 +21,9 @@ class StructuredDataComponent {
21
21
  return this._sanitizer.bypassSecurityTrustHtml(html);
22
22
  }
23
23
  }
24
- StructuredDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
- StructuredDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: StructuredDataComponent, isStandalone: true, selector: "et-structured-data", inputs: { data: "data" }, host: { properties: { "innerHTML": "this.jsonLD" }, styleAttribute: "display: none" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: StructuredDataComponent, decorators: [{
24
+ StructuredDataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: StructuredDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
+ StructuredDataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: StructuredDataComponent, isStandalone: true, selector: "et-structured-data", inputs: { data: "data" }, host: { properties: { "innerHTML": "this.jsonLD" }, styleAttribute: "display: none" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: StructuredDataComponent, decorators: [{
27
27
  type: Component,
28
28
  args: [{
29
29
  selector: 'et-structured-data',
@@ -91,9 +91,9 @@ class ClickObserverFactory {
91
91
  return fromEvent(document, 'click');
92
92
  }
93
93
  }
94
- ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
95
- ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickObserverFactory, decorators: [{
94
+ ClickObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
95
+ ClickObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverFactory, providedIn: 'root' });
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverFactory, decorators: [{
97
97
  type: Injectable,
98
98
  args: [{ providedIn: 'root' }]
99
99
  }] });
@@ -147,9 +147,9 @@ class ClickObserverService {
147
147
  }
148
148
  }
149
149
  }
150
- ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickObserverService, deps: [{ token: ClickObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
151
- ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickObserverService, providedIn: 'root' });
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickObserverService, decorators: [{
150
+ ClickObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverService, deps: [{ token: ClickObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
151
+ ClickObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverService, providedIn: 'root' });
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickObserverService, decorators: [{
153
153
  type: Injectable,
154
154
  args: [{ providedIn: 'root' }]
155
155
  }], ctorParameters: function () { return [{ type: ClickObserverFactory }]; } });
@@ -160,9 +160,9 @@ class MutationObserverFactory {
160
160
  return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
161
161
  }
162
162
  }
163
- MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
164
- MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MutationObserverFactory, decorators: [{
163
+ MutationObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
164
+ MutationObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' });
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: MutationObserverFactory, decorators: [{
166
166
  type: Injectable,
167
167
  args: [{ providedIn: 'root' }]
168
168
  }] });
@@ -222,9 +222,9 @@ class ContentObserverService {
222
222
  }
223
223
  }
224
224
  }
225
- ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ContentObserverService, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
226
- ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ContentObserverService, providedIn: 'root' });
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ContentObserverService, decorators: [{
225
+ ContentObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ContentObserverService, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
226
+ ContentObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ContentObserverService, providedIn: 'root' });
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ContentObserverService, decorators: [{
228
228
  type: Injectable,
229
229
  args: [{ providedIn: 'root' }]
230
230
  }], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });
@@ -239,9 +239,9 @@ class DestroyService {
239
239
  this._destroy$.unsubscribe();
240
240
  }
241
241
  }
242
- DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DestroyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
243
- DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DestroyService });
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: DestroyService, decorators: [{
242
+ DestroyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DestroyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
243
+ DestroyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DestroyService });
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DestroyService, decorators: [{
245
245
  type: Injectable
246
246
  }] });
247
247
 
@@ -267,9 +267,9 @@ class FocusVisibleService {
267
267
  this._hadKeyboardEvent = false;
268
268
  }
269
269
  }
270
- FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
271
- FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: FocusVisibleService, providedIn: 'root' });
272
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: FocusVisibleService, decorators: [{
270
+ FocusVisibleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: FocusVisibleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
271
+ FocusVisibleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: FocusVisibleService, providedIn: 'root' });
272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: FocusVisibleService, decorators: [{
273
273
  type: Injectable,
274
274
  args: [{
275
275
  providedIn: 'root',
@@ -282,9 +282,9 @@ class ResizeObserverFactory {
282
282
  return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
283
283
  }
284
284
  }
285
- ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
286
- ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' });
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResizeObserverFactory, decorators: [{
285
+ ResizeObserverFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
286
+ ResizeObserverFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverFactory, providedIn: 'root' });
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverFactory, decorators: [{
288
288
  type: Injectable,
289
289
  args: [{ providedIn: 'root' }]
290
290
  }] });
@@ -340,9 +340,9 @@ class ResizeObserverService {
340
340
  }
341
341
  }
342
342
  }
343
- ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResizeObserverService, deps: [{ token: ResizeObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
344
- ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResizeObserverService, providedIn: 'root' });
345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ResizeObserverService, decorators: [{
343
+ ResizeObserverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverService, deps: [{ token: ResizeObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable });
344
+ ResizeObserverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverService, providedIn: 'root' });
345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ResizeObserverService, decorators: [{
346
346
  type: Injectable,
347
347
  args: [{ providedIn: 'root' }]
348
348
  }], ctorParameters: function () { return [{ type: ResizeObserverFactory }]; } });
@@ -477,8 +477,8 @@ class ViewportService {
477
477
  return 'xs';
478
478
  }
479
479
  }
480
- ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ViewportService, deps: [{ token: VIEWPORT_CONFIG, optional: true }, { token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
481
- ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ViewportService, providedIn: 'root' });
480
+ ViewportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ViewportService, deps: [{ token: VIEWPORT_CONFIG, optional: true }, { token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
481
+ ViewportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ViewportService, providedIn: 'root' });
482
482
  __decorate([
483
483
  Memo(),
484
484
  __metadata("design:type", Function),
@@ -496,7 +496,7 @@ __decorate([
496
496
  __metadata("design:paramtypes", [Object]),
497
497
  __metadata("design:returntype", void 0)
498
498
  ], ViewportService.prototype, "_buildMediaQuery", null);
499
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ViewportService, decorators: [{
499
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ViewportService, decorators: [{
500
500
  type: Injectable,
501
501
  args: [{
502
502
  providedIn: 'root',
@@ -533,9 +533,9 @@ class ClickOutsideDirective {
533
533
  (_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
534
534
  }
535
535
  }
536
- ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
537
- ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 });
538
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ClickOutsideDirective, decorators: [{
536
+ ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
537
+ ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ClickOutsideDirective, isStandalone: true, selector: "[etClickOutside]", outputs: { etClickOutside: "etClickOutside" }, ngImport: i0 });
538
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ClickOutsideDirective, decorators: [{
539
539
  type: Directive,
540
540
  args: [{
541
541
  selector: '[etClickOutside]',
@@ -549,6 +549,84 @@ const clamp = (value, min = 0, max = 100) => {
549
549
  return Math.max(min, Math.min(max, value));
550
550
  };
551
551
 
552
+ /* eslint-disable @typescript-eslint/no-explicit-any */
553
+ /* eslint-disable no-var */
554
+ /**
555
+ * Stolen from klona to avoid adding a dependency
556
+ * https://github.com/lukeed/klona
557
+ *
558
+ * MIT License
559
+ *
560
+ * Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
561
+ *
562
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
563
+ *
564
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
565
+ *
566
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
567
+ */
568
+ const set = (obj, key, val) => {
569
+ if (typeof val.value === 'object')
570
+ val.value = clone(val.value);
571
+ if (!val.enumerable || val.get || val.set || !val.configurable || !val.writable || key === '__proto__') {
572
+ Object.defineProperty(obj, key, val);
573
+ }
574
+ else
575
+ obj[key] = val.value;
576
+ };
577
+ const clone = (y) => {
578
+ if (typeof x !== 'object')
579
+ return x;
580
+ var x = y;
581
+ var i = 0, k, list, tmp, str = Object.prototype.toString.call(x);
582
+ if (str === '[object Object]') {
583
+ tmp = Object.create(x.__proto__ || null);
584
+ }
585
+ else if (str === '[object Array]') {
586
+ tmp = Array(x.length);
587
+ }
588
+ else if (str === '[object Set]') {
589
+ tmp = new Set();
590
+ x.forEach(function (val) {
591
+ tmp.add(clone(val));
592
+ });
593
+ }
594
+ else if (str === '[object Map]') {
595
+ tmp = new Map();
596
+ x.forEach(function (val, key) {
597
+ tmp.set(clone(key), clone(val));
598
+ });
599
+ }
600
+ else if (str === '[object Date]') {
601
+ tmp = new Date(+x);
602
+ }
603
+ else if (str === '[object RegExp]') {
604
+ tmp = new RegExp(x.source, x.flags);
605
+ }
606
+ else if (str === '[object DataView]') {
607
+ tmp = new x.constructor(clone(x.buffer));
608
+ }
609
+ else if (str === '[object ArrayBuffer]') {
610
+ tmp = x.slice(0);
611
+ }
612
+ else if (str.slice(-6) === 'Array]') {
613
+ // ArrayBuffer.isView(x)
614
+ // ~> `new` bcuz `Buffer.slice` => ref
615
+ tmp = new x.constructor(x);
616
+ }
617
+ if (tmp) {
618
+ for (list = Object.getOwnPropertySymbols(x); i < list.length; i++) {
619
+ set(tmp, list[i], Object.getOwnPropertyDescriptor(x, list[i]));
620
+ }
621
+ for (i = 0, list = Object.getOwnPropertyNames(x); i < list.length; i++) {
622
+ if (Object.hasOwnProperty.call(tmp, (k = list[i])) && tmp[k] === x[k])
623
+ continue;
624
+ set(tmp, k, Object.getOwnPropertyDescriptor(x, k));
625
+ }
626
+ }
627
+ return tmp || x;
628
+ };
629
+
552
630
  const hasCookie = (name) => {
553
631
  if (typeof document === 'undefined') {
554
632
  return false;
@@ -598,11 +676,129 @@ const getDomain = () => {
598
676
  return hostname;
599
677
  };
600
678
 
679
+ /* eslint-disable @typescript-eslint/no-explicit-any */
680
+ /* eslint-disable no-var */
681
+ /**
682
+ * Stolen from dequal to avoid adding a dependency
683
+ * https://github.com/lukeed/dequal
684
+ *
685
+ * The MIT License (MIT)
686
+ *
687
+ * Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
688
+ *
689
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
690
+ * of this software and associated documentation files (the "Software"), to deal
691
+ * in the Software without restriction, including without limitation the rights
692
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
693
+ * copies of the Software, and to permit persons to whom the Software is
694
+ * furnished to do so, subject to the following conditions:
695
+ *
696
+ * The above copyright notice and this permission notice shall be included in
697
+ * all copies or substantial portions of the Software.
698
+ *
699
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
700
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
701
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
702
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
703
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
704
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
705
+ * THE SOFTWARE.
706
+ */
707
+ const has = Object.prototype.hasOwnProperty;
708
+ function find(iter, tar, key) {
709
+ for (key of iter.keys()) {
710
+ if (equal(key, tar))
711
+ return key;
712
+ }
713
+ }
714
+ const equal = (foo, bar) => {
715
+ var ctor, len, tmp;
716
+ if (foo === bar)
717
+ return true;
718
+ if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
719
+ if (ctor === Date)
720
+ return foo.getTime() === bar.getTime();
721
+ if (ctor === RegExp)
722
+ return foo.toString() === bar.toString();
723
+ if (ctor === Array) {
724
+ if ((len = foo.length) === bar.length) {
725
+ while (len-- && equal(foo[len], bar[len]))
726
+ ;
727
+ }
728
+ return len === -1;
729
+ }
730
+ if (ctor === Set) {
731
+ if (foo.size !== bar.size) {
732
+ return false;
733
+ }
734
+ for (len of foo) {
735
+ tmp = len;
736
+ if (tmp && typeof tmp === 'object') {
737
+ tmp = find(bar, tmp);
738
+ if (!tmp)
739
+ return false;
740
+ }
741
+ if (!bar.has(tmp))
742
+ return false;
743
+ }
744
+ return true;
745
+ }
746
+ if (ctor === Map) {
747
+ if (foo.size !== bar.size) {
748
+ return false;
749
+ }
750
+ for (len of foo) {
751
+ tmp = len[0];
752
+ if (tmp && typeof tmp === 'object') {
753
+ tmp = find(bar, tmp);
754
+ if (!tmp)
755
+ return false;
756
+ }
757
+ if (!equal(len[1], bar.get(tmp))) {
758
+ return false;
759
+ }
760
+ }
761
+ return true;
762
+ }
763
+ if (ctor === ArrayBuffer) {
764
+ foo = new Uint8Array(foo);
765
+ bar = new Uint8Array(bar);
766
+ }
767
+ else if (ctor === DataView) {
768
+ if ((len = foo.byteLength) === bar.byteLength) {
769
+ while (len-- && foo.getInt8(len) === bar.getInt8(len))
770
+ ;
771
+ }
772
+ return len === -1;
773
+ }
774
+ if (ArrayBuffer.isView(foo)) {
775
+ if ((len = foo.byteLength) === bar.byteLength) {
776
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
777
+ //@ts-ignore
778
+ while (len-- && foo[len] === bar[len])
779
+ ;
780
+ }
781
+ return len === -1;
782
+ }
783
+ if (!ctor || typeof foo === 'object') {
784
+ len = 0;
785
+ for (ctor in foo) {
786
+ if (has.call(foo, ctor) && ++len && !has.call(bar, ctor))
787
+ return false;
788
+ if (!(ctor in bar) || !equal(foo[ctor], bar[ctor]))
789
+ return false;
790
+ }
791
+ return Object.keys(bar).length === len;
792
+ }
793
+ }
794
+ return foo !== foo && bar !== bar;
795
+ };
796
+
601
797
  const isAttributeRenderBinding = (value) => typeof value === 'boolean';
602
798
  const isAttributeValueBinding = (value) => typeof value === 'object';
603
799
  const createReactiveBindings = (...values) => {
604
800
  const rootElementRef = inject(ElementRef);
605
- const destroy$ = inject(DestroyService).destroy$;
801
+ const destroy$ = inject(DestroyService, { host: true }).destroy$;
606
802
  const subscriptions = [];
607
803
  const pushedAttributes = [];
608
804
  const defaults = {};
@@ -721,7 +917,7 @@ const CURSOR_DRAG_SCROLLING_PREPARED_CLASS = 'et-cursor-drag-scroll--prepared';
721
917
  class CursorDragScrollDirective {
722
918
  constructor() {
723
919
  this._subscriptions = [];
724
- this._destroy$ = inject(DestroyService).destroy$;
920
+ this._destroy$ = inject(DestroyService, { host: true }).destroy$;
725
921
  this._elementRef = inject(ElementRef);
726
922
  this._contentObserverService = inject(ContentObserverService);
727
923
  this._resizeObserverService = inject(ResizeObserverService);
@@ -846,9 +1042,9 @@ class CursorDragScrollDirective {
846
1042
  }
847
1043
  }
848
1044
  }
849
- CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
850
- CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"] }, providers: [DestroyService], exportAs: ["etCursorDragScroll"], ngImport: i0 });
851
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
1045
+ CursorDragScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: CursorDragScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1046
+ CursorDragScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: CursorDragScrollDirective, isStandalone: true, selector: "[etCursorDragScroll]", inputs: { enabled: ["etCursorDragScroll", "enabled"] }, providers: [DestroyService], exportAs: ["etCursorDragScroll"], ngImport: i0 });
1047
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: CursorDragScrollDirective, decorators: [{
852
1048
  type: Directive,
853
1049
  args: [{
854
1050
  selector: '[etCursorDragScroll]',
@@ -895,9 +1091,9 @@ class LetDirective {
895
1091
  }
896
1092
  }
897
1093
  }
898
- LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: LetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
899
- LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 });
900
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: LetDirective, decorators: [{
1094
+ LetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
1095
+ LetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: LetDirective, isStandalone: true, selector: "[etLet]", inputs: { etLet: "etLet" }, ngImport: i0 });
1096
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LetDirective, decorators: [{
901
1097
  type: Directive,
902
1098
  args: [{
903
1099
  selector: '[etLet]',
@@ -951,9 +1147,9 @@ class ObserveContentDirective {
951
1147
  (_a = this._currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
952
1148
  }
953
1149
  }
954
- ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
955
- ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { event: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 });
956
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ObserveContentDirective, decorators: [{
1150
+ ObserveContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1151
+ ObserveContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ObserveContentDirective, isStandalone: true, selector: "[etObserveContent]", inputs: { disabled: ["etObserveContentDisabled", "disabled"], debounce: ["etObserveContentDebounce", "debounce"] }, outputs: { event: "etObserveContent" }, exportAs: ["etObserveContent"], ngImport: i0 });
1152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveContentDirective, decorators: [{
957
1153
  type: Directive,
958
1154
  args: [{
959
1155
  selector: '[etObserveContent]',
@@ -1015,9 +1211,9 @@ class ObserveResizeDirective {
1015
1211
  (_a = this._currentSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1016
1212
  }
1017
1213
  }
1018
- ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1019
- ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { event: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 });
1020
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ObserveResizeDirective, decorators: [{
1214
+ ObserveResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveResizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1215
+ ObserveResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ObserveResizeDirective, isStandalone: true, selector: "[etObserveResize]", inputs: { disabled: ["etObserveResizeDisabled", "disabled"], debounce: ["etObserveResizeDebounce", "debounce"] }, outputs: { event: "etObserveResize" }, exportAs: ["etObserveResize"], ngImport: i0 });
1216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveResizeDirective, decorators: [{
1021
1217
  type: Directive,
1022
1218
  args: [{
1023
1219
  selector: '[etObserveResize]',
@@ -1047,9 +1243,9 @@ class ScrollObserverFirstElementDirective {
1047
1243
  this._isFirstElement = coerceBooleanProperty(value);
1048
1244
  }
1049
1245
  }
1050
- ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1051
- ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement"] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 });
1052
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
1246
+ ScrollObserverFirstElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverFirstElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1247
+ ScrollObserverFirstElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ScrollObserverFirstElementDirective, isStandalone: true, selector: "[etScrollObserverFirstElement]", inputs: { isFirstElement: ["etScrollObserverFirstElement", "isFirstElement"] }, host: { properties: { "class.et-scroll-observer-first-element": "this.isFirstElement" } }, ngImport: i0 });
1248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverFirstElementDirective, decorators: [{
1053
1249
  type: Directive,
1054
1250
  args: [{
1055
1251
  selector: '[etScrollObserverFirstElement]',
@@ -1066,9 +1262,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImpor
1066
1262
  const SCROLL_OBSERVER_IGNORE_TARGET_CLASS = 'et-scroll-observer-ignore-target';
1067
1263
  class ScrollObserverIgnoreTargetDirective {
1068
1264
  }
1069
- ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1070
- ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 });
1071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
1265
+ ScrollObserverIgnoreTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1266
+ ScrollObserverIgnoreTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ScrollObserverIgnoreTargetDirective, isStandalone: true, selector: "[etScrollObserverIgnoreTarget]", host: { classAttribute: "et-scroll-observer-ignore-target" }, ngImport: i0 });
1267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverIgnoreTargetDirective, decorators: [{
1072
1268
  type: Directive,
1073
1269
  args: [{
1074
1270
  selector: '[etScrollObserverIgnoreTarget]',
@@ -1091,9 +1287,9 @@ class ScrollObserverLastElementDirective {
1091
1287
  this._isLastElement = coerceBooleanProperty(value);
1092
1288
  }
1093
1289
  }
1094
- ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1095
- ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: ScrollObserverLastElementDirective, isStandalone: true, selector: "[etScrollObserverLastElement]", inputs: { isLastElement: ["etScrollObserverLastElement", "isLastElement"] }, host: { properties: { "class.et-scroll-observer-last-element": "this.isLastElement" }, classAttribute: "et-scroll-observer-last-element" }, ngImport: i0 });
1096
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
1290
+ ScrollObserverLastElementDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverLastElementDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1291
+ ScrollObserverLastElementDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ScrollObserverLastElementDirective, isStandalone: true, selector: "[etScrollObserverLastElement]", inputs: { isLastElement: ["etScrollObserverLastElement", "isLastElement"] }, host: { properties: { "class.et-scroll-observer-last-element": "this.isLastElement" }, classAttribute: "et-scroll-observer-last-element" }, ngImport: i0 });
1292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollObserverLastElementDirective, decorators: [{
1097
1293
  type: Directive,
1098
1294
  args: [{
1099
1295
  selector: '[etScrollObserverLastElement]',
@@ -1114,7 +1310,7 @@ const OBSERVE_SCROLL_STATE = new InjectionToken('OBSERVE_SCROLL_STATE');
1114
1310
 
1115
1311
  class ObserveScrollStateDirective {
1116
1312
  constructor() {
1117
- this._destroy$ = inject(DestroyService).destroy$;
1313
+ this._destroy$ = inject(DestroyService, { host: true }).destroy$;
1118
1314
  this._elementRef = inject(ElementRef);
1119
1315
  this._contentObserverService = inject(ContentObserverService);
1120
1316
  this._resizeObserverService = inject(ResizeObserverService);
@@ -1247,15 +1443,15 @@ class ObserveScrollStateDirective {
1247
1443
  return element;
1248
1444
  }
1249
1445
  }
1250
- ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1251
- ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { observerRootMargin: "observerRootMargin", observerThreshold: "observerThreshold" }, outputs: { etObserveScrollState: "etObserveScrollState" }, providers: [
1446
+ ObserveScrollStateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveScrollStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1447
+ ObserveScrollStateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ObserveScrollStateDirective, isStandalone: true, selector: "[etObserveScrollState]", inputs: { observerRootMargin: "observerRootMargin", observerThreshold: "observerThreshold" }, outputs: { etObserveScrollState: "etObserveScrollState" }, providers: [
1252
1448
  {
1253
1449
  provide: OBSERVE_SCROLL_STATE,
1254
1450
  useExisting: ObserveScrollStateDirective,
1255
1451
  },
1256
1452
  DestroyService,
1257
1453
  ], exportAs: ["etObserveScrollState"], ngImport: i0 });
1258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
1454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ObserveScrollStateDirective, decorators: [{
1259
1455
  type: Directive,
1260
1456
  args: [{
1261
1457
  selector: '[etObserveScrollState]',
@@ -1297,9 +1493,9 @@ class RepeatDirective {
1297
1493
  }
1298
1494
  }
1299
1495
  }
1300
- RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1301
- RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 });
1302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: RepeatDirective, decorators: [{
1496
+ RepeatDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: RepeatDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1497
+ RepeatDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: RepeatDirective, isStandalone: true, selector: "[etRepeat]", inputs: { repeatCount: ["etRepeat", "repeatCount"] }, ngImport: i0 });
1498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: RepeatDirective, decorators: [{
1303
1499
  type: Directive,
1304
1500
  args: [{
1305
1501
  selector: '[etRepeat]',
@@ -1470,9 +1666,9 @@ class SeoDirective {
1470
1666
  }
1471
1667
  }
1472
1668
  }
1473
- SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1474
- SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 });
1475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: SeoDirective, decorators: [{
1669
+ SeoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SeoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1670
+ SeoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: SeoDirective, isStandalone: true, providers: [{ provide: SEO_DIRECTIVE_TOKEN, useExisting: SeoDirective }], ngImport: i0 });
1671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SeoDirective, decorators: [{
1476
1672
  type: Directive,
1477
1673
  args: [{
1478
1674
  standalone: true,
@@ -1519,9 +1715,9 @@ class NormalizeGameResultTypePipe {
1519
1715
  this.transform = normalizeGameResultType;
1520
1716
  }
1521
1717
  }
1522
- NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1523
- NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" });
1524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
1718
+ NormalizeGameResultTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1719
+ NormalizeGameResultTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, isStandalone: true, name: "etNormalizeGameResultType" });
1720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeGameResultTypePipe, decorators: [{
1525
1721
  type: Pipe,
1526
1722
  args: [{ name: 'etNormalizeGameResultType', standalone: true }]
1527
1723
  }] });
@@ -1550,9 +1746,9 @@ class NormalizeMatchStatePipe {
1550
1746
  this.transform = normalizeMatchState;
1551
1747
  }
1552
1748
  }
1553
- NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1554
- NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" });
1555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
1749
+ NormalizeMatchStatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1750
+ NormalizeMatchStatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchStatePipe, isStandalone: true, name: "etNormalizeMatchState" });
1751
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchStatePipe, decorators: [{
1556
1752
  type: Pipe,
1557
1753
  args: [{ name: 'etNormalizeMatchState', standalone: true }]
1558
1754
  }] });
@@ -1609,9 +1805,9 @@ class NormalizeMatchParticipantsPipe {
1609
1805
  this.transform = normalizeMatchParticipants;
1610
1806
  }
1611
1807
  }
1612
- NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1613
- NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" });
1614
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
1808
+ NormalizeMatchParticipantsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1809
+ NormalizeMatchParticipantsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, isStandalone: true, name: "etNormalizeMatchParticipants" });
1810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchParticipantsPipe, decorators: [{
1615
1811
  type: Pipe,
1616
1812
  args: [{ name: 'etNormalizeMatchParticipants', standalone: true }]
1617
1813
  }] });
@@ -1737,9 +1933,9 @@ class NormalizeMatchScorePipe {
1737
1933
  this.transform = normalizeMatchScore;
1738
1934
  }
1739
1935
  }
1740
- NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1741
- NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" });
1742
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
1936
+ NormalizeMatchScorePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchScorePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1937
+ NormalizeMatchScorePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchScorePipe, isStandalone: true, name: "etNormalizeMatchScore" });
1938
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchScorePipe, decorators: [{
1743
1939
  type: Pipe,
1744
1940
  args: [{ name: 'etNormalizeMatchScore', standalone: true }]
1745
1941
  }] });
@@ -1787,9 +1983,9 @@ class NormalizeMatchTypePipe {
1787
1983
  this.transform = normalizeMatchType;
1788
1984
  }
1789
1985
  }
1790
- NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1791
- NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" });
1792
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
1986
+ NormalizeMatchTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1987
+ NormalizeMatchTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchTypePipe, isStandalone: true, name: "etNormalizeMatchType" });
1988
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: NormalizeMatchTypePipe, decorators: [{
1793
1989
  type: Pipe,
1794
1990
  args: [{ name: 'etNormalizeMatchType', standalone: true }]
1795
1991
  }] });
@@ -1804,9 +2000,9 @@ class ToArrayPipe {
1804
2000
  this.transform = toArray;
1805
2001
  }
1806
2002
  }
1807
- ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1808
- ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" });
1809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: ToArrayPipe, decorators: [{
2003
+ ToArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ToArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2004
+ ToArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: ToArrayPipe, isStandalone: true, name: "toArray" });
2005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ToArrayPipe, decorators: [{
1810
2006
  type: Pipe,
1811
2007
  args: [{ name: 'toArray', standalone: true }]
1812
2008
  }] });
@@ -1840,6 +2036,9 @@ class TypedQueryList extends QueryList {
1840
2036
  some(fn) {
1841
2037
  return super.some(fn);
1842
2038
  }
2039
+ find(fn) {
2040
+ return super.find(fn);
2041
+ }
1843
2042
  }
1844
2043
  _a = Symbol.iterator;
1845
2044
 
@@ -1847,5 +2046,5 @@ _a = Symbol.iterator;
1847
2046
  * Generated bundle index. Do not edit.
1848
2047
  */
1849
2048
 
1850
- export { ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DestroyService, FocusVisibleService, LetContext, LetDirective, Memo, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SeoDirective, StructuredDataComponent, ToArrayPipe, TypedQueryList, VIEWPORT_CONFIG, ViewportService, clamp, createReactiveBindings, deleteCookie, elementCanScroll, getCookie, getDomain, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isGroupMatch, isKnockoutMatch, mergeSeoConfig, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, setCookie, toArray, toArrayTrackByFn };
2049
+ export { ClickObserverFactory, ClickObserverService, ClickOutsideDirective, ContentObserverService, CursorDragScrollDirective, DEFAULT_VIEWPORT_CONFIG, DestroyService, FocusVisibleService, LetContext, LetDirective, Memo, MutationObserverFactory, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, OBSERVE_SCROLL_STATE, ObserveContentDirective, ObserveResizeDirective, ObserveScrollStateDirective, RepeatDirective, ResizeObserverFactory, ResizeObserverService, SCROLL_OBSERVER_FIRST_ELEMENT_CLASS, SCROLL_OBSERVER_IGNORE_TARGET_CLASS, SCROLL_OBSERVER_LAST_ELEMENT_CLASS, SEO_DIRECTIVE_TOKEN, ScrollObserverFirstElementDirective, ScrollObserverIgnoreTargetDirective, ScrollObserverLastElementDirective, SeoDirective, StructuredDataComponent, ToArrayPipe, TypedQueryList, VIEWPORT_CONFIG, ViewportService, clamp, clone, createReactiveBindings, deleteCookie, elementCanScroll, equal, getCookie, getDomain, getGroupMatchPoints, getGroupMatchScore, getKnockoutMatchScore, getMatchScoreSubLine, hasCookie, isGroupMatch, isKnockoutMatch, mergeSeoConfig, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, provideViewportConfig, setCookie, toArray, toArrayTrackByFn };
1851
2050
  //# sourceMappingURL=ethlete-core.mjs.map