PageSourceSearch

https://www.transitions.com/_next/static/chunks/1177.be8c844f00c7233d.js

js transitions.com collected 2026-09-24 18:50:00 UTC 5,180 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1177],{61177:(e,t,s)=>{s.d(t,{R:()=>i});var o=s(76789),r=s(90028),i={login:e=>(0,o.$8)({environment:e,accessToken:r.V.getState().app.auth.accessToken,refreshToken:r.V.getState().app.auth.refreshToken,onAuthUpdated:r.n.onAuthUpdated,version:1})}},76789:(e,t,s)=>{s.d(t,{$8:()=>u});var o=s(86063);let r={STAGING:"https://test-gateway-vtoprofile.luxdeepblue.com",ACCEPTANCE:"https://acceptance-gateway-vtoprofile.luxdeepblue.com",PRODUCTION:"https://gateway-vtoprofile.luxdeepblue.com"},i={STAGING:{loginFaUrl:`${r.STAGING}/auth/fradv/token`,loginVmUrl:`${r.STAGING}/auth/vm/token`,refreshUrl:`${r.STAGING}/auth/refresh`,bipaTextUrl:`${r.STAGING}/services/vtobipams/public/v2/bipa/version`,bipaSubmitFormUrl:`${r.STAGING}/services/vtobipams/public/v1/bipa-consent`,videoSessionUrl:`${r.STAGING}/services/vtovideoprofilems/public/v3/video`,enrichUrl:`${r.STAGING}/services/vtovideoprofilems/public/v1/ml-enrich`,vtoUrl:`${r.STAGING}/services/vtovideoprofilems/public/v1/basel-mesh`,additionalInfoUrl:`${r.STAGING}/services/vtovideoprofilems/public/v1/additional-info`,poseExtractionUrl:`${r.STAGING}/services/vtovideoprofilems/public/v1/poses-extraction`,statusUrl:`${r.STAGING}/services/vtovideoprofilems/public/v2/status`,pdStatusUrl:`${r.STAGING}/services/vtomedicalinfoms/public/v1/pupillary-distance/status`,profileUrl:`${r.STAGING}/services/vtovideoprofilems/public/v3/get-video-profile`,measurementUrl:`${r.STAGING}/services/vtomedicalinfoms/public/v2/pupillary-distance`},ACCEPTANCE:{loginFaUrl:`${r.ACCEPTANCE}/auth/fradv/token`,loginVmUrl:`${r.ACCEPTANCE}/auth/vm/token`,refreshUrl:`${r.ACCEPTANCE}/auth/refresh`,bipaTextUrl:`${r.ACCEPTANCE}/services/vtobipams/public/v2/bipa/version`,bipaSubmitFormUrl:`${r.ACCEPTANCE}/services/vtobipams/public/v1/bipa-consent`,videoSessionUrl:`${r.ACCEPTANCE}/services/vtovideoprofilems/public/v3/video`,enrichUrl:`${r.ACCEPTANCE}/services/vtovideoprofilems/public/v1/ml-enrich`,vtoUrl:`${r.ACCEPTANCE}/services/vtovideoprofilems/public/v1/basel-mesh`,additionalInfoUrl:`${r.ACCEPTANCE}/services/vtovideoprofilems/public/v1/additional-info`,poseExtractionUrl:`${r.ACCEPTANCE}/services/vtovideoprofilems/public/v1/poses-extraction`,statusUrl:`${r.ACCEPTANCE}/services/vtovideoprofilems/public/v2/status`,pdStatusUrl:`${r.ACCEPTANCE}/services/vtomedicalinfoms/public/v1/pupillary-distance/status`,profileUrl:`${r.ACCEPTANCE}/services/vtovideoprofilems/public/v3/get-video-profile`,measurementUrl:`${r.ACCEPTANCE}/services/vtomedicalinfoms/public/v2/pupillary-distance`},PRODUCTION:{loginFaUrl:`${r.PRODUCTION}/auth/fradv/token`,loginVmUrl:`${r.PRODUCTION}/auth/vm/token`,refreshUrl:`${r.PRODUCTION}/auth/refresh`,bipaTextUrl:`${r.PRODUCTION}/services/vtobipams/public/v2/bipa/version`,bipaSubmitFormUrl:`${r.PRODUCTION}/services/vtobipams/public/v1/bipa-consent`,videoSessionUrl:`${r.PRODUCTION}/services/vtovideoprofilems/public/v3/video`,enrichUrl:`${r.PRODUCTION}/services/vtovideoprofilems/public/v1/ml-enrich`,vtoUrl:`${r.PRODUCTION}/services/vtovideoprofilems/public/v1/basel-mesh`,additionalInfoUrl:`${r.PRODUCTION}/services/vtovideoprofilems/public/v1/additional-info`,poseExtractionUrl:`${r.PRODUCTION}/services/vtovideoprofilems/public/v1/poses-extraction`,statusUrl:`${r.PRODUCTION}/services/vtovideoprofilems/public/v2/status`,pdStatusUrl:`${r.PRODUCTION}/services/vtomedicalinfoms/public/v1/pupillary-distance/status`,profileUrl:`${r.PRODUCTION}/services/vtovideoprofilems/public/v3/get-video-profile`,measurementUrl:`${r.PRODUCTION}/services/vtomedicalinfoms/public/v2/pupillary-distance`}};class l extends Error{constructor(e,t,s){super(t),this.type=e,this.name=e,this.message=t,this.stack=null==s?void 0:s.stack,Object.setPrototypeOf(this,l.prototype)}}class p extends l{constructor(e){super(p.type,`microservice environment ${e} is not valid`),this.env=e,Object.setPrototypeOf(this,p.prototype)}}p.type="EnvironmentError";class v extends l{constructor(e,t){super(v.type,e,t),Object.setPrototypeOf(this,v.prototype)}}v.type="InputError";class c extends l{constructor(e){super(c.type,`bipa agreement text cannot be found for locale ${e}`),this.locale=e,Object.setPrototypeOf(this,c.prototype)}}c.type="LocaleError";class a extends l{constructor(e,t){super(a.type,e,t),Object.setPrototypeOf(this,a.prototype)}}a.type="RequestError";
1class n extends l{constructor(e){super(n.type,`request has timed out after ${e}ms`),Object.setPrototypeOf(this,n.prototype)}}n.type="TimeoutError",o.zh.getInstance().getLoggerInfo("@luxottica/vto-microservices","3.0.4","RequestHelper");let u=e=>{if(e.accessToken&&e.refreshToken)return Promise.resolve({accessToken:e.accessToken,refreshToken:e.refreshToken});{let t,s=1===e.version?"loginVmUrl":"loginFaUrl";return fetch((t=e.environment,i[t][s]),{method:"POST",headers:{Accept:"*/*","Content-Type":"application/json"},body:JSON.stringify({rememberMe:!0})}).then(e=>e.ok?e.json():e.json().catch(()=>{throw Error(`${e.status}: ${e.statusText}`)}).then(e=>{throw Error(JSON.stringify(e))})).then(t=>{var s;let o={accessToken:t.access_token,refreshToken:t.refresh_token};return null==(s=e.onAuthUpdated)||s.call(e,o),o})}}}}]);

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.