1import{m as j,bA as K,bi as l,D as d,cA as n,H as o,F as V,bx as S,b3 as R,V as m,b0 as O,O as x,bH as c,G as _,z as g,ci as U,cg as G,c3 as Q,bF as J,cx as W,Q as i,i as z,cC as X,B as h,bL as Y,bv as M}from"./CkVD-1tV.js";import{u as Z}from"./CCKStMYh.js";import{V as I}from"./ickEthIg.js";import{_ as ee}from"./E9oG0m1U.js";import{V as te,c as le,b as ae}from"./B0_RzZ7x.js";import{V as ne}from"./Df5uQzz4.js";import{V as H}from"./D27_s-RG.js";import{V as F}from"./C7y4WI3W.js";import{V as re}from"./DZTWlpkD.js";import"./VsviBGpC.js";import"./eCw_zDBf.js";import"./CSFlCIy5.js";import"./B1LVZmWs.js";import"./DuIWmtru.js";import"./dSRA63UF.js";import"./DUnKfibO.js";import"./BFw7GWhr.js";import"./D_qxKlPu.js";import"./DVu2tPcN.js";import"./BSI5kfSp.js";import"./CbCnu-B5.js";import"./ChBbW3eN.js";import"./F7-s_GxO.js";const se=Object.assign({name:"MobileMenuRecursive"},{__name:"NavigationMobileMenuRecursive",props:{navItems:{type:Array,default:()=>[]},nestingLevel:{type:Number,default:1},currentPath:{type:String,default:""}},setup(y){const v=y,p=g(()=>Number.isFinite(v.nestingLevel)?v.nestingLevel:1),C=g(()=>p.value>2),A=(s,r)=>(s?.sort??0)-(r?.sort??0),B=g(()=>(Array.isArray(v.navItems)?v.navItems.filter(Boolean):[]).slice().sort(A).map((r,b)=>({id:r.id??r.slug??r.title??`lvl${p.value}-${b}`,title:String(r.title??"").trim(),link:String(r.link??"").trim(),newTab:!!(r.new_tab||r.newTab||r.target==="_blank"),children:Array.isArray(r.children)?r.children.filter(Boolean):[]}))),N=s=>({class:["capitalize","text-swiftblue",{"nav-italic":C.value}],variant:"text",href:s.link||void 0,target:s.newTab?"_blank":null});return(s,r)=>{const b=K("MobileMenuRecursive",!0);return l(),d(I,{class:"swiftblue--text mobile-nav-hamburger"},{default:n(()=>[(l(!0),o(V,null,S(B.value,u=>(l(),o("div",{key:u.id,class:R([`pl-${p.value*3}`,`nav-link-level-${p.value}`])},[u.link!==y.currentPath?(l(),o(V,{key:0},[u.link?(l(),d(m,O({key:0,ref_for:!0},N(u),{href:u.link}),{default:n(()=>[x(c(u.title),1)]),_:2},1040,["href"])):(l(),o("div",{key:1,class:R(["capitalize text-swiftblue",{"nav-italic":C.value}])},c(u.title),3))],64)):_("",!0),u.children.length&&p.value<5?(l(),d(b,{key:1,"nav-items":u.children,"nesting-level":p.value+1,"current-path":y.currentPath},null,8,["nav-items","nesting-level","current-path"])):_("",!0)],2))),128))]),_:1})}}}),oe=j(se,[["__scopeId","data-v-50e56d24"]]),ie={class:"mobile-menu"},ue={key:0,class:"mt-2 mb-7"},ce={class:"menu-button"},de={class:"menu-button"},pe={class:"menu-button"},fe=["href","target","rel"],ve={key:2,class:"main-nav-link"},me=["aria-expanded","onClick"],he={key:0},be={key:2,class:"mt-7"},ke={class:"menu-button"},_e={class:"menu-button"},ge={class:"menu-button"},ye=Object.assign({name:"MobileMenu"},{__name:"NavigationMobileMenu",props:{navData:{type:Array,default:()=>[]},topButtons:{type:Array,default:()=>[]}},setup(y){const v=y,p=U(),C=G(),A=Q(),B=Z(),{interactionData:N}=J(A),s=M(null),r=M(!1),b=M(""),u=M([{text:"Employee Login",url:"/employee-login",newTab:!1},{text:"Contact Us",url:"/contact-us",newTab:!1}]),$=(a,t)=>(a?.sort??0)-(t?.sort??0),T=a=>/^https?:\/\//i.test(String(a||"").trim()),D=g(()=>(Array.isArray(v.topButtons)?v.topButtons.filter(Boolean):[]).slice().sort($).map((a,t)=>({id:a.id??a.slug??a.text??`top-${t}`,text:String(a.text??"").trim(),path:String(a.button_path??a.link??"").trim(),newTab:!!(a.new_tab||a.newTab||a.target==="_blank")}))),P=g(()=>Array.isArray(v.navData)?v.navData.filter(Boolean):[]),w=g(()=>P.value.flatMap(t=>Array.isArray(t?.children)?t.children.filter(Boolean):[]).slice().sort($).map((t,e)=>({id:t.id??t.slug??t.title??`main-${e}`,title:String(t.title??"").trim(),link:String(t.link??"").trim(),newTab:!!(t.new_tab||t.newTab||t.target==="_blank"),children:Array.isArray(t.children)?t.children.filter(Boolean):[]})));W(()=>N.value?.isHamburgerActive,a=>{r.value=!!a},{immediate:!0});const f=()=>{A.setHamburgerActive(!1)},q=async()=>{f(),C.path==="/"?B.incrementNavKey():await p.push("/")},L=async()=>{const a=String(b.value||"").trim();a&&(await p.push({path:"/search",query:{query:a}}),f())},E=async a=>{const t=w.value[a];if(!t)return;if(t.children.length>0){s.value=s.value===a?null:a;return}t.link&&(T(t.link)?window.location.href=t.link:await p.push(t.link),f())};return(a,t)=>(l(),o("div",ie,[i(re,{id:"hamburger",modelValue:r.value,"onUpdate:modelValue":t[1]||(t[1]=e=>r.value=e),fullscreen:"",width:"500",style:{"z-index":"99999"},class:"rounded-0 nav-menu-mobile"},{default:n(()=>[i(te,null,{default:n(()=>[i(le,{class:"text-h5 white lighten-2 d-flex justify-space-between align-center"},{default:n(()=>[i(m,{variant:"text",icon:"",size:"large",ripple:!1,onClick:q},{default:n(()=>[i(z,{size:"x-large",color:"swiftblue"},{default:n(()=>[...t[2]||(t[2]=[x("mdi-home",-1)])]),_:1})]),_:1}),i(m,{variant:"text",icon:"",size:"large",ripple:!1,onClick:f},{default:n(()=>[i(z,{size:"x-large",color:"swiftblue"},{default:n(()=>[...t[3]||(t[3]=[x("mdi-close",-1)])]),_:1})]),_:1})]),_:1}),i(ae,null,{default:n(()=>[i(ne,{modelValue:b.value,"onUpdate:modelValue":t[0]||(t[0]=e=>b.value=e),class:"text-left mt-3",placeholder:"Search...",color:"swiftblue",variant:"outlined","append-inner-icon":"mdi-magnify","x-large":"",onBlur:L,onKeyup:X(L,["enter"])},null,8,["modelValue"]),D.value.length?(l(),o("div",ue,[i(H,null,{default:n(()=>[(l(!0),o(V,null,S(D.value,e=>(l(),d(F,{key:e.id,cols:"4"},{default:n(()=>[e.path&&!T(e.path)?(l(),d(m,{key:0,class:"ul-btn",variant:"outlined",rounded:"",block:"",color:"swiftblue",to:e.path,onClick:f},{default:n(()=>[h("span",ce,c(e.text),1)]),_:2},1032,["to"])):e.path?(l(),d(m,{key:1,class:"ul-btn",variant:"outlined",rounded:"",block:"",color:"swiftblue",href:e.path,target:e.newTab?"_blank":null,rel:e.newTab?"noopener noreferrer":null,onClick:f},{default:n(()=>[h("span",de,c(e.text),1)]),_:2},1032,["href","target","rel"])):(l(),d(m,{key:2,class:"ul-btn",variant:"outlined",rounded:"",block:"",color:"swiftblue",disabled:""},{default:n(()=>[h("span",pe,c(e.text),1)]),_:2},1024))]),_:2},1024))),128))]),_:1})])):_("",!0),w.value.length?(l(!0),o(V,{key:1},S(w.value,(e,k)=>(l(),o("div",{key:e.id,class:"my-1"},[h("div",{class:R(["d-flex justify-space-between main-nav-row rounded-lg",s.value===k?"row-active":"row-default"])},[e.link&&!T(e.link)?(l(),d(Y(ee),{key:0,to:e.link,class:"main-nav-link",onClick:f},{default:n(()=>
1[x(c(e.title),1)]),_:2},1032,["to"])):e.link?(l(),o("a",{key:1,href:e.link,class:"main-nav-link",target:e.newTab?"_blank":null,rel:e.newTab?"noopener noreferrer":null,onClick:f},c(e.title),9,fe)):(l(),o("span",ve,c(e.title),1)),e.children.length?(l(),o("button",{key:3,class:"expand-btn",type:"button","aria-label":"Toggle submenu","aria-expanded":s.value===k,onClick:we=>E(k)},[i(z,{class:"expand-icon",size:"24"},{default:n(()=>[x(c(s.value===k?"mdi-minus":"mdi-plus"),1)]),_:2},1024)],8,me)):_("",!0)],2),s.value===k?(l(),o("div",he,[i(oe,{"nav-items":w.value[s.value]?.children||[],"nesting-level":1,"current-path":w.value[s.value]?.link||""},null,8,["nav-items","current-path"])])):_("",!0)]))),128)):_("",!0),t[4]||(t[4]=h("div",{class:"mt-2 mb-7"},null,-1)),u.value.length?(l(),o("div",be,[i(H,null,{default:n(()=>[(l(!0),o(V,null,S(u.value,(e,k)=>(l(),d(F,{key:`mm-bottom-buttons-${k}`,cols:"6"},{default:n(()=>[e.url&&!T(e.url)?(l(),d(m,{key:0,variant:"outlined",rounded:"",block:"",color:"swiftblue",to:e.url,onClick:f},{default:n(()=>[h("span",ke,c(e.text),1)]),_:2},1032,["to"])):e.url?(l(),d(m,{key:1,variant:"outlined",rounded:"",block:"",color:"swiftblue",href:e.url,target:"_self",onClick:f},{default:n(()=>[h("span",_e,c(e.text),1)]),_:2},1032,["href"])):(l(),d(m,{key:2,variant:"outlined",rounded:"",block:"",color:"swiftblue",disabled:""},{default:n(()=>[h("span",ge,c(e.text),1)]),_:2},1024))]),_:2},1024))),128))]),_:1})])):_("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])]))}}),Ge=j(ye,[["__scopeId","data-v-01450c25"]]);export{Ge 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.