PageSourceSearch

https://www.planet.com/account/assets/SentinelHubRedirectPage-DVpgR9ph.js

js planet.com collected 2026-09-24 09:20:25 UTC 1,479 bytes, 2 lines download raw bytes

1import{u as E,r as d,ab as l,dB as c,a as m,dC as p,cM as h,dD as y,dE as S,R as r,cA as _,E as L}from"./index-9Wgw656h.js";import{u as H,a as I}from"./useUserHasActivePlansContracts-Bl3jUk2g.js";import"./usePVContracts-B3X3lQcv.js";import"./planetary-variables-BsD1Paii.js";import"./lineitems-BlpXSr_F.js";import"./quota-Dn7m8qmn.js";import"./useTaskingContracts-DpHAOy1V.js";import"./tasking--IMN7EHe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bfa1283f-4cc4-46d3-bd99-2919b9f21708",e._sentryDebugIdIdentifier="sentry-dbid-bfa1283f-4cc4-46d3-bd99-2919b9f21708")}catch{}})();const k="Linking...",N=()=>{const t=E().user?.claims,s=t?.sh_user_id;d.useEffect(()=>{l("Sentinel Hub: Redirect to check link",{origin:c(),sh_user_id:s})},[s]);const i=m(),n=p(t),{isLoading:f}=H({enabled:n}),{isLoading:g,error:u,hasActivePlansContracts:a}=I(),o=n&&!!f||g;d.useEffect(()=>{if(!o){if(!a){i.push(h);return}if(n){i.push(y);return}if(a&&!n){try{S(c())}catch{l("Sentinel Hub: User failed to link to Sentinel Hub",{origin:c()});return}return}}},[i,n,a,o,s]);const b=o||!u;return r.createElement(r.Fragment,null,b&&r.createElement(_,{message:k,includeDescription:!0}),!!u&&r.createElement(L,null))};export{k as SENTINEL_HUB_REDIRECT_MESSAGE,N as default};
2//# sourceMappingURL=SentinelHubRedirectPage-DVpgR9ph.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.