PageSourceSearch

https://www.canibringto.com/_nuxt/BU58h_3P.js

js canibringto.com collected 2026-10-04 04:56:25 UTC 11,725 bytes, 1 lines download raw bytes

1import{d as _,u as k,$ as P,a0 as B,x as I,o as m,c as b,e as t,f as e,t as o,F as A,r as S,n as T,j as $,k as C,l as z,J as F,a1 as R,a as L,p as V,s as E,A as l,m as j,i as r,g as i,_ as y,a2 as D}from"./CBpGgrTi.js";import{u as N}from"./RoQfOcA-.js";const H={class:"relative"},O={class:"ml-2 text-base"},J={key:0,class:"absolute right-0 top-full mt-2 bg-white rounded-lg shadow-lg border border-gray-100 z-50 min-w-[140px]"},U=["onClick"],q={class:"mr-3 text-base"},G={class:"text-base"},K={key:0,class:"ml-auto text-blue-500 text-base"},Q=_({__name:"LanguageSwitcher",setup(v){const{locales:d}=k(),u=P(),p=B(),{currentLocale:s,getLocaleName:c,getLocaleFlag:n}=N(),a=C(!1),w=z(()=>d.value),f=async g=>{a.value=!1;const h=u(g);h&&await p.push(F(h))};return I(()=>{document.addEventListener("click",g=>{g.target.closest(".relative")||(a.value=!1)})}),(g,h)=>(m(),b("div",H,[t("button",{onClick:h[0]||(h[0]=x=>a.value=!e(a)),class:"flex items-center justify-center w-24 h-10 bg-white rounded-lg shadow-md border border-gray-200 text-base font-medium text-gray-700 hover:text-gray-900 hover:shadow-lg transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50"},[h[1]||(h[1]=t("span",{class:"text-base"},"🌐",-1)),t("span",O,o(e(c)(e(s))),1)]),e(a)?(m(),b("div",J,[(m(!0),b(A,null,S(e(w),x=>(m(),b("button",{key:x.code,onClick:Pt=>f(x.code),class:T(["flex items-center w-full px-4 py-3 text-base text-gray-700 hover:bg-blue-50 hover:text-blue-700 transition-colors duration-150 first:rounded-t-lg last:rounded-b-lg",{"bg-blue-50 text-blue-700 font-semibold":e(s)===x.code}])},[t("span",q,o(e(n)(x.code)),1),t("span",G,o(x.name),1),e(s)===x.code?(m(),b("span",K,"✓")):$("",!0)],10,U))),128))])):$("",!0)]))}}),M=R("/images/logo.svg"),W={class:"bg-white/80 backdrop-blur-md border-b border-gray-100 sticky top-0 z-50 shadow-sm"},X={class:"container mx-auto px-4 sm:px-6 lg:px-8 py-4"},Y={class:"flex justify-between items-center"},Z={class:"flex items-center space-x-8"},tt={class:"font-bold text-gray-900 text-xl hidden sm:block"},et={class:"hidden md:flex items-center space-x-6"},ot={class:"flex items-center space-x-4"},st=["aria-expanded"],at={key:0,class:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},lt={key:1,class:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},nt={key:0,class:"md:hidden mt-4 border-t border-gray-100 pt-4","aria-label":"Mobile navigation"},it={class:"grid grid-cols-2 gap-2"},rt=_({__name:"AppHeader",setup(v){const{t:d}=k(),u=L(),p=V(),s=C(!1);return E(()=>p.fullPath,()=>{s.value=!1}),(c,n)=>{const a=j,w=Q;return m(),b("header",W,[t("div",X,[t("div",Y,[t("div",Z,[l(a,{to:e(u)("/"),class:"flex items-center space-x-3 group cursor-pointer"},{default:r(()=>[n[7]||(n[7]=t("div",{class:"w-8 h-8 bg-white rounded-lg flex items-center justify-center shadow-md transform group-hover:scale-110 transition-transform duration-200 p-1"},[t("img",{src:M,alt:"Can I Bring To Logo",class:"w-full h-full object-contain"})],-1)),t("div",tt,o(e(d)("appName")),1)]),_:1},8,["to"]),t("nav",et,[l(a,{to:e(u)("/"),class:"text-gray-600 hover:text-blue-600 font-medium transition-colors"},{default:r(()=>[i(o(e(d)("breadcrumb.home")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/items"),class:"text-gray-600 hover:text-blue-600 font-medium transition-colors"},{default:r(()=>[i(o(e(d)("breadcrumb.items")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/blog"),class:"text-gray-600 hover:text-blue-600 font-medium transition-colors"},{default:r(()=>[i(o(e(d)("footer.blog")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/about"),class:"text-gray-600 hover:text-blue-600 font-medium transition-colors"},{default:r(()=>[i(o(e(d)("footer.about")),1)]),_:1},8,["to"])])]),t("div",ot,[t("button",{type:"button",class:"md:hidden inline-flex h-10 w-10 items-center justify-center rounded-lg border border-gray-200 bg-white text-gray-600 shadow-sm transition-colors hover:text-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2","aria-expanded":e(s),"aria-label":"Open navigation menu",onClick:n[0]||(n[0]=f=>s.value=!e(s))},[e(s)?(m(),b("svg",lt,[...n[9]||(n[9]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,-1)])])):(m(),b("svg",at,[...n[8]||(n[8]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 7h16M4 12h16M4 17h16"},null,-1)])]))],8,st),l(w)])]),e(s)?(m(),b("nav",nt,[t("div",it,[l(a,{to:e(u)("/"),class:"mobile-nav-link",onClick:n[1]||(n[1]=f=>s.value=!1)},{default:r(()=>[i(o(e(d)("breadcrumb.home")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/items"),class:"mobile-nav-link",onClick:n[2]||(n[2]=f=>s.value=!1)},{default:r(()=>[i(o(e(d)("breadcrumb.items")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/guides"),class:"mobile-nav-link",onClick:n[3]||(n[3]=f=>s.value=!1)},{default:r(()=>[i(o(e(d)("guides.backToList")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/countries"),class:"mobile-nav-link",onClick:n[4]||(n[4]=f=>s.value=!1)},{default:r(()=>[i(o(e(d)("breadcrumb.countries")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/blog"),class:"mobile-nav-link",onClick:n[5]||(n[5]=f=>s.value=!1)},{default:r(()=>[i(o(e(d)("footer.blog")),1)]),_:1},8,["to"]),l(a,{to:e(u)("/about"),class:"mobile-nav-link",onClick:n[6]||(n[6]=f=>s.value=!1)},{default:r(()=>[i(o(e(d)("footer.about")),1)]),_:1},8,["to"])])])):$("",!0)])])}}}),ct=y(rt,[["__scopeId","data-v-c086a4ef"]]),dt={class:"bg-slate-900 text-white mt-20"},ut={class:"container mx-auto px-4 sm:px-6 lg:px-8 py-16"},mt={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 lg:gap-10"},bt={class:"flex items-center space-x-3 mb-6"},ft={class:"text-xl font-bold"},ht={class:"text-slate-400 text-sm leading-relaxed mb-6"},pt={class:"text-white font-semibold text-base mb-6"},xt={class:"space-y-3"},gt={class:"text-white font-semibold text-base mb-6"},_t={class:"space-y-3"},vt={class:"text-white font-semibold text-base mb-6"},wt={class:"space-y-3"},$t={class:"border-t border-slate-800 mt-16 pt-8"},kt={class:"flex flex-col md:flex-row justify-between items-center gap-4"},yt={class:"text-sm text-slate-500"},Ct={class:"flex flex-wrap justify-center gap-4 text-xs text-slate-500"},Lt=_({__name:"AppFooter",setup(v){const{t:d,locale:u}=k(),{getLocalizedText:p}=N(),s=L();return(c,n)=>{const a=j;return m(),b("footer",dt,[t("div",ut,[t("div",mt,[t("div",null,[t("div",bt,[n[0]||(n[0]=t("div",{class:"w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center p-2"},[t("img",{src:M,alt:"Can I Bring To Logo",class:"w-full h-full object-contain filter brightness-0 invert"})],-1)),t("div",ft,o(c.$t("appName")),1)]),t("p",ht,o(c.$t("footer.description")),1),n[1]||(n[1]=t("a",{href:"mailto:[email protected]",class:"inline-flex items-center text-slate-400 hover:text-white text-sm transition-colors"},[t("span",{class:"mr-2"},"📧"),i(" [email protected] ")],-1))]),t("div",null,[t("h3",pt,o(c.$t("footer.popularCountries")),1),t("ul",xt,[t("li",null,[l(a,{to:e(s)("/can-i-bring/pork-to-united-states"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("countries.united-states")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/alcohol-to-japan"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("countries.japan")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/tobacco-to-singapore"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("countries.singapore")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/medication-to-australia"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("countries.australia")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/cash-to-canada"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("countries.canada")),1)]),_:1},8,["to"])])])]),t("div",null,[t("h3",gt,o(c.$t("footer.popularItems")),1),t("ul",_t,[t("li",null,[l(a,{to:e(s)("/can-i-bring/pork-to-united-states"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("items.pork")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/alcohol-to-japan"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("items.alcohol")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/medication-to-australia"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("items.medication")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/tobacco-to-singapore"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("items.tobacco")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/can-i-bring/cash-to-canada"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("items.cash")),1)]),_:1},8,["to"])])])]),t("div",null,[t("h3",vt,o(c.$t("footer.company")),1
1),t("ul",wt,[t("li",null,[l(a,{to:e(s)("/blog"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("footer.blog")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/about"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("footer.about")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/blog/about-can-i-bring-to-research-and-editorial-policy"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(e(p)({en:"Editorial Policy",zh:"编辑原则",ja:"編集方針",vi:"Chính sách biên tập",es:"Política editorial"})),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/contact"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("footer.contact")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/privacy-policy"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("footer.privacy")),1)]),_:1},8,["to"])]),t("li",null,[l(a,{to:e(s)("/terms"),class:"text-slate-400 hover:text-white text-sm transition-colors duration-200 block"},{default:r(()=>[i(o(c.$t("footer.disclaimer")),1)]),_:1},8,["to"])])])])]),t("div",$t,[t("div",kt,[t("div",yt," © 2025 "+o(c.$t("appName"))+". "+o(c.$t("footer.allRightsReserved")),1),t("div",Ct,[l(a,{to:e(s)("/privacy-policy"),class:"hover:text-white transition-colors"},{default:r(()=>[i(o(c.$t("footer.privacy")),1)]),_:1},8,["to"]),n[2]||(n[2]=t("span",null,"•",-1)),l(a,{to:e(s)("/terms"),class:"hover:text-white transition-colors"},{default:r(()=>[i(o(c.$t("footer.disclaimer")),1)]),_:1},8,["to"]),n[3]||(n[3]=t("span",null,"•",-1)),l(a,{to:e(s)("/about"),class:"hover:text-white transition-colors"},{default:r(()=>[i(o(c.$t("footer.about")),1)]),_:1},8,["to"]),n[4]||(n[4]=t("span",null,"•",-1)),l(a,{to:e(s)("/contact"),class:"hover:text-white transition-colors"},{default:r(()=>[i(o(c.$t("footer.contact")),1)]),_:1},8,["to"])])])])])])}}}),jt=y(Lt,[["__scopeId","data-v-e9acd005"]]),Nt={class:"min-h-screen bg-gradient-to-br from-gray-50 via-white to-blue-50 font-inter"},Mt=_({__name:"default",setup(v){return(d,u)=>{const p=ct,s=jt;return m(),b("div",Nt,[l(p),t("main",null,[D(d.$slots,"default",{},void 0,!0)]),l(s)])}}}),At=y(Mt,[["__scopeId","data-v-4165d166"]]);export{At 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.