PageSourceSearch

https://www.foodomo.com/assets/GLRedirectPage-a9fc47b3.js

js foodomo.com collected 2026-09-25 03:03:12 UTC 1,737 bytes, 1 lines download raw bytes

1import{u as P,_ as R,a as U}from"./useSettingUTM-5adef34f.js";import{L as b,x as M,r as w,y as x,k as F,P as L,o as k,c as C,a as s,m as p,e as A,u as N,F as O}from"./vendor-a8330dd9.js";import{a as Q,u as _,_ as T,n as B,A as G}from"./index-ac092483.js";import{u as V}from"./useFtoAuth-875dbfa9.js";function W({paramsQuery:d,route:r}){const l=Q(),a=_(),n=b(),{errorMessage:o,authenticateFtoMember:u,getFtoRedirectUrl:i}=V();return{errorMessage:o,fetchWebUrl:async()=>{console.log("sessionStorage",sessionStorage);const c=JSON.parse(sessionStorage.getItem("ftoParam"));console.log("ftoParam",c);const e=d.fto||c;if(!e){o.value="缺少驗證資訊";return}a.loaderState=!0;try{let t;if(l.memberData.isLogin?t=await i(e):t=await u(e),t.error){o.value="驗證失敗,請重新操作";return}n.push(t.redirectUrl)}finally{a.loaderState=!1}},clearQueryParams:()=>{n.replace({path:r.path,query:{}})}}}const q={__name:"GLRedirectPage",setup(d){const r=M(),l="production",{getOS:a}=U(),n=w(B()),o=a(),u=r.query,i=_(),{showHeader:m,showFooter:f,showAppRedirection:c}=x(i),{errorMessage:e,fetchWebUrl:t,clearQueryParams:S}=W({isMobile:n,operatingSystem:o,paramsQuery:u,env:l,route:r}),{runUtm:v,removeUTM:h}=P(),y=()=>{e.value="",window.location.href="/"};return F(()=>{v(),t(),S(),c.value=!1,m.value=!1,f.value=!1}),L(()=>{h(),m.value=!0,f.value=!0}),(E,g)=>(k(),C(O,null,[g[0]||(g[0]=s("main",{class:"glRedirect"},[s("img",{class:"logo",src:R,alt:""}),s("div",{class:"content-container"},[s("div",{class:"title"},[p(" 歡迎下載 foodomo 外送平台,"),s("br"),p(" 一起享用更完善的外送服務! ")])])],-1)),A(G,{message:N(e),onOnClose:y},null,8,["message"])],64))}},j=T(q,[["__scopeId","data-v-26ecfcd9"]]);export{j as default};

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.