mod-build 4.0.0 → 4.0.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/package.json +1 -1
  3. package/src/scripts/default/index.js +9 -0
  4. package/src/scripts/default/update-link-paths.js +7 -13
  5. package/src/scripts/default/use-dynamic-gtm.js +4 -5
  6. package/src/scripts/plugins.js +109 -0
  7. package/src/scripts/utils.js +12 -52
  8. package/tasks/serve.js +1 -1
  9. package/vite.config.js +3 -51
  10. package/src/accessible-components/button/_button.scss +0 -308
  11. package/src/accessible-components/button/back-button.html +0 -8
  12. package/src/accessible-components/button/button.html +0 -17
  13. package/src/accessible-components/carousel/_carousel.scss +0 -112
  14. package/src/accessible-components/carousel/carousel.html +0 -25
  15. package/src/accessible-components/carousel/carousel.js +0 -3426
  16. package/src/accessible-components/carousel/carousel.js.map +0 -1
  17. package/src/accessible-components/carousel/carousel.min.js +0 -6
  18. package/src/accessible-components/carousel/carousel.min.js.map +0 -1
  19. package/src/accessible-components/checkbox/_checkbox.scss +0 -153
  20. package/src/accessible-components/checkbox/checkbox-group.html +0 -18
  21. package/src/accessible-components/checkbox/checkbox.html +0 -8
  22. package/src/accessible-components/expand-collapse/_expand-collapse.scss +0 -129
  23. package/src/accessible-components/expand-collapse/expand-collapse.html +0 -14
  24. package/src/accessible-components/expand-collapse/expand-collapse.js +0 -52
  25. package/src/accessible-components/expand-collapse/expand-collapse.min.js +0 -2
  26. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +0 -1
  27. package/src/accessible-components/featured-block/_featured-block.scss +0 -221
  28. package/src/accessible-components/featured-block/featured-block.html +0 -54
  29. package/src/accessible-components/foot-assets/foot-assets.html +0 -112
  30. package/src/accessible-components/footer/footer.html +0 -2
  31. package/src/accessible-components/gtm-body/gtm-body.html +0 -4
  32. package/src/accessible-components/head/head.html +0 -187
  33. package/src/accessible-components/header/_header.scss +0 -287
  34. package/src/accessible-components/header/header.html +0 -66
  35. package/src/accessible-components/hero/_hero.scss +0 -405
  36. package/src/accessible-components/hero/hero.html +0 -53
  37. package/src/accessible-components/how-it-works/_how-it-works.scss +0 -217
  38. package/src/accessible-components/how-it-works/how-it-works-carousel.html +0 -12
  39. package/src/accessible-components/how-it-works/how-it-works-static.html +0 -12
  40. package/src/accessible-components/how-it-works/how-it-works.html +0 -14
  41. package/src/accessible-components/information/_information.scss +0 -96
  42. package/src/accessible-components/information/information.html +0 -32
  43. package/src/accessible-components/input/_input.scss +0 -204
  44. package/src/accessible-components/input/input.html +0 -22
  45. package/src/accessible-components/input/textarea.html +0 -9
  46. package/src/accessible-components/partners/_partners.scss +0 -234
  47. package/src/accessible-components/partners/partners.html +0 -56
  48. package/src/accessible-components/picture/picture.html +0 -19
  49. package/src/accessible-components/preloader/_preloader.scss +0 -61
  50. package/src/accessible-components/preloader/preloader.html +0 -23
  51. package/src/accessible-components/progress-bar/_progress-bar.scss +0 -140
  52. package/src/accessible-components/progress-bar/progress-bar.html +0 -21
  53. package/src/accessible-components/progress-bar/progress-bar.js +0 -37
  54. package/src/accessible-components/progress-bar/progress-bar.min.js +0 -2
  55. package/src/accessible-components/progress-bar/progress-bar.min.js.map +0 -1
  56. package/src/accessible-components/radio-button/_radio-button.scss +0 -586
  57. package/src/accessible-components/radio-button/radio-button.html +0 -33
  58. package/src/accessible-components/reviews/_reviews.scss +0 -175
  59. package/src/accessible-components/reviews/reviews-carousel.html +0 -12
  60. package/src/accessible-components/reviews/reviews-static.html +0 -12
  61. package/src/accessible-components/reviews/reviews.html +0 -37
  62. package/src/accessible-components/select/_select.scss +0 -69
  63. package/src/accessible-components/select/select.html +0 -10
  64. package/src/accessible-components/steps/_steps.scss +0 -636
  65. package/src/accessible-components/steps/defaultFormFieldConfig.json +0 -109
  66. package/src/accessible-components/steps/step-fields.html +0 -38
  67. package/src/accessible-components/steps/steps.html +0 -160
  68. package/src/accessible-components/tcpa/_tcpa.scss +0 -49
  69. package/src/accessible-components/tcpa/tcpa.html +0 -9
  70. package/src/accessible-components/tile/_tile.scss +0 -117
  71. package/src/accessible-components/tile/tile.html +0 -14
  72. package/src/accessible-components/value-props/_value-props.scss +0 -102
  73. package/src/accessible-components/value-props/value-props.html +0 -17
  74. package/src/accessible-components/zip-control/_zip-control.scss +0 -79
  75. package/src/accessible-components/zip-control/zip-control.html +0 -10
  76. package/src/resources/data/tcpa.json +0 -3
  77. package/src/resources/scripts/abandonment/abandonment-e099a424bf17408f1db2.min.js +0 -2
  78. package/src/resources/scripts/abandonment/abandonment.min.js +0 -2
  79. package/src/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +0 -2
  80. package/src/resources/scripts/footer/footer-component.min.js +0 -2
  81. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js +0 -2
  82. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js.map +0 -1
  83. package/src/resources/scripts/helpers/isZipCodeValid.min.js +0 -2
  84. package/src/resources/scripts/helpers/isZipCodeValid.min.js.map +0 -1
  85. package/src/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +0 -2
  86. package/src/resources/scripts/mod-alytics/modalytics.min.js +0 -2
  87. package/src/resources/scripts/mod-form/form/homeowner-f395431201f7a6e56690.min.js +0 -2
  88. package/src/resources/scripts/mod-form/form/homeowner.min.js +0 -2
  89. package/src/resources/scripts/mod-utils/modutils-a08fecfbb83afad1a9f8.min.js +0 -2
  90. package/src/resources/scripts/mod-utils/modutils.min.js +0 -2
  91. package/src/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +0 -1
  92. package/src/resources/styles/components/abandonment/abandonment.min.css +0 -1
  93. package/src/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +0 -1
  94. package/src/resources/styles/components/footer/mod-footer.min.css +0 -1
  95. package/src/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +0 -1
  96. package/src/resources/styles/components/footer/qs-footer.min.css +0 -1
  97. package/src/resources/templates/modals/about/index.hbs +0 -9
  98. package/src/resources/templates/modals/about/index.html +0 -9
  99. package/src/resources/templates/modals/contact-us/index.hbs +0 -348
  100. package/src/resources/templates/modals/contact-us/index.html +0 -348
  101. package/src/resources/templates/modals/faq/index.hbs +0 -9
  102. package/src/resources/templates/modals/faq/index.html +0 -9
  103. package/src/resources/templates/modals/privacy/index.hbs +0 -236
  104. package/src/resources/templates/modals/privacy/index.html +0 -236
  105. package/src/resources/templates/modals/terms/index.hbs +0 -166
  106. package/src/resources/templates/modals/terms/index.html +0 -166
  107. package/src/shared-components/card-button/_card-button.scss +0 -49
  108. package/src/shared-components/card-button/card-button.html +0 -9
  109. package/src/shared-components/carousel/_carousel.scss +0 -106
  110. package/src/shared-components/carousel/carousel.html +0 -22
  111. package/src/shared-components/carousel/carousel.js +0 -3427
  112. package/src/shared-components/carousel/carousel.js.map +0 -1
  113. package/src/shared-components/carousel/carousel.min.js +0 -6
  114. package/src/shared-components/carousel/carousel.min.js.map +0 -1
  115. package/src/shared-components/carousel/carousel.min.min.js +0 -6
  116. package/src/shared-components/carousel/carousel.min.min.js.map +0 -1
  117. package/src/shared-components/checkbox/_checkbox.scss +0 -104
  118. package/src/shared-components/checkbox/checkbox.html +0 -6
  119. package/src/shared-components/expand-collapse/_expand-collapse.scss +0 -93
  120. package/src/shared-components/expand-collapse/expand-collapse.html +0 -8
  121. package/src/shared-components/expand-collapse/expand-collapse.js +0 -40
  122. package/src/shared-components/expand-collapse/expand-collapse.min.js +0 -2
  123. package/src/shared-components/expand-collapse/expand-collapse.min.js.map +0 -1
  124. package/src/shared-components/featured-block/_featured-block.scss +0 -185
  125. package/src/shared-components/featured-block/featured-block.html +0 -62
  126. package/src/shared-components/foot-assets/foot-assets.html +0 -107
  127. package/src/shared-components/form-tcpa/form-tcpa.html +0 -12
  128. package/src/shared-components/gtm-body/gtm-body.html +0 -4
  129. package/src/shared-components/head/head.html +0 -192
  130. package/src/shared-components/header/_header.scss +0 -200
  131. package/src/shared-components/header/header.html +0 -71
  132. package/src/shared-components/hero/_hero.scss +0 -253
  133. package/src/shared-components/hero/hero.html +0 -126
  134. package/src/shared-components/how-it-works/_how-it-works.scss +0 -138
  135. package/src/shared-components/how-it-works/how-it-works.html +0 -19
  136. package/src/shared-components/input/_input.scss +0 -229
  137. package/src/shared-components/input/input.html +0 -30
  138. package/src/shared-components/preloader/_preloader.scss +0 -61
  139. package/src/shared-components/preloader/preloader.html +0 -49
  140. package/src/shared-components/progress-bar/_progress-bar.scss +0 -105
  141. package/src/shared-components/progress-bar/progress-bar.html +0 -20
  142. package/src/shared-components/progress-bar/progress-bar.js +0 -25
  143. package/src/shared-components/progress-bar/progress-bar.min.js +0 -2
  144. package/src/shared-components/progress-bar/progress-bar.min.js.map +0 -1
  145. package/src/shared-components/radio-button/_radio-button.scss +0 -554
  146. package/src/shared-components/radio-button/radio-button.html +0 -25
  147. package/src/shared-components/reviews/_reviews.scss +0 -79
  148. package/src/shared-components/reviews/reviews.html +0 -27
  149. package/src/shared-components/select/_select.scss +0 -61
  150. package/src/shared-components/select/select.html +0 -8
  151. package/src/shared-components/steps/_steps.scss +0 -334
  152. package/src/shared-components/steps/defaultFormFieldConfig.json +0 -64
  153. package/src/shared-components/steps/step-fields.html +0 -36
  154. package/src/shared-components/steps/steps.html +0 -131
  155. package/src/shared-components/textarea/_textarea.scss +0 -96
  156. package/src/shared-components/textarea/textarea.html +0 -13
  157. package/src/shared-components/theme-toggle/_theme-toggle.scss +0 -68
  158. package/src/shared-components/theme-toggle/theme-toggle.html +0 -34
  159. package/src/shared-components/tile/_tile.scss +0 -117
  160. package/src/shared-components/tile/tile.html +0 -27
  161. package/src/shared-components/value-props/_value-props.scss +0 -98
  162. package/src/shared-components/value-props/value-props.html +0 -17
  163. package/src/shared-components/zip-control/_zip-control.scss +0 -42
  164. package/src/shared-components/zip-control/zip-control.html +0 -21
  165. package/src/temp/scripts/maxmind-geoip2.js +0 -104
