PageSourceSearch

https://www.thethaipass.com/_nuxt/Cg_KmJUN.js

js thethaipass.com collected 2026-10-08 12:10:57 UTC 6,183 bytes, 1 lines download raw bytes

1import{_ as J,a as K,b as Q,c as X,d as ee,e as te}from"./Bidpw5d1.js";import{_ as se}from"./RjdYSysL.js";import{_ as ae,a as oe}from"./2o9K8fRO.js";import{c0 as re,ba as p,b6 as ie,b7 as ne,b8 as ce,b4 as me,b5 as pe,bH as P,b9 as le,eC as de,bS as ue,bb as he,bc as T,bd as b,be as t,bv as be,bu as x,bs as _e,bi as a,bL as fe,bf as k,bg as c,bo as S,bj as ge,bp as ye,bl as we,bm as ve,et as Pe,bC as Te}from"./DQFKzUbq.js";import{_ as xe}from"./C1_jrZOW.js";import{_ as ke}from"./CtIniHkF.js";import{u as Se,m as $e,e as Ce,r as $}from"./eH6G4VTH.js";import{u as De}from"./BWUVdeQh.js";import{d as je,a as Be,c as Ie}from"./DbokDy6u.js";import{b as C}from"./DwgYQfmd.js";import"./C0Cw_uK0.js";import"./Bd7lFiEY.js";import"./D8V7gqhX.js";import"./CaUfKVp6.js";import"./Bf8cCqrc.js";import"./BTAGinC1.js";import"./DH0q_GuR.js";import"./BfAmljpg.js";import"./otqOcMcS.js";import"./ByMsb1as.js";import"./DmOeXulE.js";import"./C_pVpljO.js";import"./DUhJvpId.js";import"./CN5ePX9O.js";import"./iJQlMV77.js";import"./Pf3zqfUw.js";import"./0RsR6Mtu.js";import"./aOe_oRga.js";import"./CAo9Ew0f.js";import"./Bno0Tdx_.js";import"./BUNxbulP.js";import"./A6nXUEm-.js";import"./DoVLlg7w.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};o.SENTRY_RELEASE={id:"c403c0ba60050077d413b56c9316291f72134922"};var s=new o.Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="38249d2d-9d10-4e5b-a30c-274973a10396",o._sentryDebugIdIdentifier="sentry-dbid-38249d2d-9d10-4e5b-a30c-274973a10396")}catch{}})();const Me={key:1,class:"fixed bottom-0 left-0 right-0 p-3 sm:p-4 bg-white dark:bg-slate-900 z-50 w-full shadow-lg border-t border-gray-200 dark:border-gray-700 rounded-t-2xl"},qe={class:"flex items-center justify-between gap-3"},Ee={class:"text-xs sm:text-sm flex-1"},Ae={class:"mr-1 text-xs line-through text-gray-500 dark:text-gray-400"},Le={class:"font-bold text-teal-600 dark:text-teal-400 text-sm sm:text-base"},Ne={__name:"pro",async setup(o){let s,i,l=p(!1),_=p(!1),D=p(""),j=p(C(new Date,{days:1}));C(new Date,{days:100});const d=ie(),B=ne(),u=ce(),h=me(),{$showLoader:f,$toast:m,$request:I,$fbq:Oe}=pe(),{data:{user:Re}}=([s,i]=P(()=>u.auth.getUser()),s=await s,i(),s),g=ge(()=>!!h.selectedCurrency.code==="USD"),M=Te({name:"",email:"",phone:""}),y=()=>{window.scrollY>400?l.value=!0:l.value=!1};le(()=>{document.addEventListener("scroll",y)}),de(()=>{document.removeEventListener("scroll",y)});const q=async()=>{try{_.value=!0;const{data:{user:e}}=await u.auth.getUser();e?await E():B.push("/signup")}catch(e){m.error(e.message)}finally{_.value=!1}},E=async()=>{try{if(!r.value?.membership){m.error("Membership information not available");return}f(!0);const{data:e}=await I.post(`/payment/membership/createOrder?currency=${h.selectedCurrency.code||"USD"}`,{id:r.value.membership.id,code:D.value.toUpperCase(),start_date:j.value});if(e.url&&(window.location.href=e.url),v)throw v;m.success("Membership purchased successfully")}catch(e){console.log(e),m.error(e.message)}finally{f(!1)}},{data:r,status:w,error:v}=([s,i]=P(async()=>Pe("fetchMembershipInfo",async()=>{const{data:e,error:n}=await u.from("membership").select("*").eq("currency",h.selectedCurrency.code||"THB").single();return{membership:e}})),s=await s,i(),s),A={name:{required:$},email:{required:$,email:Ce},phone:{minLength:$e(10)}};return Se(A,M),De([je({name:"Thai Pass"}),Be({"@type":["ItemPage","WebPage"],name:"Thai Pass",image:"https://ygeaubvgipoqjijweyaf.supabase.co/storage/v1/object/public/images//thai%20pass%20membership%20card.webp",description:"Find the top activities in Thailand and book at the best prices. Enjoy unique experiences across the country with Thai Pass.",isPartOf:"https://www.thethaipass.com",dateModified:new Date("2026-01-15").toISOString(),datePublished:new Date("2024-08-02").toISOString()}),Ie({name:"Thai Pass Pro membership",image:"https://ygeaubvgipoqjijweyaf.supabase.co/storage/v1/object/public/images//thai%20pass%20membership%20card.webp",description:"Find the top activities in Thailand and book at the best prices. Enjoy unique experiences across the country with Thai Pass.",url:`https://www.thethaipass.com${d.fullPath}`,offers:[{"@type":"Offer",price:49,priceCurrency:"THB",availability:"https://schema.org/InStock",url:`https://www.thethaipass.com${d.fullPath}`,seller:{"@type":"Organization",name:"Thai Pass"}}],brand:{name:"Thai Pass","@type":"Brand"},aggregateRating:{ratingValue:5,bestRating:5,worstRating:1,ratingCount:22}})]),ue({title:"Thai Pass Pro | Save More on Thailand Tours, Tickets & More",ogTitle:"Thai Pass Pro | Save More on Thailand Tours, Tickets & More",description:"Get Thai Pass Pro to enjoy big discounts on 500+ tours, tickets, attractions and more experiences across Thailand. Book online & start saving with Thai Pass.",ogDescription:"Get Thai Pass Pro to enjoy big discounts on 500+ tours, tickets, attractions and more experiences across Thailand. Book online & start saving with Thai Pass.",ogImage:"https://ygeaubvgipoqjijweyaf.supabase.co/storage/v1/object/public/images//thaipasspro.webp?t=2024-11-04T12%3A18%3A22.007Z?t=2024-10-01T21%3A46%3A42.677Z",twitterCard:"summary_large_image",ogUrl:`https://www.thethaipass.com${d.fullPath}`}),(e,n)=>{const L=J,N=se,O=K,R=Q,U=X,V=ee,W=ae,F=te,H=oe,z=he("mdicon"),G=ye,Y=xe,Z=ke;return b(),T(ve,null,[t(L,{class:"mt-16"}),t(N),t(O),t(R),t(U),t(V),t(W),a(w)==="success"&&a(r)?.membership?(b(),be(F,{key:0,membership:a(r).membership},null,8,["membership"])):x("",!0),t(H),a(w)==="success"&&a(r)?.membership?_e((b(),T("section",Me,[t(Y,null,{default:k(()=>[c("div",qe,[c("div",Ee,[n[0]||(n[0]=c("span",{class:"block sm:inline text-slate-900 dark:text-white"},"Become a pro member @ ",-1)),c("span",Ae,S(e.$money(a(r).membership.selling_price,null,a(g))),1),c("span",Le,S(e.$money(a(r).membership.amount,null,a(g))),1)]),t(G,{onClick:q,class:"whitespace-nowrap"},{default:k(()=>[t(z,{name:"CartPlus",size:"18",class:"mr-1"}),n[1]||(n[1]=we(" Buy Now ",-1))]),_:1})])]),_:1})],512)),[[fe,a(l)]]):x("",!0),t(Z,{bottom:16})],64)}}},wt=re(Ne,[["__scopeId","data-v-9649efea"]]);export{wt 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.