{"version":3,"file":"192.610223e3b44f013e.js","sources":["webpack:///./node_modules/@angular/material/fesm2022/slide-toggle.mjs","webpack:///./src/app/shared/components/filters-v2/filter-v2-buttons/filter-v2-buttons.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-buttons/filter-v2-buttons.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-markets/filter-v2-markets.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-markets/filter-v2-markets.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-status/filter-v2-status.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-status/filter-v2-status.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-price/filter-v2-price.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-price/filter-v2-price.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-subtype/filter-v2-subtype.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-subtype/filter-v2-subtype.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-beds/filter-v2-beds.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-beds/filter-v2-beds.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-baths/filter-v2-baths.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-baths/filter-v2-baths.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-sqft/filter-v2-sqft.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-sqft/filter-v2-sqft.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-lot-size/filter-v2-lot-size.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-lot-size/filter-v2-lot-size.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-year-built/filter-v2-year-built.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-year-built/filter-v2-year-built.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-zip/filter-v2-zip.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-zip/filter-v2-zip.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-financials/filter-v2-financials.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-financials/filter-v2-financials.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-more/filter-v2-more.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-more/filter-v2-more.component.html","webpack:///./src/app/shared/components/filters-v2/filter-v2-more-desktop/filter-v2-more-desktop.component.ts","webpack:///./src/app/shared/components/filters-v2/filter-v2-more-desktop/filter-v2-more-desktop.component.html","webpack:///./src/app/shared/components/filters-v2/filters-v2.component.html","webpack:///./src/app/shared/components/filters-v2/filters-v2.component.ts","webpack:///./src/app/shared/models/paginator.ts","webpack:///./src/app/core/constants/map.ts","webpack:///./src/app/core/services/map-marker.service.ts","webpack:///./src/app/core/services/map.service.ts","webpack:///./src/app/modules/home/components/welcome-guest/welcome-guest.component.ts","webpack:///./src/app/modules/home/components/welcome-guest/welcome-guest.component.html","webpack:///./src/app/modules/home/pages/home-map/map-view/map-view.component.html","webpack:///./src/app/modules/home/pages/home-map/map-view/map-view.component.ts","webpack:///./src/app/modules/home/components/header/header.component.html","webpack:///./src/app/modules/home/components/header/header.component.ts","webpack:///./src/app/modules/home/components/notice/notice.component.html","webpack:///./src/app/modules/home/components/notice/notice.component.ts","webpack:///./src/app/modules/home/pages/home-map/list-view/list-view.component.html","webpack:///./src/app/modules/home/pages/home-map/list-view/list-view.component.ts","webpack:///./src/app/modules/home/pages/home-map/switcher/switcher.component.html","webpack:///./src/app/modules/home/pages/home-map/switcher/switcher.component.ts","webpack:///./src/app/modules/home/pages/home-map/home-mobile/home-mobile.component.html","webpack:///./src/app/modules/home/pages/home-map/home-mobile/home-mobile.component.ts","webpack:///./src/app/modules/home/pages/home-map/home-map.component.html","webpack:///./src/app/modules/home/pages/home-map/home-map.component.ts","webpack:///./src/app/modules/home/home.routing.ts","webpack:///./src/app/modules/home/home.module.ts"],"sourceRoot":"webpack:///","sourcesContent":["import * as i0 from '@angular/core';\nimport { InjectionToken, forwardRef, EventEmitter, Directive, Input, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Inject, Optional, ViewChild, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS, CheckboxRequiredValidator } from '@angular/forms';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport * as i1 from '@angular/cdk/a11y';\nimport * as i2 from '@angular/material/core';\nimport { mixinTabIndex, mixinColor, mixinDisableRipple, mixinDisabled, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { CommonModule } from '@angular/common';\n\n/** Injection token to be used to override the default options for `mat-slide-toggle`. */\nconst MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS = new InjectionToken('mat-slide-toggle-default-options', {\n providedIn: 'root',\n factory: () => ({ disableToggleValue: false }),\n});\n\n/** @docs-private */\nconst MAT_SLIDE_TOGGLE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatSlideToggle),\n multi: true,\n};\n/** Change event object emitted by a slide toggle. */\nclass MatSlideToggleChange {\n constructor(\n /** The source slide toggle of the event. */\n source, \n /** The new `checked` value of the slide toggle. */\n checked) {\n this.source = source;\n this.checked = checked;\n }\n}\n// Increasing integer for generating unique ids for slide-toggle components.\nlet nextUniqueId = 0;\n// Boilerplate for applying mixins to MatSlideToggle.\n/** @docs-private */\nconst _MatSlideToggleMixinBase = mixinTabIndex(mixinColor(mixinDisableRipple(mixinDisabled(class {\n constructor(_elementRef) {\n this._elementRef = _elementRef;\n }\n}))));\nclass _MatSlideToggleBase extends _MatSlideToggleMixinBase {\n /** Whether the slide-toggle is required. */\n get required() {\n return this._required;\n }\n set required(value) {\n this._required = coerceBooleanProperty(value);\n }\n /** Whether the slide-toggle element is checked or not. */\n get checked() {\n return this._checked;\n }\n set checked(value) {\n this._checked = coerceBooleanProperty(value);\n this._changeDetectorRef.markForCheck();\n }\n /** Returns the unique id for the visual hidden input. */\n get inputId() {\n return `${this.id || this._uniqueId}-input`;\n }\n constructor(elementRef, _focusMonitor, _changeDetectorRef, tabIndex, defaults, animationMode, idPrefix) {\n super(elementRef);\n this._focusMonitor = _focusMonitor;\n this._changeDetectorRef = _changeDetectorRef;\n this.defaults = defaults;\n this._onChange = (_) => { };\n this._onTouched = () => { };\n this._required = false;\n this._checked = false;\n /** Name value will be applied to the input element if present. */\n this.name = null;\n /** Whether the label should appear after or before the slide-toggle. Defaults to 'after'. */\n this.labelPosition = 'after';\n /** Used to set the aria-label attribute on the underlying input element. */\n this.ariaLabel = null;\n /** Used to set the aria-labelledby attribute on the underlying input element. */\n this.ariaLabelledby = null;\n /** An event will be dispatched each time the slide-toggle changes its value. */\n this.change = new EventEmitter();\n /**\n * An event will be dispatched each time the slide-toggle input is toggled.\n * This event is always emitted when the user toggles the slide toggle, but this does not mean\n * the slide toggle's value has changed.\n */\n this.toggleChange = new EventEmitter();\n this.tabIndex = parseInt(tabIndex) || 0;\n this.color = this.defaultColor = defaults.color || 'accent';\n this._noopAnimations = animationMode === 'NoopAnimations';\n this.id = this._uniqueId = `${idPrefix}${++nextUniqueId}`;\n }\n ngAfterContentInit() {\n this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {\n if (focusOrigin === 'keyboard' || focusOrigin === 'program') {\n this._focused = true;\n this._changeDetectorRef.markForCheck();\n }\n else if (!focusOrigin) {\n // When a focused element becomes disabled, the browser *immediately* fires a blur event.\n // Angular does not expect events to be raised during change detection, so any state\n // change (such as a form control's ng-touched) will cause a changed-after-checked error.\n // See https://github.com/angular/angular/issues/17793. To work around this, we defer\n // telling the form control it has been touched until the next tick.\n Promise.resolve().then(() => {\n this._focused = false;\n this._onTouched();\n this._changeDetectorRef.markForCheck();\n });\n }\n });\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n /** Implemented as part of ControlValueAccessor. */\n writeValue(value) {\n this.checked = !!value;\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnChange(fn) {\n this._onChange = fn;\n }\n /** Implemented as part of ControlValueAccessor. */\n registerOnTouched(fn) {\n this._onTouched = fn;\n }\n /** Implemented as a part of ControlValueAccessor. */\n setDisabledState(isDisabled) {\n this.disabled = isDisabled;\n this._changeDetectorRef.markForCheck();\n }\n /** Toggles the checked state of the slide-toggle. */\n toggle() {\n this.checked = !this.checked;\n this._onChange(this.checked);\n }\n /**\n * Emits a change event on the `change` output. Also notifies the FormControl about the change.\n */\n _emitChangeEvent() {\n this._onChange(this.checked);\n this.change.emit(this._createChangeEvent(this.checked));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: _MatSlideToggleBase, deps: \"invalid\", target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: _MatSlideToggleBase, inputs: { name: \"name\", id: \"id\", labelPosition: \"labelPosition\", ariaLabel: [\"aria-label\", \"ariaLabel\"], ariaLabelledby: [\"aria-labelledby\", \"ariaLabelledby\"], ariaDescribedby: [\"aria-describedby\", \"ariaDescribedby\"], required: \"required\", checked: \"checked\" }, outputs: { change: \"change\", toggleChange: \"toggleChange\" }, usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: _MatSlideToggleBase, decorators: [{\n type: Directive\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: i0.ChangeDetectorRef }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; }, propDecorators: { name: [{\n type: Input\n }], id: [{\n type: Input\n }], labelPosition: [{\n type: Input\n }], ariaLabel: [{\n type: Input,\n args: ['aria-label']\n }], ariaLabelledby: [{\n type: Input,\n args: ['aria-labelledby']\n }], ariaDescribedby: [{\n type: Input,\n args: ['aria-describedby']\n }], required: [{\n type: Input\n }], checked: [{\n type: Input\n }], change: [{\n type: Output\n }], toggleChange: [{\n type: Output\n }] } });\nclass MatSlideToggle extends _MatSlideToggleBase {\n /** Returns the unique id for the visual hidden button. */\n get buttonId() {\n return `${this.id || this._uniqueId}-button`;\n }\n constructor(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode) {\n super(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode, 'mat-mdc-slide-toggle-');\n this._labelId = this._uniqueId + '-label';\n }\n /** Method being called whenever the underlying button is clicked. */\n _handleClick() {\n this.toggleChange.emit();\n if (!this.defaults.disableToggleValue) {\n this.checked = !this.checked;\n this._onChange(this.checked);\n this.change.emit(new MatSlideToggleChange(this, this.checked));\n }\n }\n /** Focuses the slide-toggle. */\n focus() {\n this._switchElement.nativeElement.focus();\n }\n _createChangeEvent(isChecked) {\n return new MatSlideToggleChange(this, isChecked);\n }\n _getAriaLabelledBy() {\n if (this.ariaLabelledby) {\n return this.ariaLabelledby;\n }\n // Even though we have a `label` element with a `for` pointing to the button, we need the\n // `aria-labelledby`, because the button gets flagged as not having a label by tools like axe.\n return this.ariaLabel ? null : this._labelId;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggle, deps: [{ token: i0.ElementRef }, { token: i1.FocusMonitor }, { token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }, { token: MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MatSlideToggle, selector: \"mat-slide-toggle\", inputs: { disabled: \"disabled\", disableRipple: \"disableRipple\", color: \"color\", tabIndex: \"tabIndex\" }, host: { properties: { \"id\": \"id\", \"attr.tabindex\": \"null\", \"attr.aria-label\": \"null\", \"attr.name\": \"null\", \"attr.aria-labelledby\": \"null\", \"class.mat-mdc-slide-toggle-focused\": \"_focused\", \"class.mat-mdc-slide-toggle-checked\": \"checked\", \"class._mat-animation-noopable\": \"_noopAnimations\" }, classAttribute: \"mat-mdc-slide-toggle\" }, providers: [MAT_SLIDE_TOGGLE_VALUE_ACCESSOR], viewQueries: [{ propertyName: \"_switchElement\", first: true, predicate: [\"switch\"], descendants: true }], exportAs: [\"matSlideToggle\"], usesInheritance: true, ngImport: i0, template: \"
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n \\n\\n \\n \\n
\\n\", styles: [\".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:\\\"\\\";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}\"], dependencies: [{ kind: \"directive\", type: i2.MatRipple, selector: \"[mat-ripple], [matRipple]\", inputs: [\"matRippleColor\", \"matRippleUnbounded\", \"matRippleCentered\", \"matRippleRadius\", \"matRippleAnimation\", \"matRippleDisabled\", \"matRippleTrigger\"], exportAs: [\"matRipple\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggle, decorators: [{\n type: Component,\n args: [{ selector: 'mat-slide-toggle', inputs: ['disabled', 'disableRipple', 'color', 'tabIndex'], host: {\n 'class': 'mat-mdc-slide-toggle',\n '[id]': 'id',\n // Needs to be removed since it causes some a11y issues (see #21266).\n '[attr.tabindex]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.name]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[class.mat-mdc-slide-toggle-focused]': '_focused',\n '[class.mat-mdc-slide-toggle-checked]': 'checked',\n '[class._mat-animation-noopable]': '_noopAnimations',\n }, exportAs: 'matSlideToggle', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [MAT_SLIDE_TOGGLE_VALUE_ACCESSOR], template: \"
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n \\n\\n \\n \\n
\\n\", styles: [\".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:\\\"\\\";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:\\\"\\\";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:\\\"\\\"}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}\"] }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.FocusMonitor }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{\n type: Attribute,\n args: ['tabindex']\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [ANIMATION_MODULE_TYPE]\n }] }]; }, propDecorators: { _switchElement: [{\n type: ViewChild,\n args: ['switch']\n }] } });\n\nconst MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => MatSlideToggleRequiredValidator),\n multi: true,\n};\n/**\n * Validator for Material slide-toggle components with the required attribute in a\n * template-driven form. The default validator for required form controls asserts\n * that the control value is not undefined but that is not appropriate for a slide-toggle\n * where the value is always defined.\n *\n * Required slide-toggle form controls are valid when checked.\n */\nclass MatSlideToggleRequiredValidator extends CheckboxRequiredValidator {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggleRequiredValidator, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MatSlideToggleRequiredValidator, selector: \"mat-slide-toggle[required][formControlName],\\n mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]\", providers: [MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggleRequiredValidator, decorators: [{\n type: Directive,\n args: [{\n selector: `mat-slide-toggle[required][formControlName],\n mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]`,\n providers: [MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR],\n }]\n }] });\n\n/** This module is used by both original and MDC-based slide-toggle implementations. */\nclass _MatSlideToggleRequiredValidatorModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule, declarations: [MatSlideToggleRequiredValidator], exports: [MatSlideToggleRequiredValidator] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: _MatSlideToggleRequiredValidatorModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [MatSlideToggleRequiredValidator],\n declarations: [MatSlideToggleRequiredValidator],\n }]\n }] });\nclass MatSlideToggleModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggleModule, declarations: [MatSlideToggle], imports: [_MatSlideToggleRequiredValidatorModule, MatCommonModule, MatRippleModule, CommonModule], exports: [_MatSlideToggleRequiredValidatorModule, MatSlideToggle, MatCommonModule] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggleModule, imports: [_MatSlideToggleRequiredValidatorModule, MatCommonModule, MatRippleModule, CommonModule, _MatSlideToggleRequiredValidatorModule, MatCommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MatSlideToggleModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [_MatSlideToggleRequiredValidatorModule, MatCommonModule, MatRippleModule, CommonModule],\n exports: [_MatSlideToggleRequiredValidatorModule, MatSlideToggle, MatCommonModule],\n declarations: [MatSlideToggle],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS, MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR, MAT_SLIDE_TOGGLE_VALUE_ACCESSOR, MatSlideToggle, MatSlideToggleChange, MatSlideToggleModule, MatSlideToggleRequiredValidator, _MatSlideToggleBase, _MatSlideToggleRequiredValidatorModule };\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\nimport { ButtonComponent } from '@shared/components/button/button.component';\n\n@Component({\n selector: 'app-filter-v2-buttons',\n templateUrl: './filter-v2-buttons.component.html',\n styleUrls: ['./filter-v2-buttons.component.scss'],\n})\nexport class FilterV2ButtonsComponent {\n @Input() mobile = false;\n @Input() position: 'center' | 'right' = 'center';\n @Output() resetAction = new EventEmitter();\n @Output() applyAction = new EventEmitter();\n\n handleReset(button: ButtonComponent): void {\n button.blurButton();\n this.resetAction.emit();\n }\n\n handleApply(button: ButtonComponent): void {\n button.blurButton();\n this.applyAction.emit();\n }\n}\n","\n \n {{ mobile ? 'Clear all' : 'Reset' }}\n \n\n \n Apply\n \n\n"," 0 || isOpen }\"\n (menuOpened)=\"isOpen = true\"\n (menuClosed)=\"isOpen = false\"\n>\n \n Markets\n 0\"\n >({{ checkedCount }})\n \n \n\n\n\n \n
    \n
  • \n {{ allSelected ? 'Deselect' : 'Select' }} all\n
  • \n
  • \n \n
  • \n
  • \n {{ market.name }}\n
  • \n
  • \n
    Nothing found for \"{{ searchTerm }}\"
    \n
  • \n
\n\n \n \n\n","import {\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { Location } from '@angular/common';\nimport { take } from 'rxjs';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { MatMenuTrigger } from '@angular/material/menu';\n\nimport states, { IState } from '@core/constants/states';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedStateFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-markets',\n templateUrl: './filter-v2-markets.component.html',\n styleUrls: [\n './filter-v2-markets.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2MarketsComponent implements OnInit {\n @Input() page = 1;\n @Output() applyFilters = new EventEmitter();\n @ViewChild('trigger') menuTrigger!: MatMenuTrigger;\n\n protected isOpen = false;\n protected firstChange = true;\n\n protected checkedCount = 0;\n protected allSelected = false;\n\n protected markets: IState[] = states;\n protected searchTerm: string = '';\n protected filteredMarkets: IState[] = [];\n\n public checkedMarkets: { [key: string]: boolean } = states.reduce(\n (acc, state) => ({\n ...acc,\n [state.abbr]: false,\n }),\n {}\n );\n\n constructor(\n private route: ActivatedRoute,\n private store: Store,\n private location: Location\n ) {}\n\n ngOnInit(): void {\n this.filteredMarkets = [...this.markets];\n\n // clear filters and URL on state change\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (!this.firstChange && !filters?.state?.in) {\n this.checkedCount = 0;\n this.allSelected = false;\n this.location.replaceState(`/page/${this.page}`);\n this.checkedMarkets = states.reduce(\n (acc, state) => ({\n ...acc,\n [state.abbr]: false,\n }),\n {}\n );\n }\n });\n\n // load first from route, then from global state\n this.route.paramMap.pipe(take(1)).subscribe((params) => {\n const states = params.get('states')?.split(',') || [];\n if (states.length) {\n this.loadStatesOnInit(states);\n } else {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.state?.in) {\n this.loadStatesOnInit(filters.state.in);\n }\n });\n }\n this.firstChange = false;\n });\n }\n\n filterMarkets(): void {\n if (!this.searchTerm.trim()) {\n this.filteredMarkets = [...this.markets];\n return;\n }\n\n this.filteredMarkets = this.markets.filter((market) =>\n market.name.toLowerCase().includes(this.searchTerm.toLowerCase())\n );\n }\n\n loadStatesOnInit(values?: string[]) {\n if (values?.length) {\n if (values.length === this.markets.length) this.allSelected = true;\n this.location.replaceState(\n `/page/${this.page}/states/${values.join(',')}`\n );\n this.checkedMarkets = values.reduce(\n (acc, state) => ({\n ...acc,\n [state]: true,\n }),\n {}\n );\n this.onChangeStates();\n }\n }\n\n onChangeStates(): void {\n const items = Object.keys(this.checkedMarkets).filter(\n (key) => this.checkedMarkets[key]\n );\n this.checkedCount = items.length;\n this.store.dispatch(\n setUnsavedStateFiltersAction({ in: items.length ? items : undefined })\n );\n this.location.replaceState(`/page/${this.page}/states/${items.join(',')}`);\n if (this.checkedCount === this.markets.length) {\n this.allSelected = true;\n } else {\n this.allSelected = false;\n }\n this.applyFilters.emit();\n }\n\n toggleAllSelection(): void {\n this.allSelected = !this.allSelected;\n this.checkedMarkets = this.markets.reduce(\n (acc, state) => ({\n ...acc,\n [state.abbr]: this.allSelected,\n }),\n {}\n );\n this.onChangeStates();\n }\n\n resetMarkets(): void {\n this.checkedMarkets = this.markets.reduce(\n (acc, state) => ({\n ...acc,\n [state.abbr]: false,\n }),\n {}\n );\n this.allSelected = false;\n this.onChangeStates();\n }\n\n closeMenu(): void {\n this.menuTrigger.closeMenu();\n }\n}\n"," 0 || isOpen, mobile: mobile }\"\n (menuOpened)=\"isOpen = true\"\n (menuClosed)=\"isOpen = false\"\n>\n \n Status\n 0\"\n >({{ checkedCount }})\n \n \n\n\n\n \n
    \n
  • \n {{ allSelected ? 'Deselect' : 'Select' }} all\n
  • \n
  • \n \n {{\n (status === 'OPEN' ? 'ACTIVE' : status)\n | stringTransform: 'capitalizeFirstLetter'\n }}\n \n
  • \n
\n\n \n \n
\n","import {\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { MatMenuTrigger } from '@angular/material/menu';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { take } from 'rxjs';\n\nimport { TPropertyStatus } from '@shared/models/properties';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\nimport { setUnsavedStatusFiltersAction } from '@state/filters/filters.actions';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-status',\n templateUrl: './filter-v2-status.component.html',\n styleUrls: [\n './filter-v2-status.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2StatusComponent implements OnInit {\n @Input() mobile = false;\n @Output() applyFilters = new EventEmitter();\n @ViewChild('trigger') menuTrigger!: MatMenuTrigger;\n\n protected isOpen = false;\n protected checkedCount = 0;\n protected allSelected = false;\n\n protected statuses: TPropertyStatus[] = ['OPEN', 'PENDING', 'SOLD'];\n public checkedStatuses: { [key: string]: boolean } = this.statuses.reduce(\n (acc, status) => ({\n ...acc,\n [status]: false,\n }),\n {}\n );\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n // for loading the first time\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.status && filters.status.in) {\n if (filters.status.in.length === this.statuses.length) {\n this.allSelected = true;\n }\n this.checkedStatuses = this.statuses.reduce(\n (acc, status) => ({\n ...acc,\n [status]: filters?.status?.in?.includes(status),\n }),\n {}\n );\n this.onChangeStatuses();\n }\n });\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (!filters?.status?.in && this.checkedCount > 0) {\n this.checkedCount = 0;\n this.allSelected = false;\n this.checkedStatuses = this.statuses.reduce(\n (acc, status) => ({\n ...acc,\n [status]: false,\n }),\n {}\n );\n }\n });\n }\n\n onChangeStatuses() {\n const statusesLength = Object.values(this.checkedStatuses).filter(\n (status) => status\n ).length;\n this.checkedCount = statusesLength;\n if (statusesLength === this.statuses.length) {\n this.allSelected = true;\n } else {\n this.allSelected = false;\n }\n if (statusesLength) {\n this.store.dispatch(\n setUnsavedStatusFiltersAction({\n in: [\n ...Object.keys(this.checkedStatuses).filter(\n (key: string) => this.checkedStatuses[key]\n ),\n ] as TPropertyStatus[],\n })\n );\n } else {\n this.store.dispatch(setUnsavedStatusFiltersAction({}));\n }\n if (!this.mobile) this.applyFilters.emit();\n }\n\n toggleAllSelection() {\n this.allSelected = !this.allSelected;\n this.checkedStatuses = this.statuses.reduce(\n (acc, status) => ({\n ...acc,\n [status]: this.allSelected,\n }),\n {}\n );\n this.onChangeStatuses();\n }\n\n resetStatuses() {\n this.checkedStatuses = this.statuses.reduce(\n (acc, status) => ({\n ...acc,\n [status]: false,\n }),\n {}\n );\n this.onChangeStatuses();\n }\n\n closeMenu() {\n this.menuTrigger.closeMenu();\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.status && filters.status.in) {\n if (filters.status.in.length === this.statuses.length) {\n this.allSelected = true;\n }\n this.checkedStatuses = this.statuses.reduce(\n (acc, status) => ({\n ...acc,\n [status]: filters?.status?.in?.includes(status),\n }),\n {}\n );\n this.onChangeStatuses();\n }\n });\n }\n}\n","
\n \n \n
\n\n\n \n Price\n {{ label }}\n \n \n\n \n \n

Price range

\n \n \n
\n
\n\n\n
\n \n \n \n \n \n \n
\n\n
\n \n
\n
\n","import {\n Component,\n ElementRef,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { take } from 'rxjs';\nimport { MatMenuTrigger } from '@angular/material/menu';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\nimport { setUnsavedPriceFiltersAction } from '@state/filters/filters.actions';\n\nexport const MAX_PRICE = 600000;\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-price',\n templateUrl: './filter-v2-price.component.html',\n styleUrls: [\n './filter-v2-price.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2PriceComponent implements OnInit {\n @Input() mobile = false;\n @ViewChild('inputMin') inputMin?: ElementRef;\n @ViewChild('inputMax') inputMax?: ElementRef;\n @ViewChild('trigger') menuTrigger!: MatMenuTrigger;\n @Output() applyFilters = new EventEmitter();\n\n protected isOpen = false;\n protected label = 'Any price';\n public minValue: number | null = null;\n public maxValue: number | null = null;\n\n constructor(private store: Store) {}\n\n ngOnInit() {\n // for loading the first time\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.price) {\n if (filters.price.eq) {\n this.minValue = this.maxValue = filters.price.eq;\n } else {\n if (filters.price.greaterThanOrEqual) {\n this.minValue = filters.price.greaterThanOrEqual;\n }\n if (filters.price.lessThanOrEqual) {\n this.maxValue = filters.price.lessThanOrEqual;\n }\n }\n this.handleLabel();\n } else {\n this.minValue = null;\n this.maxValue = null;\n }\n });\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (!filters?.price && (this.minValue || this.maxValue)) {\n this.minValue = null;\n this.maxValue = null;\n this.handleLabel();\n }\n });\n }\n\n onInputChange() {\n let priceQuery: IFilterNumber | undefined = {};\n\n if (this.minValue && this.maxValue && this.minValue > this.maxValue) {\n this.maxValue = this.minValue;\n }\n\n if (!this.minValue && !this.maxValue) {\n priceQuery = undefined;\n } else if (\n this.minValue &&\n this.maxValue &&\n this.minValue === this.maxValue\n ) {\n priceQuery = { eq: this.minValue };\n } else {\n if (this.minValue && this.minValue > 0) {\n priceQuery = { greaterThanOrEqual: this.minValue };\n }\n if (this.maxValue && this.maxValue > 0) {\n priceQuery = { ...priceQuery, lessThanOrEqual: this.maxValue };\n }\n }\n\n this.handleLabel();\n this.store.dispatch(setUnsavedPriceFiltersAction({ ...priceQuery }));\n if (!this.mobile) this.applyFilters.emit();\n }\n\n handleLabel() {\n if (!this.minValue && !this.maxValue) {\n this.label = 'Any price';\n } else {\n const minFormatted = (this.minValue || 0).toLocaleString('en-US');\n const maxFormatted = (this.maxValue || 0).toLocaleString('en-US');\n\n if (this.minValue === this.maxValue) {\n this.label = `$${maxFormatted}`;\n } else if (this.minValue && !this.maxValue) {\n this.label = `$${minFormatted}+`;\n } else if (this.maxValue && !this.minValue) {\n this.label = `Up to $${maxFormatted}`;\n } else {\n this.label = `$${minFormatted} - $${maxFormatted}`;\n }\n }\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.price) {\n if (filters.price.eq) {\n this.minValue = this.maxValue = filters.price.eq;\n } else {\n if (filters.price.greaterThanOrEqual) {\n this.minValue = filters.price.greaterThanOrEqual;\n } else {\n this.minValue = null;\n }\n if (filters.price.lessThanOrEqual) {\n this.maxValue = filters.price.lessThanOrEqual;\n } else {\n this.maxValue = null;\n }\n }\n this.handleLabel();\n } else {\n this.minValue = null;\n this.maxValue = null;\n }\n });\n }\n\n resetPrice() {\n this.minValue = null;\n this.maxValue = null;\n this.handleLabel();\n this.store.dispatch(setUnsavedPriceFiltersAction({}));\n this.applyFilters.emit();\n }\n\n closeMenu(): void {\n this.menuTrigger.closeMenu();\n }\n\n selectAll(event: FocusEvent): void {\n const input = event.target as HTMLInputElement;\n input.addEventListener('contextmenu', (e) => {\n e.preventDefault();\n });\n input.select();\n }\n}\n","
\n
\n\n\n 0 || isOpen }\"\n (menuOpened)=\"isOpen = true\"\n (menuClosed)=\"isOpen = false\"\n >\n \n Property type\n 0\"\n >({{ checkedCount }})\n \n \n \n\n \n \n
    \n
  • \n {{ allSelected ? 'Deselect' : 'Select' }} all\n
  • \n
  • \n {{ propertyType.key }}\n
      \n
    • \n \n {{ subtype | stringTransform: 'capitalizeFirstLetter' }}\n \n
    • \n
    \n
  • \n
\n\n \n \n \n
\n","import {\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { MatMenuTrigger } from '@angular/material/menu';\nimport { take } from 'rxjs';\n\nimport { TPropertySubType } from '@shared/models/properties';\nimport { IPropertyType, PROPERTY_TYPES } from '@core/constants/properties';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedSubtypeFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-subtype',\n templateUrl: './filter-v2-subtype.component.html',\n styleUrls: [\n './filter-v2-subtype.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2SubtypeComponent implements OnInit {\n @Input() mobile = false;\n @Output() applyFilters = new EventEmitter();\n @ViewChild('trigger') menuTrigger!: MatMenuTrigger;\n\n protected isOpen = false;\n protected allSelected = false;\n protected propertyTypes: IPropertyType[] = PROPERTY_TYPES;\n protected checkedCount = 0;\n protected totalSubtypes = PROPERTY_TYPES.reduce(\n (acc, curr) => acc + curr.subtypes.length,\n 0\n );\n public checkedSubtypes: { [key: string]: boolean } = PROPERTY_TYPES.reduce(\n (acc, curr) => ({\n ...acc,\n ...curr.subtypes.reduce(\n (acc2, curr2) => ({ ...acc2, [curr2]: false }),\n {}\n ),\n }),\n {}\n );\n\n constructor(private store: Store) {}\n\n ngOnInit() {\n // for loading the first time\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.subType && filters.subType.in) {\n this.checkedCount = filters.subType.in.length;\n if (this.checkedCount === this.totalSubtypes) this.allSelected = true;\n this.checkedSubtypes = this.propertyTypes.reduce(\n (acc, curr) => ({\n ...acc,\n ...curr.subtypes.reduce(\n (acc2, curr2) => ({\n ...acc2,\n [curr2]: filters?.subType?.in?.includes(\n curr2 as TPropertySubType\n ),\n }),\n {}\n ),\n }),\n {}\n );\n }\n });\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (!filters?.subType?.in && this.checkedCount > 0) {\n this.checkedCount = 0;\n this.allSelected = false;\n this.checkedSubtypes = PROPERTY_TYPES.reduce(\n (acc, curr) => ({\n ...acc,\n ...curr.subtypes.reduce(\n (acc2, curr2) => ({ ...acc2, [curr2]: false }),\n {}\n ),\n }),\n {}\n );\n }\n });\n }\n\n onChangeSubtypes() {\n const subtypesLength = Object.values(this.checkedSubtypes).filter(\n (subtype) => subtype\n ).length;\n this.checkedCount = subtypesLength;\n if (subtypesLength) {\n this.store.dispatch(\n setUnsavedSubtypeFiltersAction({\n in: [\n ...Object.keys(this.checkedSubtypes).filter(\n (key) => this.checkedSubtypes[key]\n ),\n ] as TPropertySubType[],\n })\n );\n } else {\n this.store.dispatch(setUnsavedSubtypeFiltersAction({}));\n }\n if (!this.mobile) this.applyFilters.emit();\n }\n\n toggleAllSelection(): void {\n this.allSelected = !this.allSelected;\n this.checkedSubtypes = PROPERTY_TYPES.reduce(\n (acc, curr) => ({\n ...acc,\n ...curr.subtypes.reduce(\n (acc2, curr2) => ({ ...acc2, [curr2]: this.allSelected }),\n {}\n ),\n }),\n {}\n );\n this.onChangeSubtypes();\n }\n\n resetSubtypes() {\n this.checkedCount = 0;\n this.allSelected = false;\n this.checkedSubtypes = PROPERTY_TYPES.reduce(\n (acc, curr) => ({\n ...acc,\n ...curr.subtypes.reduce(\n (acc2, curr2) => ({ ...acc2, [curr2]: false }),\n {}\n ),\n }),\n {}\n );\n this.store.dispatch(setUnsavedSubtypeFiltersAction({}));\n this.applyFilters.emit();\n }\n\n closeMenu() {\n this.menuTrigger.closeMenu();\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.subType?.in) {\n this.checkedCount = filters.subType.in.length;\n if (this.checkedCount === this.totalSubtypes) this.allSelected = true;\n this.checkedSubtypes = this.propertyTypes.reduce(\n (acc, curr) => ({\n ...acc,\n ...curr.subtypes.reduce(\n (acc2, curr2) => ({\n ...acc2,\n [curr2]: filters?.subType?.in?.includes(\n curr2 as TPropertySubType\n ),\n }),\n {}\n ),\n }),\n {}\n );\n } else {\n this.checkedCount = 0;\n this.allSelected = false;\n this.checkedSubtypes = PROPERTY_TYPES.reduce(\n (acc, curr) => ({\n ...acc,\n ...curr.subtypes.reduce(\n (acc2, curr2) => ({ ...acc2, [curr2]: false }),\n {}\n ),\n }),\n {}\n );\n }\n });\n }\n}\n","
\n \n\n
\n
\n \n \n No min\n 1\n 2\n 3\n 4\n 5\n \n \n
\n\n
\n \n \n No max\n 1\n 2\n 3\n 4\n 5\n \n \n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { take } from 'rxjs';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedBedroomsFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-beds',\n templateUrl: './filter-v2-beds.component.html',\n styleUrls: [\n './filter-v2-beds.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2BedsComponent implements OnInit {\n public minValue = 0;\n public maxValue = 0;\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.loadInitialValue();\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (\n !filters?.bedrooms ||\n (!filters.bedrooms.greaterThanOrEqual &&\n !filters.bedrooms.lessThanOrEqual)\n ) {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n\n handleChange() {\n if (this.minValue > this.maxValue && this.maxValue > 0) {\n this.maxValue = this.minValue;\n }\n\n let bedroomsQuery: IFilterNumber = {};\n if (this.minValue > 0) {\n bedroomsQuery.greaterThanOrEqual = this.minValue;\n }\n if (this.maxValue > 0) {\n bedroomsQuery.lessThanOrEqual = this.maxValue;\n }\n\n this.store.dispatch(setUnsavedBedroomsFiltersAction(bedroomsQuery));\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.bedrooms) {\n if (filters.bedrooms.greaterThanOrEqual) {\n this.minValue = filters.bedrooms.greaterThanOrEqual;\n } else {\n this.minValue = 0;\n }\n if (filters.bedrooms.lessThanOrEqual) {\n this.maxValue = filters.bedrooms.lessThanOrEqual;\n } else {\n this.maxValue = 0;\n }\n } else {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n}\n","
\n \n\n
\n
\n \n \n No min\n 1\n 1.5\n 2\n 3\n 4\n 5\n \n \n
\n\n
\n \n \n No max\n 1\n 1.5\n 2\n 3\n 4\n 5\n \n \n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { take } from 'rxjs';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedBathroomsFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-baths',\n templateUrl: './filter-v2-baths.component.html',\n styleUrls: [\n './filter-v2-baths.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2BathsComponent implements OnInit {\n public minValue = 0;\n public maxValue = 0;\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.loadInitialValue();\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (\n !filters?.bathrooms ||\n (!filters.bathrooms.greaterThanOrEqual &&\n !filters.bathrooms.lessThanOrEqual)\n ) {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n\n handleChange() {\n if (this.minValue > this.maxValue && this.maxValue > 0) {\n this.maxValue = this.minValue;\n }\n\n let bathroomsQuery: IFilterNumber = {};\n if (this.minValue > 0) {\n bathroomsQuery.greaterThanOrEqual = this.minValue;\n }\n if (this.maxValue > 0) {\n bathroomsQuery.lessThanOrEqual = this.maxValue;\n }\n\n this.store.dispatch(setUnsavedBathroomsFiltersAction(bathroomsQuery));\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.bathrooms) {\n if (filters.bathrooms.greaterThanOrEqual) {\n this.minValue = filters.bathrooms.greaterThanOrEqual;\n } else {\n this.minValue = 0;\n }\n if (filters.bathrooms.lessThanOrEqual) {\n this.maxValue = filters.bathrooms.lessThanOrEqual;\n } else {\n this.maxValue = 0;\n }\n } else {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n}\n","
\n \n\n
\n
\n \n \n No min\n \n {{ option | number }} sqft\n \n \n \n
\n\n
\n \n \n No max\n \n \n {{ option | number }} sqft\n \n \n \n \n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { take } from 'rxjs';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedSquareFootFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-sqft',\n templateUrl: './filter-v2-sqft.component.html',\n styleUrls: [\n './filter-v2-sqft.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2SqftComponent implements OnInit {\n public minValue = 0;\n public maxValue = 0;\n protected options = [\n 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, 3500, 4000,\n 5000, 7500,\n ];\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.loadInitialValue();\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (\n !filters?.squareFoot ||\n (!filters.squareFoot.greaterThanOrEqual &&\n !filters.squareFoot.lessThanOrEqual)\n ) {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n\n handleChange() {\n if (this.minValue > this.maxValue && this.maxValue > 0) {\n this.maxValue = this.minValue;\n }\n\n let squareFootQuery: IFilterNumber = {};\n if (this.minValue > 0) {\n squareFootQuery.greaterThanOrEqual = this.minValue;\n }\n if (this.maxValue > 0) {\n squareFootQuery.lessThanOrEqual = this.maxValue;\n }\n\n this.store.dispatch(setUnsavedSquareFootFiltersAction(squareFootQuery));\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.squareFoot) {\n if (filters.squareFoot.greaterThanOrEqual) {\n this.minValue = filters.squareFoot.greaterThanOrEqual;\n } else {\n this.minValue = 0;\n }\n if (filters.squareFoot.lessThanOrEqual) {\n this.maxValue = filters.squareFoot.lessThanOrEqual;\n } else {\n this.maxValue = 0;\n }\n } else {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n}\n","
\n \n\n
\n
\n \n \n No min\n \n \n {{ option | number }} sqft\n \n = 10000\">\n {{ option / 40000 | number }}\n {{ option / 40000 === 1 ? 'acre' : 'acres' }}\n \n \n \n \n
\n\n
\n \n \n No max\n \n \n \n {{ option | number }} sqft\n \n = 10000\">\n {{ option / 40000 | number }}\n {{ option / 40000 === 1 ? 'acre' : 'acres' }}\n \n \n \n \n \n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { take } from 'rxjs';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedLotSizeFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-lot-size',\n templateUrl: './filter-v2-lot-size.component.html',\n styleUrls: [\n './filter-v2-lot-size.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2LotSizeComponent implements OnInit {\n public minValue = 0;\n public maxValue = 0;\n protected options = [\n 1000, 2000, 3000, 4000, 5000, 7500, 10000, 20000, 40000, 80000, 200000,\n 400000, 1000000, 2000000, 4000000,\n ];\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.loadInitialValue();\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (\n !filters?.lotSize ||\n (!filters.lotSize.greaterThanOrEqual &&\n !filters.lotSize.lessThanOrEqual)\n ) {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n\n handleChange() {\n if (this.minValue > this.maxValue && this.maxValue > 0) {\n this.maxValue = this.minValue;\n }\n\n let lotSizeQuery: IFilterNumber = {};\n if (this.minValue > 0) {\n lotSizeQuery.greaterThanOrEqual = this.minValue;\n }\n if (this.maxValue > 0) {\n lotSizeQuery.lessThanOrEqual = this.maxValue;\n }\n\n this.store.dispatch(setUnsavedLotSizeFiltersAction(lotSizeQuery));\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.lotSize) {\n if (filters.lotSize.greaterThanOrEqual) {\n this.minValue = filters.lotSize.greaterThanOrEqual;\n } else {\n this.minValue = 0;\n }\n if (filters.lotSize.lessThanOrEqual) {\n this.maxValue = filters.lotSize.lessThanOrEqual;\n } else {\n this.maxValue = 0;\n }\n } else {\n this.minValue = 0;\n this.maxValue = 0;\n }\n });\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { take } from 'rxjs';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedYearBuiltFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-year-built',\n templateUrl: './filter-v2-year-built.component.html',\n styleUrls: [\n './filter-v2-year-built.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2YearBuiltComponent implements OnInit {\n public minValue: number | null = null;\n public maxValue: number | null = null;\n\n protected options = Array.from(\n { length: new Date().getFullYear() - 1900 },\n (_, i) => new Date().getFullYear() - i\n );\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.loadInitialValue();\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (\n !filters?.yearBuilt ||\n (!filters.yearBuilt.greaterThanOrEqual &&\n !filters.yearBuilt.lessThanOrEqual)\n ) {\n this.minValue = null;\n this.maxValue = null;\n }\n });\n }\n\n handleChange() {\n if (\n this.minValue &&\n this.maxValue &&\n this.minValue > this.maxValue &&\n this.maxValue > 0\n ) {\n this.maxValue = this.minValue;\n }\n\n let yearBuiltQuery: IFilterNumber = {};\n if (this.minValue && this.minValue > 0) {\n yearBuiltQuery.greaterThanOrEqual = this.minValue;\n }\n if (this.maxValue && this.maxValue > 0) {\n yearBuiltQuery.lessThanOrEqual = this.maxValue;\n }\n\n this.store.dispatch(setUnsavedYearBuiltFiltersAction(yearBuiltQuery));\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.yearBuilt) {\n if (filters.yearBuilt.greaterThanOrEqual) {\n this.minValue = filters.yearBuilt.greaterThanOrEqual;\n } else {\n this.minValue = null;\n }\n if (filters.yearBuilt.lessThanOrEqual) {\n this.maxValue = filters.yearBuilt.lessThanOrEqual;\n } else {\n this.maxValue = null;\n }\n } else {\n this.minValue = null;\n this.maxValue = null;\n }\n });\n }\n\n selectAll(event: FocusEvent): void {\n const input = event.target as HTMLInputElement;\n input.addEventListener('contextmenu', (e) => {\n e.preventDefault();\n });\n input.select();\n }\n}\n","
\n \n\n
\n
\n \n \n \n
\n\n
\n \n \n \n
\n
\n
\n","
\n \n
\n\n\n \n Zip (1)\n \n \n\n \n \n \n \n \n \n\n\n\n
\n \n\n
\n
\n \n \n \n
\n
\n
\n
\n","import {\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { MatMenuTrigger } from '@angular/material/menu';\nimport { take } from 'rxjs';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { ValidationErrors } from '@angular/forms';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setUnsavedZipFiltersAction } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-zip',\n templateUrl: './filter-v2-zip.component.html',\n styleUrls: ['./filter-v2-zip.component.scss', '../filters-v2.component.scss'],\n})\nexport class FilterV2ZipComponent implements OnInit {\n @Input() mobile = false;\n @Output() applyFilters = new EventEmitter();\n @ViewChild('trigger') menuTrigger!: MatMenuTrigger;\n\n protected isOpen = false;\n protected isActive = false;\n\n public zipCode: string | null = null;\n protected errors?: ValidationErrors;\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.loadInitialValue();\n\n // for loading the first time\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.zipCode?.eq) {\n this.zipCode = filters.zipCode.eq;\n } else {\n this.zipCode = null;\n }\n this.checkIsActive();\n });\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (!filters?.zipCode || !filters.zipCode.eq) {\n this.zipCode = null;\n }\n this.checkIsActive();\n });\n }\n\n handleChange() {\n if (this.zipCode && this.zipCode.length === 5) {\n this.errors = undefined;\n this.store.dispatch(setUnsavedZipFiltersAction({ eq: this.zipCode }));\n if (!this.mobile) this.applyFilters.emit();\n return;\n }\n\n const errors = this.hasError();\n if (errors) return;\n\n this.checkIsActive();\n this.store.dispatch(setUnsavedZipFiltersAction({ eq: undefined }));\n if (!this.mobile) this.applyFilters.emit();\n }\n\n hasError() {\n if (this.zipCode && this.zipCode.length > 0 && this.zipCode.length < 5) {\n this.errors = { pattern: true, patternError: 'Enter a valid zip code' };\n return true;\n } else {\n this.errors = undefined;\n return false;\n }\n }\n\n loadInitialValue() {\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.zipCode?.eq) {\n this.zipCode = filters.zipCode.eq;\n } else {\n this.zipCode = null;\n }\n });\n }\n\n selectAll(event: FocusEvent): void {\n const input = event.target as HTMLInputElement;\n input.addEventListener('contextmenu', (e) => {\n e.preventDefault();\n });\n input.select();\n }\n\n resetZipCode() {\n this.zipCode = null;\n this.handleChange();\n }\n\n closeMenu() {\n this.menuTrigger.closeMenu();\n }\n\n onMenuClose() {\n this.loadInitialValue();\n this.handleChange();\n }\n\n checkIsActive() {\n this.isActive = this.zipCode !== null && this.zipCode.length === 5;\n }\n}\n","
\n \n
\n\n\n \n Financials\n \n \n\n \n \n \n \n \n \n\n\n\n
\n
\n \n \n \n \n
\n\n
\n \n \n \n \n
\n\n
\n \n \n \n \n
\n
\n
\n","import {\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { MatMenuTrigger } from '@angular/material/menu';\nimport { take } from 'rxjs';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\nimport { IFilterProForma } from '@shared/models/filters';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\nimport { setUnsavedProFormaFiltersAction } from '@state/filters/filters.actions';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-financials',\n templateUrl: './filter-v2-financials.component.html',\n styleUrls: [\n './filter-v2-financials.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2FinancialsComponent implements OnInit {\n @Input() mobile = false;\n @ViewChild('trigger') menuTrigger!: MatMenuTrigger;\n @Output() applyFilters = new EventEmitter();\n\n protected isOpen = false;\n protected isActive = false;\n\n protected capRate: number | null = null;\n protected grossYield: number | null = null;\n protected projectROI: number | null = null;\n\n constructor(private store: Store) {}\n\n truncateNumber(number: number) {\n const multiplier = Math.pow(10, 2);\n return Math.floor(number * multiplier) / multiplier;\n }\n\n ngOnInit() {\n // for loading the first time\n this.store\n .select(selectFiltersCurrent)\n .pipe(take(1))\n .subscribe((filters) => {\n if (filters?.proForma) {\n if (filters.proForma.capitalizationRate?.greaterThanOrEqual) {\n this.capRate = this.truncateNumber(\n filters.proForma.capitalizationRate.greaterThanOrEqual * 100\n );\n }\n if (filters.proForma.grossYield?.greaterThanOrEqual) {\n this.grossYield = this.truncateNumber(\n filters.proForma.grossYield.greaterThanOrEqual * 100\n );\n }\n if (filters.proForma.projectRoi?.greaterThanOrEqual) {\n this.projectROI = this.truncateNumber(\n filters.proForma.projectRoi.greaterThanOrEqual * 100\n );\n }\n }\n });\n\n // for clearing the filters\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (!filters?.proForma) {\n this.capRate = this.grossYield = this.projectROI = null;\n }\n this.checkIsActive();\n });\n }\n\n handleChanges() {\n let query: IFilterProForma = {};\n if (this.capRate !== null && this.capRate > 0) {\n query.capitalizationRate = { greaterThanOrEqual: this.capRate / 100 };\n }\n if (this.grossYield !== null && this.grossYield > 0) {\n query.grossYield = { greaterThanOrEqual: this.grossYield / 100 };\n }\n if (this.projectROI !== null && this.projectROI > 0) {\n query.projectRoi = { greaterThanOrEqual: this.projectROI / 100 };\n }\n this.checkIsActive();\n this.store.dispatch(setUnsavedProFormaFiltersAction(query));\n if (!this.mobile) this.applyFilters.emit();\n }\n\n selectAll(event: FocusEvent): void {\n const input = event.target as HTMLInputElement;\n input.addEventListener('contextmenu', (e) => {\n e.preventDefault();\n });\n input.select();\n }\n\n resetProForma() {\n this.capRate = this.grossYield = this.projectROI = null;\n this.handleChanges();\n }\n\n closeMenu() {\n this.menuTrigger.closeMenu();\n }\n\n checkIsActive() {\n this.isActive =\n this.capRate !== null ||\n this.grossYield !== null ||\n this.projectROI !== null;\n }\n}\n","import {\n Component,\n EventEmitter,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport {\n setUnsavedStatusFiltersAction,\n setUnsavedPriceFiltersAction,\n setUnsavedSubtypeFiltersAction,\n setUnsavedBedroomsFiltersAction,\n setUnsavedBathroomsFiltersAction,\n setUnsavedSquareFootFiltersAction,\n setUnsavedLotSizeFiltersAction,\n setUnsavedYearBuiltFiltersAction,\n setUnsavedZipFiltersAction,\n} from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\nimport { FilterV2StatusComponent } from '../filter-v2-status/filter-v2-status.component';\nimport { FilterV2PriceComponent } from '../filter-v2-price/filter-v2-price.component';\nimport { FilterV2BedsComponent } from '../filter-v2-beds/filter-v2-beds.component';\nimport { FilterV2BathsComponent } from '../filter-v2-baths/filter-v2-baths.component';\nimport { FilterV2SqftComponent } from '../filter-v2-sqft/filter-v2-sqft.component';\nimport { FilterV2LotSizeComponent } from '../filter-v2-lot-size/filter-v2-lot-size.component';\nimport { FilterV2YearBuiltComponent } from '../filter-v2-year-built/filter-v2-year-built.component';\nimport { FilterV2SubtypeComponent } from '../filter-v2-subtype/filter-v2-subtype.component';\nimport { FilterV2ZipComponent } from '../filter-v2-zip/filter-v2-zip.component';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-more',\n templateUrl: './filter-v2-more.component.html',\n styleUrls: [\n './filter-v2-more.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2MoreComponent implements OnInit {\n @Output() applyFilters = new EventEmitter();\n\n @ViewChild(FilterV2StatusComponent) statusFilter!: FilterV2StatusComponent;\n @ViewChild(FilterV2PriceComponent) priceFilter!: FilterV2PriceComponent;\n @ViewChild(FilterV2SubtypeComponent) subtypeFilter!: FilterV2SubtypeComponent;\n @ViewChild(FilterV2BedsComponent) bedsFilter!: FilterV2BedsComponent;\n @ViewChild(FilterV2BathsComponent) bathsFilter!: FilterV2BathsComponent;\n @ViewChild(FilterV2SqftComponent) squareFootFilter!: FilterV2SqftComponent;\n @ViewChild(FilterV2LotSizeComponent) lotSizeFilter!: FilterV2LotSizeComponent;\n @ViewChild(FilterV2YearBuiltComponent)\n yearBuiltFilter!: FilterV2YearBuiltComponent;\n @ViewChild(FilterV2ZipComponent) zipFilter!: FilterV2ZipComponent;\n\n protected isOpen = false;\n protected isActive = false;\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (filters?.status?.in && filters.status.in.length > 0) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.price)) {\n this.isActive = true;\n } else if (filters?.subType?.in && filters.subType.in.length > 0) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.bedrooms)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.bathrooms)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.squareFoot)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.lotSize)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.yearBuilt)) {\n this.isActive = true;\n } else {\n this.isActive = false;\n }\n });\n }\n\n verifyIfActive(filter?: IFilterNumber): boolean {\n if (filter) {\n if (filter.greaterThanOrEqual || filter.lessThanOrEqual) {\n return true;\n }\n }\n return false;\n }\n\n toggleOpen() {\n if (this.isOpen) this.handleCloseModal();\n else this.isOpen = true;\n }\n\n handleCloseModal() {\n this.isOpen = false;\n this.handleReset(false);\n }\n\n handleApply() {\n this.applyFilters.emit();\n this.isOpen = false;\n }\n\n handleReset(apply = true) {\n this.store.dispatch(setUnsavedStatusFiltersAction({}));\n this.store.dispatch(setUnsavedPriceFiltersAction({}));\n this.store.dispatch(setUnsavedSubtypeFiltersAction({}));\n this.store.dispatch(setUnsavedBedroomsFiltersAction({}));\n this.store.dispatch(setUnsavedBathroomsFiltersAction({}));\n this.store.dispatch(setUnsavedSquareFootFiltersAction({}));\n this.store.dispatch(setUnsavedLotSizeFiltersAction({}));\n this.store.dispatch(setUnsavedYearBuiltFiltersAction({}));\n this.store.dispatch(setUnsavedZipFiltersAction({}));\n\n this.isOpen = false;\n\n if (apply) {\n this.applyFilters.emit();\n } else {\n this.statusFilter.loadInitialValue();\n this.priceFilter.loadInitialValue();\n this.subtypeFilter.loadInitialValue();\n this.bedsFilter.loadInitialValue();\n this.bathsFilter.loadInitialValue();\n this.squareFootFilter.loadInitialValue();\n this.lotSizeFilter.loadInitialValue();\n this.yearBuiltFilter.loadInitialValue();\n this.zipFilter.loadInitialValue();\n }\n }\n}\n","\n All filters\n \n\n\n\n
\n
\n \n
\n \n \n
\n \n
\n
\n \n
\n \n \n \n \n \n
\n\n \n\n","import {\n Component,\n EventEmitter,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { MatMenuTrigger } from '@angular/material/menu';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\nimport { IFilterNumber } from '@shared/models/graphql';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\n// import {\n// setUnsavedBedroomsFiltersAction,\n// setUnsavedBathroomsFiltersAction,\n// setUnsavedSquareFootFiltersAction,\n// setUnsavedLotSizeFiltersAction,\n// setUnsavedYearBuiltFiltersAction,\n// } from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\nimport { FilterV2BedsComponent } from '../filter-v2-beds/filter-v2-beds.component';\nimport { FilterV2BathsComponent } from '../filter-v2-baths/filter-v2-baths.component';\nimport { FilterV2SqftComponent } from '../filter-v2-sqft/filter-v2-sqft.component';\nimport { FilterV2LotSizeComponent } from '../filter-v2-lot-size/filter-v2-lot-size.component';\nimport { FilterV2YearBuiltComponent } from '../filter-v2-year-built/filter-v2-year-built.component';\n\n@UntilDestroy()\n@Component({\n selector: 'app-filter-v2-more-desktop',\n templateUrl: './filter-v2-more-desktop.component.html',\n styleUrls: [\n './filter-v2-more-desktop.component.scss',\n '../filters-v2.component.scss',\n ],\n})\nexport class FilterV2MoreDesktopComponent implements OnInit {\n @Output() applyFilters = new EventEmitter();\n @ViewChild('trigger') menuTrigger!: MatMenuTrigger;\n @ViewChild(FilterV2BedsComponent) bedsFilter!: FilterV2BedsComponent;\n @ViewChild(FilterV2BathsComponent) bathsFilter!: FilterV2BathsComponent;\n @ViewChild(FilterV2SqftComponent) squareFootFilter!: FilterV2SqftComponent;\n @ViewChild(FilterV2LotSizeComponent) lotSizeFilter!: FilterV2LotSizeComponent;\n @ViewChild(FilterV2YearBuiltComponent)\n yearBuiltFilter!: FilterV2YearBuiltComponent;\n\n protected isOpen = false;\n protected isActive = false;\n\n constructor(private store: Store) {}\n\n ngOnInit(): void {\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (this.verifyIfActive(filters?.bedrooms)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.bathrooms)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.squareFoot)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.lotSize)) {\n this.isActive = true;\n } else if (this.verifyIfActive(filters?.yearBuilt)) {\n this.isActive = true;\n } else {\n this.isActive = false;\n }\n });\n }\n\n verifyIfActive(filter?: IFilterNumber): boolean {\n if (filter) {\n if (filter.greaterThanOrEqual || filter.lessThanOrEqual) {\n return true;\n }\n }\n return false;\n }\n\n handleReset(apply: boolean = true): void {\n // this.store.dispatch(setUnsavedBedroomsFiltersAction({}));\n // this.store.dispatch(setUnsavedBathroomsFiltersAction({}));\n // this.store.dispatch(setUnsavedSquareFootFiltersAction({}));\n // this.store.dispatch(setUnsavedLotSizeFiltersAction({}));\n // this.store.dispatch(setUnsavedYearBuiltFiltersAction({}));\n this.menuTrigger.closeMenu();\n if (apply) {\n this.applyFilters.emit();\n } else {\n this.bedsFilter.loadInitialValue();\n this.bathsFilter.loadInitialValue();\n this.squareFootFilter.loadInitialValue();\n this.lotSizeFilter.loadInitialValue();\n this.yearBuiltFilter.loadInitialValue();\n }\n }\n\n handleApply(): void {\n this.applyFilters.emit();\n this.menuTrigger.closeMenu();\n }\n}\n","\n More filters\n \n\n\n\n \n \n \n \n \n \n\n \n \n\n","
\n \n\n \n\n \n \n\n \n\n \n\n \n\n \n\n \n\n
Clear all
\n
\n","import {\n AfterViewInit,\n Component,\n OnInit,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { DeviceDetectorService } from 'ngx-device-detector';\nimport { take } from 'rxjs';\n\nimport { IFilterNumber } from '@shared/models/graphql';\nimport { IPropertiesFilters } from '@shared/models/filters';\nimport { PROPERTIES_PER_PAGE } from '@shared/models/paginator';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { fetchPropertiesAction } from '@state/properties/properties.actions';\nimport {\n resetFiltersAction,\n resetUnsavedFiltersAction,\n setFiltersAction,\n setSavedStateFiltersAction,\n} from '@state/filters/filters.actions';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\nimport { selectAuth } from '@state/auth/auth.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-shared-filters-v2',\n templateUrl: './filters-v2.component.html',\n styleUrls: ['./filters-v2.component.scss'],\n})\nexport class FiltersV2Component implements OnInit, AfterViewInit {\n @Output() scrollToTop = new EventEmitter();\n\n protected page = 1;\n protected firstChange = true;\n protected filtersCount: string[] = [];\n protected filters?: IPropertiesFilters;\n\n public isMobile = false;\n protected openModal = false;\n protected isLoggedIn?: boolean = undefined;\n protected isConfirmed?: boolean = undefined;\n\n constructor(\n private route: ActivatedRoute,\n private store: Store,\n private deviceService: DeviceDetectorService\n ) {}\n\n ngAfterViewInit(): void {\n this.applyFilters();\n }\n\n ngOnInit(): void {\n this.isMobile = this.deviceService.isMobile();\n\n this.route.paramMap.subscribe((params) => {\n const page = params.get('page');\n const newPage = page && parseInt(page) > 0 ? parseInt(page) : 1;\n if (newPage !== this.page) {\n this.page = newPage;\n if (!this.firstChange) {\n this.applyFilters();\n }\n }\n });\n\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n this.filters = filters;\n });\n\n this.route.paramMap.pipe(take(1)).subscribe((params) => {\n const states = params.get('states')?.split(',') || [];\n if (states.length) {\n this.store.dispatch(\n setSavedStateFiltersAction({\n in: states.length ? states : undefined,\n })\n );\n }\n });\n\n // if user logs in or out, we need to reload the property\n // first time we don't need to reload it\n // if users confirm his account, we need to reload the properties\n this.store\n .select(selectAuth)\n .pipe(untilDestroyed(this))\n .subscribe((authData) => {\n const { token, user } = authData;\n if (\n (this.isLoggedIn !== undefined && this.isLoggedIn !== !!token) ||\n (this.isConfirmed !== undefined &&\n this.isConfirmed !== !!user?.confirmedAt)\n ) {\n this.applyFilters();\n }\n this.isLoggedIn = !!token;\n this.isConfirmed = !!user?.confirmedAt;\n });\n }\n\n clearFilters(): void {\n this.filtersCount = [];\n this.store.dispatch(resetFiltersAction());\n this.applyFilters(false);\n this.openModal = false;\n }\n\n applyFilters(closeModal?: boolean): void {\n if (!this.firstChange) this.scrollToTop.emit();\n if (this.firstChange) this.store.dispatch(resetUnsavedFiltersAction());\n this.store.dispatch(setFiltersAction());\n this.handleFetchProperties(closeModal);\n }\n\n convertFilter(name: string, data: IFilterNumber) {\n const filter = [];\n if (data.eq !== undefined) {\n filter.push({\n and: {\n [name]: {\n eq: data.eq,\n },\n },\n });\n } else if (data.greaterThanOrEqual && data.lessThanOrEqual) {\n filter.push({\n and: [\n {\n [name]: {\n greaterThanOrEqual: data.greaterThanOrEqual,\n },\n },\n {\n [name]: {\n lessThanOrEqual: data.lessThanOrEqual,\n },\n },\n ],\n });\n } else if (data.greaterThanOrEqual) {\n filter.push({\n or: [\n { [name]: { isNil: true } },\n {\n [name]: {\n greaterThanOrEqual: data.greaterThanOrEqual,\n },\n },\n ],\n });\n } else if (data.lessThanOrEqual) {\n filter.push({\n or: [\n { [name]: { isNil: true } },\n {\n [name]: {\n lessThanOrEqual: data.lessThanOrEqual,\n },\n },\n ],\n });\n }\n return filter;\n }\n\n handleFetchProperties(closeModal?: boolean): void {\n const element = document.getElementById('home-list-view-aside');\n if (element) element.scroll({ top: 0, left: 0 });\n try {\n const filters: any = { and: [] };\n // STATE\n if (\n this.filters?.state &&\n this.filters.state.in &&\n this.filters.state.in.length > 0\n ) {\n filters.and.push({\n and: {\n state: {\n in: [\n ...this.filters.state.in.map((state) => state.toLowerCase()),\n ...this.filters.state.in.map((state) => state.toUpperCase()),\n ],\n },\n },\n });\n }\n // STATUS\n filters.and.push({\n and: [\n {\n status: this.filters?.status || { in: ['OPEN', 'PENDING', 'SOLD'] },\n },\n ],\n });\n // PRICE\n if (this.filters?.price) {\n filters.and.push(...this.convertFilter('price', this.filters.price));\n }\n // PRO FORMA\n if (this.filters?.proForma) {\n const keys = Object.keys(this.filters.proForma);\n if (keys.length > 0) {\n filters.and.push({\n and: [\n {\n proForma: this.filters.proForma,\n },\n ],\n });\n }\n }\n // BEDROOMS\n if (this.filters?.bedrooms) {\n filters.and.push(\n ...this.convertFilter('bedrooms', this.filters.bedrooms)\n );\n }\n // BATHROOMS\n if (this.filters?.bathrooms) {\n filters.and.push(\n ...this.convertFilter('bathrooms', this.filters.bathrooms)\n );\n }\n // SUBTYPE\n if (\n this.filters?.subType &&\n this.filters.subType.in &&\n this.filters.subType.in.length > 0\n ) {\n filters.and.push({\n and: {\n subType: this.filters.subType,\n },\n });\n }\n // SQUARE FOOT\n if (this.filters?.squareFoot) {\n filters.and.push(\n ...this.convertFilter('squareFoot', this.filters.squareFoot)\n );\n }\n // LOT SIZE\n if (this.filters?.lotSize) {\n filters.and.push(\n ...this.convertFilter('lotSize', this.filters.lotSize)\n );\n }\n // YEAR BUILT\n if (this.filters?.yearBuilt) {\n filters.and.push(\n ...this.convertFilter('yearBuilt', this.filters.yearBuilt)\n );\n }\n // ZIP CODE\n if (this.filters?.zipCode) {\n filters.and.push({\n and: {\n zip: this.filters.zipCode,\n },\n });\n }\n this.store.dispatch(\n fetchPropertiesAction({\n filter: filters,\n limit: PROPERTIES_PER_PAGE,\n offset: this.page === 1 ? 0 : (this.page - 1) * PROPERTIES_PER_PAGE,\n sort: [\n {\n field: 'INSERTED_AT',\n order: 'DESC',\n },\n ],\n })\n );\n this.firstChange = false;\n if (closeModal) this.openModal = false;\n } catch (err) {\n throw err;\n }\n }\n}\n","export const PROPERTIES_PER_PAGE = 200;\n\nexport interface IPagination {\n count: number;\n limit: number; // items per page\n}\n","export const MAP_US_CENTER = { lat: 39.8283, lng: -98.5795 };\n","import { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MapMarkerService {\n constructor(private route: Router) {}\n\n openPreview(el: HTMLElement) {\n const propertyId = el.getAttribute('data-property');\n if (!propertyId) return;\n\n const openedPreview = document.querySelector('.item-preview.flex');\n if (openedPreview?.getAttribute('data-property') === propertyId) {\n this.redirectToProperty(propertyId);\n return;\n } else {\n this.closeAllPreviews();\n }\n\n const itemPreview = document.querySelector(\n `.item-preview[data-property=\"${propertyId}\"]`\n );\n itemPreview?.classList.remove('hidden');\n itemPreview?.classList.add('flex');\n itemPreview?.parentElement?.parentElement?.parentElement?.classList.add(\n 'z-10'\n );\n }\n\n closeAllPreviews() {\n document.querySelectorAll('.item-preview').forEach((el) => {\n el.classList.remove('flex');\n el.classList.add('hidden');\n el.parentElement?.parentElement?.parentElement?.classList.remove('z-10');\n });\n }\n\n redirectToProperty(propertyId: string) {\n this.route.navigate(['/properties', propertyId]);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { CurrencyPipe } from '@angular/common';\n\nimport { StringPipe } from '@shared/pipes';\nimport { IProperty } from '@shared/models/properties';\n\nimport { MapMarkerService } from './map-marker.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MapService {\n constructor(private mapMarkerService: MapMarkerService) {}\n\n createMap(\n divId: string,\n center?: google.maps.LatLngLiteral\n ): google.maps.Map | undefined {\n const mapDiv = document.getElementById(divId) as HTMLElement;\n if (!mapDiv) return;\n if (!google.maps) return;\n\n const map = new google.maps.Map(mapDiv, {\n mapId: 'f81574a6005415bd',\n center: center || { lat: 36.1758796, lng: -86.7969797 },\n zoom: 8,\n minZoom: 3,\n restriction: {\n latLngBounds: { north: 85, south: -85, west: -180, east: 180 },\n strictBounds: false,\n },\n fullscreenControl: true,\n });\n return map;\n }\n\n removeAdvancedMarker(marker: google.maps.marker.AdvancedMarkerElement) {\n marker.map = null;\n }\n\n createMarker(mapRef: google.maps.Map, property: IProperty) {\n if (!property.latitude || !property.longitude) return;\n const mapItemWrapper = document.createElement('div');\n mapItemWrapper.classList.add('map-item-wrapper');\n mapItemWrapper.setAttribute('data-property', property.id);\n mapItemWrapper.appendChild(this.createPriceTag(property));\n mapItemWrapper.appendChild(this.createItemPreview(property));\n\n const marker = new google.maps.marker.AdvancedMarkerElement({\n map: mapRef,\n position: {\n lat: parseFloat(property.latitude),\n lng: parseFloat(property.longitude),\n },\n content: mapItemWrapper,\n });\n\n google.maps.event.addListener(marker, 'click', () => {\n this.mapMarkerService.openPreview(marker.content as HTMLElement);\n });\n\n // If marker is near the edge of the map\n // we should add a class to the map item wrapper\n // to adjust the position of the preview\n mapRef.addListener('center_changed', () => {\n const mapBounds = mapRef.getBounds();\n const markerPosition = marker.position;\n if (mapBounds && markerPosition) {\n const mapWidth =\n mapBounds.getNorthEast().lng() - mapBounds.getSouthWest().lng();\n const mapHeight =\n mapBounds.getNorthEast().lat() - mapBounds.getSouthWest().lat();\n const mapCenter = mapBounds.getCenter();\n const markerOffset = {\n x: (markerPosition.lng as number) - mapCenter.lng(),\n y: (markerPosition.lat as number) - mapCenter.lat(),\n };\n const markerOffsetPercentage = {\n x: markerOffset.x / mapWidth,\n y: markerOffset.y / mapHeight,\n };\n const mapItemWrapper = marker.content as HTMLElement;\n if (markerOffsetPercentage.x < -0.1) {\n mapItemWrapper.classList.remove('center');\n mapItemWrapper.classList.add('left');\n } else if (markerOffsetPercentage.x > 0.1) {\n mapItemWrapper.classList.remove('center');\n mapItemWrapper.classList.add('right');\n } else {\n mapItemWrapper.classList.add('center');\n mapItemWrapper.classList.remove('left');\n mapItemWrapper.classList.remove('right');\n }\n if (markerOffsetPercentage.y < -0.3) {\n mapItemWrapper.classList.add('top');\n } else if (markerOffsetPercentage.y > 0.3) {\n mapItemWrapper.classList.add('bottom');\n } else {\n mapItemWrapper.classList.remove('top');\n mapItemWrapper.classList.remove('bottom');\n }\n }\n });\n return marker;\n }\n\n createPriceTag(property: IProperty) {\n function convertToTwoDecimalPlaces(num: number) {\n const numString = num.toString();\n const decimalIndex = numString.indexOf('.');\n if (decimalIndex === -1) return num;\n const decimalPlaces = numString.length - decimalIndex - 1;\n if (decimalPlaces <= 2) return num;\n return parseFloat(numString.slice(0, decimalIndex + 3));\n }\n\n const price = parseFloat(property.price) / 1000;\n const priceTag = document.createElement('div');\n priceTag.classList.add(\n 'price-tag',\n 'status-' + property.status.toLowerCase()\n );\n priceTag.textContent =\n price < 1000\n ? `$${Math.round(price)}K`\n : `$${convertToTwoDecimalPlaces(price / 1000)}M`;\n priceTag.setAttribute('data-property', property.id);\n return priceTag;\n }\n\n createItemPreview(property: IProperty) {\n let image = '/assets/images/property-no-image.svg';\n if (property.images?.length) {\n image = property.images[0].thumbnail.url;\n }\n\n const itemPreview = document.createElement('div');\n itemPreview.classList.add('item-preview');\n itemPreview.classList.add('hidden');\n itemPreview.setAttribute('data-property', property.id);\n const itemPreviewImage = document.createElement('img');\n itemPreviewImage.src = image;\n itemPreview.appendChild(itemPreviewImage);\n const itemTopbar = document.createElement('div');\n itemTopbar.classList.add('item-topbar');\n itemPreview.appendChild(itemTopbar);\n const itemType = document.createElement('div');\n itemType.classList.add('property-type');\n itemType.textContent = new StringPipe().transform(\n property.subType,\n 'capitalizeFirstLetter'\n );\n itemTopbar.appendChild(itemType);\n const itemStatus = document.createElement('div');\n itemStatus.classList.add('item-status');\n itemStatus.textContent = property.status;\n itemTopbar.appendChild(itemStatus);\n const itemPrice = document.createElement('div');\n itemPrice.classList.add('item-price');\n itemPrice.textContent = new CurrencyPipe('en-US').transform(\n property.price,\n 'USD',\n 'symbol',\n '1.0-2'\n );\n itemPreview.appendChild(itemPrice);\n const itemBottom = document.createElement('div');\n itemBottom.classList.add('item-bottom');\n itemPreview.appendChild(itemBottom);\n const itemBeds = document.createElement('div');\n itemBeds.classList.add('item-beds');\n itemBeds.textContent = `${Number(property.bedrooms) || '-'} Beds`;\n itemBottom.appendChild(itemBeds);\n const itemBaths = document.createElement('div');\n itemBaths.classList.add('item-baths');\n itemBaths.textContent = `${Number(property.bathrooms) || '-'} Baths`;\n itemBottom.appendChild(itemBaths);\n if (property.squareFoot) {\n const itemSqft = document.createElement('div');\n itemSqft.classList.add('item-sqft');\n itemSqft.textContent = `${Number(property.squareFoot) || '-'} sqft`;\n itemBottom.appendChild(itemSqft);\n }\n\n return itemPreview;\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-home-welcome-guest',\n templateUrl: './welcome-guest.component.html',\n styleUrls: ['./welcome-guest.component.scss'],\n})\nexport class HomeWelcomeGuestComponent {}\n","
\n

Welcome to Rebuilt

\n

Get unrestricted access to the marketplace.

\n\n
    \n
  • \n \n Multiple markets\n
  • \n
  • \n \n Curated investment deals\n
  • \n
  • \n \n 1,000+ Sellers\n
  • \n
  • \n \n Consistent deal flow\n
  • \n
\n
\n","
\n
\n\n \n
\n
\n
\n \n
\n \n
\n \n Sign in\n \n
\n \n Create account\n \n
\n
\n For support: Email us at\n {{ 'help@rebuilt.com' }}\n
\n
\n
\n
\n
\n
\n
\n","import {\n Component,\n HostListener,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\nimport { IProperty } from '@shared/models/properties';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { DeviceDetectorService } from 'ngx-device-detector';\n\nimport { MAP_US_CENTER } from '@core/constants/map';\nimport { MapService } from '@core/services/map.service';\nimport { MapMarkerService } from '@core/services/map-marker.service';\nimport { ACCOUNT_SETUP_MIN_DATE } from '@core/constants/auth';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setAuthModal } from '@state/auth/auth.actions';\nimport { selectAuth } from '@state/auth/auth.selectors';\n\n@UntilDestroy({ checkProperties: true })\n@Component({\n selector: 'app-home-map-view',\n templateUrl: './map-view.component.html',\n styleUrls: ['./map-view.component.scss'],\n})\nexport class MapViewComponent implements OnInit, OnChanges, OnDestroy {\n @Input({ required: true }) loading = false;\n @Input({ required: true }) properties?: IProperty[];\n\n protected isLoggedIn = false;\n protected isConfirmed = false;\n protected showSetup = false;\n protected showAuth = false;\n protected isMobile = false;\n\n protected selectedStates: string[] = [];\n protected markers: google.maps.marker.AdvancedMarkerElement[] = [];\n protected mapRef?: google.maps.Map;\n protected firstInit = true;\n\n constructor(\n private deviceService: DeviceDetectorService,\n private mapService: MapService,\n private mapMarkerService: MapMarkerService,\n private store: Store\n ) {}\n\n ngOnInit(): void {\n this.isMobile = this.deviceService.isMobile();\n\n this.store\n .select(selectAuth)\n .pipe(untilDestroyed(this))\n .subscribe((auth) => {\n this.isLoggedIn = !!auth.token;\n this.isConfirmed = !!auth.user?.confirmedAt;\n this.showSetup =\n (!auth.user?.preference || !auth.user.preference.roles) &&\n new Date(auth?.user?.insertedAt || '') >= ACCOUNT_SETUP_MIN_DATE;\n });\n }\n\n ngOnDestroy(): void {\n this.showAuth = false;\n this.store.dispatch(setAuthModal({ authModal: undefined }));\n }\n\n /**\n * Check if it's necessary to recenter the map based on\n * - number of properties\n * - first and last property id\n * - first and last property latitude\n */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['properties']) {\n if (!this.mapRef) {\n setTimeout(() => {\n this.createMap();\n this.autoCenterZoom();\n }, 0);\n } else {\n const previousProps = changes['properties'].previousValue;\n const currentProps = changes['properties'].currentValue;\n\n const isFirstOrLastPropertyDifferent = () => {\n const firstPrevId = previousProps[0]?.id;\n const lastPrevId = previousProps[previousProps.length - 1]?.id;\n const firstCurrId = currentProps[0]?.id;\n const lastCurrId = currentProps[currentProps.length - 1]?.id;\n return firstPrevId !== firstCurrId || lastPrevId !== lastCurrId;\n };\n\n const isFirstOrLastPropertyLatitudeDifferent = () => {\n const firstPrevLat = previousProps[0]?.latitude;\n const lastPrevLat = previousProps[previousProps.length - 1]?.latitude;\n const firstCurrLat = currentProps[0]?.latitude;\n const lastCurrLat = currentProps[currentProps.length - 1]?.latitude;\n return firstPrevLat !== firstCurrLat || lastPrevLat !== lastCurrLat;\n };\n\n if (\n previousProps &&\n currentProps &&\n previousProps.length !== currentProps.length\n ) {\n this.autoCenterZoom();\n } else if (isFirstOrLastPropertyDifferent()) {\n this.autoCenterZoom();\n } else if (isFirstOrLastPropertyLatitudeDifferent()) {\n this.autoCenterZoom();\n }\n }\n }\n }\n\n // Only create map if it doesn't exist\n createMap() {\n if (this.mapRef) return;\n this.mapRef = this.mapService.createMap('home-map', undefined);\n }\n\n /**\n * Center the map based on:\n * - authenticated status\n * - number of properties\n *\n * This method is also responsible\n * for setting the markers\n */\n autoCenterZoom() {\n if (!this.mapRef) return;\n const bounds = new google.maps.LatLngBounds();\n\n if (\n this.isLoggedIn &&\n this.isConfirmed &&\n this.properties &&\n this.properties.length > 0\n ) {\n for (const property of this.properties) {\n if (\n property.latitude &&\n property.latitude !== '0' &&\n property.longitude &&\n property.longitude !== '0'\n ) {\n bounds.extend(\n new google.maps.LatLng(\n parseFloat(property.latitude),\n parseFloat(property.longitude)\n )\n );\n }\n }\n if (this.properties.length === 1) {\n this.mapRef.setCenter(bounds.getCenter());\n this.mapRef.setZoom(15);\n } else {\n setTimeout(() => {\n this.mapRef?.fitBounds(bounds, this.isMobile ? 45 : 90);\n }, 1500);\n if (this.firstInit) this.firstInit = false;\n }\n this.mapRef.setValues({ minZoom: this.isMobile ? 3 : 3 });\n } else {\n this.mapRef.setCenter(MAP_US_CENTER);\n this.mapRef.setValues({ zoom: 5 });\n }\n\n this.setMarkers();\n }\n\n // Always clear markers before setting them\n setMarkers() {\n this.markers.forEach((marker) => {\n this.mapService.removeAdvancedMarker(marker);\n });\n\n if (this.properties && this.mapRef) {\n this.markers = [];\n google.maps.event.clearListeners(this.mapRef, 'center_changed');\n google.maps.event.clearListeners(this.mapRef, 'click');\n this.properties.forEach((property: IProperty) => {\n const newMarker = this.mapService.createMarker(this.mapRef!, property);\n if (newMarker) this.markers.push(newMarker);\n });\n }\n }\n\n showAuthModal(authModal: 'signin' | 'signup') {\n this.showAuth = true;\n this.store.dispatch(setAuthModal({ authModal }));\n }\n\n @HostListener('document:keydown.escape', ['$event'])\n onKeydownHandler() {\n this.mapMarkerService.closeAllPreviews();\n }\n\n @HostListener('click', ['$event'])\n onClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n if (target.tagName === 'DIV' && !target.classList.length) {\n this.mapMarkerService.closeAllPreviews();\n }\n }\n}\n","
\n \n \n \n
\n \n {{ text }}\n \n
\n \n
\n
\n

Property Listings

\n \n Showing\n {{ (loading$ | async) ? '...' : (count$ | async) }}\n properties\n \n
\n\n \n\n
\n We found {{ (loading$ | async) ? '...' : (count$ | async) }} properties with\n your filters\n
\n
\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n OnInit,\n} from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { DeviceDetectorService } from 'ngx-device-detector';\n\nimport STATES from '@core/constants/states';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport {\n selectPropertiesCount,\n selectPropertiesLoading,\n} from '@state/properties/properties.selectors';\nimport { selectFiltersCurrent } from '@state/filters/filters.selectors';\n\n@UntilDestroy({ checkProperties: true })\n@Component({\n selector: 'app-home-header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeaderComponent implements OnInit {\n @Input() disabled = false;\n @Input({ required: true }) isLoggedIn = false;\n\n protected checked = false;\n protected locations?: string = undefined;\n protected isMobile = false;\n\n protected states = STATES;\n protected selectedState: string[] = [];\n\n protected loading$ = this.store.select(selectPropertiesLoading);\n protected count$ = this.store.select(selectPropertiesCount);\n\n constructor(\n private store: Store,\n private deviceService: DeviceDetectorService\n ) {}\n\n ngOnInit(): void {\n this.isMobile = this.deviceService.isMobile();\n this.store\n .select(selectFiltersCurrent)\n .pipe(untilDestroyed(this))\n .subscribe((filters) => {\n if (filters?.state?.in?.length) {\n const stateNames = filters.state.in.map((state) => {\n const stateObj = STATES.find((s) => s.abbr === state);\n return stateObj?.name;\n });\n this.locations = `in ${stateNames.join(', ')}`;\n this.selectedState = filters.state.in;\n } else {\n this.locations = undefined;\n this.selectedState = [];\n }\n });\n }\n}\n","
\n

Hi investor!

\n \n

\n Starting at approximately 9:30AM ET/8:30AM CT this morning (May 26th), the\n Marketplace will be unavailable for approximately 30 minutes due to\n maintenance. We apologize for the short notice and any inconvenience.\n

\n
\n","import { Component, OnInit } from '@angular/core';\nimport { DeviceDetectorService } from 'ngx-device-detector';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { hiddenNotices } from '@state/config/config.selectors';\nimport { hideNoticeAction } from '@state/config/config.actions';\n\n@UntilDestroy()\n@Component({\n selector: 'app-home-notice',\n templateUrl: './notice.component.html',\n styleUrls: ['./notice.component.scss'],\n})\nexport class NoticeComponent implements OnInit {\n public active = false;\n public slug = 'home-notice-vpc-maintenance-downtime-2023-05-26';\n protected isMobile = false;\n\n constructor(\n private deviceService: DeviceDetectorService,\n private store: Store\n ) {}\n\n ngOnInit(): void {\n this.isMobile = this.deviceService.isMobile();\n this.store\n .select(hiddenNotices)\n .pipe(untilDestroyed(this))\n .subscribe((hiddenNotices) => {\n if (hiddenNotices.includes(this.slug)) {\n this.active = false;\n }\n });\n }\n\n close(): void {\n this.store.dispatch(hideNoticeAction({ notice: this.slug }));\n this.active = false;\n }\n}\n","\n
\n \n \n\n \n
\n \n
\n
\n\n
\n \n
\n\n
\n \n
\n\n \n \n
\n\n \n \n \n\n
\n
\n \n Show more\n \n
\n
\n No more properties to show\n
\n
\n\n \n \n \n\n\n\n","import {\n Component,\n Input,\n OnInit,\n OnChanges,\n SimpleChanges,\n} from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { DeviceDetectorService } from 'ngx-device-detector';\n\nimport { IProperty } from '@shared/models/properties';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport {\n selectPropertiesCount,\n selectPropertiesErrors,\n} from '@state/properties/properties.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-home-list-view',\n templateUrl: './list-view.component.html',\n styleUrls: ['./list-view.component.scss'],\n})\nexport class ListViewComponent implements OnInit, OnChanges {\n @Input({ required: true }) loading = false;\n @Input({ required: true }) isLoggedIn = false;\n @Input({ required: true }) properties?: IProperty[];\n\n protected shareModalProperty: IProperty | undefined = undefined;\n protected showingProperties: IProperty[] = [];\n protected showingLastProperty = false;\n\n protected isMobile = false;\n protected hasErrors = false;\n protected propertiesPerPage = 20;\n protected count$: Observable = this.store.select(\n selectPropertiesCount\n );\n\n constructor(\n private store: Store,\n private deviceService: DeviceDetectorService\n ) {}\n\n ngOnInit(): void {\n this.isMobile = this.deviceService.isMobile();\n this.store\n .select(selectPropertiesErrors)\n .pipe(untilDestroyed(this))\n .subscribe((errors) => {\n this.hasErrors = errors;\n });\n\n this.updateShowingProperties();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['properties']) {\n this.updateShowingProperties();\n }\n }\n\n trackByFn(index: number, item: IProperty): string {\n return item.id;\n }\n\n handleShowMore(): void {\n const propertiesLength = this.showingProperties.length;\n const propertiesLengthTotal = this.properties?.length || 0;\n const propertiesLengthToSlice = propertiesLength + this.propertiesPerPage;\n\n if (propertiesLengthToSlice >= propertiesLengthTotal) {\n this.showingLastProperty = true;\n }\n\n this.showingProperties = this.properties\n ? this.properties.slice(0, propertiesLengthToSlice)\n : [];\n }\n\n private updateShowingProperties(): void {\n this.showingProperties = this.properties\n ? this.properties.slice(0, this.propertiesPerPage)\n : [];\n this.showingLastProperty =\n this.showingProperties.length >= (this.properties?.length || 0);\n }\n}\n","\n
\n \n List\n
\n\n
\n \n Map\n
\n\n","import {\n ChangeDetectorRef,\n Component,\n EventEmitter,\n HostListener,\n Input,\n OnInit,\n Output,\n} from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { selectConfigOpenModal } from '@state/config/config.selectors';\n\n@UntilDestroy({ checkProperties: true })\n@Component({\n selector: 'app-home-map-list-switcher',\n templateUrl: './switcher.component.html',\n styleUrls: ['./switcher.component.scss'],\n})\nexport class SwitcherComponent implements OnInit {\n @Input() isMapView = true;\n @Output() switchMapView = new EventEmitter();\n\n protected openModal?: string;\n public deviceOrientation = screen?.orientation?.type || 'portrait-primary';\n\n constructor(\n private store: Store,\n private changeDetectorRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.store\n .select(selectConfigOpenModal)\n .pipe(untilDestroyed(this))\n .subscribe((openModal) => {\n this.openModal = openModal;\n this.changeDetectorRef.detectChanges();\n });\n }\n\n handleSwitchMapView(): void {\n this.switchMapView.emit();\n }\n\n @HostListener('window:orientationchange', ['$event'])\n onOrientationChange(): void {\n this.deviceOrientation = screen?.orientation?.type || 'portrait-primary';\n }\n}\n","
\n
\n
\n \n
\n
\n \n \n Sign in\n \n
\n \n Create account\n \n \n \n
\n \n {{ text }}\n \n
\n \n
\n
\n For support: Email us at\n {{ 'help@rebuilt.com' }}\n
\n
\n
\n
\n\n \n
\n\n\n \n\n
\n
\n
\n\n \n\n","import {\n Component,\n HostListener,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\nimport { DeviceDetectorService } from 'ngx-device-detector';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\nimport { MAP_US_CENTER } from '@core/constants/map';\nimport { MapService } from '@core/services/map.service';\nimport { MapMarkerService } from '@core/services/map-marker.service';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport { setAuthModal } from '@state/auth/auth.actions';\nimport { selectAuth } from '@state/auth/auth.selectors';\nimport {\n selectPropertiesCount,\n selectPropertiesLoading,\n} from '@state/properties/properties.selectors';\n\nimport { IProperty } from '@shared/models/properties';\n\n@UntilDestroy()\n@Component({\n selector: 'app-home-mobile',\n templateUrl: './home-mobile.component.html',\n styleUrls: ['./home-mobile.component.scss'],\n})\nexport class HomeMobileComponent implements OnInit, OnChanges {\n @Input({ required: true }) loading: boolean = false;\n @Input({ required: true }) properties: IProperty[] = [];\n\n protected isLoggedIn = false;\n protected isMobile = false;\n protected viewMode: 'map' | 'list' = 'list';\n protected markers: google.maps.marker.AdvancedMarkerElement[] = [];\n protected mapRef?: google.maps.Map;\n\n protected loading$ = this.store.select(selectPropertiesLoading);\n protected count$ = this.store.select(selectPropertiesCount);\n\n constructor(\n private deviceService: DeviceDetectorService,\n private mapService: MapService,\n private mapMarkerService: MapMarkerService,\n private store: Store\n ) {}\n\n ngOnInit(): void {\n this.isMobile = this.deviceService.isMobile();\n this.store\n .select(selectAuth)\n .pipe(untilDestroyed(this))\n .subscribe((auth) => {\n this.isLoggedIn = !!auth.token && !!auth.user?.confirmedAt;\n this.mapRef = undefined;\n this.autoCenterZoom();\n });\n\n const authStorage = localStorage.getItem('home-view-mode');\n if (authStorage) {\n this.viewMode = authStorage as 'map' | 'list';\n }\n }\n\n toggleViewVode() {\n this.viewMode = this.viewMode === 'map' ? 'list' : 'map';\n localStorage.setItem('home-view-mode', this.viewMode);\n }\n\n /**\n * Check if it's necessary to recenter the map based on\n * - number of properties\n * - first and last property id\n * - first and last property latitude\n */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['properties']) {\n if (!this.mapRef) {\n setTimeout(() => {\n this.createMap();\n this.autoCenterZoom();\n }, 0);\n } else {\n const previousProps = changes['properties'].previousValue;\n const currentProps = changes['properties'].currentValue;\n\n const isFirstOrLastPropertyDifferent = () => {\n const firstPrevId = previousProps[0]?.id;\n const lastPrevId = previousProps[previousProps.length - 1]?.id;\n const firstCurrId = currentProps[0]?.id;\n const lastCurrId = currentProps[currentProps.length - 1]?.id;\n return firstPrevId !== firstCurrId || lastPrevId !== lastCurrId;\n };\n\n const isFirstOrLastPropertyLatitudeDifferent = () => {\n const firstPrevLat = previousProps[0]?.latitude;\n const lastPrevLat = previousProps[previousProps.length - 1]?.latitude;\n const firstCurrLat = currentProps[0]?.latitude;\n const lastCurrLat = currentProps[currentProps.length - 1]?.latitude;\n return firstPrevLat !== firstCurrLat || lastPrevLat !== lastCurrLat;\n };\n\n if (\n previousProps &&\n currentProps &&\n previousProps.length !== currentProps.length\n ) {\n this.autoCenterZoom();\n } else if (isFirstOrLastPropertyDifferent()) {\n this.autoCenterZoom();\n } else if (isFirstOrLastPropertyLatitudeDifferent()) {\n this.autoCenterZoom();\n }\n }\n }\n }\n\n createMap() {\n if (this.mapRef) return;\n this.mapRef = this.mapService.createMap('home-map', undefined);\n }\n\n /**\n * Center the map based on:\n * - authenticated status\n * - number of properties\n *\n * This method is also responsible\n * for setting the markers\n */\n autoCenterZoom() {\n if (!this.mapRef) return;\n const bounds = new google.maps.LatLngBounds();\n\n if (this.isLoggedIn && this.properties && this.properties.length > 0) {\n for (const property of this.properties) {\n if (\n property.latitude &&\n property.latitude !== '0' &&\n property.longitude &&\n property.longitude !== '0'\n ) {\n bounds.extend(\n new google.maps.LatLng(\n parseFloat(property.latitude),\n parseFloat(property.longitude)\n )\n );\n }\n }\n if (this.properties.length === 1) {\n this.mapRef.setCenter(bounds.getCenter());\n this.mapRef.setZoom(15);\n } else {\n this.mapRef.fitBounds(bounds, this.isMobile ? 45 : 90);\n }\n this.mapRef.setValues({ minZoom: this.isMobile ? 3 : 5 });\n setTimeout(() => {\n this.mapRef?.fitBounds(bounds, this.isMobile ? 45 : 90);\n }, 1500);\n } else {\n this.mapRef.setCenter(MAP_US_CENTER);\n this.mapRef.setValues({ zoom: 5 });\n }\n\n this.setMarkers();\n }\n\n // Always clear markers before setting them\n setMarkers() {\n this.markers.forEach((marker) => {\n this.mapService.removeAdvancedMarker(marker);\n });\n\n if (this.properties && this.mapRef) {\n this.markers = [];\n google.maps.event.clearListeners(this.mapRef, 'center_changed');\n google.maps.event.clearListeners(this.mapRef, 'click');\n this.properties.forEach((property: IProperty) => {\n const newMarker = this.mapService.createMarker(this.mapRef!, property);\n if (newMarker) this.markers.push(newMarker);\n });\n }\n }\n\n showAuthModal(authModal: 'signin' | 'signup') {\n this.store.dispatch(setAuthModal({ authModal }));\n }\n\n @HostListener('document:keydown.escape', ['$event'])\n onKeydownHandler() {\n this.mapMarkerService.closeAllPreviews();\n }\n\n @HostListener('click', ['$event'])\n onClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n if (target.tagName === 'DIV' && !target.classList.length) {\n this.mapMarkerService.closeAllPreviews();\n }\n }\n}\n","\n\n
\n \n
\n\n
\n \n
\n \n
\n
\n","import {\n ChangeDetectorRef,\n Component,\n HostListener,\n OnInit,\n ViewChild,\n ElementRef,\n} from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Title } from '@angular/platform-browser';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { DeviceDetectorService } from 'ngx-device-detector';\n\nimport { APP_TITLE } from '@core/constants';\nimport { IProperty } from '@shared/models/properties';\n\nimport { Store } from '@ngrx/store';\nimport { AppState } from '@state/app.state';\nimport {\n selectPropertiesLoading,\n selectPropertiesResults,\n} from '@state/properties/properties.selectors';\nimport { setAuthModal } from '@state/auth/auth.actions';\nimport { selectAuthUser } from '@state/auth/auth.selectors';\n\nimport { toggleHomeMapViewAction } from '@state/config/config.actions';\nimport { selectConfigMapView } from '@state/config/config.selectors';\n\n@UntilDestroy()\n@Component({\n selector: 'app-home-map',\n templateUrl: './home-map.component.html',\n styleUrls: ['./home-map.component.scss'],\n})\nexport class HomeMapComponent implements OnInit {\n @ViewChild('listViewContainer') listViewContainer!: ElementRef;\n\n protected loading = false;\n protected mapView?: boolean;\n protected properties: IProperty[] = [];\n\n protected token?: string | null;\n protected page: number = 1;\n public isMobile = false;\n protected windowHeight = window.innerHeight;\n protected isLoggedIn = false;\n\n constructor(\n private route: ActivatedRoute,\n private titleService: Title,\n private store: Store,\n private router: Router,\n private deviceService: DeviceDetectorService,\n private changeDetectorRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.isMobile = this.deviceService.isMobile();\n\n this.route.paramMap.subscribe((params) => {\n const page = params.get('page');\n this.page = page && parseInt(page) > 0 ? parseInt(page) : 1;\n\n const urlPath = this.router.url;\n if (urlPath.includes('/auth/password-reset')) {\n this.store.dispatch(setAuthModal({ authModal: 'reset-password' }));\n }\n\n this.updateTitle();\n });\n\n this.store\n .select(selectConfigMapView)\n .pipe(untilDestroyed(this))\n .subscribe((mapView) => (this.mapView = mapView));\n\n this.store\n .select(selectPropertiesLoading)\n .pipe(untilDestroyed(this))\n .subscribe((loading) => (this.loading = loading));\n\n this.store\n .select(selectPropertiesResults)\n .pipe(untilDestroyed(this))\n .subscribe((properties) => {\n this.properties = properties || [];\n this.changeDetectorRef.detectChanges();\n });\n\n this.store\n .select(selectAuthUser)\n .pipe(untilDestroyed(this))\n .subscribe((user) => {\n this.isLoggedIn = !!user;\n });\n }\n\n toggleMapView(): void {\n this.store.dispatch(toggleHomeMapViewAction());\n }\n\n updateTitle(): void {\n if (this.token) {\n this.titleService.setTitle(APP_TITLE('Password reset'));\n } else if (this.page === 1) {\n this.titleService.setTitle(APP_TITLE('Welcome'));\n } else {\n this.titleService.setTitle(APP_TITLE(`Welcome | Page ${this.page}`));\n }\n }\n\n @HostListener('window:resize', ['$event'])\n onResize(event: Event): void {\n if (event.target && event.target instanceof Window)\n this.windowHeight = event.target.innerHeight;\n }\n\n @HostListener('window:orientationchange', ['$event'])\n onOrientationChange(event: Event): void {\n if (event.target && event.target instanceof Window)\n this.windowHeight = event.target.innerHeight;\n if (\n !this.mapView &&\n (screen?.orientation?.type || '').includes('landscape')\n ) {\n this.store.dispatch(toggleHomeMapViewAction());\n }\n }\n\n scrollToTop(): void {\n if (this.isMobile) {\n window.scrollTo({ top: 0, behavior: 'smooth' });\n } else if (this.listViewContainer) {\n this.listViewContainer.nativeElement.scrollTo({\n top: 0,\n behavior: 'smooth',\n });\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nimport { APP_TITLE } from '@core/constants';\n\nimport { HomeMapComponent as HomeComponent } from './pages/home-map/home-map.component';\n\nconst routes: Routes = [\n {\n path: '',\n children: [\n {\n path: '',\n component: HomeComponent,\n },\n {\n path: 'page/:page',\n component: HomeComponent,\n },\n {\n path: 'page/:page/states',\n component: HomeComponent,\n },\n {\n path: 'page/:page/states/:states',\n component: HomeComponent,\n },\n {\n path: 'auth/password-reset',\n component: HomeComponent,\n title: APP_TITLE('Password reset'),\n },\n ],\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class HomeRoutingModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { MatSelectModule } from '@angular/material/select';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { FormsModule } from '@angular/forms';\nimport { GoogleMapsModule } from '@angular/google-maps';\n\nimport { SharedModule } from '@shared/shared.module';\nimport { HomeRoutingModule } from './home.routing';\n\nimport { HeaderComponent } from './components/header/header.component';\nimport { NoticeComponent } from './components/notice/notice.component';\n\nimport { HomeMapComponent } from './pages/home-map/home-map.component';\nimport { SwitcherComponent } from './pages/home-map/switcher/switcher.component';\nimport { MapViewComponent } from './pages/home-map/map-view/map-view.component';\nimport { DisclosuresComponent } from './pages/disclosures/disclosures.component';\nimport { ListViewComponent } from './pages/home-map/list-view/list-view.component';\nimport { MaintenanceComponent } from './pages/maintenance/maintenance.component';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { HomeMobileComponent } from './pages/home-map/home-mobile/home-mobile.component';\nimport { HomeWelcomeGuestComponent } from './components/welcome-guest/welcome-guest.component';\n\n@NgModule({\n declarations: [\n HeaderComponent,\n HomeMapComponent,\n SwitcherComponent,\n MapViewComponent,\n DisclosuresComponent,\n ListViewComponent,\n MaintenanceComponent,\n NoticeComponent,\n HomeMobileComponent,\n HomeWelcomeGuestComponent,\n ],\n imports: [\n SharedModule,\n HomeRoutingModule,\n MatSlideToggleModule,\n MatFormFieldModule,\n MatSelectModule,\n CommonModule,\n MatMenuModule,\n FormsModule,\n GoogleMapsModule,\n MatProgressBarModule,\n ],\n})\nexport class HomeModule {}\n"],"names":["_MatSlideToggleRequiredValidatorModule","_class4","ɵfac","t","ɵmod","i0","type","ɵinj","MatSlideToggleModule","_class5","imports","MatCommonModule","MatRippleModule","CommonModule","FilterV2ButtonsComponent","_class","constructor","this","mobile","position","resetAction","EventEmitter","applyAction","handleReset","button","blurButton","emit","handleApply","selectors","inputs","outputs","decls","vars","consts","template","rf","ctx","_r2","_r0","_r1","_c0","ctx_r1","checkedCount","$event","market_r5","_r7","$implicit","ctx_r6","checkedMarkets","abbr","ctx_r8","onChangeStates","ctx_r3","name","ctx_r4","searchTerm","FilterV2MarketsComponent","route","store","location","page","applyFilters","isOpen","firstChange","allSelected","markets","states","filteredMarkets","reduce","acc","state","ngOnInit","select","selectFiltersCurrent","pipe","untilDestroyed","subscribe","filters","in","replaceState","paramMap","take","params","get","split","length","loadStatesOnInit","filterMarkets","trim","filter","market","toLowerCase","includes","values","join","o","items","Object","keys","key","dispatch","setUnsavedStateFiltersAction","undefined","toggleAllSelection","resetMarkets","closeMenu","menuTrigger","i1","i2","i3","core","Xpm","viewQuery","FilterV2MarketsComponent_span_4_Template","stopPropagation","FilterV2MarketsComponent_li_15_Template","FilterV2MarketsComponent_li_16_Template","_c1","__decorate","UntilDestroy","status_r5","checkedStatuses","onChangeStatuses","_r10","ctx_r9","resetStatuses","ctx_r11","FilterV2StatusComponent","statuses","status","statusesLength","setUnsavedStatusFiltersAction","loadInitialValue","filter_v2_status_component_class","FilterV2StatusComponent_span_4_Template","FilterV2StatusComponent_li_13_Template","FilterV2StatusComponent_app_filter_v2_buttons_14_Template","FilterV2PriceComponent_div_0_ng_container_3_Template","_r9","ctx_r10","FilterV2PriceComponent_ng_container_1_ng_container_13_Template","_r6","_c3","label","_r15","ctx_r14","resetPrice","ctx_r16","_r18","ctx_r17","minValue","ctx_r19","onInputChange","ctx_r20","ctx_r21","selectAll","ctx_r22","maxValue","ctx_r23","ctx_r24","ctx_r25","FilterV2PriceComponent_ng_template_2_div_5_Template","FilterV2PriceComponent","price","eq","greaterThanOrEqual","lessThanOrEqual","handleLabel","priceQuery","setUnsavedPriceFiltersAction","minFormatted","toLocaleString","maxFormatted","event","input","target","addEventListener","e","preventDefault","filter_v2_price_component_class","FilterV2PriceComponent_div_0_Template","FilterV2PriceComponent_ng_container_1_Template","FilterV2PriceComponent_ng_template_2_Template","ctx_r2","subtype_r6","_r8","ctx_r7","checkedSubtypes","onChangeSubtypes","ctx_r5","FilterV2SubtypeComponent_div_0_ng_container_10_li_1_Template","propertyType_r4","subtypes","FilterV2SubtypeComponent_div_0_span_3_Template","_r11","FilterV2SubtypeComponent_div_0_ng_container_10_Template","ctx_r0","propertyTypes","ctx_r13","subtype_r19","_r21","ctx_r18","FilterV2SubtypeComponent_ng_container_1_li_14_li_4_Template","propertyType_r17","_r24","resetSubtypes","_r27","ctx_r26","ctx_r28","FilterV2SubtypeComponent_ng_container_1_span_5_Template","ctx_r31","FilterV2SubtypeComponent_ng_container_1_li_14_Template","FilterV2SubtypeComponent_ng_container_1_app_filter_v2_buttons_15_Template","_r14","FilterV2SubtypeComponent","PROPERTY_TYPES","totalSubtypes","curr","acc2","curr2","a","subType","subtypesLength","subtype","setUnsavedSubtypeFiltersAction","r","filter_v2_subtype_component_class","FilterV2SubtypeComponent_div_0_Template","FilterV2SubtypeComponent_ng_container_1_Template","FilterV2BedsComponent","bedrooms","handleChange","bedroomsQuery","setUnsavedBedroomsFiltersAction","filter_v2_beds_component_class","open","FilterV2BedsComponent_mat_option_25_Template","FilterV2BedsComponent_mat_option_26_Template","FilterV2BedsComponent_mat_option_27_Template","FilterV2BedsComponent_mat_option_28_Template","FilterV2BedsComponent_mat_option_29_Template","FilterV2BathsComponent","bathrooms","bathroomsQuery","setUnsavedBathroomsFiltersAction","filter_v2_baths_component_class","FilterV2BathsComponent_mat_option_27_Template","FilterV2BathsComponent_mat_option_28_Template","FilterV2BathsComponent_mat_option_29_Template","FilterV2BathsComponent_mat_option_30_Template","FilterV2BathsComponent_mat_option_31_Template","FilterV2BathsComponent_mat_option_32_Template","option_r3","option_r4","FilterV2SqftComponent_ng_container_16_mat_option_1_Template","FilterV2SqftComponent","options","squareFoot","squareFootQuery","setUnsavedSquareFootFiltersAction","filter_v2_sqft_component_class","FilterV2SqftComponent_mat_option_10_Template","FilterV2SqftComponent_ng_container_16_Template","FilterV2LotSizeComponent_mat_option_10_ng_container_1_Template","FilterV2LotSizeComponent_mat_option_10_ng_container_2_Template","option_r8","FilterV2LotSizeComponent_ng_container_16_mat_option_1_ng_container_1_Template","FilterV2LotSizeComponent_ng_container_16_mat_option_1_ng_container_2_Template","FilterV2LotSizeComponent_ng_container_16_mat_option_1_Template","FilterV2LotSizeComponent","lotSize","lotSizeQuery","setUnsavedLotSizeFiltersAction","filter_v2_lot_size_component_class","FilterV2LotSizeComponent_mat_option_10_Template","FilterV2LotSizeComponent_ng_container_16_Template","FilterV2YearBuiltComponent","Array","from","Date","getFullYear","_","i","yearBuilt","yearBuiltQuery","setUnsavedYearBuiltFiltersAction","filter_v2_year_built_component_class","FilterV2ZipComponent_div_0_ng_container_1_Template","resetZipCode","ctx_r12","ctx_r15","FilterV2ZipComponent_ng_container_1_span_5_Template","onMenuClose","FilterV2ZipComponent_ng_container_1_ng_container_10_Template","FilterV2ZipComponent_ng_container_1_app_filter_v2_buttons_11_Template","isActive","zipCode","_r20","errors","FilterV2ZipComponent","checkIsActive","setUnsavedZipFiltersAction","hasError","pattern","patternError","filter_v2_zip_component_class","FilterV2ZipComponent_div_0_Template","FilterV2ZipComponent_ng_container_1_Template","FilterV2ZipComponent_ng_template_2_Template","FilterV2FinancialsComponent_div_0_ng_container_1_Template","resetProForma","_r13","FilterV2FinancialsComponent_ng_container_1_ng_container_9_Template","FilterV2FinancialsComponent_ng_container_1_app_filter_v2_buttons_10_Template","handleChanges","capRate","grossYield","projectROI","_c2","FilterV2FinancialsComponent","truncateNumber","number","multiplier","Math","pow","floor","proForma","capitalizationRate","projectRoi","query","setUnsavedProFormaFiltersAction","filter_v2_financials_component_class","FilterV2FinancialsComponent_div_0_Template","FilterV2FinancialsComponent_ng_container_1_Template","FilterV2FinancialsComponent_ng_template_2_Template","FilterV2MoreComponent","verifyIfActive","toggleOpen","handleCloseModal","apply","statusFilter","priceFilter","subtypeFilter","bedsFilter","bathsFilter","squareFootFilter","lotSizeFilter","yearBuiltFilter","zipFilter","filter_v2_more_component_class","FilterV2MoreDesktopComponent","filter_v2_more_desktop_component_class","_r12","_r16","FiltersV2Component","deviceService","scrollToTop","filtersCount","isMobile","openModal","isLoggedIn","isConfirmed","ngAfterViewInit","newPage","parseInt","setSavedStateFiltersAction","selectAuth","authData","token","user","confirmedAt","clearFilters","resetFiltersAction","closeModal","resetUnsavedFiltersAction","setFiltersAction","handleFetchProperties","convertFilter","data","push","and","n","or","isNil","element","document","getElementById","scroll","top","left","map","toUpperCase","zip","fetchPropertiesAction","limit","offset","sort","field","order","err","filters_v2_component_class","FiltersV2Component_app_filter_v2_zip_2_Template","FiltersV2Component_app_filter_v2_status_3_Template","FiltersV2Component_app_filter_v2_financials_4_Template","FiltersV2Component_app_filter_v2_price_5_Template","FiltersV2Component_app_filter_v2_subtype_6_Template","FiltersV2Component_app_filter_v2_more_7_Template","FiltersV2Component_app_filter_v2_more_desktop_8_Template","MAP_US_CENTER","lat","lng","MapMarkerService","openPreview","el","propertyId","getAttribute","querySelector","redirectToProperty","closeAllPreviews","itemPreview","classList","remove","add","parentElement","querySelectorAll","forEach","navigate","factory","providedIn","MapService","mapMarkerService","createMap","divId","center","mapDiv","google","maps","Map","mapId","zoom","minZoom","restriction","latLngBounds","north","south","west","east","strictBounds","fullscreenControl","removeAdvancedMarker","marker","createMarker","mapRef","property","latitude","longitude","mapItemWrapper","createElement","setAttribute","id","appendChild","createPriceTag","createItemPreview","AdvancedMarkerElement","parseFloat","content","addListener","mapBounds","getBounds","markerPosition","mapWidth","getNorthEast","getSouthWest","mapHeight","mapCenter","getCenter","markerOffset","x","y","markerOffsetPercentage","priceTag","textContent","round","convertToTwoDecimalPlaces","num","numString","toString","decimalIndex","indexOf","slice","image","images","thumbnail","url","itemPreviewImage","src","itemTopbar","itemType","StringPipe","transform","itemStatus","itemPrice","CurrencyPipe","itemBottom","itemBeds","Number","itemBaths","itemSqft","HomeWelcomeGuestComponent","_r4","showAuthModal","MapViewComponent_ng_container_2_app_auth_modal_4_Template","MapViewComponent_ng_container_2_div_5_Template","showAuth","MapViewComponent","mapService","loading","showSetup","selectedStates","markers","firstInit","auth","preference","roles","insertedAt","ACCOUNT_SETUP_MIN_DATE","ngOnDestroy","setAuthModal","authModal","ngOnChanges","changes","properties","previousProps","previousValue","currentProps","currentValue","isFirstOrLastPropertyLatitudeDifferent","firstPrevLat","lastPrevLat","firstCurrLat","lastCurrLat","isFirstOrLastPropertyDifferent","firstPrevId","lastPrevId","firstCurrId","lastCurrId","autoCenterZoom","setTimeout","bounds","LatLngBounds","extend","LatLng","setCenter","setZoom","fitBounds","setValues","setMarkers","clearListeners","newMarker","onKeydownHandler","onClick","tagName","i4","map_view_component_class","hostBindings","MapViewComponent_ng_container_2_Template","checkProperties","handleClick_r6","handleClick","loading_r5","text_r4","HeaderComponent_ng_container_1_app_submit_a_deal_button_1_Template","HeaderComponent_ng_container_1_ng_template_2_Template","HeaderComponent","disabled","checked","locations","STATES","selectedState","loading$","selectPropertiesLoading","count$","selectPropertiesCount","stateNames","find","s","header_component_class","HeaderComponent_ng_container_1_Template","close","NoticeComponent","active","slug","hiddenNotices","hideNoticeAction","notice","notice_component_class","NoticeComponent_div_0_Template","ListViewComponent_ng_container_4_div_1_Template","property_r10","shareModalProperty","ListViewComponent_div_7_app_shared_property_list_1_Template","showingProperties","trackByFn","property_r14","ListViewComponent_div_8_app_shared_property_list_1_Template","handleShowMore","ListViewComponent","showingLastProperty","hasErrors","propertiesPerPage","selectPropertiesErrors","updateShowingProperties","index","item","propertiesLengthToSlice","list_view_component_class","features","ListViewComponent_ng_container_4_Template","ListViewComponent_div_5_Template","ListViewComponent_div_6_Template","ListViewComponent_div_7_Template","ListViewComponent_div_8_Template","ListViewComponent_div_10_Template","ListViewComponent_div_11_Template","ListViewComponent_app_property_share_modal_13_Template","handleSwitchMapView","SwitcherComponent_div_0_div_1_Template","SwitcherComponent_div_0_div_2_Template","isMapView","SwitcherComponent","changeDetectorRef","switchMapView","deviceOrientation","screen","orientation","selectConfigOpenModal","detectChanges","onOrientationChange","switcher_component_class","SwitcherComponent_div_0_Template","handleClick_r7","loading_r6","text_r5","HomeMobileComponent_div_0_ng_container_3_ng_template_10_Template","_r3","HomeMobileComponent_div_0_ng_container_3_Template","toggleViewVode","HomeMobileComponent_div_1_app_home_list_view_4_Template","viewMode","HomeMobileComponent","authStorage","localStorage","getItem","setItem","home_mobile_component_class","HomeMobileComponent_div_0_Template","HomeMobileComponent_div_1_Template","HomeMapComponent","titleService","router","windowHeight","window","innerHeight","updateTitle","selectConfigMapView","mapView","selectPropertiesResults","selectAuthUser","toggleMapView","toggleHomeMapViewAction","setTitle","APP_TITLE","onResize","Window","scrollTo","behavior","listViewContainer","nativeElement","home_map_component_class","HomeMapComponent_div_1_Template","HomeMapComponent_div_2_Template","routes","path","children","component","HomeComponent","title","HomeRoutingModule","RouterModule","forChild","HomeModule","SharedModule","MatFormFieldModule","MatSelectModule","MatMenuModule","FormsModule","GoogleMapsModule","MatProgressBarModule"],"mappings":";;4NAoPA,IAsBMA,GAAsC,UAAAC,EAA5C,MAAMD,GAILC,SAJKD,GACYE,UAAI,SAAAC,GAAA,WAAAA,GAAwFH,EAAsC,EACvIC,EAAKG,UA5HkFC,MAAE,CAAAC,KA4HSN,IAClGC,EAAKM,UA7HkFF,MAAE,IA0HhGL,CAAsC,KAYtCQ,GAAoB,UAAAC,EAA1B,MAAMD,GAILC,SAJKD,GACYN,UAAI,SAAAC,GAAA,WAAAA,GAAwFK,EAAoB,EACrHC,EAAKL,UAxIkFC,MAAE,CAAAC,KAwISE,IAClGC,EAAKF,UAzIkFF,MAAE,CAAAK,QAAA,CAyIyCV,GAAwCW,KAAiBC,KAAiBC,KAAcb,GAAwCW,QAHzQH,CAAoB,mUC7QnB,IAAMM,EAAwB,UAAAC,EAA/B,MAAOD,EALbE,cAMWC,KAAAC,QAAS,EACTD,KAAAE,SAA+B,SAC9BF,KA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