1(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[196],{12892:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return E}});var n=a(45458),l=a(96540),i=a(36610),r=a(77528),c=a(82495);var s=e=>{let{recommendedReadsArticles:t}=e;return t.length?l.createElement("div",{className:"recommended-reads"},l.createElement("div",{className:"grid-section"},l.createElement("div",{className:"recommended-reads-block-title"},l.createElement("h3",{className:"text h3"},"Recommended Reads")),l.createElement("div",{className:"articles-list"},t.map(((e,t)=>{let{mainImage:a,tags:n,title:i,url:r}=e;return l.createElement(c.A,{image:a,tags:n,title:i,url:`/blog/${r}`,key:t})}))))):null},m=a(96589),o=a.n(m),d=a(74791),p=a.n(d),u=a(30978),g=a(46335),h=a(32838);var E=e=>{var t;let{pageContext:a}=e;const{blog:c,otherArticles:m}=a,{mainImage:d,title:E,content:b,tags:v,id:f,publishedAt:y,modifiedAt:w,excerpt:k,url:N,seoTitle:x,seoDescription:_,inlineSchema:A}=c,H=`${h.dH}/${N}`,I=_||k,$=(0,h.lQ)(null==d||null===(t=d.file)||void 0===t?void 0:t.url),L=w&&y&&w.slice(0,10)>=y.slice(0,10)?w:y,M=[{"@context":"https://schema.org","@type":"BlogPosting","@id":(0,h.IZ)(N),mainEntityOfPage:{"@type":"WebPage","@id":H},url:H,headline:x||E,name:E,description:I,...$?{image:$}:{},datePublished:y,dateModified:L,...null!=v&&v.length?{keywords:v.join(", "),articleSection:v[0]}:{},inLanguage:"en-US",isPartOf:{"@type":"Blog","@id":h.R$},author:h.lB,publisher:h.lB},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:h.W6},{"@type":"ListItem",position:2,name:"Hubble Library",item:h.xJ},{"@type":"ListItem",position:3,name:E,item:H}]}].concat((0,n.A)(A||[])),T=[];for(let n=0;n<m.length&&3!==T.length;n++){const e=m[n].node,t=e.id!==f;var B;(null==v?void 0:v.length)>0&&null!==(B=e.tags)&&void 0!==B&&B.includes(v[0])&&t&&T.push(e)}return(0,l.useEffect)((()=>{void 0!==typeof window&&window.dataLayer.push({event:"blog_view",blog_type:null==v?void 0:v.join("-"),blog_title:E,blog_published_at:y})}),[]),l.createElement(i.A,null,l.createElement(r.A,{title:x||E,description:I,schemaMarkup:M,ogType:"article",image:$,url:H,publishedTime:y,modifiedTime:L,tags:v}),l.createElement("article",{className:"article-content"},l.createElement("div",{className:"heading-container"},l.createElement("div",{className:"grid-section"},l.createElement("div",{className:"links-block"},l.createElement("div",{className:"tags-container"},null==v?void 0:v.map(((e,t)=>l.createElement("p",{className:"tagname text h8",key:t},e)))),l.createElement("div",{className:"socials"},l.createElement("a",{href:"https://www.facebook.com/HubbleContacts",target:"_blank"},l.createElement(o(),null)),l.createElement("a",{href:"https://www.instagram.com/hubblecontacts/?hl=en",target:"_blank"},l.createElement(p(),null)))),l.createElement("div",{className:"heading-block"},l.createElement("h1",{className:"heading text h2 bulky-wide"},E),l.createElement("div",{className:"image-container"},l.createElement(g.A,null,l.createElement(u.G,{image:d.gatsbyImageData,alt:E})))))),l.createElement("div",{className:"content-wrapper"},l.createElement("div",{className:"grid-section"},l.createElement("div",{className:"article-wrapper"},l.createElement("div",{className:"article-container"},l.createElement("div",{className:"socials-wrapper"},l.createElement("div",{className:"sticky-socials"},l.createElement("a",{href:"https://www.facebook.com/HubbleContacts",target:"_blank"},l.createElement(o(),null)),l.createElement("a",{href:"https://www.instagram.com/hubblecontacts/?hl=en",target:"_blank"},l.createElement(p(),null)))),l.createElement("div",{className:"article-content",dangerouslySetInnerHTML:{__html:null==b?void 0:b.content}}))))),l.createElement(s,{recommendedReadsArticles:T})))}},32838:function(e,t,a){"use strict";a.d(t,{IZ:function(){return s},R$:function(){return r},W6:function(){return n},dH:function(){return l},lB:function(){return c},lQ:function(){return m},xJ:function(){return i}});const n="https://www.hubblecontacts.com",l=`${n}/blog`,i=`${l}/`,r=`${l}#blog`,c={"@type":"Organization","@id":`${n}#organization`,name:"Hubble Contacts",url:n},s=e=>`${l}/${e}#article`,m=e=>{if(e)return/^https:\/\//.test(e)?e:/^http:\/\//.test(e)?e.replace(/^http:/,"https:"):`https:${e.replace(/^\/\//,"//")}`}}
1,74791:function(e,t,a){var n=a(96540);function l(e){return n.createElement("svg",e,[n.createElement("mask",{id:"n54hs8y78a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",key:0},n.createElement("path",{fill:"#D9D9D9",d:"M0 0h24v24H0z"})),n.createElement("g",{mask:"url(#n54hs8y78a)",key:1},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6zm8 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm5.429-8a.857.857 0 1 0 0-1.714.857.857 0 0 0 0 1.714z",fill:"#383B3C"}))])}l.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.exports=l,l.default=l},77528:function(e,t,a){"use strict";var n=a(96540),l=a(68154),i=a(28007);function r(e){let{description:t,lang:a,meta:r,title:c,noIndex:s=!1,schemaMarkup:m,price:o,ogType:d="website",image:p,url:u,publishedTime:g,modifiedTime:h,tags:E}=e;const{site:b}=(0,i.useStaticQuery)("63159454"),v=t||b.siteMetadata.description,f=[{name:"description",content:v},{property:"og:title",content:c},{property:"og:image",content:p||"https://hubblecontacts.com/static/Hubble-Contacts-Homepage-Inset-Image-mobile.webp"},{property:"og:description",content:v},{property:"og:type",content:d},{name:"twitter:card",content:p?"summary_large_image":"summary"},{name:"twitter:creator",content:b.siteMetadata.author},{name:"twitter:title",content:c},{name:"twitter:description",content:v}];return p&&f.push({name:"twitter:image",content:p}),u&&f.push({property:"og:url",content:u}),"article"===d&&(g&&f.push({property:"article:published_time",content:g}),h&&f.push({property:"article:modified_time",content:h}),null==E||E.forEach((e=>{f.push({property:"article:tag",content:e})}))),s&&f.push({name:"robots",content:"noindex"}),n.createElement(l.Helmet,{htmlAttributes:{lang:a},title:c,titleTemplate:`%s${b.siteMetadata.title}`,meta:f},(null==m?void 0:m.length)&&n.createElement("script",{type:"application/ld+json"},JSON.stringify(m)))}r.defaultProps={lang:"en",meta:[],description:""},t.A=r},82495:function(e,t,a){"use strict";var n=a(96540),l=a(28007),i=a(30978),r=a(98162),c=a(46335);t.A=e=>{let{image:t,tags:a,title:s,url:m}=e;const o={glasses:"orange",sunglasses:"green",contacts:"purple"};return n.createElement(l.Link,{to:m,className:"article-item"},n.createElement("div",{className:"article-item-wrapper"},n.createElement("div",{className:"image-container"},n.createElement(c.A,null,n.createElement(i.G,{style:{height:"100%"},objectFit:"cover",image:t.gatsbyImageData,alt:s}))),n.createElement("div",{className:"tags-container"},null==a?void 0:a.map(((e,t)=>n.createElement("span",{className:"tagname text h8","data-color":o[e],key:t},e)))),n.createElement("div",{className:"article-text-preview"},n.createElement("h6",{className:"title text h6"},s))),n.createElement("div",{className:"article-item-link-wrapper"},n.createElement("span",{className:"to-article"},n.createElement("span",{className:"text bulky"},"Read Article"),n.createElement(r.A,{fileName:"ArrowRight.svg",alt:""}))))}},96589:function(e,t,a){var n=a(96540);function l(e){return n.createElement("svg",e,[n.createElement("mask",{id:"ipgajapbya",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",key:0},n.createElement("path",{fill:"#D9D9D9",d:"M0 0h24v24H0z"})),n.createElement("g",{mask:"url(#ipgajapbya)",key:1},n.createElement("path",{d:"M15 8.857h-2.384V7.3c0-.584.39-.72.663-.72h1.683V4.008L12.645 4c-2.572 0-3.158 1.917-3.158 3.144v1.713H8v2.649h1.487V19h3.129v-7.494h2.111L15 8.857z",fill:"#383B3C"}))])}l.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.exports=l,l.default=l}}]);
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.