mod-build 4.0.102 → 4.0.104

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 (75) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/package.json +1 -1
  3. package/src/scripts/globals.js +1 -3
  4. package/src/scripts/plugins.js +0 -3
  5. package/tasks/templates.js +2 -4
  6. package/gulp-tasks/add-path-subdirectories.js +0 -34
  7. package/gulp-tasks/build-stat.js +0 -9
  8. package/gulp-tasks/build.js +0 -28
  9. package/gulp-tasks/cache-bust.js +0 -19
  10. package/gulp-tasks/check-seasonal-variations.js +0 -21
  11. package/gulp-tasks/clean.js +0 -10
  12. package/gulp-tasks/combine-files.js +0 -7
  13. package/gulp-tasks/compile.js +0 -44
  14. package/gulp-tasks/copy-files-to-build-path.js +0 -8
  15. package/gulp-tasks/copy-fonts.js +0 -6
  16. package/gulp-tasks/copy-json.js +0 -6
  17. package/gulp-tasks/copy-resources-to-dist.js +0 -6
  18. package/gulp-tasks/copy-videos.js +0 -6
  19. package/gulp-tasks/extras.js +0 -22
  20. package/gulp-tasks/grab-cdn.js +0 -74
  21. package/gulp-tasks/grab-form-helpers.js +0 -55
  22. package/gulp-tasks/grab-global-images.js +0 -121
  23. package/gulp-tasks/grab-images.js +0 -79
  24. package/gulp-tasks/grab-shared-components.js +0 -46
  25. package/gulp-tasks/grab-shared-scripts.js +0 -275
  26. package/gulp-tasks/grab-theme-json.js +0 -24
  27. package/gulp-tasks/grab-tooltips-json.js +0 -33
  28. package/gulp-tasks/js-lint-husky.js +0 -35
  29. package/gulp-tasks/js-lint.js +0 -24
  30. package/gulp-tasks/minify.js +0 -131
  31. package/gulp-tasks/sass-lint.js +0 -15
  32. package/gulp-tasks/serve.js +0 -74
  33. package/gulp-tasks/settings.js +0 -22
  34. package/gulp-tasks/styles.js +0 -42
  35. package/gulp-tasks/tasks.js +0 -475
  36. package/gulp-tasks/templates.js +0 -288
  37. package/src/data/footer.js +0 -119
  38. package/src/resources/data/tcpa.json +0 -4
  39. package/src/resources/templates/modals/about/index.hbs +0 -9
  40. package/src/resources/templates/modals/about/index.html +0 -9
  41. package/src/resources/templates/modals/contact-us/index.hbs +0 -348
  42. package/src/resources/templates/modals/contact-us/index.html +0 -348
  43. package/src/resources/templates/modals/e-sign-consent/index.hbs +0 -35
  44. package/src/resources/templates/modals/e-sign-consent/index.html +0 -35
  45. package/src/resources/templates/modals/faq/index.hbs +0 -9
  46. package/src/resources/templates/modals/faq/index.html +0 -9
  47. package/src/resources/templates/modals/privacy/index.hbs +0 -238
  48. package/src/resources/templates/modals/privacy/index.html +0 -238
  49. package/src/resources/templates/modals/terms/index.hbs +0 -166
  50. package/src/resources/templates/modals/terms/index.html +0 -166
  51. package/src/scripts/default/additional-assets.js +0 -60
  52. package/src/scripts/default/rage-clicking.js +0 -54
  53. package/src/scripts/default/show-utility-providers.js +0 -28
  54. package/src/scripts/url-cleaner.js +0 -8
  55. package/src/scripts/vendor/google-tag-manager-head.js +0 -6
  56. package/src/scripts/vendor/heap-addeventproperties-identify.js +0 -262
  57. package/src/scripts/vendor/heap-tracking.js +0 -9
  58. package/src/styles/partials/_contact-us.scss +0 -196
  59. package/src/styles/partials/_google-address-autocomplete.scss +0 -52
  60. package/src/styles/partials/_mixins.scss +0 -39
  61. package/src/styles/partials/_modal-pages.scss +0 -125
  62. package/src/styles/partials/_modernize-colors.scss +0 -128
  63. package/src/styles/partials/_qs-footer.scss +0 -68
  64. package/src/styles/partials/_quote-footer-v1.scss +0 -79
  65. package/src/styles/partials/_quote-footer-v2.scss +0 -64
  66. package/src/styles/partials/_quote-footer-v3.scss +0 -65
  67. package/src/templates/_partials/scripts/deferred-styles.html +0 -16
  68. package/src/templates/_partials/scripts/heap-bundle.html +0 -5
  69. package/src/templates/_partials/scripts/heap.html +0 -4
  70. package/src/templates/_partials/scripts/utm-params.html +0 -9
  71. package/src/templates/components/qs-footer.html +0 -55
  72. package/src/templates/components/quote-footer-v1.html +0 -148
  73. package/src/templates/components/quote-footer-v2.html +0 -169
  74. /package/tasks/{addSeasonalchanges.js → add-seasonal-changes.js} +0 -0
  75. /package/tasks/{setupDevOpsTrackingId.js → setup-dev-ops-tracking-id.js} +0 -0
