1"use strict";(self.webpackChunkPylot_Frontend=self.webpackChunkPylot_Frontend||[]).push([[3408],{23408:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var r,o=t(96540),l=t(52376),a=t(85692),i=t(76564),c=t(57528),d=t(21250).Ay.div(r||(r=(0,c.A)(["\n padding: 2rem 0;\n .title-container {\n margin-bottom: 1rem;\n h2 {\n margin-bottom: 1rem;\n }\n }\n .sale {\n &:nth-child(4n+1) .top-section {\n background-color: ",";\n color: ",";\n .type-of-deal {\n color: ",";\n }\n }\n &:nth-child(4n+2) .top-section {\n background-color: ",";\n color: ",";\n .type-of-deal {\n color: ",";\n }\n }\n &:nth-child(4n+3) .top-section {\n background-color: ",";\n color: ",";\n .type-of-deal {\n color: ",";\n }\n }\n &:nth-child(4n+4) .top-section {\n background-color: ",";\n color: ",";\n .type-of-deal {\n color: ",";\n }\n }\n .top-section {\n padding: 1.5rem;\n @media (min-width: 1200px) {\n padding: 1.5rem 2.5rem;\n }\n .title {\n font-size: 1rem;\n text-transform: uppercase;\n font-weight: 300; // for FLEX, probably remove later\n @media (min-width: 768px) {\n font-size: 1.625rem;\n }\n }\n .featured-image {\n max-height: 45px;\n display: block;\n margin: .5rem 0;\n }\n .bottom {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n margin-top: 2rem;\n .type-of-deal {\n .label {\n margin-left: 1.15rem;\n font-weight: 300; // for FLEX, probably remove later\n }\n .amount {\n font-size: 2.5rem;\n line-height: 1;\n font-weight: 300; // for FLEX, probably remove later\n small, sup {\n font-size: 1.25rem;\n }\n @media (min-width: 768px) {\n font-size: 5rem;\n small, sup {\n font-size: 2.5rem;\n }\n }\n @media (min-width: 992px) {\n font-size: 3rem;\n small, sup {\n font-size: 1.5rem;\n }\n }\n @media (min-width: 1200px) {\n font-size: 5rem;\n small, sup {\n font-size: 2.5rem;\n }\n }\n }\n }\n .button {\n margin-top: 1rem;\n }\n }\n }\n .post-copy {\n position: relative;\n padding: 1.5rem 2.5rem;\n ul {\n padding-left: 2.5rem;\n margin: 0;\n }\n }\n }\n @media (min-width: 992px) {\n .sale-container {\n display: flex;\n flex-wrap: wrap;\n .sale {\n width: 50%;\n // display: flex;\n // flex-direction: column;\n .top-section {\n display: flex;\n // flex: 1;\n justify-content: space-between;\n flex-direction: column;\n min-height: 300px;\n .featured-image {\n // max-height: 100px;\n object-fit: contain;\n object-position: left;\n }\n }\n &:nth-child(even) .post-copy:after {\n content: '';\n position: absolute;\n top: 1.5rem;\n bottom: 1.5rem;\n left: -1px;\n border-left: 2px solid;\n }\n }\n }\n }\n"])),(function(e){return e.backgroundColor.color_1}),(function(e){return"dark"===e.backgroundColor.value_1?"#fff":function(e){return e.textColor}}),(function(e){return"dark"===e.backgroundColor.value_1?"#fff":function(e){return e.secondaryColor}}),(function(e){return e.backgroundColor.color_2}),(function(e){return"dark"===e.backgroundColor.value_2?"#fff":function(e){return e.textColor}}),(function(e){return"dark"===e.backgroundColor.value_2?"#fff":function(e){return e.secondaryColor}}),(function(e){return e.backgroundColor.color_3}),(function(e){return"dark"===e.backgroundColor.value_3?"#fff":function(e){return e.textColor}}),(function(e){return"dark"===e.backgroundColor.value_3?"#fff":function(e){return e.secondaryColor}}),(function(e){return e.backgroundColor.color_4}),(function(e){return"dark"===e.backgroundColor.value_4?"#fff":function(e){return e.textColor}}),(function(e){return"dark"===e.backgroundColor.value_4?"#fff":function(e){return e.secondaryColor}})),s=o.lazy((function(){return t.e(8610).then(t.bind(t,28610))})),m=o.lazy((function(){return Promise.all([t.e(4204),t.e(78),t.e(9435),t.e(6601)]).then(t.bind(t,26564))})),u=o.lazy((function(){return Promise.all([t.e(982),t.e(6188),t.e(7169),t.e(5260)]).then(t.bind(t,47169))})),f=function(e){var n,t=e.sale,r=e.data,a=e.settings,i={url:t.featured_image,alt:"".concat(t.title," featured image")};return o.createElement("div",{className:"sale"},o.createElement("div",{className:"top-section"},o.createElement("div",{class:"top"},o.createElement("h3",{className:"title"},(0,l.decode)(t.title)),t.featured_image&&o.createElement(s,{className:"featured-image",data:i}),t.excerpt&&o.createElement("div",{className:"blurb",dangerouslySetInnerHTML:{__html:t.excerpt}})),o.createElement("div",{className:"bottom"},t.type_of_deal&&o.createElement("div",{className:"type-of-deal"},o.createElement("div",{className:"label"},"from"),o.createElement("div",{className:"amount",dangerouslySetInnerHTML:{__html:t.type_of_deal}})),t.url&&o.createElement("div",{className:"button"},o.createElement(u,{title:t.link_text_override?t.link_text_override:null==a||null===(n=a.mvk_theme_config)||void 0===n||null===(n=n.labels)||void 0===n?void 0:n.learn_more,url:t.url,target:t.external_link?t.external_link:null,tone:r.button_value,type:r.button_style})))),t.post_copy&&o.createElement("div",{className:"post-copy"},o.createElement(m,{html:t.post_copy,data:r})))};const p=function(e){var n=e.data,t=e.settings,r=(0,a.Wx)({triggerOnce:!0,fallbackInView:!0}),c=r.ref,s=r.inView;return o.createElement(d,{ref:c,className:"featured-sales ".concat(n.style),textColor:(0,i.GG)("body_copy_color",t),secondaryColor:(0,i.GG)("secondary_color",t),backgroundColor:n.background_colors}
1,s?o.createElement(o.Fragment,null,(n.title||n.blurb)&&o.createElement("div",{className:"title-container grid-container".concat(n.restrict_module_width?" restricted":"")},o.createElement("div",{className:"grid-x"},n.title&&o.createElement("div",{className:"cell ".concat(n.title_alignment)},o.createElement("h2",null,(0,l.decode)(n.title))),n.blurb&&o.createElement("div",{className:"cell"},o.createElement("div",{className:"copy",dangerouslySetInnerHTML:{__html:n.blurb}})))),o.createElement("div",{className:"sale-container grid-container".concat(n.restrict_module_width?" restricted":"")},n.sales&&n.sales.map((function(e){return o.createElement(f,{sale:e,data:n,settings:t})})))):null)}}}]); 2//# sourceMappingURL=c2a2ecacf6eb5d6cdbf6.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.