@@ -1,104 +0,0 @@
1
- $checkbox-bg-color: $color-white !default;
2
- $checkbox-border: 1px solid $color-charcoal1 !default;
3
- $checkbox-border-radius: 4px !default;
4
- $checkbox-font-size: 16px !default;
5
- $checkbox-font-weight: normal !default;
6
- $checkbox-line-height: 15px !default;
7
- $checkbox-text-color: $color-charcoal5 !default;
8
- $checkbox-margin: 15px 0 !default;
9
- $checkbox-padding: 15px 10px 10px 15px !default;
10
- $checkbox-text-align: left !default;
11
-
12
- $checkbox-label-padding-left: 35px !default;
13
- $checkbox-label-width: auto !default;
14
-
15
- $checkbox-input-bg-color: $color-white !default;
16
- $checkbox-input-border: 1px solid $color-charcoal1 !default;
17
- $checkbox-input-border-radius: 2px !default;
18
- $checkbox-input-box-shadow: inset 0 1px 3px 0 rgba($color-black, .1) !default;
19
- $checkbox-input-checked-bg-color: $color-blue5 !default;
20
- $checkbox-input-checked-border: 1px solid $color-blue6 !default;
21
- $checkbox-input-checked-color: $color-white !default;
22
- $checkbox-input-font-size: 18px !default;
23
- $checkbox-input-position-left: 25px !default;
24
- $checkbox-input-position-top: -2px !default;
25
- $checkbox-input-size: 20px !default;
26
-
27
- $checkbox-border-margin: 15px 0 !default;
28
- $checkbox-border-label-padding-left: 26px !default;
29
- $checkbox-border-input-position-left: 16px !default;
30
- $checkbox-border-input-position-top: $checkbox-input-position-top !default;
31
-
32
- .checkbox {
33
- background-color: transparent;
34
- border: 0;
35
- border-radius: $checkbox-border-radius;
36
- color: $checkbox-text-color;
37
- line-height: $checkbox-line-height;
38
- margin: $checkbox-margin;
39
- padding: 0;
40
- text-align: $checkbox-text-align;
41
-
42
- + .checkbox {
43
- margin-top: 0;
44
- }
45
-
46
- label {
47
- display: inline-block;
48
- font-size: $checkbox-font-size;
49
- font-weight: $checkbox-font-weight;
50
- line-height: $checkbox-line-height;
51
- padding-left: $checkbox-label-padding-left;
52
- position: relative;
53
- width: $checkbox-label-width;
54
-
55
- input[type=checkbox] {
56
- background: transparent;
57
- border-color: $color-white;
58
- border-radius: 0;
59
- left: $checkbox-input-position-left;
60
- margin-top: 0;
61
- position: absolute;
62
- top: $checkbox-input-position-top;
63
-
64
- &::before {
65
- @include icon-fill;
66
- background: $checkbox-input-bg-color;
67
- border: $checkbox-input-border;
68
- border-radius: $checkbox-input-border-radius;
69
- box-shadow: $checkbox-input-box-shadow;
70
- color: $checkbox-input-bg-color;
71
- content: '\e920';
72
- display: block;
73
- height: $checkbox-input-size;
74
- text-align: center;
75
- transition: color .15s ease;
76
- width: $checkbox-input-size;
77
- }
78
-
79
- &:checked::before { // sass-lint:disable-line
80
- background-color: $checkbox-input-checked-bg-color;
81
- border: $checkbox-input-checked-border;
82
- color: $checkbox-input-checked-color;
83
- font-size: $checkbox-input-font-size;
84
- line-height: 17px;
85
- }
86
- }
87
- }
88
-
89
- &.checkbox--border {
90
- background-color: $checkbox-bg-color;
91
- border: $checkbox-border;
92
- margin: $checkbox-margin;
93
- padding: $checkbox-padding;
94
-
95
- label {
96
- padding-left: $checkbox-border-label-padding-left;
97
-
98
- input[type=checkbox] {
99
- left: $checkbox-border-input-position-left;
100
- top: $checkbox-border-input-position-top;
101
- }
102
- }
103
- }
104
- }
@@ -1,6 +0,0 @@
1
- <div class="checkbox{{#if this.field.class}} {{this.field.class}}{{/if}}">
2
- <label>
3
- <input type="checkbox" name="{{this.field.name}}" value="{{this.field.value}}" {{#if this.field.id}} id="{{this.field.id}}"{{/if}}{{#if this.field.checked}} checked="checked"{{/if}} {{#if this.field.saveField}}data-save{{/if}}{{#if this.extraAttributes}}{{#each this.extraAttributes}} {{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}} />
4
- {{{this.field.text}}}
5
- </label>
6
- </div>
@@ -1,93 +0,0 @@
1
- $expand-collapse-background-color: transparent !default;
2
- $expand-collapse-border: 0 !default;
3
- $expand-collapse-border-radius: 0 !default;
4
- $expand-collapse-color: $color-charcoal4 !default;
5
- $expand-collapse-color-hover: $expand-collapse-color !default;
6
- $expand-collapse-font-size: 16px !default;
7
- $expand-collapse-font-weight: 300 !default;
8
- $expand-collapse-letter-spacing: 0 !default;
9
- $expand-collapse-margin: 0 !default;
10
- $expand-collapse-padding: 0 !default;
11
- $expand-collapse-text-transform: none !default;
12
- $expand-collapse-transition: all .15s ease !default;
13
-
14
- $expand-collapse-icon-background-color: $color-white !default;
15
- $expand-collapse-icon-border: 1px solid $color-charcoal1 !default;
16
- $expand-collapse-icon-border-top: 0 !default;
17
- $expand-collapse-icon-border-radius: 100px !default;
18
- $expand-collapse-icon-color: $expand-collapse-color !default;
19
- $expand-collapse-icon-display: block !default;
20
- $expand-collapse-icon-font-size: $expand-collapse-font-size !default;
21
- $expand-collapse-icon-line-height: 1 !default;
22
- $expand-collapse-icon-margin: -2px auto 0 !default;
23
- $expand-collapse-icon-padding: 5px 0 9px !default;
24
- $expand-collapse-icon-position: relative !default;
25
- $expand-collapse-icon-width: 60px !default;
26
- $expand-collapse-icon-z-index: 2 !default;
27
-
28
- $expand-collapse-label-display: inline-block !default;
29
- $expand-collapse-label-margin: 0 !default;
30
-
31
- $expand-collapse-target-max-height: 2000px !default;
32
- $expand-collapse-target-transition: .5s !default;
33
-
34
- .expand-collapse {
35
- &__toggle {
36
- background-color: $expand-collapse-background-color;
37
- border: $expand-collapse-border;
38
- border-radius: $expand-collapse-border-radius;
39
- color: $expand-collapse-color;
40
- cursor: pointer;
41
- font-size: $expand-collapse-font-size;
42
- font-weight: $expand-collapse-font-weight;
43
- letter-spacing: $expand-collapse-letter-spacing;
44
- margin: $expand-collapse-margin;
45
- padding: $expand-collapse-padding;
46
- text-transform: $expand-collapse-text-transform;
47
- transition: $expand-collapse-transition;
48
- }
49
-
50
- &__icon {
51
- background-color: $expand-collapse-icon-background-color;
52
- border: $expand-collapse-icon-border;
53
- border-top: $expand-collapse-icon-border-top;
54
- border-bottom-left-radius: $expand-collapse-icon-border-radius;
55
- border-bottom-right-radius: $expand-collapse-icon-border-radius;
56
- color: $expand-collapse-icon-color;
57
- display: $expand-collapse-icon-display;
58
- font-size: $expand-collapse-icon-font-size;
59
- line-height: $expand-collapse-icon-line-height;
60
- margin: $expand-collapse-icon-margin;
61
- padding: $expand-collapse-icon-padding;
62
- position: $expand-collapse-icon-position;
63
- width: $expand-collapse-icon-width;
64
- z-index: $expand-collapse-icon-z-index;
65
- }
66
-
67
- &__label {
68
- display: $expand-collapse-label-display;
69
- margin: $expand-collapse-label-margin;
70
- }
71
-
72
- &__target {
73
- max-height: $expand-collapse-target-max-height;
74
- overflow: hidden;
75
- transition: $expand-collapse-target-transition;
76
-
77
- &.collapsed {
78
- max-height: 0;
79
- opacity: 0;
80
- visibility: collapse;
81
- }
82
- }
83
- }
84
-
85
- @include breakpoint-md {
86
- .expand-collapse {
87
- &__toggle {
88
- &:hover {
89
- color: $expand-collapse-color-hover;
90
- }
91
- }
92
- }
93
- }
@@ -1,8 +0,0 @@
1
- <button {{#if this.expandCollapse.id}}id="{{this.expandCollapse.id}}"{{/if}} class="expand-collapse__toggle{{#if this.expandCollapse.class}} {{this.expandCollapse.class}}{{/if}}{{#xif 'this.expandCollapse.scrollToTop === true'}} scroll-to-top{{/xif}}" aria-controls="{{this.expandCollapse.targetId}}" aria-expanded="{{#xif 'this.expandCollapse.collapsedByDefault === true'}}false{{else}}true{{/xif}}">
2
- {{#if this.expandCollapse.icon}}
3
- <span class="expand-collapse__icon">
4
- <i class="{{#xif 'this.expandCollapse.collapsedByDefault === true'}}{{this.expandCollapse.icon.collapsed}}{{else}}{{this.expandCollapse.icon.expanded}}{{/xif}}" data-expanded-icon="{{this.expandCollapse.icon.expanded}}" data-collapsed-icon="{{this.expandCollapse.icon.collapsed}}"></i>
5
- </span>
6
- {{/if}}
7
- <span class="expand-collapse__label" data-expanded-label="{{this.expandCollapse.label.expanded}}" data-collapsed-label="{{this.expandCollapse.label.collapsed}}">{{#xif 'this.expandCollapse.collapsedByDefault === true'}}{{this.expandCollapse.label.collapsed}}{{else}}{{this.expandCollapse.label.expanded}}{{/xif}}</span>
8
- </button>
@@ -1,40 +0,0 @@
1
- "use strict";
2
-
3
- var expandCollapseToggle = document.querySelectorAll('.expand-collapse__toggle');
4
- expandCollapseToggle.forEach(function (toggle) {
5
- var toggleId = toggle.id,
6
- ariaExpanded = toggle.getAttribute('aria-expanded'),
7
- ariaControls = toggle.getAttribute('aria-controls'),
8
- expandCollapseTarget = document.getElementById(ariaControls),
9
- scrollToTop = toggle.classList.contains('scroll-to-top');
10
- expandCollapseTarget.classList.add('expand-collapse__target');
11
- if (ariaExpanded === 'false' && !expandCollapseTarget.classList.contains('collapsed')) {
12
- expandCollapseTarget.classList.add('collapsed');
13
- }
14
- document.getElementById(toggleId).addEventListener('click', function () {
15
- var shouldExpand = this.getAttribute('aria-expanded') !== 'true',
16
- expandCollapseLabel = this.querySelector('.expand-collapse__label'),
17
- expandCollapseIcon = this.querySelector('.expand-collapse__icon i');
18
- this.setAttribute('aria-expanded', shouldExpand);
19
- if (expandCollapseLabel) {
20
- expandCollapseLabel.innerHTML = expandCollapseLabel.dataset[shouldExpand ? 'expandedLabel' : 'collapsedLabel'];
21
- }
22
- if (expandCollapseIcon) {
23
- expandCollapseIcon.className = expandCollapseIcon.dataset[shouldExpand ? 'expandedIcon' : 'collapsedIcon'];
24
- }
25
- if (ariaExpanded === 'false' || expandCollapseTarget.classList.contains('collapsed')) {
26
- expandCollapseTarget.classList.toggle('collapsed');
27
- } else {
28
- expandCollapseTarget.classList.add('collapsed');
29
- }
30
- if (scrollToTop) {
31
- var scrollPosition = shouldExpand ? 'start' : 'center';
32
- setTimeout(function () {
33
- document.getElementById(toggleId).scrollIntoView({
34
- behavior: 'smooth',
35
- block: scrollPosition
36
- });
37
- }, 200);
38
- }
39
- });
40
- });
@@ -1,2 +0,0 @@
1
- "use strict";var expandCollapseToggle=document.querySelectorAll(".expand-collapse__toggle");expandCollapseToggle.forEach(function(e){var t=e.id,a=e.getAttribute("aria-expanded"),l=e.getAttribute("aria-controls"),s=document.getElementById(l),o=e.classList.contains("scroll-to-top");s.classList.add("expand-collapse__target"),"false"!==a||s.classList.contains("collapsed")||s.classList.add("collapsed"),document.getElementById(t).addEventListener("click",function(){var e="true"!==this.getAttribute("aria-expanded"),l=this.querySelector(".expand-collapse__label"),c=this.querySelector(".expand-collapse__icon i");if(this.setAttribute("aria-expanded",e),l&&(l.innerHTML=l.dataset[e?"expandedLabel":"collapsedLabel"]),c&&(c.className=c.dataset[e?"expandedIcon":"collapsedIcon"]),"false"===a||s.classList.contains("collapsed")?s.classList.toggle("collapsed"):s.classList.add("collapsed"),o){var d=e?"start":"center";setTimeout(function(){document.getElementById(t).scrollIntoView({behavior:"smooth",block:d})},200)}})});
2
- //# sourceMappingURL=expand-collapse.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["shared-components/expand-collapse/expand-collapse.js"],"names":["expandCollapseToggle","document","querySelectorAll","forEach","toggle","toggleId","id","ariaExpanded","getAttribute","ariaControls","expandCollapseTarget","getElementById","scrollToTop","classList","contains","add","addEventListener","shouldExpand","this","expandCollapseLabel","querySelector","expandCollapseIcon","setAttribute","innerHTML","dataset","className","scrollPosition","setTimeout","scrollIntoView","behavior","block"],"mappings":"YAAA,IAAMA,sBAAuBC,SAASC,iBAAiB,2BACvDF,sBAAqBG,QAAQ,SAAAC,GAC5B,GAAMC,GAAWD,EAAOE,GACvBC,EAAeH,EAAOI,aAAa,iBACnCC,EAAeL,EAAOI,aAAa,iBACnCE,EAAuBT,SAASU,eAAeF,GAC/CG,EAAcR,EAAOS,UAAUC,SAAS,gBAEzCJ,GAAqBG,UAAUE,IAAI,2BACd,UAAjBR,GAA6BG,EAAqBG,UAAUC,SAAS,cACxEJ,EAAqBG,UAAUE,IAAI,aAGpCd,SAASU,eAAeN,GAAUW,iBAAiB,QAAS,WAC3D,GAAMC,GAAsD,SAAvCC,KAAKV,aAAa,iBACtCW,EAAsBD,KAAKE,cAAc,2BACzCC,EAAqBH,KAAKE,cAAc,2BAiBzC,IAfAF,KAAKI,aAAa,gBAAiBL,GAC/BE,IACHA,EAAoBI,UAAYJ,EAAoBK,QAAQP,EAAe,gBAAkB,mBAG1FI,IACHA,EAAmBI,UAAYJ,EAAmBG,QAAQP,EAAe,eAAiB,kBAGtE,UAAjBV,GAA4BG,EAAqBG,UAAUC,SAAS,aACvEJ,EAAqBG,UAAUT,OAAO,aAEtCM,EAAqBG,UAAUE,IAAI,aAGhCH,EAAa,CAChB,GAAMc,GAAiBT,EAAe,QAAU,QAChDU,YAAW,WACV1B,SAASU,eAAeN,GAAUuB,gBACjCC,SAAU,SACVC,MAAOJ,KAEN","file":"expand-collapse.min.js","sourcesContent":["const expandCollapseToggle = document.querySelectorAll('.expand-collapse__toggle');\nexpandCollapseToggle.forEach(toggle => {\n\tconst toggleId = toggle.id,\n\t\tariaExpanded = toggle.getAttribute('aria-expanded'),\n\t\tariaControls = toggle.getAttribute('aria-controls'),\n\t\texpandCollapseTarget = document.getElementById(ariaControls),\n\t\tscrollToTop = toggle.classList.contains('scroll-to-top');\n\n\texpandCollapseTarget.classList.add('expand-collapse__target');\n\tif (ariaExpanded === 'false' && !expandCollapseTarget.classList.contains('collapsed')) {\n\t\texpandCollapseTarget.classList.add('collapsed');\n\t}\n\n\tdocument.getElementById(toggleId).addEventListener('click', function() {\n\t\tconst shouldExpand = this.getAttribute('aria-expanded') !== 'true',\n\t\t\texpandCollapseLabel = this.querySelector('.expand-collapse__label'),\n\t\t\texpandCollapseIcon = this.querySelector('.expand-collapse__icon i');\n\n\t\tthis.setAttribute('aria-expanded', shouldExpand);\n\t\tif (expandCollapseLabel) {\n\t\t\texpandCollapseLabel.innerHTML = expandCollapseLabel.dataset[shouldExpand ? 'expandedLabel' : 'collapsedLabel'];\n\t\t}\n\n\t\tif (expandCollapseIcon) {\n\t\t\texpandCollapseIcon.className = expandCollapseIcon.dataset[shouldExpand ? 'expandedIcon' : 'collapsedIcon'];\n\t\t}\n\n\t\tif (ariaExpanded === 'false' || expandCollapseTarget.classList.contains('collapsed')) {\n\t\t\texpandCollapseTarget.classList.toggle('collapsed');\n\t\t} else {\n\t\t\texpandCollapseTarget.classList.add('collapsed');\n\t\t}\n\n\t\tif (scrollToTop) {\n\t\t\tconst scrollPosition = shouldExpand ? 'start' : 'center';\n\t\t\tsetTimeout(function() {\n\t\t\t\tdocument.getElementById(toggleId).scrollIntoView({\n\t\t\t\t\tbehavior: 'smooth',\n\t\t\t\t\tblock: scrollPosition\n\t\t\t\t});\n\t\t\t}, 200);\n\t\t}\n\t});\n});\n"]}
@@ -1,185 +0,0 @@
1
- $featured-block-padding-mobile: 50px 0 !default;
2
- $featured-block-padding-desktop: 40px 0 !default;
3
- $featured-block-padding-tablet: $featured-block-padding-desktop !default;
4
- $featured-block-text-align-mobile: center !default;
5
- $featured-block-text-align-desktop: left !default;
6
-
7
- $featured-block-container-align-items: center !default;
8
- $featured-block-container-display: flex !default;
9
-
10
- $featured-block-title-color: $color-charcoal5 !default;
11
- $featured-block-title-font-size: 26px !default;
12
- $featured-block-title-font-size-mobile: 20px !default;
13
- $featured-block-title-font-weight: 700 !default;
14
- $featured-block-title-line-height: 1.3 !default;
15
- $featured-block-title-margin: 0 0 10px !default;
16
-
17
- $featured-block-subtitle-color: $color-charcoal5 !default;
18
- $featured-block-subtitle-font-size: 16px !default;
19
- $featured-block-subtitle-font-size-mobile: 15px !default;
20
- $featured-block-subtitle-font-weight: 300 !default;
21
- $featured-block-subtitle-line-height: 1.5 !default;
22
- $featured-block-subtitle-margin: 0 !default;
23
-
24
- $featured-block-description-color: $color-charcoal5 !default;
25
- $featured-block-description-font-size: $featured-block-subtitle-font-size !default;
26
- $featured-block-description-font-size-mobile: $featured-block-subtitle-font-size-mobile !default;
27
- $featured-block-description-font-weight: $featured-block-subtitle-font-weight !default;
28
- $featured-block-description-line-height: $featured-block-subtitle-line-height !default;
29
- $featured-block-description-margin: $featured-block-subtitle-margin !default;
30
-
31
- $featured-block-partner-margin: 18px 0 !default;
32
- $featured-block-partner-img-margin: 0 10px !default;
33
- $featured-block-partner-img-height: auto !default;
34
- $featured-block-partner-img-width: 100px !default;
35
-
36
- $featured-block-img-width: 100% !default;
37
-
38
- $featured-block-btn-background: #F6931D !default;
39
- $featured-block-btn-border: 0 !default;
40
- $featured-block-btn-border-radius: 100px !default;
41
- $featured-block-btn-color: $color-white !default;
42
- $featured-block-btn-display: block !default;
43
- $featured-block-btn-font-family: $font-primary-regular !default;
44
- $featured-block-btn-font-size: 15px !default;
45
- $featured-block-btn-font-weight: 700 !default;
46
- $featured-block-btn-height: 48px !default;
47
- $featured-block-btn-line-height: 1.267 !default;
48
- $featured-block-btn-margin: 28px 0 0 !default;
49
- $featured-block-btn-max-width: 250px !default;
50
- $featured-block-btn-padding: 14px 30px 15px !default;
51
- $featured-block-btn-text-align: center !default;
52
- $featured-block-btn-text-transform: uppercase !default;
53
- $featured-block-btn-transition: all .15s ease !default;
54
- $featured-block-btn-width: 100% !default;
55
-
56
- $featured-block-btn-hover-background: #D77909 !default;
57
- $featured-block-btn-hover-border: 0 !default;
58
- $featured-block-btn-hover-color: $color-white !default;
59
-
60
- $featured-block-btn-with-icon-display: inline-block !default;
61
- $featured-block-btn-with-icon-padding: 14px 50px 15px 30px !default;
62
- $featured-block-btn-with-icon-width: auto !default;
63
- $featured-block-btn-icon-font-size: 19px !default;
64
- $featured-block-btn-icon-position: absolute !default;
65
- $featured-block-btn-icon-right: 15px !default;
66
- $featured-block-btn-icon-top: 14px !default;
67
-
68
- .featured-block {
69
- padding: $featured-block-padding-mobile;
70
- text-align: $featured-block-text-align-mobile;
71
-
72
- &__title {
73
- color: $featured-block-title-color;
74
- font-size: $featured-block-title-font-size-mobile;
75
- font-weight: $featured-block-title-font-weight;
76
- line-height: $featured-block-title-line-height;
77
- margin: $featured-block-title-margin;
78
- }
79
-
80
- &__subtitle {
81
- color: $featured-block-subtitle-color;
82
- font-size: $featured-block-subtitle-font-size-mobile;
83
- font-weight: $featured-block-subtitle-font-weight;
84
- line-height: $featured-block-subtitle-line-height;
85
- margin: $featured-block-subtitle-margin;
86
- }
87
-
88
- &__description {
89
- color: $featured-block-description-color;
90
- font-size: $featured-block-description-font-size-mobile;
91
- font-weight: $featured-block-description-font-weight;
92
- line-height: $featured-block-description-line-height;
93
- margin: $featured-block-description-margin;
94
- }
95
-
96
- &__partners {
97
- margin: $featured-block-partner-margin;
98
-
99
- img {
100
- display: inline-block;
101
- height: $featured-block-partner-img-height;
102
- margin: $featured-block-partner-img-margin;
103
- vertical-align: middle;
104
- width: $featured-block-partner-img-width;
105
- }
106
- }
107
-
108
- &__image {
109
- img {
110
- height: auto;
111
- width: $featured-block-img-width;
112
- }
113
- }
114
-
115
- &__btn {
116
- background: $featured-block-btn-background;
117
- border: $featured-block-btn-border;
118
- border-radius: $featured-block-btn-border-radius;
119
- color: $featured-block-btn-color;
120
- display: $featured-block-btn-display;
121
- font-family: $featured-block-btn-font-family;
122
- font-size: $featured-block-btn-font-size;
123
- font-weight: $featured-block-btn-font-weight;
124
- height: $featured-block-btn-height;
125
- line-height: $featured-block-btn-line-height;
126
- margin: $featured-block-btn-margin;
127
- max-width: $featured-block-btn-max-width;
128
- padding: $featured-block-btn-padding;
129
- text-align: $featured-block-btn-text-align;
130
- text-transform: $featured-block-btn-text-transform;
131
- transition: $featured-block-btn-transition;
132
- width: $featured-block-btn-width;
133
-
134
- &:hover{
135
- background: $featured-block-btn-hover-background;
136
- border: $featured-block-btn-hover-border;
137
- color: $featured-block-btn-hover-color;
138
- }
139
-
140
-
141
- &--with-icon {
142
- display: $featured-block-btn-with-icon-display;
143
- padding: $featured-block-btn-with-icon-padding;
144
- width: $featured-block-btn-with-icon-width;
145
-
146
- i {
147
- font-size: $featured-block-btn-icon-font-size;
148
- position: $featured-block-btn-icon-position;
149
- right: $featured-block-btn-icon-right;
150
- top: $featured-block-btn-icon-top;
151
- }
152
- }
153
- }
154
- }
155
-
156
- @include breakpoint-sm {
157
- .featured-block {
158
- padding: $featured-block-padding-tablet;
159
- text-align: $featured-block-text-align-desktop;
160
-
161
- &__content {
162
- align-items: $featured-block-container-align-items;
163
- display: $featured-block-container-display;
164
-
165
- }
166
-
167
- &__title {
168
- font-size: $featured-block-title-font-size;
169
- }
170
-
171
- &__subtitle {
172
- font-size: $featured-block-subtitle-font-size;
173
- }
174
-
175
- &__description {
176
- font-size: $featured-block-description-font-size;
177
- }
178
- }
179
- }
180
-
181
- @include breakpoint-md {
182
- .featured-block {
183
- padding: $featured-block-padding-desktop;
184
- }
185
- }
@@ -1,62 +0,0 @@
1
- <div class="featured-block{{#if this.block.class}} {{this.block.class}}{{/if}}"{{#if this.block.id}} id="{{this.block.id}}"{{/if}}>
2
- {{#xif "this.block.includeContainerWrapper === true"}}<div class="container">{{/xif}}
3
- {{#xif "this.block.columns.length > 1"}}<div class="featured-block__content row">{{/xif}}
4
- {{#each this.block.columns}}
5
- <div {{#if this.class}}class="{{this.class}}"{{/if}}{{#if this.id}} id="{{this.id}}"{{/if}}{{#if this.extraAttributes}}{{#each this.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>
6
- {{#if this.title}}
7
- <h2 class="featured-block__title{{#if this.title.class}} {{this.title.class}}{{/if}}"{{#if this.title.extraAttributes}}{{#each this.title.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>{{{this.title.text}}}</h2>
8
- {{/if}}
9
- {{#if this.subtitle}}
10
- <p class="featured-block__subtitle{{#if this.subtitle.class}} {{this.subtitle.class}}{{/if}}"{{#if this.subtitle.extraAttributes}}{{#each this.subtitle.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>{{{this.subtitle.text}}}</p>
11
- {{/if}}
12
- {{#if this.description}}
13
- {{#unless this.description.placeUnderLogos}}
14
- <p class="featured-block__description{{#if this.description.class}} {{this.description.class}}{{/if}}"{{#if this.description.extraAttributes}}{{#each this.description.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>{{{this.description.text}}}</p>
15
- {{/unless}}
16
- {{/if}}
17
- {{#if this.image}}
18
- <div class="featured-block__image">
19
- {{#xif "this.image.tag === 'img'"}}
20
- <img src="{{#if this.image.localSrc}}{{this.image.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.image.src}}{{/if}}" alt="{{this.image.altText}}"{{#if this.image.class}} class="{{this.image.class}}"{{/if}}{{#xif "this.image.lazyload === true"}} loading="lazy"{{/xif}}{{#if this.image.width}} width="{{this.image.width}}"{{/if}}{{#if this.image.height}} height="{{this.image.height}}"{{/if}}>
21
- {{/xif}}
22
- {{#xif "this.image.tag === 'picture'"}}
23
- <picture>
24
- <source srcset="{{#if this.image.localSrcset}}{{this.image.localSrcset}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.image.srcset}}{{/if}}" {{{this.image.pictureSourceAttributes}}}>
25
- <img src="{{#if this.image.localSrc}}{{this.image.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.image.src}}{{/if}}" alt="{{this.image.altText}}"{{#if this.image.class}} class="{{this.image.class}}"{{/if}}{{#xif "this.image.lazyload === true"}} loading="lazy"{{/xif}}{{#if this.image.width}} width="{{this.image.width}}"{{/if}}{{#if this.image.height}} height="{{this.image.height}}"{{/if}}>
26
- </picture>
27
- {{/xif}}
28
- </div>
29
- {{/if}}
30
- {{#if this.customContentTemplate}}
31
- {{ fileInclude this.customContentTemplate
32
- content = this
33
- }}
34
- {{/if}}
35
- {{#if this.featuredPartnerLogos}}
36
- <div class="featured-block__partners">
37
- {{#each this.featuredPartnerLogos}}
38
- {{#xif "this.tag === 'img'"}}
39
- <img src="{{#if this.localSrc}}{{this.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.src}}{{/if}}" alt="{{this.altText}}"{{#if this.class}} class="{{this.class}}"{{/if}}{{#xif "this.lazyload === true"}} loading="lazy"{{/xif}}{{#if this.width}} width="{{this.width}}"{{/if}}{{#if this.height}} height="{{this.height}}"{{/if}}>
40
- {{/xif}}
41
- {{#xif "this.tag === 'picture'"}}
42
- <picture>
43
- <source srcset="{{#if this.localSrcset}}{{this.localSrcset}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.srcset}}{{/if}}" {{{this.pictureSourceAttributes}}}>
44
- <img src="{{#if this.localSrc}}{{this.localSrc}}{{else}}https://{{x 'process.env.NODE_ENV'}}/quote/resources/assets/{{this.src}}{{/if}}" alt="{{this.altText}}"{{#if this.class}} class="{{this.class}}"{{/if}}{{#xif "this.lazyload === true"}} loading="lazy"{{/xif}}{{#if this.width}} width="{{this.width}}"{{/if}}{{#if this.height}} height="{{this.height}}"{{/if}}>
45
- </picture>
46
- {{/xif}}
47
- {{/each}}
48
- </div>
49
- {{/if}}
50
- {{#if this.description.placeUnderLogos}}
51
- <p class="featured-block__description{{#if this.description.class}} {{this.description.class}}{{/if}}"{{#if this.description.extraAttributes}}{{#each this.description.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>{{{this.description.text}}}</p>
52
- {{/if}}
53
- {{#if this.button}}
54
- <a href="{{this.button.href}}" class="featured-block__btn btn {{#if this.button.class}} {{this.button.class}}{{/if}}{{#if this.button.icon}} featured-block__btn--with-icon{{/if}}"{{#if this.button.extraAttributes}}{{#each this.button.extraAttributes}}{{{this.attributeName}}}="{{{this.attributeValue}}}"{{/each}}{{/if}}>
55
- {{this.button.text}}{{#if this.button.icon}} <i class="{{this.button.icon}}"></i>{{/if}}
56
- </a>
57
- {{/if}}
58
- </div>
59
- {{/each}}
60
- {{#xif "this.block.columns.length > 1"}}</div>{{/xif}}
61
- {{#xif "this.block.includeContainerWrapper === true"}}</div>{{/xif}}
62
- </div>
@@ -1,107 +0,0 @@
1
- {{#unless this.page.footAssetsConfig.disableJquery}}
2
- <!-- build:js {{#if this.buildRootPath}}{{this.buildRootPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}scripts/vendor/jquery.js -->
3
- <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{/if}}node_modules/jquery/dist/jquery.js" {{#if this.page.footAssetsConfig.deferJquery}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncJquery}}async{{/if}}></script>
4
- <!-- endbuild -->
5
- {{/unless}}
6
-
7
- {{#unless this.page.footAssetsConfig.disableModUtils}}
8
- <script src="https://{{nodeEnv}}/quote/resources/mod-utils/modutils.min.js" {{#if this.page.footAssetsConfig.deferModUtils}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncModUtils}}async{{/if}}></script>
9
- {{/unless}}
10
-
11
- <!-- load additionalAssets only from node_modules -->
12
- {{#if page.footAssetsConfig.additionalAssets}}
13
- {{#each page.footAssetsConfig.additionalAssets}}
14
- {{#xif "!this.bundleInAllJSChunk && this.isNodeModule"}}
15
- <!-- build:js {{#if this.buildPath}}{{this.buildPath}}{{else}}{{#unless ../this.useRelativeBuildPath}}/{{/unless}}scripts/vendor{{/if}}/{{this.chunkName}} -->
16
- <script src="{{#if ../this.nodeModulesPath}}{{../this.nodeModulesPath}}{{/if}}node_modules/{{this.src}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
17
- <!-- endbuild -->
18
- {{/xif}}
19
- {{/each}}
20
- {{/if}}
21
-
22
- {{#unless this.page.footAssetsConfig.disableModCarousel}}
23
- <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}shared-components/carousel/carousel.min.js" {{#if this.page.footAssetsConfig.deferModCarousel}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncModCarousel}}async{{/if}}></script>
24
- {{/unless}}
25
-
26
- {{#if this.page.footAssetsConfig.includeCallrailJs}}
27
- <script src="https://{{nodeEnv}}/quote/resources/shared-resources/scripts/callrail/callrail.min.js" defer></script>
28
- {{/if}}
29
-
30
- <!-- load additionalAssets from site-level, CDN or third party CDN -->
31
- {{#if page.footAssetsConfig.additionalAssets}}
32
- {{#each page.footAssetsConfig.additionalAssets}}
33
- {{#xif "!this.bundleInAllJSChunk && !this.isNodeModule"}}
34
- <script src="
35
- {{#if ../this.isLocal}}
36
- {{#if this.localSrc}}
37
- {{this.localSrc}}
38
- {{else}}
39
- {{#if this.useModCdn}}
40
- https://{{../nodeEnv}}/{{this.src}}
41
- {{else}}
42
- {{this.src}}
43
- {{/if}}
44
- {{/if}}
45
- {{else}}
46
- {{#if this.useModCdn}}
47
- https://{{../nodeEnv}}/{{this.src}}
48
- {{else}}
49
- {{this.src}}
50
- {{/if}}
51
- {{/if}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
52
- {{/xif}}
53
- {{/each}}
54
- {{/if}}
55
-
56
- {{#xif " !this.page.footAssetsConfig.disableBSTransition && this.path !== 'thankyou' && this.path !== 'sorry' "}}
57
- <!-- build:js {{#if this.buildRootPath}}{{this.buildRootPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}scripts/vendor/bootstrap.js -->
58
- <script src="{{#if this.nodeModulesPath}}{{this.nodeModulesPath}}{{/if}}node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js" defer></script>
59
- <!-- endbuild -->
60
- {{/xif}}
61
-
62
- {{#xif "(this.includeModFormIncludes || (this.path !== 'thankyou' && this.path !== 'sorry'))" }}
63
- {{#xif " this.page.footAssetsConfig.useNewModForm === true "}}
64
- <script src="https://{{nodeEnv}}/quote/resources/mod-form/form/homeowner.min.js" {{#if this.page.footAssetsConfig.deferNewModForm}}defer{{/if}} {{#if this.page.footAssetsConfig.asyncNewModForm}}async{{/if}}></script>
65
- {{else}}
66
- {{#unless this.page.footAssetsConfig.disableModForm}}
67
- <script src="https://{{nodeEnv}}/quote/resources/mod-form/mod-form.min.js"></script>
68
- {{/unless}}
69
- {{#unless this.page.footAssetsConfig.disableQsForm}}
70
- <script src="https://{{nodeEnv}}/quote/resources/mod-form/qs-form.min.js"></script>
71
- {{/unless}}
72
- {{/xif}}
73
- {{/xif}}
74
-
75
- <!-- QS white label assets -->
76
- {{#xif "this.path !== 'thankyou' && this.path !== 'sorry' && this.isQSPage === true" }}
77
- <!-- build:js(src) {{#if this.buildRootPath}}{{this.buildRootPath}}{{else}}{{#unless this.useRelativeBuildPath}}/{{/unless}}{{/if}}scripts/components/all.js -->
78
- {{#unless this.page.footAssetsConfig.disableFormJs}}
79
- <script src="/scripts/components/form.js" defer></script>
80
- {{/unless}}
81
- {{#unless this.page.footAssetsConfig.disableProgressBarJS}}
82
- <script src="/scripts/components/progress-bar.js" defer></script>
83
- {{/unless}}
84
- {{#unless this.page.footAssetsConfig.disableExpandCollapse}}
85
- <script src="/scripts/components/expand-collapse.js" defer></script>
86
- {{/unless}}
87
- {{#if page.footAssetsConfig.additionalAssets}}
88
- {{#each page.footAssetsConfig.additionalAssets}}
89
- {{#xif "this.bundleInAllJSChunk && !this.isNodeModule"}}
90
- <script src="{{this.src}}" {{#if this.defer}}defer{{/if}} {{#if this.async}}async{{/if}}></script>
91
- {{/xif}}
92
- {{/each}}
93
- {{/if}}
94
- <!-- endbuild -->
95
- {{/xif}}
96
-
97
- {{#if this.path}}
98
- <script src="{{#if this.src}}{{this.src}}{{else}}scripts{{/if}}/{{this.path}}.js" defer></script>
99
- {{/if}}
100
-
101
- {{#unless this.page.footAssetsConfig.disableFooter}}
102
- <script src="https://{{nodeEnv}}/quote/resources/shared-resources/scripts/footer/footer-component.min.js" data-type="{{#if isQSPage}}qs{{else}}mod{{/if}}" async defer></script>
103
- {{/unless}}
104
-
105
- {{#if this.page.footAssetsConfig.devOpsTrackingId}}
106
- <!-- {{uppercase this.page.footAssetsConfig.devOpsTrackingId}} -->
107
- {{/if}}
@@ -1,12 +0,0 @@
1
- <div class="tcpa form-tcpa" {{#if this.hidden}}style="display:none;"{{/if}}>
2
- {{#unless this.hidehr}}
3
- <hr>
4
- {{/unless}}
5
- <input name="leadToken" id="leadid_token" type="hidden" value=""/>
6
- <label>
7
- <input type="hidden" id="leadid_tcpa_disclosure" />
8
- <span id="tcpa-copy" data-tcpa-loaded>
9
- {{{this.tcpaText}}}
10
- </span>
11
- </label>
12
- </div>
@@ -1,4 +0,0 @@
1
- <!-- Google Tag Manager (noscript) -->
2
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{gtm_container_ID}}"
3
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
4
- <!-- End Google Tag Manager (noscript) -->