@@ -1,125 +0,0 @@
1
- $color-text-modal: #333;
2
- $color-notes-modal: #989797;
3
-
4
- body {
5
- .modal {
6
- color: $color-text-modal;
7
-
8
- &-header {
9
- font-size: 16px;
10
- line-height: 18px;
11
- }
12
-
13
- &-title {
14
- font-size: 14px;
15
- text-transform: capitalize;
16
- }
17
-
18
- &-body {
19
- max-height: calc(100vh - 210px);
20
- overflow-y: auto;
21
- padding: 15px;
22
- position: relative;
23
- word-break: break-word;
24
-
25
- b {
26
- font-weight: 700;
27
- }
28
-
29
- p {
30
- font-weight: normal;
31
- margin-bottom: 20px;
32
- }
33
-
34
- .title {
35
- font-size: 20px;
36
- font-weight: 700;
37
- line-height: 22px;
38
- margin-bottom: 15px;
39
- }
40
-
41
- .subtitle {
42
- font-size: 20px;
43
- font-weight: 400;
44
- line-height: 22px;
45
- margin-bottom: 15px;
46
- margin-top: 30px;
47
-
48
- &--underlined {
49
- font-style: italic;
50
- font-weight: bold;
51
- text-decoration: underline;
52
- }
53
- }
54
-
55
- .unordered-list {
56
- list-style-type: disc;
57
-
58
- ul {
59
- list-style-type: circle;
60
- }
61
-
62
- &.no-decorator {
63
- list-style-type: none;
64
- margin-left: 15px;
65
- }
66
- }
67
-
68
- .ordered-list {
69
- list-style-type: decimal;
70
-
71
- li {
72
- font-weight: 700;
73
-
74
- p {
75
- font-weight: 400;
76
- }
77
- }
78
- }
79
-
80
- .unordered-list,
81
- .ordered-list {
82
- margin: 15px 0 15px 30px;
83
- padding: 0;
84
-
85
- li {
86
- margin: 0 0 15px;
87
- }
88
-
89
- &--roman {
90
- list-style-type: upper-roman;
91
- margin-left: 15px;
92
- }
93
-
94
- &--alpha {
95
- list-style-type: lower-alpha;
96
- margin-left: 25px;
97
- }
98
-
99
- &--roman,
100
- &--alpha {
101
- li {
102
- margin: 0;
103
- }
104
- }
105
- }
106
-
107
- .notes {
108
- color: $color-notes-modal;
109
- display: block;
110
- font-size: 14px;
111
- margin-bottom: 15px;
112
- }
113
- }
114
-
115
- &-footer {
116
- text-align: center;
117
-
118
- .btn {
119
- margin: 0 auto;
120
- text-align: center;
121
- width: 200px;
122
- }
123
- }
124
- }
125
- }
@@ -1,128 +0,0 @@
1
- /**
2
- * Base colors
3
- */
4
-
5
- // Black & White
6
- $color-white: #FFF;
7
- $color-black: #000;
8
-
9
- // Lilac Purple
10
- $color-lilac-purple1: #EEEDF7;
11
- $color-lilac-purple2: #DDDBEF;
12
- $color-lilac-purple3: #CCCAE7;
13
- $color-lilac-purple4: #BBB8DF;
14
- $color-lilac-purple5: #AAA7D8;
15
- $color-lilac-purple6: #8885AC;
16
- $color-lilac-purple7: #666481;
17
- $color-lilac-purple8: #444256;
18
- $color-lilac-purple9: #22212B;
19
-
20
- // Ruby Red
21
- $color-ruby-red1: #FAE2DD;
22
- $color-ruby-red2: #F6C6BC;
23
- $color-ruby-red3: #F1A99A;
24
- $color-ruby-red4: #ED8D79;
25
- $color-ruby-red5: #E97158;
26
- $color-ruby-red6: #BA5A46;
27
- $color-ruby-red7: #8B4334;
28
- $color-ruby-red8: #5D2D23;
29
- $color-ruby-red9: #2E1611;
30
-
31
- // Button Orange
32
- $color-button-orange1: #FDE9D1;
33
- $color-button-orange2: #FBD3A4;
34
- $color-button-orange3: #F9BE77;
35
- $color-button-orange4: #F7A84A;
36
- $color-button-orange5: #F6931D;
37
- $color-button-orange6: #C47517;
38
- $color-button-orange7: #935811;
39
- $color-button-orange8: #623A0B;
40
- $color-button-orange9: #311D05;
41
-
42
- // Solar Yellow
43
- $color-solar-yellow1: #FAEBCC;
44
- $color-solar-yellow2: #FEE6B7;
45
- $color-solar-yellow3: #FED993;
46
- $color-solar-yellow4: #FECD6F;
47
- $color-solar-yellow5: #FEC14B;
48
- $color-solar-yellow6: #CB9A3C;
49
- $color-solar-yellow7: #98732D;
50
- $color-solar-yellow8: #654D1E;
51
- $color-solar-yellow9: #32260F;
52
-
53
- // Fall Green
54
- $color-fall-green1: #F5F4DC;
55
- $color-fall-green2: #EBE9B9;
56
- $color-fall-green3: #E1DF96;
57
- $color-fall-green4: #D7D473;
58
- $color-fall-green5: #CDCA50;
59
- $color-fall-green6: #A4A140;
60
- $color-fall-green7: #7B7930;
61
- $color-fall-green8: #525020;
62
- $color-fall-green9: #292810;
63
-
64
- // HVAC Green
65
- $color-hvac-green1: #ECF1DD;
66
- $color-hvac-green2: #D9E4BB;
67
- $color-hvac-green3: #C6D69A;
68
- $color-hvac-green4: #B3C978;
69
- $color-hvac-green5: #A0BC57;
70
- $color-hvac-green6: #809645;
71
- $color-hvac-green7: #607034;
72
- $color-hvac-green8: #404B22;
73
- $color-hvac-green9: #202511;
74
-
75
- // Power Blue
76
- $color-power-blue1: #EDF7F7;
77
- $color-power-blue2: #DBF0F0;
78
- $color-power-blue3: #C9E9E9;
79
- $color-power-blue4: #B7E2E2;
80
- $color-power-blue5: #A5DBDB;
81
- $color-power-blue6: #84AFAF;
82
- $color-power-blue7: #638383;
83
- $color-power-blue8: #425757;
84
- $color-power-blue9: #212B2B;
85
-
86
- // Steel Blue
87
- $color-steel-blue1: #EFF5F9;
88
- $color-steel-blue2: #E0ECF4;
89
- $color-steel-blue3: #D1E2EE;
90
- $color-steel-blue4: #C2D9E9;
91
- $color-steel-blue5: #B3D0E4;
92
- $color-steel-blue6: #8FA6B6;
93
- $color-steel-blue7: #6B7C88;
94
- $color-steel-blue8: #47535B;
95
- $color-steel-blue9: #23292D;
96
-
97
- // Modernize Blue
98
- $color-modernize-blue1: #E2F0F2;
99
- $color-modernize-blue2: #C5E2E6;
100
- $color-modernize-blue3: #A8D3DA;
101
- $color-modernize-blue4: #8BC5CE;
102
- $color-modernize-blue5: #6EB7C2;
103
- $color-modernize-blue6: #58929B;
104
- $color-modernize-blue7: #426D74;
105
- $color-modernize-blue8: #2C494D;
106
- $color-modernize-blue9: #162426;
107
-
108
- // Charcoal
109
- $color-charcoal1: #DCDCDC;
110
- $color-charcoal2: #BAB9BA;
111
- $color-charcoal3: #8A8A8A;
112
- $color-charcoal4: #757375;
113
- $color-charcoal5: #545253;
114
- $color-charcoal6: #434142;
115
- $color-charcoal7: #282727;
116
- $color-charcoal8: #212021;
117
- $color-charcoal9: #101010;
118
-
119
- // Ivory
120
- $color-ivory1: #FDFDFC;
121
- $color-ivory2: #FBFBF9;
122
- $color-ivory3: #F9F9F5;
123
- $color-ivory4: #F7F7F3;
124
- $color-ivory5: #F6F5F1;
125
- $color-ivory6: #C4C4C0;
126
- $color-ivory7: #939390;
127
- $color-ivory8: #626260;
128
- $color-ivory9: #313130;
@@ -1,68 +0,0 @@
1
- @import './contact-us';
2
- @import './modal-pages';
3
-
4
- .footer {
5
- background-color: $color-gray-dark;
6
- color: $color-white;
7
- font-family: $font-secondary;
8
- font-size: 10px;
9
- font-weight: 500;
10
- padding: 35px 0;
11
- text-align: center;
12
-
13
- &__head-link {
14
- display: block;
15
- font-size: 14px;
16
- margin: 0 auto 20px;
17
-
18
- a {
19
- color: $color-white;
20
- text-decoration: underline;
21
-
22
- &:active,
23
- &:hover,
24
- &:focus {
25
- color: $color-charcoal3;
26
- }
27
- }
28
- }
29
-
30
- &__links {
31
- display: flex;
32
- flex-wrap: wrap;
33
- justify-content: center;
34
-
35
- a {
36
- color: $color-white;
37
- cursor: pointer;
38
- margin: 0 5px;
39
-
40
- &:active,
41
- &:hover,
42
- &:focus {
43
- color: $color-charcoal3;
44
- }
45
- }
46
-
47
- li + li {
48
- &::before {
49
- content: '|';
50
- }
51
- }
52
- }
53
-
54
- &__copyright {
55
- font-weight: 500;
56
- margin-bottom: 0;
57
- }
58
-
59
- @include breakpoint-sm {
60
- font-size: 12px;
61
-
62
- &__links {
63
- a {
64
- margin: 0 10px;
65
- }
66
- }
67
- }
68
- }
@@ -1,79 +0,0 @@
1
- .footer {
2
- @include font-primary-medium;
3
- color: $color-charcoal3;
4
- font-size: 14px;
5
- line-height: 14px;
6
- text-align: center;
7
-
8
- a {
9
- color: $color-purple5;
10
- white-space: nowrap;
11
- }
12
-
13
- &__content {
14
- overflow: hidden;
15
- padding-bottom: 15px;
16
- }
17
-
18
- &__links {
19
- margin: 20px 0;
20
-
21
- a {
22
- color: $color-blue5;
23
-
24
- & + a {
25
- margin-left: 35px;
26
- }
27
- }
28
- }
29
-
30
- &__captcha-disclosure {
31
- margin-top: 5px;
32
-
33
- a {
34
- color: $color-blue5;
35
- }
36
- }
37
-
38
- &__bbb-logo {
39
- height: 47px;
40
- margin-top: 20px;
41
- max-width: 130px;
42
- }
43
-
44
- & .contractor-link {
45
- display: block;
46
- font-size: 14px;
47
- margin: 20px auto 10px;
48
- }
49
- }
50
-
51
- @include breakpoint-phone {
52
- .footer {
53
- .container {
54
- max-width: 100%;
55
- }
56
-
57
- &__copyright {
58
- margin-top: 20px;
59
- }
60
-
61
- &__links {
62
- display: flex;
63
- flex-direction: column;
64
- margin: 5px 0 0;
65
-
66
- a {
67
- margin-top: 15px;
68
-
69
- & + a {
70
- margin-left: 0;
71
- }
72
- }
73
- }
74
-
75
- &__captcha-disclosure {
76
- margin-top: 15px;
77
- }
78
- }
79
- }
@@ -1,64 +0,0 @@
1
- .footer {
2
- @include font-primary-medium;
3
- color: $color-charcoal3;
4
- font-size: 12px;
5
- line-height: 14px;
6
- text-align: center;
7
-
8
- &__content {
9
- overflow: hidden;
10
- padding: 0 0 15px;
11
- }
12
-
13
- &__links {
14
- margin-top: 10px;
15
- text-align: center;
16
-
17
- a {
18
- @include font-primary-bold;
19
- color: $color-blue5;
20
- }
21
-
22
- a + a {
23
- &::before {
24
- color: $color-charcoal2;
25
- content: ' / ';
26
- }
27
- }
28
- }
29
-
30
- &__bbb-logo {
31
- height: 47px;
32
- margin: 15px auto;
33
- max-width: 130px;
34
- }
35
-
36
- & .contractor-link {
37
- display: block;
38
- font-size: 14px;
39
- margin: 20px auto 10px;
40
- }
41
- }
42
-
43
- @include breakpoint-phone {
44
- .footer {
45
- text-align: center;
46
-
47
- .container {
48
- max-width: 100%;
49
- }
50
-
51
- &__copyright {
52
- float: none;
53
- }
54
-
55
- &__captcha-disclosure {
56
- margin-top: 8px;
57
- }
58
-
59
- &__links {
60
- margin-top: 5px;
61
- text-align: center;
62
- }
63
- }
64
- }
@@ -1,65 +0,0 @@
1
- .footer {
2
- @include font-primary-medium;
3
- color: $color-charcoal3;
4
- font-size: 12px;
5
- line-height: 14px;
6
- text-align: center;
7
-
8
- a {
9
- color: $color-purple5;
10
- white-space: nowrap;
11
- }
12
-
13
- &__content {
14
- overflow: hidden;
15
- padding: 15px 0;
16
- }
17
-
18
- &__links {
19
- margin-top: 10px;
20
- text-align: center;
21
-
22
- a {
23
- @include font-primary-bold;
24
- color: $color-blue5;
25
- }
26
-
27
- a + a {
28
- &::before {
29
- color: $color-charcoal3;
30
- content: ' | ';
31
- }
32
- }
33
- }
34
-
35
- &__bbb {
36
- height: 47px;
37
- margin-top: 20px;
38
- max-width: 130px;
39
- }
40
-
41
- & .contractor-link {
42
- display: block;
43
- font-size: 14px;
44
- margin: 20px auto 10px;
45
- }
46
- }
47
-
48
- @include breakpoint-phone {
49
- .footer {
50
- text-align: center;
51
-
52
- .container {
53
- max-width: 100%;
54
- }
55
-
56
- &__copyright {
57
- float: none;
58
- }
59
-
60
- &__links {
61
- margin-top: 5px;
62
- text-align: center;
63
- }
64
- }
65
- }
@@ -1,16 +0,0 @@
1
- <noscript id="deferred-styles">
2
- {{{deferredStyles deferredStyleUrls}}}
3
- </noscript>
4
- <script>
5
- const loadDeferredStyles = function() {
6
- let addStylesNode = document.getElementById("deferred-styles");
7
- let replacement = document.createElement("div");
8
- replacement.innerHTML = addStylesNode.textContent;
9
- document.body.appendChild(replacement)
10
- addStylesNode.parentElement.removeChild(addStylesNode);
11
- };
12
- const raf = requestAnimationFrame || mozRequestAnimationFrame ||
13
- webkitRequestAnimationFrame || msRequestAnimationFrame;
14
- if (raf) raf(function() { window.setTimeout(loadDeferredStyles, 0); });
15
- else window.addEventListener('load', loadDeferredStyles);
16
- </script>
@@ -1,5 +0,0 @@
1
- <script>
2
- {{ fileInclude 'node_modules/mod-build/src/scripts/vendor/heap-tracking.js' }}
3
-
4
- {{ fileInclude 'node_modules/mod-build/src/scripts/vendor/heap-addeventproperties-identify.js' }}
5
- </script>
@@ -1,4 +0,0 @@
1
- <script>
2
- window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=t.forceSSL||"https:"===document.location.protocol,a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=(r?"https:":"http:")+"//cdn.heapanalytics.com/js/heap-"+e+".js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","removeEventProperty","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=o(p[c])};
3
- heap.load("3246578271");
4
- </script>
@@ -1,9 +0,0 @@
1
- <script type="text/javascript">
2
- (function () {
3
- var $networkLink = document.getElementById('join-network');
4
- var pageTrade = ($networkLink.getAttribute('data-trade') ? $networkLink.getAttribute('data-trade').toLowerCase() : "");
5
- var siteUrl = window.location.hostname + window.location.pathname;
6
-
7
- $networkLink.href = 'https://modernize.com/pro/register/leads/?trade=' + pageTrade + '&utm_medium=microsites&utm_source=' + siteUrl;
8
- })();
9
- </script>
@@ -1,55 +0,0 @@
1
- <footer class="footer">
2
- <div class="container">
3
- <div class="footer__head-link">
4
- {{qsFooterData.contractor.text}}
5
- <a target="_blank" href="{{qsFooterData.contractor.link}}" rel="noopener noreferrer">
6
- {{qsFooterData.contractor.linkText}}
7
- </a>
8
- </div>
9
- <ul class="footer__links">
10
- {{#each qsFooterData.links}}
11
- <li>
12
- <a
13
- {{#xif "!this.modal" }}
14
- href="{{this.url}}"
15
- target="_blank"
16
- rel="noopener noreferrer"
17
- {{/xif}}
18
- {{#xif "this.modal" }}
19
- data-bind="modal-link"
20
- data-load="/modals{{this.url}}index.html"
21
- {{/xif}}
22
- >
23
- {{{this.name}}}{{#xif 'this.company === true'}}{{#if ../this.companyName}}&nbsp;{{{../this.companyName}}}{{/if}}{{/xif}}
24
- </a>
25
- </li>
26
- {{/each}}
27
- <!--
28
- - Define the customFooterLinks array of objects in template.js / siteconfig.js
29
- - e.g customFooterLinks: [{name: 'Test Link', url: '/test/', modal: true}]
30
- -->
31
- {{#if this.customFooterLinks}}
32
- {{#each this.customFooterLinks}}
33
- <li>
34
- <a
35
- {{#xif "!this.modal" }}
36
- href="{{this.url}}"
37
- target="_blank"
38
- rel="noopener noreferrer"
39
- {{/xif}}
40
- {{#xif "this.modal" }}
41
- data-bind="modal-link"
42
- data-load="/modals{{this.url}}index.html"
43
- {{/xif}}
44
- >
45
- {{{this.name}}}
46
- </a>
47
- </li>
48
- {{/each}}
49
- {{/if}}
50
- </ul>
51
- <p class="footer__copyright">
52
- Copyright &copy; {{year}} {{qsFooterData.copyright}}
53
- </p>
54
- </div>
55
- </footer>