PageSourceSearch

https://en.japantravel.com/build/assets/Empty-CEL3UfQu.js

js japantravel.com collected 2026-09-24 17:19:33 UTC 4,420 bytes, 1 lines download raw bytes

1import{H as O}from"./Header-DwCdz99P.js";import{_ as j,F as P}from"./PrintMasthead-DE4PsQQv.js";import{u as v}from"./useStickySidebar-CHuyMixU.js";import{_ as $,u as z,E as B}from"./links-lgUQVf6P.js";import{l as m,s as C,p as S,v as x,u as b,x as M,C as w,P as R,f as q,j as E,k as A,X as T,_ as I,H as L,q as r,I as U,E as H,F as D,z as F}from"./vendor-vue-DgKPkTzM.js";import{_ as N,a as V}from"./SeoHead-DSvtBmVa.js";const K={key:0,id:"cookie-notice",class:"fixed bottom-0 right-0 z-[2000000001] flex w-full flex-col bg-white p-5 shadow-[0px_68px_27px_rgba(0,0,0,0.01),0px_38px_23px_rgba(0,0,0,0.03),0px_17px_17px_rgba(0,0,0,0.04),0px_4px_9px_rgba(0,0,0,0.05)] min-[360px]:bottom-8 min-[360px]:right-8 min-[360px]:w-[320px] min-[360px]:rounded-lg"},G=["innerHTML"],J={__name:"CoNo",setup(u){const{t:o}=z(),a=v("accepted_cookies",null,{maxAge:3600*24*365,path:"/"}),d=q(()=>!a.value),c=()=>{a.value="1"};return(p,i)=>(m(),C(R,{to:"body"},[d.value?(m(),S("div",K,[x("p",{class:"mb-8 grow self-center text-base leading-[1.25] text-[#222]",innerHTML:b(o)("COOKIE_NOTICE")},null,8,G),x("a",{class:"block cursor-pointer self-center rounded bg-[#c1282f] px-2 py-[5px] text-center text-base font-normal leading-[30px] text-white transition-colors duration-300 hover:bg-[#d42e35] focus:bg-[#d42e35] min-[360px]:w-full",onClick:c},M(b(o)("COOKIE_DISMISS")),1)])):w("",!0)]))}},X=$(J,[["__scopeId","data-v-20e4f8eb"]]),Q=E({__name:"TravelAudienceTracker",setup(u){const o=L(),a=q(()=>{const t=o.props.travelAudience;return t&&typeof t=="object"?t:null}),d=v("accepted_cookies",null,{maxAge:3600*24*365,path:"/"}),c=t=>{if(typeof window>"u")return;const e=window;e._ttq=e._ttq||[];for(const[n,l]of Object.entries(t))e._ttq.push([n,l]);e._ttq.push(["_setConsent"," "]),e._ttq.push(["_setTAConsented",d.value?"1":" "]),e._ttq.push(["_setGDPR"," "]),e._ttq.push(["_track"])},p=()=>{if(typeof window>"u"||typeof document>"u")return;const t=window;if(t._taLoaded)return;const e=document.createElement("script");e.async=!0,e.setAttribute("fetchpriority","low"),e.src=t.__taScriptUrl||"https://ads.travelaudience.com/js/ta.js",document.head.appendChild(e),t._taLoaded=!0},i=()=>
1{if(typeof window>"u"||typeof document>"u")return;const t=()=>{const e=window;typeof e.requestIdleCallback=="function"?e.requestIdleCallback(p,{timeout:5e3}):window.setTimeout(p,2e3)};document.readyState==="complete"?t():window.addEventListener("load",t,{once:!0})};let s=null;return A(()=>{typeof window>"u"||(s=T.on("navigate",()=>{const t=o.props.travelAudience;t&&(c(t),i())}),a.value&&(c(a.value),i()))}),I(()=>{s==null||s(),s=null}),(t,e)=>w("",!0)}});let h=null,k=!1;const W=E({__name:"PageviewTracker",setup(u){const o=L();function a(){const e=window;return e.dataLayer=e.dataLayer||[],e.dataLayer}function d(){if(typeof document>"u")return"";const e=document.cookie.match(/(?:^|;\s*)_acq=([^;]+)/);return e?decodeURIComponent(e[1]):""}function c(){return{pageType:"",pageCategory:"",destinationCountry:"Japan"}}function p(e){typeof window>"u"||a().push({event:"pageview",...e,ccid:d()})}function i(e){if(typeof e=="string")try{const n=new URL(e,"http://_");return n.pathname+n.search}catch{return e}return e instanceof URL?e.pathname+e.search:(e.pathname??"")+(e.search??"")}function s(e){var _;const n=(_=e.detail)==null?void 0:_.visit;if(!n)return!1;const l=Array.isArray(n.only)&&n.only.length>0,f=Array.isArray(n.except)&&n.except.length>0;return l||f}let t=null;return A(()=>{typeof window>"u"||(t=T.on("navigate",e=>{var y,g;const n=((g=(y=e.detail)==null?void 0:y.page)==null?void 0:g.url)??null;if(!n)return;const l=i(n);if(l===h||s(e))return;const f=o.props.pageview,_=f&&typeof f=="object"?f:c();p(_),h=l}),k||(h=i(window.location),k=!0))}),I(()=>{t==null||t(),t=null}),(e,n)=>w("",!0)}}),Y={id:"app",class:"relative flex w-full flex-1 flex-col overflow-x-clip md:z-auto"},Z={__name:"MainLayout",props:{schema:Object,metadata:Object,title:String,description:String,keywords:String,background:{type:String,default:"[#f5f8fa]"}},setup(u){return(o,a)=>(m(),S(D,null,[r(N),x("div",{class:H(["flex min-h-screen flex-col","bg-"+u.background])},[r(j),r(O),x("main",Y,[U(o.$slots,"default")]),r(P),r(V),r(X),r(Q),r(W)],2)],64))}},ee={__name:"Empty",setup(u){return(o,a)=>(m(),C(Z,null,{default:F(()=>[r(B)]),_:1}))}},ce=Object.freeze(Object.defineProperty({__proto__:null,default:ee},Symbol.toStringTag,{value:"Module"}));export{ce as E,Z as _};

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.