PageSourceSearch

https://visaonlinevietnam.com/_next/static/chunks/pages/embassies-afbb4f54981074c9.js

js visaonlinevietnam.com collected 2026-10-02 17:47:27 UTC 6,766 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1224],{3728:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embassies",function(){return a(7921)}])},3050:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(1134).Z)("CircleCheckBig",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},8926:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(1134).Z)("MailOpen",[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]])},5452:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(1134).Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},1700:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(1134).Z)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},1681:function(e,t,a){"use strict";var r=a(5893),n=a(5675),o=a.n(n);a(7294);let s=e=>{let{images:t}=e,a=Math.floor(Math.random()*t.length),n=t[a];return(0,r.jsx)("div",{className:"background-hero",children:(0,r.jsx)(o(),{src:n,alt:"Hero Background Image",className:"rounded-none object-cover",fill:!0,sizes:"100vw",quality:100,priority:!0})})};t.Z=e=>{let{title:t}=e;return(0,r.jsxs)("section",{className:"module-hero relative grid h-[300px] grid-cols-1",children:[(0,r.jsx)(s,{images:["/hero-bg/background-hero-1.webp","/hero-bg/background-hero-2.webp","/hero-bg/background-hero-3.webp","/hero-bg/background-hero-4.webp"]}),(0,r.jsx)("div",{className:"container relative z-20 text-center",children:(0,r.jsx)("h1",{className:"text-2xl text-white md:text-3xl",children:t})}),(0,r.jsx)("div",{className:"absolute top-1/3 h-[100px] w-full bg-black opacity-50"})]})}},7921:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return N},default:function(){return k}});var r=a(5893),n=a(1610),o=a(1681),s=a(3809),l=a(4),i=a(5607),c=(0,a(5950).tv)({slots:{base:["group","relative","overflow-hidden","bg-content3 dark:bg-content2","pointer-events-none","before:opacity-100","before:absolute","before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite]","before:border-t","before:border-content4/30","before:bg-gradient-to-r","before:from-transparent","before:via-content4","dark:before:via-default-700/10","before:to-transparent","after:opacity-100","after:absolute","after:inset-0","after:-z-10","after:bg-content3","dark:after:bg-content2","data-[loaded=true]:pointer-events-auto","data-[loaded=true]:overflow-visible","data-[loaded=true]:!bg-transparent","data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none","data-[loaded=true]:after:opacity-0"],content:["opacity-0","group-data-[loaded=true]:opacity-100"]},variants:{disableAnimation:{true:{base:"before:animate-none before:transition-none after:transition-none",content:"transition-none"},false:{base:"transition-background !duration-300 before:transition-opacity before:!duration-300",content:"transition-opacity motion-reduce:transition-none !duration-300"}}},defaultVariants:{}}),d=a(9037),u=a(5916),f=a(262),b=a(7294),m=a(6733),h=(0,i.Gp)((e,t)=>{let{Component:a,children:n,getSkeletonProps:o,getContentProps:s}=function(e){var t,a;let r=(0,m.w)(),[n,o]=(0,i.oe)(e,c.variantKeys),{as:s,children:l,isLoaded:h=!1,className:x,classNames:p,...g}=n,v=null!=(a=null!=(t=e.disableAnimation)?t:null==r?void 0:r.disableAnimation)&&a,j=(0,b.useMemo)(()=>c({...o,disableAnimation:v}),[(0,d.Xx)(o),v,l]),y=(0,u.W)(null==p?void 0:p.base,x);return{Component:s||"div",children:l,slots:j,classNames:p,getSkeletonProps:(e={})=>({"data-loaded":(0,f.PB)(h),className:j.base({class:(0,u.W)(y,null==e?void 0:e.className)}),...g}),getContentProps:(e={})=>({className:j.content({class:(0,u.W)(null==p?void 0:p.content,null==e?void 0:e.className)})})}}({...e});return(0,r.jsx)(a,{ref:t,...o(),children:(0,r.jsx)("div",{...s(),children:n})})});h.displayName="NextUI.Skeleton";var x=a(1039),p=a(2065);let g=e=>{let{country:t}=e,a=(0,b.useMemo)(()=>(0,p.H5)({slug:t.slug,name:t.title}),[t.slug,t.title]);return a?(0,r.jsx)("div",{className:"mr-2",style:{fontSize:"2em",verticalAlign:"middle"},children:(0,r.jsx)(x.U,{country:a})}):(0,r.jsx)(h,{className:"mr-2 inline-block h-[30px] w-[36px] rounded-md"})},v=e=>{let{country:t}=e;return(0,r.jsx)("li",{className:"mb-0",children:(0,r.jsxs)(l.Z,{href:"/embassies/".concat(t.slug),className:"max-h-[30px] justify-start text-lg text-slate-700 transition duration-300 ease-in-out hover:translate-y-[-5px] hover:text-primary",children:[(0,r.jsx)(g,{country:t}),(0,r.jsx)("span",{className:"relative top-[3px] align-middle text-lg text-primary",children:t.title})]})})},j=e=>{let{embassies:t,character:a}=e;return(0,r.jsxs)("div",{id:"section-".concat(a),className:"mb-8 flex gap-8",children:[(0,r.jsx)("h3",{className:"mb-4 h-8 w-12 border-r-2 border-gray-400 text-2xl font-bold",translate:"no",children:a}),(0,r.jsx)("ul",{className:"grid w-full grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 2xl:grid-cols-4",children:t.map(e=>
1(0,r.jsx)(v,{country:e},e.slug))})]})},y=e=>{let{characters:t,onCharacterClick:a}=e;return(0,r.jsx)("div",{className:"mb-6 flex flex-wrap gap-1 2xl:justify-between",children:t.map(e=>(0,r.jsx)("button",{onClick:()=>a(e),className:"hover:bg-primary-dark rounded-md bg-slate-100 px-3 py-1 text-lg font-bold hover:scale-110 focus:outline-none focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",translate:"no",children:e},e))})};var N=!0,k=e=>{let{embassies:t}=e,a=(0,b.useRef)(null),l=(0,b.useMemo)(()=>Object.keys(t).filter(e=>t[e].length>0),[t]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Z,{title:"Embassies"}),(0,r.jsx)(s.Z,{sidebar:(0,r.jsx)(n.Z,{}),children:(0,r.jsxs)("div",{className:"rounded-md bg-white p-6",children:[(0,r.jsx)("h2",{className:"text-gradient-primary mb-6 text-center text-2xl font-bold",children:"Vietnam Embassy Worldwide"}),(0,r.jsx)(y,{characters:l,onCharacterClick:e=>{let t=document.getElementById("section-".concat(e));if(t&&a.current){let e=a.current.offsetTop,r=t.offsetTop;a.current.scrollTo({top:r-e-20,behavior:"smooth"})}}}),(0,r.jsx)("div",{ref:a,className:"max-h-[calc(100vh-200px)] overflow-y-auto pr-4",children:l.map(e=>(0,r.jsx)(j,{embassies:t[e],character:e},e))})]})})]})}}},function(e){e.O(0,[2036,2888,9774,179],function(){return e(e.s=3728)}),_N_E=e.O()}]);

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.