PageSourceSearch

https://www.downundervisa.com/assets/PageLayout-BjI6KKxV.js

js downundervisa.com collected 2026-10-09 05:15:39 UTC 43,153 bytes, 1 lines download raw bytes

1import{j as e,L as y,r as n,eB as pe,eC as Be,el as _e,eA as Ie,eD as Oe,eE as He,eF as $e,eG as Pe,eH as ze,eI as We,eJ as qe,eK as Re,eh as Ve,eL as ie}from"./main-Bo0oayNO.js";import{H as Fe}from"./Header-Ba4WgGVg.js";import{C as Ue}from"./country-visa-Cppajoww.js";import{H as De,s as Ge,G as Je}from"./HomepageSections-4WnTbsUT.js";const Ye=[{label:"Free assessment (includes a free 20 minute Zoom with Jeff)",url:"https://downunderassessments.com",variant:"primary"},{label:"45 minute Zoom visa consultation (AU$90)",url:"https://downunderassessments.com/book?session=paid_consult",variant:"secondary"}],Qe="639984993186",Ke=`https://wa.me/${Qe}`,Ze="/uploads/whatsapp-btn-bordered-500x104.webp",Xe=500,et=104;function tt(){return e.jsx("ul",{className:"footer-country-list",children:Ue.map(t=>e.jsx("li",{children:e.jsxs(y,{to:`/${t.slug}`,className:"footer-country-link",children:[e.jsx("span",{className:"footer-country-flag","aria-hidden":"true",children:t.flag}),e.jsx("span",{className:"footer-country-name",children:t.country})]})},t.slug))})}function st({siteTitle:t="StackPress",showPoweredBy:a=!0,menuItems:i,variant:l="default",description:x,contactEmail:h,contactPhone:m,contactAddress:d,socialLinks:r}){const w=new Date().getFullYear(),s=l==="navy";return e.jsx("footer",{className:s?"footer-navy":"bg-background border-t border-border",children:e.jsxs("div",{className:"max-w-layout mx-auto px-4 sm:px-6 lg:px-8 py-12 lg:py-16",children:[e.jsxs("div",{className:`grid grid-cols-1 md:grid-cols-2 ${s?"lg:grid-cols-4":"lg:grid-cols-3"} gap-8 lg:gap-12`,children:[e.jsxs("div",{children:[e.jsx(y,{to:"/",search:{page:void 0},className:`text-xl font-bold font-heading ${s?"text-white":"text-foreground"}`,children:s?e.jsxs("span",{className:"uppercase tracking-wide",children:[e.jsx("span",{className:"text-white",children:"DOWN"}),e.jsx("span",{className:"text-accent",children:"UNDER"}),e.jsx("span",{className:"text-white",children:"VISA"})]}):t}),e.jsx("p",{className:`mt-3 text-sm leading-relaxed ${s?"text-white/60":"text-foreground-muted"}`,children:x||"A modern blogging platform built with React, TanStack, and the latest web technologies."}),e.jsxs("div",{className:"flex gap-3 mt-5",children:[r?.twitter&&e.jsx("a",{href:r.twitter.startsWith("http")?r.twitter:`https://twitter.com/${r.twitter.replace("@","")}`,target:"_blank",rel:"noopener noreferrer",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"Twitter",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),r?.facebook&&e.jsx("a",{href:r.facebook.startsWith("http")?r.facebook:`https://facebook.com/${r.facebook}`,target:"_blank",rel:"noopener noreferrer",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"Facebook",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})}),r?.instagram&&e.jsx("a",{href:r.instagram.startsWith("http")?r.instagram:`https://instagram.com/${r.instagram.replace("@","")}`,target:"_blank",rel:"noopener noreferrer",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"Instagram",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.
1047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z"})})}),r?.youtube&&e.jsx("a",{href:r.youtube.startsWith("http")?r.youtube:`https://youtube.com/@${r.youtube.replace("@","")}`,target:"_blank",rel:"noopener noreferrer",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"YouTube",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),r?.github&&e.jsx("a",{href:r.github.startsWith("http")?r.github:`https://github.com/${r.github}`,target:"_blank",rel:"noopener noreferrer",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"GitHub",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}),!r&&e.jsxs(e.Fragment,{children:[e.jsx("a",{href:"#",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"Twitter",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),e.jsx("a",{href:"#",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"GitHub",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}),e.jsx("a",{href:"/rss.xml",className:`${s?"text-white/50 hover:text-gold":"text-foreground-muted hover:text-primary"} transition-colors`,"aria-label":"RSS",children:e.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M6.503 20.752c0 1.794-1.456 3.248-3.251 3.248-1.796 0-3.252-1.454-3.252-3.248 0-1.794 1.456-3.248 3.252-3.248 1.795.001 3.251 1.454 3.251 3.248zm-6.503-12.572v4.811c6.05.062 10.96 4.966 11.022 11.009h4.817c-.062-8.71-7.118-15.758-15.839-15.82zm0-3.368c10.58.046 19.152 8.594 19.183 19.188h4.817c-.03-13.231-10.755-23.954-24-24v4.812z"})})})]})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:`font-semibold mb-4 ${s?"":"text-foreground uppercase tracking-wider text-sm"}
1`,children:"Quick Links"}),e.jsx("ul",{className:"space-y-2.5",children:i&&i.length>0?i.map(o=>{const u=o.linkType==="external"||o.url?.startsWith("http"),b=o.url==="#open-chat"||o.cssClass?.includes("chat-trigger");return e.jsx("li",{children:b?e.jsx("a",{href:"#",onClick:g=>{g.preventDefault(),window.dispatchEvent(new CustomEvent("open-chat-widget"))},className:`text-sm transition-colors cursor-pointer ${s?"text-white/70 hover:text-gold":"text-foreground-muted hover:text-primary"}`,children:o.label}):u?e.jsx("a",{href:o.url||"#",target:o.target||"_blank",rel:"noopener noreferrer",className:`text-sm transition-colors ${s?"text-white/70 hover:text-gold":"text-foreground-muted hover:text-primary"}`,children:o.label}):e.jsx(y,{to:o.url||"/",className:`text-sm transition-colors ${s?"text-white/70 hover:text-gold":"text-foreground-muted hover:text-primary"}`,children:o.label})},o.id)}):e.jsxs(e.Fragment,{children:[e.jsx("li",{children:e.jsx(y,{to:"/",search:{page:void 0},className:`text-sm transition-colors ${s?"text-white/70 hover:text-gold":"text-foreground-muted hover:text-primary"}`,children:"Home"})}),e.jsx("li",{children:e.jsx(y,{to:"/posts",search:{page:void 0,category:void 0,tag:void 0,q:void 0},className:`text-sm transition-colors ${s?"text-white/70 hover:text-gold":"text-foreground-muted hover:text-primary"}`,children:"Blog"})}),e.jsx("li",{children:e.jsx(y,{to:"/posts/archive",className:`text-sm transition-colors ${s?"text-white/70 hover:text-gold":"text-foreground-muted hover:text-primary"}`,children:"Archive"})})]})})]}),s&&e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-4",children:"Visa Services"}),e.jsx(tt,{}),e.jsx("ul",{className:"space-y-2.5 mt-3",children:e.jsx("li",{children:e.jsx(y,{to:"/administrative-review-tribunal-merits-reviews-appeals-for-visa-refusals",className:"text-sm text-white/70 hover:text-gold transition-colors",children:"Appeals"})})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:`font-semibold mb-4 ${s?"":"text-foreground uppercase tracking-wider text-sm"}`,children:"Contact Us"}),e.jsxs("ul",{className:"space-y-3",children:[d&&e.jsx("li",{children:e.jsxs("div",{className:`flex items-start gap-3 text-sm ${s?"text-white/70":"text-foreground-muted"}`,children:[e.jsxs("svg",{className:"w-4 h-4 mt-0.5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]}),e.jsx("span",{children:d})]})}),m&&e.jsx("li",{children:e.jsxs("div",{className:`flex items-start gap-3 text-sm ${s?"text-white/70":"text-foreground-muted"}`,children:[e.jsx("svg",{className:"w-4 h-4 mt-0.5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),e.jsxs("span",{children:["Landline:"," ",e.jsx("a",{href:`tel:${m.replace(/\s/g,"")}`,className:`transition-colors ${s?"hover:text-gold":"hover:text-primary"}`,children:m}),e.jsx("br",{}),"Mobile:"," ",e.jsx("a",{href:"tel:+639178275529",className:`transition-colors ${s?"hover:text-gold":"hover:text-primary"}`,children:"+63 917 827 5529"})]})]})}),h&&e.jsx("li",{children:e.jsxs("a",{href:`mailto:${h}`,className:`flex items-center gap-3 text-sm transition-colors ${s?"text-white/70 hover:text-gold":"text-foreground-muted hover:text-primary"}`,children:[e.jsx("svg",{className:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),e.jsx("span",{children:h})]})}),!d&&!m&&!h&&e.jsx("li",{children:e.jsx("p",{className:`text-sm ${s?"text-white/50":"text-foreground-muted"}`,children:"Contact information coming soon."})})]})]})]}),s&&e.jsx("div",{className:"mt-12 pt-8 border-t border-white/10",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-accent uppercase tracking-wider text-sm font-semibold mb-4",children:"Philippines Office"}),e.jsxs("div",{className:"text-white/70 text-sm mb-3 leading-relaxed",children:[e.jsx("strong",{className:"text-white",children:"Down Under Visa Co"}),e.jsx("br",{}),"Metrogate Silang E. Aguinaldo Highway",e.jsx("br",{}),"Silang Cavite 4118 the Philippines",e.jsx("br",{}),"Landline:"," ",e.jsx("a",{href:"tel:+63466860096",className:"text-white/70 hover:text-gold transition-colors",children:"+63 46 686 0096"}),e.jsx("br",{}),"Mobile:"," ",e.jsx("a",{href:"tel:+639178275529",className:"text-white/70 hover:text-gold transition-colors",children:"+63 917 827 5529"})]}),e.jsx("div",{className:"rounded-lg overflow-hidden",children:e.jsx("iframe",{src:"https://maps.google.com/maps?q=Down+Under+Visa+Co,+Metrogate+Silang+Estate,+Silang,+Cavite,+Philippines&t=&z=15&ie=UTF8&iwloc=&output=embed",width:"100%",height:"220",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"Down Under Visa Philippines Office"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-accent uppercase tracking-wider text-sm font-semibold mb-4",children:"Google Reviews"}),e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("span",{className:"text-2xl font-bold text-white",children:"4.8"}),e.jsx("div",{className:"flex text-yellow-400",children:"★★★★★".split("").map((o,u)=>e.jsx("span",{children:o},u))}),e.jsx("span",{className:"text-white/50 text-sm",children:"(72 reviews)"})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"bg-white/5 rounded-lg p-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("span",{className:"text-sm font-semibold text-white",children:"David Chalmers"}),e.jsx("span",{className:"text-yellow-400 text-xs",children:"★★★★★"})]}),e.jsx("p",{className:"text-white/60 text-xs leading-relaxed",children:"“Jeff and his team at Down Under Visa are absolutely the best. They handled our partner visa application with complete professionalism. Everything was done on time and we were kept informed every step of the way. Highly recommended!”"})]}),e.jsxs("div",{className:"bg-white/5 rounded-lg p-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("span",{className:"text-sm font-semibold text-white",children:"Mark Henderson"}),e.jsx("span",{className:"text-yellow-400 text-xs",children:"★★★★★"})]}),e.jsx("p",{className:"text-white/60 text-xs leading-relaxed",children:"“Outstanding service. After trying to navigate the visa process on our own and getting nowhere, we engaged Down Under Visa. Jeff made the whole thing straightforward and stress-free. Our visa was granted faster than we expected.”"})]})]}),e.jsx("a",{href:"https://www.google.com/maps/place/Down+Under+Visa+Co/@14.2281,120.9714,17z/",target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-3 text-xs text-accent hover:text-gold transition-colors",children:"See all Google reviews →"})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-accent uppercase tracking-wider text-sm font-semibold mb-4",children:"Facebook Reviews"}),e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("span",{className:"text-2xl font-bold text-white",children:"5.0"}),e.jsx("div",{className:"flex text-yellow-400",children:"★★★★★".split("").map((o,u)=>e.jsx("span",{children:o},u))})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"bg-white/5 rounded-lg p-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("span",{className:"text-sm font-semibold text-white",children:"Justin Betterbee"}),e.jsx("span",{className:"text-yellow-400 text-xs",children:"★★★★★"})]}),e.jsx("p",{className:"text-white/60 text-xs leading-relaxed",children:"“Today we received the great news that our fiancee visa had been granted after only 6 months. I was crying with joy. I would strongly recommend Jeff and Mila to anyone trying to get a visa. We love you guys for making our dream come true.”"})]}),e.jsxs("div",{className:"bg-white/5 rounded-lg p-3",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("span",{className:"text-sm font-semibold text-white",children:"Trevor & Marites"}),e.jsx("span",{className:"text-yellow-400 text-xs",children:"★★★★★"})]}),e.jsx("p",{className:"text-white/60 text-xs leading-relaxed",children:"“Their company is family owned and operated, so you always get personal service, above and beyond what is expected. Our complex case was completed in only 4 months. So professional was their work that immigration issued the visa without an interview.”"})]})]}),e.jsx("a",{href:"https://www.facebook.com/downundervisa/reviews",target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-3 text-xs text-accent hover:text-gold transition-colors",children:"See all Facebook reviews →"})]})]})}),s&&e.jsxs("div",{className:"footer-appointment-notice",children:[e.jsx("h3",{className:"footer-appointment-heading",children:"IMPORTANT INFORMATION"}),e.jsxs("p",{className:"footer-appointment-subheading",children:["BY"," ",e.jsx("a",{href:"#",className:"footer-appointment-link",onClick:o=>{o.preventDefault(),window.dispatchEvent(new CustomEvent("open-chat-widget"))},children:"APPOINTMENT"})," ","ONLY"]}),e.jsxs("p",{className:"footer-appointment-note",children:[e.jsx("strong",{children:"NOTE:"})," Jeff Harvie and main administrative staff are mostly in the Philippines office. Please do not (a) send documents or (b) attend the AUSTRALIAN office looking for assistance without a previous appointment."]})]}),e.jsxs("div",{className:`mt-8 pt-8 border-t flex flex-col items-center gap-2 ${s?"border-white/10":"border-border"}`,children:[e.jsxs("p",{className:`text-sm ${s?"text-white/50":"text-foreground-muted"}`,children:["© ",w," ",t,". All rights reserved."]}),s&&e.jsx("p",{className:"text-sm text-white/50",children:"Jeff Harvie – Registered Migration Agent MARN 0959797"}),s&&e.jsxs("div",{className:"footer-human-content mt-4",children:[e.jsx("img",{src:"/uploads/human-content.png",alt:"100% Human Created Content",className:"footer-human-content-badge"}),e.jsxs("div",{children:[e.jsxs("p",{className:"footer-human-content-text",children:[e.jsx("strong",{children:"ALL written content on this site is by Jeff Harvie RMA."})," Not by “Content Creators”. Not by marketing specialists. And NOT by AI. The same applies to assessments and responses to emails. Visa advice always provided by Jeff Harvie RMA."]}),e.jsx("p",{className:"footer-human-content-text footer-human-content-text-secondary",children:"Some illustrative images are AI-generated. Words, advice, and judgment are not."})]})]}),s&&e.jsx("img",{src:"/uploads/miraculous-medal.jpg",alt:"Miraculous Medal",className:"mt-4 h-16 object-contain"}),!s&&a&&e.jsxs("p",{className:"text-sm text-foreground-muted",children:["Powered by"," ",e.jsx("a",{href:"https://stackpress.dev",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:text-primary-dark transition-colors",children:"StackPress"})]})]})]})})}function At({children:t,className:a="",size:i="default"}){const l={narrow:"max-w-content",default:"max-w-layout",wide:"max-w-7xl"};return e.jsx("div",{className:`${l[i]} mx-auto px-4 sm:px-6 lg:px-8 ${a}`,children:t})}function at(t){if(typeof window>"u")return;const a=window.gtag;typeof a=="function"&&a("event","whatsapp_click",{location:t})}function nt({onToken:t,onError:a,size:i="normal"}){const[l,x]=n.useState(""),[h,m]=n.useState(!1),[d,r]=n.useState(!1),w=n.useRef(null),s=n.useRef(null);return n.useEffect(()=>{pe().then(o=>{m(o.enabled),x(o.siteKey)})},[]),n.useEffect(()=>{if(!h||!l)return;if(window.turnstile){r(!0);return}if(document.querySelector('script[src*="turnstile"]')){const b=setInterval(()=>{window.turnstile&&(r(!0),clearInterval(b))},100);return()=>clearInterval(b)}
1const u=document.createElement("script");u.src="https://challenges.cloudflare.com/turnstile/v0/api.js",u.async=!0,u.onload=()=>r(!0),document.head.appendChild(u)},[h,l]),n.useEffect(()=>{if(!(!h||!l||!d||!w.current||!window.turnstile)){if(s.current)try{window.turnstile.remove(s.current)}catch{}return s.current=window.turnstile.render(w.current,{sitekey:l,callback:o=>t(o),"expired-callback":()=>t(null),"error-callback":()=>{t(null),a?.("Security check failed. Please refresh and try again.")},theme:"auto",size:i}),()=>{if(s.current&&window.turnstile){try{window.turnstile.remove(s.current)}catch{}s.current=null}}}},[h,l,d,i,t,a]),!h||!l?null:e.jsx("div",{ref:w,className:"turnstile-wrapper"})}function rt(){const[t,a]=n.useState(!1);return n.useEffect(()=>{pe().then(i=>{a(i.enabled)})},[]),t}const le=6,P=25,ce=6,ot=/^[0-9+\-() ]+$/;function it(t){return String(t??"").trim().replace(/\s+/g," ")}function ge(t){const a=it(t);return a?ot.test(a)?a.length<le||a.length>P?`Mobile number must be between ${le} and ${P} characters.`:(a.match(/\d/g)??[]).length<ce?`Mobile number must contain at least ${ce}
1 digits.`:null:"Mobile number can only contain digits, spaces, +, - and brackets.":"Please enter your mobile number."}function lt(){const t=Be(),a=_e(),[i,l]=n.useState(!1),[x,h]=n.useState(!1),[m,d]=n.useState("welcome"),[r,w]=n.useState(null),[s,o]=n.useState(""),[u,b]=n.useState(""),[g,T]=n.useState(""),[v,p]=n.useState(null),j=rt(),M=n.useCallback(f=>p(f),[]),[c,L]=n.useState(!1),[O,N]=n.useState(null),[_,k]=n.useState(!1),[C,I]=n.useState(!1),[A,z]=n.useState(null),[W,q]=n.useState(""),[R,V]=n.useState(""),[F,U]=n.useState(""),[H,D]=n.useState(""),[G,J]=n.useState(""),[Y,Q]=n.useState(""),[K,Z]=n.useState(""),[X,ee]=n.useState(""),[fe,te]=n.useState(!1),[we,E]=n.useState(null),[be,je]=n.useState("welcome"),[ve,Ne]=n.useState("welcome"),[$,se]=n.useState(""),[ye,ae]=n.useState(!1);n.useEffect(()=>{l(!0)},[]),n.useEffect(()=>{const f=()=>h(!0);return window.addEventListener("open-chat-widget",f),()=>window.removeEventListener("open-chat-widget",f)},[]);const ke=a.pathname.startsWith("/admin");if(!i||!t?.enabled||ke)return null;const Ce=async f=>{if(f.preventDefault(),!s.trim()||!u.trim())return;if(g){L(!1),d("topics");return}if(j&&!v){N("Please complete the security check.");return}L(!0),N(null),z(null);let S=null;if(C)try{const B=await Ie({data:{email:u.trim(),name:s.trim(),source:"chat_widget",website:g,turnstileToken:v||void 0}});B?.error==="This email is already subscribed"?S="You're already subscribed to our newsletter!":B?.success&&(S="Check your email to confirm your newsletter subscription.")}catch{}Oe({data:{name:s.trim(),email:u.trim(),newsletterOptIn:C}}).catch(()=>{}),z(S),L(!1),d("topics")},Se=f=>{w(f),k(!1),d("detail")},Te=()=>{w(null),k(!1),d("topics")},ne=()=>{je(m);const f=s.trim().split(/\s+/);q(f[0]||""),V(f.slice(1).join(" ")||""),U(u),D(""),E(null),J(""),Q(""),Z(""),ee(""),d("contact")},re=()=>{d(be)},oe=()=>{Ne(m),d("zoom")},Me=async f=>{f.preventDefault();const S=ge(H);if(S){E(S);return}te(!0),E(null);try{const B=await He({data:{firstName:W.trim(),lastName:R.trim(),email:F.trim(),mobile:H,role:G,applicantCountry:Y,visaType:K,situation:X.trim(),discussionMethod:""}});B?.success?d("contact-success"):E(B?.error??"Sorry, your message couldn't be sent. Please try again.")}catch{E("Sorry, your message couldn't be sent. Please try again.")}finally{te(!1)}},Le=async f=>{if(f.preventDefault(),!!$.trim()){ae(!0);try{await $e({data:{name:s.trim(),email:u.trim(),question:$.trim()}})}catch{}ae(!1),d("question-sent")}},Ae=()=>{h(!1)},Ee=()=>{h(f=>!f)};return e.jsxs(e.Fragment,{children:[x&&e.jsxs("div",{className:"chat-widget-panel",children:[e.jsxs("div",{className:"chat-widget-header",children:[e.jsx("span",{className:"font-semibold text-sm",children:"Down Under Visa"}),e.jsx("button",{onClick:Ae,className:"text-white/80 hover:text-white transition-colors","aria-label":"Close chat",children:e.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),e.jsxs("div",{className:"chat-widget-body",children:[m==="welcome"&&e.jsx(ct,{config:t,onSpeak:()=>d("capture"),onContact:ne,onZoom:oe}),m==="zoom"&&e.jsx(dt,{onBack:()=>d(ve)}),m==="capture"&&e.jsx(ut,{name:s,email:u,honeypot:g,newsletterOptIn:C,onNameChange:o,onEmailChange:b,onHoneypotChange:T,onNewsletterChange:I,turnstileEnabled:j,onTurnstileToken:M,onSubmit:Ce,submitting:c||j&&!v,error:O,onBack:()=>d("welcome")}),m==="topics"&&e.jsx(ht,{config:t,userName:s,newsletterMsg:A,onTopicClick:Se,onContactClick:ne,onZoom:oe,onAskQuestion:()=>{se(""),d("custom-question")},onBack:()=>d("welcome")}),m==="contact"&&e.jsx(ft,{firstName:W,lastName:R,email:F,mobile:H,role:G,country:Y,visaType:K,situation:X,onFirstNameChange:q,onLastNameChange:V,onEmailChange:U,onMobileChange:D,onRoleChange:J,onCountryChange:Q,onVisaTypeChange:Z,onSituationChange:ee,onSubmit:Me,submitting:fe,error:we,onBack:re}),m==="custom-question"&&e.jsx(wt,{question:$,onQuestionChange:se,onSubmit:Le,submitting:ye,onBack:()=>d("topics")}),m==="question-sent"&&e.jsx(bt,{onBack:()=>d("topics")}),m==="contact-success"&&e.jsx(jt,{onBack:re}),m==="detail"&&r&&e.jsx(mt,{topic:r,playing:_,onPlay:()=>k(!0),onBack:Te})]})]}),e.jsx("button",{onClick:Ee,className:`chat-widget-fab${!x&&t.fabImageUrl?" chat-widget-fab-custom":""}`,"aria-label":x?"Close chat":"Open chat",children:x?e.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})}):t.fabImageUrl?e.jsx("img",{src:t.fabImageUrl,alt:"Chat",className:"w-full h-full rounded-full object-contain"}):e.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.25
15-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})})})]})}function ct({config:t,onSpeak:a,onContact:i,onZoom:l}){return e.jsxs("div",{className:"flex flex-col gap-3",children:[(t.welcomeMessage||"").split(/\n{2,}/).map((x,h)=>e.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:x},h)),e.jsx("a",{href:t.assessmentUrl,target:"_blank",rel:"noopener noreferrer",className:"chat-widget-btn-primary",children:t.assessmentLabel}),e.jsx("a",{href:t.repairShopUrl,target:"_blank",rel:"noopener noreferrer",className:"chat-widget-btn-primary",children:t.repairShopLabel}),e.jsx("a",{href:t.questionFormUrl,target:"_blank",rel:"noopener noreferrer",className:"chat-widget-btn-secondary",children:t.questionFormLabel}),e.jsx("button",{onClick:i,className:"chat-widget-btn-secondary",children:t.contactFormLabel}),e.jsx("button",{onClick:l,className:"chat-widget-btn-secondary",children:"Schedule a Zoom consultation"}),e.jsx("a",{href:Ke,target:"_blank",rel:"noopener noreferrer",className:"chat-widget-btn-image","data-wa-source":"widget",onClick:()=>at("chat_widget"),children:e.jsx("img",{src:Ze,width:Xe,height:et,alt:"WhatsApp — chat-only, and only during business hours for a reasonably quick response!",loading:"lazy"})}),e.jsx("button",{onClick:a,className:"chat-widget-btn-outline",children:t.speakToUsLabel})]})}function dt({onBack:t}){return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:"Schedule a Zoom consultation"}),e.jsx("p",{className:"text-sm text-gray-700",children:"Choose a session below to book a time with Jeff Harvie. You'll pick a time and enter your details on our booking page."}),Ye.map(a=>e.jsx("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",className:`text-center ${a.variant==="primary"?"chat-widget-btn-primary":"chat-widget-btn-secondary"}`,children:a.label},a.url)),e.jsx("p",{className:"text-xs text-gray-500 leading-relaxed",children:"Consultations are a conversation about your situation, not a written assessment. For a written assessment with costings, complete the free assessment first."}),e.jsx("button",{onClick:t,className:"chat-widget-btn-outline text-sm",children:"Back"})]})}function ut({name:t,email:a,honeypot:i,newsletterOptIn:l,onNameChange:x,onEmailChange:h,onHoneypotChange:m,onNewsletterChange:d,turnstileEnabled:r,onTurnstileToken:w,onSubmit:s,submitting:o,error:u,onBack:b}){return e.jsxs("form",{onSubmit:s,className:"flex flex-col gap-3",children:[e.jsx("p",{className:"text-sm text-gray-700",children:"Before we get started, could you share your name and email?"}),e.jsx("input",{type:"text",placeholder:"Your name",value:t,onChange:g=>x(g.target.value),required:!0,disabled:o,className:"chat-widget-input"}),e.jsx("input",{type:"email",placeholder:"Your email",value:a,onChange:g=>h(g.target.value),required:!0,disabled:o,className:"chat-widget-input"}),e.jsxs("div",{className:"hp-field","aria-hidden":"true",children:[e.jsx("label",{htmlFor:"cw-website",children:"Website"}),e.jsx("input",{id:"cw-website",type:"text",value:i,onChange:g=>m(g.target.value),tabIndex:-1,autoComplete:"off"})]}),e.jsxs("label",{className:"flex items-start gap-2 cursor-pointer",children:[e.jsx("input",{type:"checkbox",checked:l,onChange:g=>d(g.target.checked),disabled:o,className:"mt-0.5 rounded-sm border-gray-300 text-primary focus:ring-primary"}),e.jsx("span",{className:"text-xs text-gray-600 leading-tight",children:"Subscribe to our newsletter for visa tips and updates"})]}),r&&e.jsx(nt,{onToken:w,size:"compact"}),u&&e.jsx("p",{className:"text-xs text-red-600",children:u}),e.jsx("button",{type:"submit",disabled:o,className:"chat-widget-btn-primary",children:o?"Please wait...":"Continue"}),e.jsx("button",{type:"button",onClick:b,disabled:o,className:"chat-widget-btn-outline text-sm",children:"Back"})]})}function ht({config:t,userName:a,newsletterMsg:i,onTopicClick:l,onContactClick:x,onZoom:h,onAskQuestion:m,onBack:d}){return e.jsxs("div",{className:"flex flex-col gap-3",children:[i&&e.jsx("p",{className:"text-xs text-primary bg-primary/5 rounded-sm px-3 py-2",children:i}),e.jsxs("p",{className:"text-sm text-gray-700",children:["Hi ",a,"! What would you like to know about?"]}),e.jsx("div",{className:"flex flex-col gap-2",children:t.topics.map(r=>e.jsx("button",{onClick:()=>l(r),className:"chat-widget-topic-btn",children:r.question},r.id))}),e.jsx("button",{onClick:m,className:"chat-widget-btn-secondary mt-1",children:"If you have another question, click here"}),e.jsx("button",{onClick:x,className:"chat-widget-btn-primary",children:t.contactFormLabel}),e.jsx("button",{onClick:h,className:"chat-widget-btn-secondary",children:"Schedule a Zoom consultation"}),e.jsx("a",{href:t.questionFormUrl,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-gray-500 hover:text-gray-700 text-center mt-2 transition-colors",children:t.offlineLabel}),e.jsx("button",{onClick:d,className:"chat-widget-btn-outline text-sm",children:"Back"})]})}
1function mt({topic:t,playing:a,onPlay:i,onBack:l}){return e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:t.question}),e.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:t.answer}),t.pageLink&&e.jsx("a",{href:t.pageLink,target:"_blank",rel:"noopener noreferrer",className:"chat-widget-btn-primary text-center",children:t.pageLinkText||"Learn more"}),t.youtubeVideoId&&e.jsx("div",{className:"relative aspect-video rounded-lg overflow-hidden bg-gray-100",children:a?e.jsx("iframe",{src:`https://www.youtube.com/embed/${t.youtubeVideoId}?autoplay=1&rel=0`,title:t.question,className:"absolute inset-0 w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):e.jsxs("button",{onClick:i,className:"absolute inset-0 w-full h-full flex items-center justify-center group",children:[e.jsx("img",{src:`https://img.youtube.com/vi/${t.youtubeVideoId}/hqdefault.jpg`,alt:t.question,className:"absolute inset-0 w-full h-full object-cover"}),e.jsx("div",{className:"relative z-10 w-12 h-12 rounded-full bg-red-600 flex items-center justify-center shadow-lg group-hover:bg-red-700 transition-colors",children:e.jsx("svg",{className:"w-5 h-5 text-white ml-0.5",fill:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M8 5v14l11-7z"})})})]})}),t.blogLink&&e.jsx("a",{href:t.blogLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-primary hover:underline",children:t.blogLinkText||"Read our blog post"}),e.jsx("button",{onClick:l,className:"chat-widget-btn-outline text-sm",children:"Back to topics"})]})}const xt=["Visa applicant","Sponsor of visa applicant"],pt=["Brunei","Cambodia","China","Hong Kong","Indonesia","Japan","Korea","Laos","Macau","Malaysia","Myanmar","Philippines","Singapore","Taiwan","Thailand","Timor-Leste","Vietnam","Other"],gt=["Australian Partner Visa","Australian Tourist Visa","Australian Child Visa","Australian temporary parent visa (3 or 5 years)","Citizenship by Descent","Citizenship by Conferral","NZ Citizen Family Relationship Visa"];function ft({firstName:t,lastName:a,email:i,mobile:l,role:x,country:h,visaType:m,situation:d,onFirstNameChange:r,onLastNameChange:w,onEmailChange:s,onMobileChange:o,onRoleChange:u,onCountryChange:b,onVisaTypeChange:g,onSituationChange:T,onSubmit:v,submitting:p,error:j,onBack:M}){return e.jsxs("form",{onSubmit:v,className:"flex flex-col gap-3 overflow-y-auto",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:"Send us a message"}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx("input",{type:"text",placeholder:"First name *",value:t,onChange:c=>r(c.target.value),required:!0,disabled:p,className:"chat-widget-input"}),e.jsx("input",{type:"text",placeholder:"Last name *",value:a,onChange:c=>w(c.target.value),required:!0,disabled:p,className:"chat-widget-input"})]}),e.jsx("input",{type:"email",placeholder:"Email *",value:i,onChange:c=>s(c.target.value),required:!0,disabled:p,className:"chat-widget-input"}),e.jsx("input",{type:"tel",placeholder:"Mobile Number *","aria-label":"Mobile Number",autoComplete:"tel",value:l,onChange:c=>{o(c.target.value),c.target.setCustomValidity(c.target.value?ge(c.target.value)??"":"")},required:!0,maxLength:P,disabled:p,className:"chat-widget-input"}),e.jsxs("select",{value:x,onChange:c=>u(c.target.value),required:!0,disabled:p,className:"chat-widget-input",children:[e.jsx("option",{value:"",disabled:!0,children:"Are you the applicant or sponsor? *"}),xt.map(c=>e.jsx("option",{value:c,children:c},c))]}),e.jsxs("select",{value:h,onChange:c=>b(c.target.value),required:!0,disabled:p,className:"chat-widget-input",children:[e.jsx("option",{value:"",disabled:!0,children:"Where is the visa applicant from? *"}),pt.map(c=>e.jsx("option",{value:c,children:c},c))]}),e.jsxs("select",{value:m,onChange:c=>g(c.target.value),required:!0,disabled:p,className:"chat-widget-input",children:[e.jsx("option",{value:"",disabled:!0,children:"What visa type? *"}),gt.map(c=>e.jsx("option",{value:c,children:c},c))]}),e.jsx("textarea",{placeholder:"What's your situation? What do you want to happen? Anything significant you need to ask or tell us? *",value:d,onChange:c=>T(c.target.value),required:!0,disabled:p,rows:3,className:"chat-widget-input resize-none"}),e.jsx("p",{className:"text-xs text-gray-500 leading-relaxed",children:"Please note: we don't give visa assessments, requirements or costings without a completed asse
1ssment. Every situation is different, and a proper answer needs the details."}),j&&e.jsx("p",{className:"text-xs text-red-600",children:j}),e.jsx("button",{type:"submit",disabled:p,className:"chat-widget-btn-primary",children:p?"Sending...":"Send Request"}),e.jsx("button",{type:"button",onClick:M,disabled:p,className:"chat-widget-btn-outline text-sm",children:"Back to topics"})]})}function wt({question:t,onQuestionChange:a,onSubmit:i,submitting:l,onBack:x}){return e.jsxs("form",{onSubmit:i,className:"flex flex-col gap-3",children:[e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:"Ask a question"}),e.jsx("p",{className:"text-sm text-gray-700",children:"Type your question below and we'll get back to you by email."}),e.jsx("textarea",{placeholder:"Your question *",value:t,onChange:h=>a(h.target.value),required:!0,disabled:l,rows:4,className:"chat-widget-input resize-none"}),e.jsx("button",{type:"submit",disabled:l,className:"chat-widget-btn-primary",children:l?"Sending...":"Send Question"}),e.jsx("button",{type:"button",onClick:x,disabled:l,className:"chat-widget-btn-outline text-sm",children:"Back to topics"})]})}function bt({onBack:t}){return e.jsxs("div",{className:"flex flex-col gap-3 items-center text-center py-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-green-100 flex items-center justify-center",children:e.jsx("svg",{className:"w-6 h-6 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:"Question sent!"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Thanks for your question. Jeff will get back to you by email soon."}),e.jsx("button",{onClick:t,className:"chat-widget-btn-outline text-sm mt-2",children:"Back to topics"})]})}function jt({onBack:t}){return e.jsxs("div",{className:"flex flex-col gap-3 items-center text-center py-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-green-100 flex items-center justify-center",children:e.jsx("svg",{className:"w-6 h-6 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),e.jsx("p",{className:"text-sm font-semibold text-gray-900",children:"Thank you!"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Your message has been sent. Jeff will get back to you soon."}),e.jsx("button",{onClick:t,className:"chat-widget-btn-outline text-sm mt-2",children:"Back to topics"})]})}const de="bridging-two-worlds",ue="/bridging-two-worlds-book",vt="/downloads/bridging-two-worlds.pdf",Nt=["homepage","menu","landing","footer","content"],yt="header, .mega-dropdown, .nav-dropdown, .mobile-navy-section",kt=1800;function he(t){const a=t.closest("[data-book-placement]")?.dataset.bookPlacement;return a&&Nt.includes(a)?a:t.closest(yt)?"menu":t.closest("footer")?"footer":"content"}function me(t,a){const i=JSON.stringify({book:de,eventType:t,placement:a,path:window.location.pathname});try{navigator.sendBeacon?.("/api/book-event",i)||fetch("/api/book-event",{method:"POST",body:i,keepalive:!0})}catch{}const l=window.gtag;typeof l=="function"&&l("event","book_click",{book:de,placement:a,target:t})}function xe(t){const a=t.target?.closest?.("a");if(!a)return;let i;try{i=new URL(a.getAttribute("href")||"",window.location.href)}catch{return}if(i.origin===window.location.origin)if(i.pathname===ue){const l=he(a);window.location.pathname!==ue&&(document.cookie=`sp_book_entry=${l}; path=/; max-age=${kt}; samesite=lax`),me("click_landing",l)}else i.pathname===vt&&me("click_download",he(a))}function Ct(){return document.addEventListener("click",xe,!0),()=>document.removeEventListener("click",xe,!0)}function Et({children:t,siteTitle:a="Down Under Visa",showHeader:i=!0,showFooter:l=!0,showHero:x=!0,showHeroImage:h=!1,showThemeToggle:m=!0,headerTransparent:d=!1,headerSticky:r=!0,hideCta:w=!1,className:s="",variant:o="default",headerProps:u={},footerProps:b={}}){const g=Pe(),T=ze(),v=We(),p=qe(),j=Re(),M=Ve(),c=o!=="default"?o:M,L={showAccentBar:u.showAccentBar??j?.showAccentBar,contactPhone:u.contactPhone||j?.contactPhone,ctaText:u.ctaText||j?.ctaText,ctaLink:u.ctaLink||j?.ctaLink,logo:u.logo||j?.logo,logoDark:u.logoDark||j?.logoDark},O={description:b.description||p?.description,contactEmail:b.contactEmail||p?.contactEmail,contactPhone:b.contactPhone||p?.contactPhone,contactAddress:b.contactAddress||p?.contactAddress,socialLinks:b.socialLinks||p?.socialLinks},N=ie("site-hero"),_=ie("site-cta");return n.useEffect(()=>{const k=C=>{const I=C.target.closest?.("a");if(!I)return;const A=I.getAttribute("href");A&&(A.includes("help-support#contact-form")||A==="#open-chat")&&(C.preventDefault(),window.dispatchEvent(new CustomEvent("open-chat-widget")))};return document.addEventListener("click",k),()=>document.removeEventListener("click",k)},[]),n.useEffect(()=>Ct(),[]),e.jsxs("div",{className:`min-h-screen bg-background flex flex-col ${s}`,children:[i&&e.jsx(Fe,{siteTitle:a,showThemeToggle:m,transparent:d,sticky:r,menuItems:g,mobileMenuItems:v.length>0?v:g,variant:c,...L}),x&&!w&&N&&e.jsx(De,{data:N,showImage:h}),!x&&!w&&N&&e.jsx(Ge,{data:N}),e.jsx("main",{className:"flex-1",children:t}),_&&!w&&e.jsx(Je,{data:_}),l&&e.jsx(st,{siteTitle:a,menuItems:T,variant:c,...O}),e.jsx(lt,{})]})}
1export{At as C,Et as P,nt as T,rt as u};

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.