1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[3966,7655,8250],{9150:function(e,t,a){a.d(t,{A:function(){return d}});var l=a(45458),r=a(96540),n=a(98162),s=a(11254),i=a(80431);var c=a(42497);a(68377);var o=a(89285),m=a(79085),u=a(52829);var d=e=>{let{isAvg:t,isOtp:a}=e;const d=(0,s.Z1)(s.qU,s.xe),{setBrandSelected:p,setBrand:y,setTaxes:b,setShippingAddress:h}=(0,r.useContext)(c.A),v=(0,m.SO)(),{0:f,1:g}=(0,r.useState)(!1),k=(0,u.T_)("default");(0,r.useEffect)((()=>{g(v<1150)}),[v]);const E=[{img:"Classic-Product-Image.png",title:r.createElement(r.Fragment,null,"Hubble",r.createElement("sup",null,"®")," Classic 2.0 Daily"),description:"Your favorite contacts got an upgrade. Now with more comfortable features, and still affordable.",price:a?"<strike>$69.99/eye</strike> <span>$45.00/eye</span>":`<strike>$${k.classic.subPrice}/eye</strike><span> $${k.classic.firstPrice}/eye</span>${f?"<br/>":""} 10-day starter pack`,type:"hubble",packSize:a?90:30,cadence:a?84:28,...a?{bannerLabel:"$1/day",percentOff:35}:{tagText:"Upgraded",tagColor:"charged-blue",buttonText:"Start Now for $1/eye"}},{img:"Sign-Up-Hydro-Product-Image.png",title:r.createElement(r.Fragment,null,"Hydro by Hubble",r.createElement("sup",null,"®")," Daily"),description:"With innovative packaging, Hydro by Hubble is naturally hydrating and has a smooth lens edge.",price:a?"<strike>$74.99/eye</strike> <span>$45.00/eye</span>":`<strike>$${k.hydro.subPrice}/eye</strike> <span>$${k.hydro.firstPrice}/eye</span> </br>${k.hydro.percentOff}% OFF your first order`,type:"hydro",packSize:a?90:30,cadence:a?84:28,...a?{bannerLabel:"$1/day",percentOff:40}:{tagText:"Popular Choice",tagColor:"purple"}},{img:"Sign-Up-SkyHy-Product-Image.png",title:r.createElement(r.Fragment,null,"SkyHy by Hubble",r.createElement("sup",null,"®")," Daily"),description:"As our most breathable lens, SkyHy by Hubble is made from silicone hydrogel, the material preferred by doctors.",price:a?"<strike>$89.99/eye</strike> <span>$45.00/eye</span>":`<strike>$${k.skyhy.subPrice}/eye</strike> <span>$${k.skyhy.firstPrice}/eye</span> </br>${k.skyhy.percentOff}% OFF your first order`,type:"skyhy",packSize:a?90:30,cadence:a?84:28,...a?{bannerLabel:"$1/day",percentOff:50}:{tagText:"Premium Pick",tagColor:"orange"}}].concat((0,l.A)(a?[]:[{img:"Sign-Up-SkyHy-Monthly-Product-Image.png",title:r.createElement(r.Fragment,null,"SkyHy by Hubble",r.createElement("sup",null,"®")," Monthly"),description:f?"All the comfort and breathability of SkyHy is now available as a monthly lens to fit the wear schedule thatâs right for you.":"All the comfort and breathability of SkyHyânow available as a monthly lens to fit the right wear schedule for you.",price:`<strike>$${k.skyhyMonthly.subPricePerMonth}/eye</strike> <span>$${k.skyhyMonthly.firstPricePerMonth}/eye</span>* </br>${k.skyhyMonthly.percentOff}% OFF your first order`,type:"skyhy-monthly",tagText:"Premium Pick",tagColor:"blue",packSize:6,cadence:168,disclaimer:"*cost per month"}])),N=e=>{(0,o.A)("#order-section"),w((a?[{value:"hubble",percent_off:"0",link:"",title:"Hubble Classic Lenses",image:"",price:"69.99",cc_product_id:"hubble",days:"84",quantity:90,nonSubscription:!0},{value:"hydro",percent_off:"0",link:"",title:"Hydro by Hubble Contact Lenses",short_title:"Hydro By Hubble",image:"",price:"74.99",cc_product_id:"hydro",days:"84",quantity:90,nonSubscription:!0},{value:"skyhy",percent_off:"0",link:"",title:"SkyHy by Hubble Contact Lenses",short_title:"SkyHy by Hubble",image:"",price:"89.99",cc_product_id:"skyhy",days:"84",quantity:90,nonSubscription:!0}]:(e=>[{value:"hubble",percent_off:"0",link:"",title:"Hubble Classic 2.0 Daily",long_title:"Hubble Classic 2.0 Daily Contact Lenses",image:"",price:e.classic.subPrice,sale_price:e.classic.firstPrice,cc_product_id:"hubble",days:"30",quantity:30},{value:"hydro",percent_off:e.hydro.percentOff,link:"",title:"Hydro by Hubble Daily",long_title:"Hydro by Hubble Daily Contact Lenses",short_title:"Hydro By Hubble",image:"",price:e.hydro.subPrice,sale_price:e.hydro.firstPrice,cc_product_id:"hydro",days:"30",quantity:30},{value:"skyhy",percent_off:e.skyhy.percentOff,link:"",title:"SkyHy by Hubble Daily",long_title:"SkyHy by Hubble Daily Contact Lenses",short_title:"SkyHy by Hubble",image:"",price:e.skyhy.subPrice,sale_price:e.skyhy.firstPrice,cc_product_id:"skyhy",days:"30",quantity:30},{value:"skyhy-monthly",percent_off:e.skyhyMonthly.percentOff,link:"",title:"SkyHy by Hubble Monthly",long_title:"SkyHy by Hubble Monthly Contact Lenses",short_title:"SkyHy by Hubble Monthly",image:"SkyHy-Monthly",price:e.skyhyMonthly.subPrice,price_per_month:e.skyhyMonthly.subPricePerMonth,sale_price:e.skyhyMonthly.firstPrice,sale_price_per_month:e.skyhyMonthly.firstPricePerMonth,cc_product_id:"skyhy-monthly",days:"180",quantity:6}])(k)).find((t=>t.value.toLowerCase()===e.toLowerCase())))},w=e=>{y(e),p(!0),b(0),h({first_name:"",last_name:"",address1:"",address2:"",city:"",province:"",zipcode:"",phone:""}),t?setTimeout((()=>{document.querySelector("#prescription").scrollIntoView({behavior:"smooth",block:"start"})}),500):setTimeout((()=>{document.querySelector("#order-section").scrollIntoView({behavior:"smooth",block:"start"})}),100),window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"select_item",ecommerce:{items:[{item_id:e.cc_product_id||"2167100637257",
1index:0,item_name:e.title,currency:"USD",discount:0,item_brand:e.title.includes("Hubble")?"Hubble":e.title,item_category:"contacts",item_category2:"spherical",item_category3:"N/A",item_category4:"N/A",item_category5:"N/A",item_list_id:"Normal",item_variant:"N/A",price:parseFloat(e.sale_price)}]}})};return r.createElement("section",{className:"grid-section characteristics-landing-v3 v3 "+(t?"avg":""),id:"lenses-section"},!a&&r.createElement(r.Fragment,null,!t&&r.createElement("h2",{className:"characteristics-title-v3 avg-signup"},"Hubble Contact Lenses"),t&&r.createElement("div",{className:"content-container"},r.createElement("div",{className:"characteristics-subtitle-avg"},r.createElement("span",{className:"text"},"Hubble \nContact Lenses")))),r.createElement("div",{className:"content-container-contacts-v3"},E.map((e=>{let{img:t,title:l,description:s,price:c,type:o,tagText:m,tagColor:u,labelText:p,bannerText:y,packSize:b,bannerLabel:h,bannerColor:v,buttonText:f,cadence:g,disclaimer:k,percentOff:E}=e;return r.createElement("div",{className:`item-block ${d?"promo":""} ${a?"otp-lenses":""}`,"data-type":o,onClick:()=>N(o)},y&&r.createElement("div",{className:"top-banner","data-type":o},y),r.createElement("div",{className:"image-wrapper "+(d?"promo":"")},r.createElement("div",null,r.createElement(n.A,{withParallax:!0,wrapperClassName:"image",className:"image",fileName:`Pages/Intake/${t}`})),h&&r.createElement(i.A,{text:h,isOtp:a,color:v,label:!0,className:"banner-label"}),"classic"!==o&&d&&r.createElement(i.A,{text:"hydro"===o?"80%\n OFF":"skyhy"===o&&"66%\n OFF",label:d,isPromo:d,className:"promo-tag"}),m&&r.createElement(i.A,{text:m,color:u,className:"feature-tag"})),r.createElement("div",{className:"text-block"},r.createElement("div",null,!a&&"hubble"===o&&r.createElement(i.A,{text:m,color:u,className:"feature-tag"}),r.createElement("h2",{className:"lenses-title"},l),!a&&r.createElement("span",{className:"pack-size"},b," pack (",(g/28).toFixed(0),"-month supply)`"),r.createElement("p",{className:"description"},s)),r.createElement("div",{className:"lenses-wrapper "+(a?"lenses-wrapper--otp":""),"data-type":o},p&&!d&&r.createElement(i.A,{text:p,color:"dark-purple",label:!0}),a&&r.createElement("p",{className:"pack-size pack-size--otp"},b," pack (",(g/28).toFixed(0),"-month supply)`"),r.createElement("p",{className:"lenses-price "+(a?"lenses-price--otp":""),dangerouslySetInnerHTML:{__html:c}})),d&&"classic"!==o&&r.createElement("p",{className:"subtitle"},"now through june 4"),a&&E&&r.createElement("div",{className:"discount-wrapper"},r.createElement("span",{className:"discount-percent"},E,"% OFF"),r.createElement("span",{className:"discount-subtitle"},"with code at checkout"))),r.createElement("div",{className:"side-container"},!a&&"hubble"===o&&r.createElement("span",{className:"description desktop"},s),r.createElement("div",{className:"start-button",onClick:()=>N(o)},f||"Buy Now")),k&&r.createElement("span",{className:"product-disclaimer"},k))}))))}},11254:function(e,t,a){a.d(t,{Z1:function(){return n},qU:function(){return l},xe:function(){return r}});const l="11/19/23",r={}.GATSBY_PROMO_END||"12/4/23",n=function(e,t,a){void 0===a&&(a=null);a||new Date,new Date(e),new Date(new Date(t).setHours(23,59,59,999));return!1};t.Ay=n},53966:function(e,t,a){a.r(t),a.d(t,{default:function(){return o}});a(28007);var l=a(96540),r=a(98162),n=a(4589),s=a(43633),i=JSON.parse('[{"id":1,"name":"Lisa","verified":true,"rating":5,"content":"Iâve been with Hubble for years. I love the company. I love my disposable contacts!! If thereâs ever a problem, their customer service is phenomenal! I tell all my friends to use Hubble!ð"},{"id":2,"name":"Mark","verified":true,"rating":5,"content":"Contacts are comfortable, durable and are delivered on time. I am very pleased with the product and the service and would highly recommend them."},{"id":3,"name":"Gloria","verified":true,"rating":5,"content":"I absolutely love Hubble contacts. They are the best Iâve ever used, and my shipments are always on time. The quality of my contacts is also excellent."},{"id":4,"name":"Tashauna","verified":true,"rating":5,"content":"Great customer service, contacts are always on time or early to be delivered. Great quality lenses."},{"id":5,"name":"Teresa","verified":true,"rating":5,"content":"The cost is reasonable. The ability to change the cadence of delivery is very important. The quality is superb."},{"id":6,"name":"Hector","verified":true,"rating":5,"content":"Best affordable contact lenses, best customer service, and n
1o hassle. Shipping is fast. Been with them for 9 plus years and I highly recommend. 5 stars ð"}]'),c=a(79085);var o=()=>{const e=(0,l.useRef)(),{0:t,1:a}=(0,l.useState)(1),o={slidesToShow:2,slidesToScroll:1,arrows:!1,infinite:!1,variableWidth:!0,mobileFirst:!0,responsive:[{breakpoint:1100,settings:{slidesToShow:1,centerMode:!0}}],beforeChange:(e,l)=>{a((l>e?t+1:t-1)||1)}},m=(0,c.SO)()>1100?2:1,u=i.length-(m-1);return l.createElement("div",{className:"home-cta v2"},l.createElement("div",{className:"home-cta--background"},l.createElement(r.A,{withParallax:!0,wrapperClassName:"laptop-image",className:"laptop-image",fileName:"Pages/Homepage/Hubble-Contacts-400-Million-Lenses-Sold-Desktop.jpg"}),l.createElement(r.A,{withParallax:!0,wrapperClassName:"mobile-image",className:"mobile-image",fileName:"Pages/Homepage/Hubble-Contacts-400-Million-Lenses-Sold-Mobile.jpg"})),l.createElement("div",{className:"grid-section"},l.createElement("div",{className:"text-container"},l.createElement("h2",null,"Over 400 Million Lenses Sold."),l.createElement("p",{className:"cta-text"},"Quality lenses at fair prices â no wonder our customers love us. See for yourself.")),l.createElement("div",{className:"slider-container"},l.createElement(n.A,Object.assign({},o,{className:"reviews-container",ref:e}),i.map(((e,t)=>null===e?l.createElement("div",{className:"reviews-cc__card empty",key:t},"asdf"):l.createElement("div",{className:"reviews-cc__card",key:t},l.createElement("div",{className:"reviews-cc__rating"},Array(5).fill(void 0).map(((t,a)=>l.createElement("div",{className:"star "+(a+1<=e.rating?"active":"")})))),l.createElement("p",{className:"reviews-cc__content"},e.content),l.createElement("div",{className:"reviews-cc__name"},"â",e.name),e.verified&&l.createElement("div",{className:"reviews-cc__verified"},"Verified"))))),l.createElement(s.A,{sliderRef:e,currentPage:t,allPages:u,color:"purple"}))))}},66672:function(e,t,a){var l=a(98162),r=a(38209),n=a.n(r),s=a(96540);t.A=e=>{var t,a;let{isV3:r}=e,i="undefined"!=typeof window?null===(t=window)||void 0===t||null===(a=t.location)||void 0===a?void 0:a.search:null;return s.createElement("div",{className:"fb-landing-nav"},s.createElement("div",{className:"logo-wrapper-desktop"},r?s.createElement(n(),{className:"hubble-logo"}):s.createElement("a",{href:`https://www.hubblecontacts.com/${i}`},s.createElement(l.A,{fileName:"Pages/Intake/hubble-logo-desktop.svg",className:"hubble-logo"}))),s.createElement("div",{className:"logo-wrapper-mobile"},r?s.createElement(n(),{className:"hubble-logo"}):s.createElement("a",{href:`https://www.hubblecontacts.com/${i}`},s.createElement(n(),{className:"hubble-logo"}))))}},67092:function(e,t,a){var l=a(96540),r=a(28007);t.A=e=>{var t;let{label:a,to:n,onClick:s,type:i,disabled:c,color:o,className:m,state:u,stickyScroll:d=!1,animated:p,loading:y}=e;const b=n&&(!!n.includes("https://")||!!n.includes("http://"));let h="new-button text";m&&(h+=` ${m}`),o&&(h+=` col--${o}`),p&&(h+=" animated"),y&&(h+=" btn-loading");const v=(0,l.useRef)(),f=(0,l.useRef)(),{0:g,1:k}=(0,l.useState)(!1),E="undefined"!=typeof document?document.querySelector(".discount-banner"):null,N="undefined"!=typeof document?document.querySelector(".extra-padding"):null;return(0,l.useLayoutEffect)((()=>{var e,t;if(!d)return;let a=(null===(e=v.current)||void 0===e?void 0:e.getBoundingClientRect().top)>=(null===(t=f.current)||void 0===t?void 0:t.getBoundingClientRect().top);const l=()=>{var e,t,l,r,n,s;a=g?a:(null===(e=v.current)||void 0===e?void 0:e.getBoundingClientRect().top)>=(null===(t=f.current)||void 0===t?void 0:t.getBoundingClientRect().top);const i=(a?null===(l=f.current)||void 0===l?void 0:l.getBoundingClientRect().top:null===(r=f.current)||void 0===r?void 0:r.getBoundingClientRect().bottom)-(a?0:null===(n=v.current)||void 0===n?void 0:n.offsetHeight)+document.documentElement.scrollTop-64;(null===(s=document.getElementById("button"))||void 0===s?void 0:s.offsetTop)>0&&window.scrollY>i?k(!0):k(!1)};return window.addEventListener("scroll",l),()=>{k(!1),window.removeEventListener("scroll",l)}}),[h,d]),i||c?l.createElement("button",{type:i,className:h,disabled:c,onClick:s},l.createElement("div",{className:"btn-background"}),l.createElement("div",{className:"btn-spinner"}),l.createElement("div",{className:"btn-text white"},"string"==typeof a?a:null==a?void 0:a())):n&&!b?l.createElement(r.Link,{className:h,to:n,onClick:s,state:u},a):n&&b?l.createElement("a",{className:h,href:n,target:"_blank",onClick:s,state:u},a):l.createElement(l.Fragment,null,l.createElement("button",{id:"button",className:g?`${h}
1 sticky ${E?"include-banner-height":""} ${N?"non-sticky-banner":""}`:h,ref:v,onClick:s},a),l.createElement("div",{ref:f,style:{height:g?`${null===(t=v.current)||void 0===t?void 0:t.clientHeight}px`:"0px"}}))}},68377:function(e,t,a){var l=a(96540),r=a(11861);t.A=e=>{const{0:t,1:a}=(0,l.useState)(void 0),{getVariant:n}=(0,l.useContext)(r.A);return(0,l.useEffect)((()=>{a(n(e))}),[]),t}},80431:function(e,t,a){var l=a(96540),r=a(98162);t.A=e=>{let{text:t,color:a,label:n,isPromo:s,isOtp:i,className:c}=e;return l.createElement("div",{className:`info-tag ${n?"circle-label":""} ${s?"promo":""} ${c||""}`,"data-type":a},(i||s&&n)&&l.createElement(r.A,{className:"promo-icon",fileName:i?"Icons/OTP-PromoStar.svg":"Pages/Intake/Summer-Promo-Icon.svg",objectFit:"contain"}),i?l.createElement("span",{className:"otp-promo"},t):t)}},88250:function(e,t,a){a.r(t);var l=a(96540),r=a(98162);t.default=e=>{let{isCanada:t,isOtp:a}=e;return l.createElement("div",{className:"value-props grid-section no-padding"},l.createElement("div",{className:"value-props-holder"},l.createElement("div",{className:"value-prop"},l.createElement(r.A,{fileName:"ValuePropsSection-Quality-Materials.png",alt:""}),l.createElement("p",{className:"value-title"},"Quality Materials"),l.createElement("p",{className:"value-copy"},"Our lenses are made with the best technology out there, for better hydration and breathability.")),l.createElement("div",{className:"value-prop"},l.createElement(r.A,{fileName:"ValuePropsSection-Fair-Prices.png",alt:""}),l.createElement("p",{className:"value-title"},"Fair Prices"),l.createElement("p",{className:"value-copy"},"Donât overpay for your contacts. We have what youâre looking for, for less than competitors.")),!a&&l.createElement("div",{className:"value-prop"},l.createElement(r.A,{fileName:"ValuePropsSection-Seamless-Service.png",alt:"Seamless Service"}),l.createElement("p",{className:"value-title"},"Seamless Service"),l.createElement("p",{className:"value-copy"},t?"A Hubble subscription means you never have to worry about running out of contacts.":"Never worry about running out of contacts. Plus, all subscription orders ship for free!")),l.createElement("div",{className:"value-prop"},l.createElement(r.A,{fileName:"ValuePropsSection-Safety-First.png",alt:""}),l.createElement("p",{className:"value-title"},"Safety First"),l.createElement("p",{className:"value-copy"},"All of our Hubble lenses are FDA-approved and designed with your eye health in mind.")),l.createElement("div",{className:"value-prop"},l.createElement(r.A,{fileName:"ValuePropsSection-Real-Support.png",alt:""}),l.createElement("p",{className:"value-title"},"Real Support"),l.createElement("p",{className:"value-copy"},"We're here when you need us, ready to answer any question. Your happiness is our priority."))))}}}]);
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.