PageSourceSearch

https://www.glassesusa.com/modern/1098.fa63a54d1e58e6e88232.js

js glassesusa.com collected 2026-09-24 17:10:36 UTC 15,509 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"RLS-1009"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:glassesusa-app":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c8a8b119-e3c2-4b6b-a5bd-cf7b9c827894",e._sentryDebugIdIdentifier="sentry-dbid-c8a8b119-e3c2-4b6b-a5bd-cf7b9c827894")}catch(e){}}(),(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1098],{3911(e,t,n){n.d(t,{K:()=>c});var a=n(61018),r=n(7867),s=n(9834),o=n(87474),i=n(29464),l=n(36706);const c=e=>{let{page_type_param2:t,event:n}=o.a[e];(0,a.U)({page_type_param2:t}),(0,i.ok)(),document?.location&&(0,a.U)({originalLocation:`${document.location.protocol}//${document.location.hostname}${document.location.pathname}${document.location.search}`,page:document.location.pathname.replace(/^(.+?)\/*?$/,"$1")+document.location.search}),(0,a.U)({event:n,...(0,i.al)()});let c=l.xM.get(s.F);c&&(0,r.a)(c,{isAlreadyHashed:!0})}},12363(e,t,n){n.d(t,{dh:()=>a.loadRemote,Qd:()=>a.preloadRemote});var a=n(11564)},18240(e,t,n){n.d(t,{A:()=>c,K:()=>h});var a=n(65813),r=n(97312),s=n.n(r),o=n(12363),i=n(42337);let l=(e,t,n,a)=>{e({type:`MFE_${t}_${n}`,...a&&"data"in a?{payload:a.data}:{},...a&&"meta"in a?{meta:a.meta}:{}})};const c=({skeleton:e=null,props:t,scope:n,remoteModule:o})=>{let c=(0,i.useDispatch)(),d=(0,r.useCallback)(l.bind(null,c,n),[n]);return null===o?null:(0,a.jsx)(s().Suspense,{fallback:e,children:(0,a.jsx)(o,{...t,sendEvent:d})})};let d={},u=!1;const h=({remoteAppInfo:e,props:t})=>{let{dispatch:n,element:s,latestProps:c}=(e=>{let t=(0,r.useRef)(e),n=(0,r.useRef)(null);return{dispatch:(0,i.useDispatch)(),element:n,latestProps:t}})(t),[h,p]=(0,r.useState)(null),[m,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{c.current=t},[t]),(0,r.useEffect)(()=>(u||(u=!0,f(!0)),()=>{m&&(u=!1)}),[m]),(0,r.useEffect)(()=>{if(!m)return;h||(async()=>{let t=`${e.scope}_${e.module}`;d[t]||(d[t]=(0,o.dh)(`${e.scope}/${e.module}`));try{let e=await d[t];e&&p(e)}catch(e){console.error("Failed to load remote popup module",e),delete d[t]}})()},[h,e,m]),(0,r.useEffect)(()=>(s.current&&h&&m&&h.default(s.current,{...c.current,sendEvent:l.bind(null,n,e.scope)}),()=>{let{current:e}=s;for(;e&&e.firstChild&&e.removeChild(e.firstChild););}),[h,e.scope,n,m]),m?(0,a.jsx)("div",{ref:s}):null}},21148(e,t,n){n.d(t,{K:()=>r});var a=n(97312),r=function(e){var t=(0,a.useRef)(e);(0,a.useEffect)(function(){t.current=e},[e]),(0,a.useEffect)(function(){var e=function(e){"hidden"===document.visibilityState&&t.current(e)};return document.addEventListener("visibilitychange",e),function(){return document.removeEventListener("visibilitychange",e)}},[])}},29464(e,t,n){n.d(t,{al:()=>l,ok:()=>o,qe:()=>i});var a=n(61018),r=n(83717),s=n(68994);const o=()=>{(0,a.U)({Backend_visitor_id:(0,s.Y)()}),(0,r.m)()&&(0,a.U)({InNetwork:"UHC"})},i=()=>{(0,a.U)({event:"CDCollector"})},l=()=>{let{pathname:e,search:t}=window.location,n=(e=>e.replace(/^(.+?)\/*?$/,"$1"))(e);return{page:`${n}${t}`}}},62466(e,t,n){n.d(t,{t:()=>i});var a=n(97358),r=n(21664),s=n(87803);const o={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function i(e){const t={...o,...e};return e=>(n,o)=>{function i(e){return(n,o)=>{const i=e(n,o),l=(0,a.o5)(),c=t.actionTransformer(o);null!=c&&(0,r.Z)({category:"redux.action",data:c,type:"info"});const d=t.stateTransformer(i);if(null!=d){const e=(0,a.KU)(),t=e?.getOptions(),n=t?.normalizeDepth||3,r={state:{type:"redux",value:d}};(0,s.uy)(r,3+n),l.setContext("state",r)}else l.setContext("state",null);const{configureScopeWithState:u}=t;return"function"==typeof u&&u(l,i),i}}t.attachReduxState&&(0,a.m6)().addEventProcessor((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch{}return e});const l=e(i(n),o);return l.replaceReducer=new Proxy(l.replaceReducer,{apply:function(e,t,n){e.apply(t,[i(n[0])])}}),l}}},73948(e,t,n){n.r(t),n.d(t,{ReactComponent:()=>o,default:()=>i});var a,r=n(97312);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(null,arguments)}var o=function(e){return r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",strokeWidth:1.5,viewBox:"0 0 26 26"},e),a||(a=r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M13 8a6.63 6.63 0 0 1 4.99 4.87m6.6-.48A11.69 11.69 0 0 0 13.03 1m-.12 3.15a9.36 9.36 0 0 1 8.51 8.36M6.97 10.84c.05-.08.13-.15.22-.23.3-.3.61-.58.92-.87.5-.47.67-.85.58-1.53a5 5 0 0 0-.13-.65c-.25-.93-.54-1.85-.8-2.77a6 6 0 0 0-.48-1.25c-.3-.55-.78-.92-1.68-.93a5.5 5.5 0 0 0-2.93.7c-.46.29-.95.7-1.24 1.25A5.4 5.4 0 0 0 1 6.98a11.6 11.6 0 0 0 .69 3.52c.4 1.12.97 2.18 1.62 3.19a29 29 0 0 0 4.2 5.08 29 29 0 0 0 4.42 3.54c1 .65 2.07 1.21 3.2 1.62a11.5 11.5 0 0 0 3.51.7c.74 0 1.74-.07 2.42-.43.56-.3.97-.78 1.25-1.24.54-.87.7-1.92.7-2.93 0-.9-.38-1.38-.93-1.69a6 6 0 0 0-1.24-.47c-.93-.27-1.85-.55-2.77-.8a5 5 0 0 0-.66-.14c-.67-.09-1.06.08-1.53.58l-.86.93c-.09.09-.16.16-.23.21a2 2 0 0 1-.3-.12c-.92-.47-1.76-1.22-2.53-1.9-.52-.46-1.04-.94-1.52-1.44-.51-.48-.99-1-1.45-1.53-.67-.77-1.43-1.61-1.9-2.53a2 2 0 0 1-.12-.3Z"})))};o.displayName="SvgCall".replace(/^Svg/,"");var i="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2226%22%20fill%3D%22none%22%20stroke-width%3D%221.5%22%20viewBox%3D%220%200%2026%2026%22%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M13%208a6.63%206.63%200%200%201%204.99%204.87m6.6-.48A11.69%2011.69%200%200%200%2013.03%201m-.12%203.15a9.36%209.36%200%200%201%208.51%208.36M6.97%2010.84c.05-.08.13-.15.22-.23.3-.3.61-.58.92-.87.5-.47.67-.85.58-1.53a5%205%200%200%200-.13-.65c-.25-.93-.54-1.85-.8-2.77a6%206%200%200%200-.48-1.25c-.3-.55-.78-.92-1.68-.93a5.5%205.5%200%200%200-2.93.7c-.46.29-.95.7-1.24%201.25A5.4%205.4%200%200%200%201%206.98a11.6%2011.6%200%200%200%20.69%203.52c.4%201.12.97%202.18%201.62%203.19a29%2029%200%200%200%204.2%205.08%2029%2029%200%200%200%204.42%203.54c1%20.65%202.07%201.21%203.2%201.62a11.5%2011.5%200%200%200%203.51.7c.74%200%201.74-.07%202.42-.43.56-.3.97-.78%201.25-1.24.54-.87.7-1.92.7-2.93%200-.9-.38-1.38-.93-1.69a6%206%200%200%200-1.24-.47c-.93-.27-1.85-.55-2.77-.8a5%205%200%200%200-.66-.14c-.67-.09-1.06.08-1.53.58l-.86.93c-.09.09-.16.16-.23.21a2%202%200%200%201-.3-.12c-.92-.47-1.76-1.22-2.53-1.9-.52-.46-1.04-.94-1.52-1.44-.51-.48-.99-1-1.45-1.53-.67-.77-1.43-1.61-1.9-2.53a2%202%200%200%201-.12-.3Z%22%2F%3E%3C%2Fsvg%3E"}
1,75155(e,t,n){n.d(t,{e:()=>h});var a=n(65813),r=n(97312),s=n.n(r),o=n(87091),i=n(51821),l=n(78142);var c=n(96782);const d=(e,t)=>"function"==typeof e?t?e(t):"":e;let u=(e,t)=>{if(e?.robots?.length){if(Array.isArray(e.robots))return e.robots.map(e=>(0,a.jsx)("meta",{name:e.name,content:e.value},e.name));if("string"==typeof e.robots&&"newBlogPlost"!==t){let t=JSON.parse(e.robots);return Object.keys(t).map(e=>(0,a.jsx)("meta",{name:e,content:t[e]},e))}return(0,a.jsx)("meta",{name:"robots",content:e.robots},"robots")}return null};const h=s().memo(({page:e="default",replacedValue:t,children:n})=>{let{pathname:r}=(0,o.z)(),{title:s,meta:h,links:p}=(({title:e=l.p3,description:t=l.h1,keywords:n=l.zA,meta:a=[],links:r=[]},s,o="")=>{let i=s.replace(/\/+(?=$|\?)/,"")||"/",c=[{rel:"alternate",media:"only screen and (max-width: 640px)",href:`https://m.glassesusa.com${i}`},{rel:"canonical",href:o||`https://www.glassesusa.com${i}`}];return{title:e,meta:((e,t)=>{let n=[...e,...t].reduce((e,{content:t,...n})=>(e["property"in n?n.property:n.name]={content:t,isProperty:"property"in n},e),{});return Object.keys(n).map(e=>n[e].isProperty?{property:e,content:n[e].content}:{name:e,content:n[e].content})})([{property:"og:url",content:`https://www.glassesusa.com${i}`},{property:"og:title",content:e},{property:"og:description",content:t},{property:"og:type",content:"website"},{property:"og:image",content:l.FH},{property:"og:site_name",content:"GlassesUSA.com"},{name:"description",content:t},{name:"keywords",content:n}],a),links:[...c,...r]}})(l.bL[e],r,t?.canonical);return c.J.getInstance().updateTitle(d(s,t)),(0,a.jsxs)(i.Helmet,{children:[(0,a.jsx)("title",{children:d(s,t)}),h.map(({name:e,property:n,content:r=""})=>e?(0,a.jsx)("meta",{name:e,content:d(r,t)},e):(0,a.jsx)("meta",{property:n,content:d(r,t)},n)),"blog"!==e&&t&&u(t,e)||(0,a.jsx)("meta",{name:"robots",content:"index,follow"},"robots"),p.map(({rel:e,media:t,href:n})=>t?(0,a.jsx)("link",{rel:e,media:t,href:n},n):(0,a.jsx)("link",{rel:e,href:n},n)),n]})});h.displayName="MetaData"},76202(e,t,n){n.d(t,{I:()=>l,x:()=>c});var a=n(62466),r=n(44573),s=n(97358),o=n(79117),i=n(74363);const l={logWithSentry:i.Qg},c={...l,captureException:r.Cp,createReduxEnhancer:a.t,ErrorBoundary:o.t,getCurrentScope:s.o5,logWithSentryEEC:i.Tj,setContext:r.o}},89917(e,t,n){n.d(t,{f:()=>f});var a=n(65813),r=n(97312),s=n(21148),o=n(42337),i=n(21846),l=n(75155),c=n(87409),d=n(3911),u=n(29464),h=n(27003);let p=(0,n(45778).O)({resolved:{},chunkName:()=>"Footer",isReady(e){let t=this.resolve(e);return!0===this.resolved[t]&&void 0!==n.m&&!!n.m[t]},importAsync:()=>Promise.all([n.e(8935),n.e(9830),n.e(6388),n.e(5798)]).then(n.bind(n,86388)),requireAsync(e){let t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){let t=this.resolve(e);return n(t)},resolve:()=>86388},"FooterConnected"),m={addReview:{robots:[{value:"noindex,follow",name:"robots"}]}};const f=(0,r.memo)(({children:e,headerComponent:t,footerComponent:n,pageType:f,withoutFooter:v=!1,withoutHeader:g=!1,sendAnalytics:y,meta:w,footerClassName:b,productSku:x})=>{let E=(0,o.useSelector)(i.p);return(0,r.useLayoutEffect)(()=>{(0,d.K)(f)},[f,x]),(0,r.useEffect)(()=>{y&&y()},[y]),(0,s.K)(()=>{(0,u.qe)()}),(0,r.useEffect)(()=>()=>{(0,u.qe)()},[]),(0,r.useEffect)(()=>{let e=new AbortController;return window.addEventListener(c.qY.ADA_OPENED,()=>{let e="typ"===f?"successPage":f;window.adaEmbed?.setMetaFields({page_type:e,cartId:E??"Null"})},{signal:e.signal}),()=>{e.abort()}},[f,E]),(0,a.jsxs)(a.Fragment,{children:[w||(0,a.jsx)(l.e,{page:f,replacedValue:m[f]}),!g&&(0,a.jsx)(h.Z,{headerComponent:t}),(0,a.jsx)("main",{children:e}),!v&&(n?(0,a.jsx)("footer",{className:b,children:n}):(0,a.jsx)("footer",{children:(0,a.jsx)(p,{})}))]})});f.displayName="PageWrapper"},96782(e,t,n){n.d(t,{J:()=>l});var a=n(84507),r=n(20442),s=n(83717),o=n(36706);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l{static getInstance(){return l.instance||(l.instance=new l),l.instance}constructor(){i(this,"tr",0),i(this,"tc",0),i(this,"unFocused",0),i(this,"title",""),i(this,"load",!1),i(this,"animationStatusStart",!1),i(this,"unFocusedTitle","Eyeglasses — Sale"),i(this,"start",(e,t)=>{!s.A.dFlashBrowser.isEnabled()&&e&&0!==t&&(this.load?this.startAnimateTitle():(window.addEventListener("load",()=>{this.startAnimateTitle()}),window.removeEventListener("load",()=>{this.load=!0})))}),i(this,"startAnimateTitle",()=>{this.returnAndNewTabAnalytics(),this.unFocused=0,this.title=this.title||document.title,window.setInterval(this.checkWindowFocus,1e3),this.returnAndNewTabAnalytics()}),i(this,"checkLoad",()=>{window.addEventListener("load",()=>{this.load=!0})}),i(this,"updateTitle",e=>{this.title=e}),i(this,"resetTitle",()=>{clearTimeout(this.tr),clearTimeout(this.tc),document.title=this.title}),i(this,"updateUnFocusedTitle",e=>{this.unFocusedTitle=e}),i(this,"resetUnFocusedTitle",()=>{this.unFocusedTitle="Eyeglasses — Sale"}),i(this,"changeTitle",()=>{document.title=this.unFocusedTitle,this.tr=window.setTimeout(this.resetTitleAnimate,1e3)}),i(this,"resetTitleAnimate",()=>{document.title=this.title,this.tc=window.setTimeout(this.changeTitle,1e3)}),i(this,"checkWindowFocus",()=>{document.hasFocus()?(this.unFocused=0,this.resetTitle()):1!==this.unFocused&&(this.tc=window.setTimeout(this.changeTitle,500),this.unFocused=1)}),i(this,"returnAndNewTabAnalytics",()=>{let e=window.setInterval(()=>
1{let t=o.eA.get("GeneralGeneralBrowserTabNewTab-Opened",!1);document.hasFocus()&&0===this.unFocused&&t&&((0,a.iJ)({event:r.Kr}),window.clearInterval(e)),document.hasFocus()||1!==this.unFocused||(0,a.iJ)({event:r.sG})},1e3)})}}i(l,"instance",void 0)},96986(e,t,n){n.d(t,{Y:()=>O});var a={};n.r(a),n.d(a,{ReactComponent:()=>c,default:()=>d});var r,s=n(65813),o=n(97312),i=n(93213);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l.apply(null,arguments)}var c=function(e){return o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"transparent",strokeWidth:1.5,viewBox:"0 0 22 28"},e),r||(r=o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M17 10.5v-3a6 6 0 0 0-12 0v3m-2 16h16a2 2 0 0 0 2-2v-12a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2"})))};c.displayName="SvgPrivacy".replace(/^Svg/,"");var d="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2222%22%20height%3D%2228%22%20fill%3D%22transparent%22%20stroke-width%3D%221.5%22%20viewBox%3D%220%200%2022%2028%22%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M17%2010.5v-3a6%206%200%200%200-12%200v3m-2%2016h16a2%202%200%200%200%202-2v-12a2%202%200%200%200-2-2H3a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202%22%2F%3E%3C%2Fsvg%3E",u=n(84507),h=n(27204),p=n(21144),m=n(73948),f=n(97500),v=n.n(f),g=n(42337),y=n(62916),w=n(94258);const b="wrap_anN2ta",x="link_bnN2ta",E="text_cnN2ta",k="or_dnN2ta",j="padding_enN2ta",_="chat_fnN2ta",A="phone_gnN2ta";let N=()=>{(0,u.zB)(h.Me,{message:"Live Chat"}),(0,y.JJ)()},C=()=>{(0,u.zB)(h.Me,{message:"Call Support"})};const F=(0,g.connect)(e=>({phone:(0,w.ZJ)(e)}))(({phone:e})=>(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)(i.I,{icon:p,className:_}),(0,s.jsx)("p",{className:v()(E,j),children:"Need help?"}),(0,s.jsx)("button",{type:"button",onClick:N,className:x,children:"Start live chat"}),(0,s.jsx)("p",{className:E,children:" (24/7)"}),(0,s.jsx)("p",{className:k,children:"or"}),(0,s.jsx)(i.I,{icon:m,className:A}),(0,s.jsx)("p",{className:v()(E,j),children:"call us (7am-midnight ET)"}),(0,s.jsx)("a",{href:`tel:+${e}`,className:x,onClick:C,children:e})]}));var T=n(5211);const D="wrap_adkbVh",S="body_bdkbVh",L="logo_cdkbVh",M="icon_ddkbVh",$="secureCheckout_edkbVh",O=()=>(0,s.jsx)("div",{className:D,children:(0,s.jsxs)("div",{className:S,children:[(0,s.jsx)("div",{className:L,children:(0,s.jsx)(T.b,{})}),(0,s.jsxs)("p",{className:$,children:[(0,s.jsx)(i.I,{icon:a,className:M}),"Secure Checkout"]}),(0,s.jsx)(F,{})]})})}}]);
2//# sourceMappingURL=1098.fa63a54d1e58e6e88232.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.