1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6786],{467:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(17963).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},1374:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>j});var n=r(37876),o=r(14232),a=r(65734),i=r(55128),l=r(38469),s=r(12540),c=r(89099),d=r(68202),u=r(48230),p=r.n(u),m=r(18379),g=r(19909);let b=()=>{let e=window.location.pathname;return`bannerShown_${e}`},f=(0,o.memo)(e=>{let{content:t,banner:r,websiteData:o,handleClose:a,onClick:i}=e,l=(0,c.useRouter)();if(!t?.showCTA)return null;switch(t?.inputType){case"CUSTOM_URL":return(0,n.jsx)(p(),{onClick:()=>{s.uc.CUSTOM_URL?.(t,i,"popup")},href:t?.ctaLink||"#",target:"_blank",rel:"noopener noreferrer",className:"action_btn primary_btn","aria-label":"promo-button-link",children:t?.buttonText});case"PDF_UPLOAD":return(0,n.jsx)(p(),{onClick:()=>{s.uc.PDF_UPLOAD?.(t,i,"popup")},href:t?.ctaLink||"#",target:"_blank",rel:"noopener noreferrer",className:"action_btn primary_btn","aria-label":"promo-button-pdf",children:t?.buttonText||"View PDF"});default:return(0,n.jsx)("button",{className:"action_btn primary_btn cursor-pointer",onClick:()=>{s.uc.BOOK_APPOINTMENT?.(o,i,t,!1,void 0,"popup"),(0,s.qf)(r,o,l),a()},children:t?.buttonText})}});f.displayName="PromoButton";let h=(0,o.memo)(e=>{let{servicePricing:t,websiteData:r,onClick:o}=e,a=(0,c.useRouter)();if(!t?.enabled)return null;switch(t?.ctaType){case"CUSTOM_URL":case"PDF_UPLOAD":return(0,n.jsx)(p(),{onClick:()=>{s.uc.PDF_UPLOAD?.({buttonText:t?.buttonText,ctaLink:t?.ctaLink},o,"popup")},href:t?.ctaLink||"#",target:"_blank",rel:"noopener noreferrer",className:"action_btn outline_btn","aria-label":"service-pricing-button",children:t?.buttonText||"Service Pricing"});default:return(0,n.jsx)("button",{className:"action_btn outline_btn cursor-pointer",onClick:()=>{s.uc.BOOK_APPOINTMENT?.(r,o,{buttonText:t?.buttonText},!1,void 0,"popup"),d.W_.handleRouteChange(a,r,(0,i.WS)(r,g.Nb.BOOK_APPOINTMENT_PAGE))},children:t?.buttonText||"Service Pricing"})}});h.displayName="ServicePricingButton";let y=(0,o.memo)(e=>{let{disclaimer:t,endDate:r}=e;return t?(0,n.jsx)("p",{className:"popup_label",children:`${t}`}):null});y.displayName="DisclaimerText";let E=(0,o.memo)(e=>{let{content:t,banner:r,websiteData:o,handleClose:a,onClick:i}=e;return(0,n.jsxs)("div",{className:"popup_content",children:[(0,n.jsxs)("div",{className:"pop_content_grp",children:[(0,n.jsx)("h2",{className:"popup_title",children:t?.heading||""}),(0,n.jsx)("p",{className:"popup_desc",children:t?.description||""})]}),(0,n.jsxs)("div",{className:"popup_btn_grp",children:[(0,n.jsxs)("div",{className:"flex gap-2 flex-wrap",children:[(0,n.jsx)(f,{content:t,banner:r,websiteData:o,handleClose:a,onClick:i}),(0,n.jsx)(h,{servicePricing:t?.servicePricing,websiteData:o,onClick:i})]}),(0,n.jsx)(y,{disclaimer:t?.disclaimer,endDate:r?.endDate})]})]})});E.displayName="PopupContentComponent";let w=(0,o.memo)(e=>{let{banner:t,websiteData:r,onClick:i}=e,[s,c]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=b();sessionStorage.getItem(e)||c(!0)},[]);let d=()=>{c(!1);let e=b();sessionStorage.setItem(e,"true")},u=t?.content;return(0,n.jsx)(a.lG,{open:s,onOpenChange:d,children:(0,n.jsxs)(a.Cf,{className:"promo_popup z-[2147483647]",children:[(0,n.jsxs)(a.c7,{className:"popup_header",children:[(0,n.jsx)(a.L3,{className:"head_title",children:u?.navText||""}),(0,n.jsx)(a.rr,{})]}),(0,n.jsx)("div",{className:"popup_row",children:(0,n.jsxs)("div",{className:"popup_content_col",children:[(0,n.jsx)(E,{content:u,banner:t,handleClose:d,websiteData:r,onClick:i}),(0,n.jsx)("div",{className:"popup_image_col",children:(0,n.jsx)(l.Ay,{className:"popup_img",src:u?.imageUrl||m.A?.src,alt:"banner-image",height:500,width:500})})]})})]})})});w.displayName="PopUpBanner";let j=w},27153:(e,t,r)=>{"use strict";r.d(t,{JD:()=>n.JD,KS:()=>n.KS,SK:()=>n.SK,hA:()=>n.hA,wd:()=>n.wd});var n=r(23445)},32257:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(17963).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},33037:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(37876),o=r(14232);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t={selectedCardColor:"",iconColor:"",emergencyColor:"",backgroundPattern:"",buttonPrimaryColor:"",buttonSecondaryColor:""};return e&&Object.entries({selectedCardColor:/--selected-card-color:\s*([^;]+)/,iconColor:/--icon-color:\s*([^;]+)/,emergencyColor:/--emergency-color:\s*([^;]+)/,backgroundPattern:/--background-pattern:\s*([^;]+)/,buttonPrimaryColor:/--button-primary-color:\s*([^;]+)/,buttonSecondaryColor:/--button-secondary-color:\s*([^;]+)/}
1).forEach(r=>{let[n,o]=r,a=o.exec(e);a&&(t[n]=a[1].trim())}),t},i=e=>{let{children:t,themeConfiguration:r,websiteData:i}=e;return(0,o.useEffect)(()=>{if(console.log("ThemeWrapper useEffect triggered",r,i),!r)return;let e=a(r?.additionalDetails?.customCss||""),t=e?.buttonPrimaryColor||"#BD000D",n=e?.buttonSecondaryColor||"#003459",o=e?.iconColor||"#EC8046";if(console.log("HERE THEME",i,e,r,["SPEC","SPECIALITY","SPECIALITY"].includes(i?.category||"")),!["MAIN_SITE"].includes(i?.category||"")){let e=document.getElementById("theme-wrapper-styles");e&&e.remove();let r=document.createElement("style");r.id="theme-wrapper-styles";let a="";switch(i?.category){case"SPEC":case"SPECIALITY":a=` 2 .outline-btn { 3 border-color: ${n} !important; 4 color: ${n} !important; 5 } 6 .primary-btn { 7 background-color: ${n} !important; 8 } 9 .red-btn { 10 background-color: ${t} !important; 11 } 12 `,document.head.appendChild(r);break;default:a=` 13 .outline-btn { 14 border-color: ${t} !important; 15 color: ${t} !important; 16 } 17 .primary-btn { 18 background-color: ${t} !important; 19 } 20 .red-btn { 21 background-color: ${n} !important; 22 } 23 `}console.log("APPLIED CSS",a=`:root { --icon-color: ${o}; } 24`+a),r.textContent=a,document.head.appendChild(r)}return()=>{let e=document.getElementById("theme-wrapper-styles");e&&e.remove()}},[r,i]),(0,n.jsx)(n.Fragment,{children:t})}},36524:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(37876);r(14232);var o=r(55128),a=r(69418);function i(e){let{banner:t}=e;return(0,n.jsx)("div",{className:"promo_nav",children:(0,n.jsxs)("div",{className:"promo_nav_content",children:[(0,n.jsx)("div",{className:"promo_icon",children:(0,n.jsx)(a.d,{src:o.Lt[Number(t?.content?.icon||"1")-1]?.image?.src,size:15,colorInherit:!0})}),(0,n.jsx)("div",{className:"promo_text",children:t?.content?.text||""})]})})}},45664:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(37876),o=r(89099),a=r(14232);function i(){let e=(0,o.useRouter)(),[t,r]=(0,a.useState)("");return(0,a.useEffect)(()=>{r(e?.asPath?.split("/")?.pop()||"")},[e]),(0,n.jsx)("div",{"analytics-track-pagetype":t})}},47137:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var n=r(69241);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=n.$,i=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:l}=t,s=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let a=o(t)||o(n);return i[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return a(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...c}[t]):({...l,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},49973:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[page]/[id]",function(){return r(17545)}])},52295:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(37876),o=r(77328),a=r.n(o),i=r(38469),l=r(14232),s=r(594),c=r(10275),d=r(37659),u=r(55128),p=r(98673);function m(e){let{meta:t,icon:r,platformScripts:o,gtmScripts:m,websiteData:g,currentPage:b,detailPage:f,detailData:h,seoConfig:y,oneTrustEnabled:E=!1,isUvc:w=!1}=e,j=t?.title||t?.tags||"UVC",v=t?.description||"United Veterinary Care",C=t?.icon||r||s.A?.src,T=(t?.tags||"")?.split(",").map(e=>e.trim())||[],x=y?.meta||y?.openGraph||y?.twitter||y?.facebook||y?.schema||y?.advanced,A=!x&&y&&"object"==typeof y&&!Array.isArray(y)&&Object.keys(y).some(e=>e.includes(":")||e.includes("_")||"string"==typeof y[e]||"number"==typeof y[e]||"boolean"==typeof y[e]),O=A?Object.fromEntries(Object.entries(y).filter(e=>{let[t,r]=e;return null!=r&&("string"==typeof r?""!==r.trim():"number"==typeof r||"boolean"==typeof r)})):{};console.log("[SetPageHead] SEO Config Analysis:",{seoConfig:y,hasNestedFormat:
24x,isFlatFormat:A,flatFormatKeys:Object.keys(O),flatFormatData:O,seoConfigType:typeof y,seoConfigKeys:y?Object.keys(y):[]});let N=y?.meta||{},_=y?.openGraph||{},S=y?.twitter||{},k=y?.facebook||{},P=y?.schema||{},D=y?.advanced||{},I=D?.canonical||N?.canonical||O?.canonical||t?.additionalDetails?.canonical||"",L=(String(I).match(/href="([^"]*)"/)?.[1]||String(I)).trim(),G=[];Array.isArray(P)?G=P.filter(e=>e&&"object"==typeof e):P&&"object"==typeof P&&(G=P["@context"]||P["@type"]?[P]:Object.values(P).map(e=>{if(!e)return null;if("object"==typeof e)return e;if("string"==typeof e){let t=e.trim();if(!t)return null;try{let e=JSON.parse(t);return e&&"object"==typeof e?e:null}catch{}}return null}).filter(Boolean));let $=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.entries(e).filter(e=>{let[t,r]=e;return"canonical"!==t.toLowerCase()&&r&&String(r).trim()}).map(e=>{let[r,o]=e,a=r.toLowerCase(),i=String(o).trim();if(!i)return null;if(t||a.startsWith("og:")||a.startsWith("property:")){let e=a.startsWith("property:")?a.replace("property:",""):a;return(0,n.jsx)("meta",{property:e,content:i},`prop-${r}`)}return(0,n.jsx)("meta",{name:r,content:i},`name-${r}`)}).filter(Boolean)},M=null;try{M=(0,d.bo)()}catch{}let U=(0,l.useRef)([]),B=(0,l.useRef)([]);(0,l.useEffect)(()=>{let e=m?.results?.scripts?.length>0?m:M?.scripts?.general?.length>0?{results:{scripts:M.scripts.general}}:m;console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ"),console.log("\uD83D\uDCE6 SET_PAGE_HEAD COMPONENT MOUNTED"),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ"),console.log("oneTrustEnabled prop:",E),console.log("typeof oneTrustEnabled:",typeof E),console.log("platformScripts count:",o?.length||0),console.log("gtmScripts (prop) count:",m?.results?.scripts?.length||0),console.log("gtmScripts (context) count:",M?.scripts?.general?.length||0),console.log("finalGtmScripts count:",e?.results?.scripts?.length||0),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ\n"),window.dataLayer||(window.dataLayer=[]);let t=e=>e.includes("googletagmanager.com/gtag/js")||e.includes("gtag(")||e.includes("window.dataLayer"),r=e=>e?._id===u.jw||e?.name===u.tC,n=e=>{if(!e||"string"!=typeof e)return void console.warn("Invalid script content provided to injectGtagScripts");try{let t=new DOMParser().parseFromString(e,"text/html"),r=Array.from(t.querySelectorAll("script")),n=[],o=[];if(r.forEach(e=>{let t=(e.getAttribute("src")||"").trim();if(t.includes("googletagmanager.com/gtag/js"))n.push({src:t,type:e.getAttribute("type")||"",className:e.getAttribute("class")||"",async:e.hasAttribute("async")});else{let t=(e.textContent||"").trim(),r=(e=>{if(!e||!e.includes("&"))return e;let t=document.createElement("textarea"),r=e;for(t.innerHTML=r;t.value!==r;)r=t.value,t.innerHTML=r;return r})(t).replace(/\\\[/g,"[").replace(/\\\]/g,"]").trim();r&&(r.includes("gtag(")||r.includes("dataLayer"))&&o.push({content:r,type:e.getAttribute("type")||"",className:e.getAttribute("class")||""})}}),console.log("[injectGtagScripts] Parsed:",{libraryScripts:n.length,configScripts:o.length}),n.length>0&&!document.querySelector("script[data-consent-defaults]")){let e=document.createElement("script");e.type="text/javascript",e.setAttribute("data-consent-defaults","true"),e.textContent="window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('consent', 'default', {\n 'analytics_storage': 'denied',\n 'ad_storage': 'denied',\n 'ad_user_data': 'denied',\n 'ad_personalization': 'denied',\n 'wait_for_update': 500\n});",document.head.appendChild(e),B.current.push(e),console.log("[injectGtagScripts] Consent Mode v2 defaults injected (all denied)")}let a=()=>
24{o.forEach(e=>{let{content:t,className:r}=e;try{if(!t.trim())return;if(Array.from(document.querySelectorAll('script[data-script-type="gtag-config"]')).some(e=>e.textContent?.trim()===t.trim()))return void console.log("[injectGtagScripts] Skipping duplicate config script");let e=document.createElement("script");e.type="text/javascript",r&&(e.className=r),e.textContent=t,e.setAttribute("data-injected","true"),e.setAttribute("data-script-type","gtag-config"),console.log(`[injectGtagScripts] Config: class=${r||"(none)"}, content=${t.substring(0,60)}...`);try{document.head.appendChild(e),B.current.push(e)}catch(e){console.warn("Skipping gtag config script (invalid content):",e)}}catch(e){console.error("Error injecting gtag config script:",e)}})},i=[];if(n.forEach(e=>{let{src:t,className:r,async:n}=e;try{if(document.querySelector(`script[src="${CSS.escape(t)}"]`))return}catch{}try{let e=document.createElement("script");e.src=t,n&&(e.async=!0),r&&(e.className=r),e.setAttribute("data-injected","true"),e.setAttribute("data-script-type","gtag-library"),console.log(`[injectGtagScripts] Library: src=${t}, class=${r||"(none)"}`),document.head.appendChild(e),B.current.push(e),i.push(e)}catch(e){console.error("Error injecting gtag library script:",e,{src:t})}}),0===i.length)a();else{let e=0,t=()=>{++e===i.length&&a()};i.forEach(e=>{e.addEventListener("load",t),e.addEventListener("error",t)})}}catch(e){console.error("Error parsing gtag scripts:",e)}},a=e=>{if(!e||"string"!=typeof e)return void console.warn("Invalid script content provided to injectRegularScript");try{new DOMParser().parseFromString(e,"text/html").querySelectorAll("script").forEach(e=>{try{let t=document.createElement("script"),r=e.getAttribute("type")||"",n=e.getAttribute("class")||"";t.type=r&&"text/plain"!==r?r:"text/javascript",n&&(t.className=n),e.hasAttribute("async")&&(t.async=!0),e.hasAttribute("defer")&&(t.defer=!0);let o=(e.getAttribute("src")||"").trim();if(o)try{new URL(o,window.location.href),t.src=o}catch{console.warn("Invalid script src URL:",o);return}else{let r=(e.textContent||"").trim();if(!r)return;t.textContent=r}if(!t.src&&(!t.textContent||!t.textContent.trim()))return;t.setAttribute("data-injected","true"),t.setAttribute("data-script-type","regular");try{(document.body||document.head).appendChild(t),B.current.push(t)}catch(e){console.warn("Skipping script injection (invalid content):",e)}}catch(e){console.error("Error injecting regular script:",e)}})}catch(e){console.error("Error parsing regular scripts:",e)}},i=e?.results?.scripts||[];console.log("[Scripts] Site:",w?"UVC":"NON-UVC");let l=new Set;return console.log(`[Scripts] PLATFORM scripts: ${(o||[]).length} total`),(o||[]).forEach(e=>{let o=e?.scriptContent,i=e?.type,s=e?.additionalDetails?.enabled,c=e?.name;("platform_onetrust"!==i||r(e))&&o?.trim()&&!1!==s&&(l.add(o.trim()),r(e)?window.clarity?console.log(" [Platform] Microsoft Clarity: already initialized, skipping"):(console.log(` [Platform] Microsoft Clarity: ${c}`),a(o)):t(o)?(console.log(` [Platform] GTM: ${c}`),n(o)):(console.log(` [Platform] Regular: ${c}`),a(o)))}),console.log(`[Scripts] WEBSITE scripts: ${i.length} total`),i.forEach(e=>{let o=e?.scriptContent,i=e?.additionalDetails?.enabled,s=e?.name||"GTM";if(!1!==i&&o?.trim()){if(l.has(o.trim()))return void console.log(` [Website] SKIP (duplicate): ${s}`);r(e)?window.clarity?console.log(" [Website] Microsoft Clarity: already initialized, skipping"):(console.log(` [Website] Microsoft Clarity: ${s}`),a(o)):t(o)?(console.log(` [Website] GTM: ${s}`),n(o)):(console.log(` [Website] Regular: ${s}`),a(o))}}),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ"),console.log("â
SCRIPT INJECTION COMPLETE"),console.log("âââââââââââââââââââââââââââââââââââââââââââââââââââââââ\n"),()=>{console.log("[Scripts] Component unmounting - keeping scripts for persistence")}},[M?.scripts?.general,o,w]);let W=(0,c.HI)(g,b,f,h),R=Array.isArray(W)?[...W,...G]:G;(0,l.useEffect)(()=>
24(U.current.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),U.current=[],Array.isArray(R)&&R.forEach(e=>{if(e&&"object"==typeof e)try{let t=document.createElement("script");t.type="application/ld+json",t.setAttribute("data-schema-injected","true"),t.text=JSON.stringify(e),document.head.appendChild(t),U.current.push(t)}catch(e){console.error("Error injecting schema script:",e)}}),()=>{U.current.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),U.current=[]}),[R]);let F=$(N,!1),K=$(_,!0),V=$(S,!1),z=$(k,!1),H=(e=>{let t=[];return Object.entries(e).forEach(e=>{let[r,o]=e;if(!o||!String(o).trim())return;let a=r.toLowerCase(),i=String(o).trim();if("canonical"!==a){if(a.startsWith("hreflang:")){let e=a.replace("hreflang:","");t.push((0,n.jsx)("link",{rel:"alternate",hrefLang:e,href:i},`hreflang-${e}`));return}if(a.startsWith("preconnect:")){let e=a.replace("preconnect:","");t.push((0,n.jsx)("link",{rel:"preconnect",href:i},`preconnect-${e}`));return}if(a.startsWith("meta:")){let e=a.replace("meta:","");t.push((0,n.jsx)("meta",{name:e,content:i},`advanced-meta-${r}`));return}t.push((0,n.jsx)("meta",{name:r,content:i},`advanced-${r}`))}}),t})(D),q=[];Object.keys(O).length>0&&Object.entries(O).forEach(e=>{let[t,r]=e;if(null==r||"string"==typeof r&&!r.trim())return;let o=t.toLowerCase(),a="string"==typeof r?r.trim():String(r);if("canonical"!==o)if(o.startsWith("og:"))q.push((0,n.jsx)("meta",{property:t,content:a},`flat-og-${t}`));else if(o.startsWith("twitter:"))q.push((0,n.jsx)("meta",{name:t,content:a},`flat-twitter-${t}`));else if(o.startsWith("facebook:")||o.startsWith("fb:")){let e=t.replace(/^(facebook:|fb:)/,"og:");q.push((0,n.jsx)("meta",{property:e,content:a},`flat-facebook-${t}`))}else q.push((0,n.jsx)("meta",{name:t,content:a},`flat-other-${t}`))});let J=O["og:title"]||O.og_title,Y=O["og:description"]||O.og_description,X=O["twitter:title"]||O.twitter_title,Q=O["twitter:description"]||O.twitter_description,Z=O["facebook:title"]||O.facebook_title||O["fb:title"]||O.fb_title,ee=O["facebook:description"]||O.facebook_description||O["fb:description"]||O.fb_description;Object.keys(O).length>0&&console.log("[SetPageHead] Flat format data detected:",O);let et=Object.keys(O).length>0;return(0,n.jsxs)(a(),{children:[(0,n.jsx)("title",{children:j}),(0,n.jsx)("meta",{name:"description",content:v}),(0,n.jsx)("meta",{property:"og:title",content:et&&(J??Z)||_?.["og:title"]||_?.title||N?.title||j}),(0,n.jsx)("meta",{property:"og:description",content:et&&(Y??ee)||_?.["og:description"]||_?.description||N?.description||v}),(0,n.jsx)("meta",{name:"twitter:title",content:et&&X||S?.["twitter:title"]||S?.title||N?.title||j}),(0,n.jsx)("meta",{name:"twitter:description",content:et&&Q||S?.["twitter:description"]||S?.description||N?.description||v}),(0,n.jsx)("link",{rel:"icon",href:(0,i.xw)(C,"thumbnail")}),L&&(0,n.jsx)("link",{rel:"canonical",href:L}),k?.["facebook-domain-verification"]?(0,n.jsx)("meta",{name:"facebook-domain-verification",content:k["facebook-domain-verification"]}):(0,p.T8)(window.location.hostname)||w?(0,n.jsx)("meta",{name:"facebook-domain-verification",content:"308cvuvnvpzlva2gg553nm51fzj7h5"}):(0,n.jsx)("meta",{name:"facebook-domain-verification",content:"f0s60144x3ayx3v9pxyb7a3tzlrwxy"}),N?.keywords?String(N.keywords).split(",").map(e=>e.trim()).filter(Boolean).map((e,t)=>(0,n.jsx)("meta",{name:"keywords",content:e},`keyword-${t}`)):T.map((e,t)=>(0,n.jsx)("meta",{name:"keywords",content:e},`keyword-${t}`)),F,K,V,z,H,q]})}},62731:(e,t,r)=>{"use strict";r.d(t,{Y:()=>m});var n=r(37876);r(14232);var o=r(67688),a=r(36524),i=r(1374),l=r(18847),s=r.n(l);let c={NotificationBanner:s()(()=>Promise.resolve().then(r.bind(r,36524)),{loadableGenerated:{webpack:()=>[36524]}}),PopUpBanner:s()(()=>Promise.resolve().then(r.bind(r,1374)),{loadableGenerated:{webpack:()=>[1374]}}),Type1SingleEmbedded:s()(()=>r.e(4804).then(r.bind(r,94804)),{loadableGenerated:{webpack:()=>[94804]}}),Type2SingleEmbedded:s()(()=>r.e(8585).then(r.bind(r,88585)),{loadableGenerated:{webpack:()=>[88585]}}),Type3SingleEmbedded:s()(()=>r.e(9449).then(r.bind(r,79449)),{loadableGenerated:{webpack:()=>[79449]}}),Type4SingleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(2682)]).then(r.bind(r,92682)),{loadableGenerated:{webpack:()=>[92682]}}),Type5SingleEmbedded:s()(()=>r.e(3515).then(r.bind(r,43515)),{loadableGenerated:{webpack:()=>[43515]}}),Type1DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(3889)]).then(r.bind(r,33889)),{loadableGenerated:{webpack:()=>[33889]}}),Type2DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(4364)]).then(r.bind(r,1983)),{loadableGenerated:{webpack:()=>[1983]}}),Type3DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(1591)]).then(r.bind(r,81591)),{loadableGenerated:{webpack:()=>[81591]}}),Type4DoubleEmbedded:s()(()=>Promise.all([r.e(2076),r.e(4596)]).then(r.bind(r,84596)),{loadableGenerated:{webpack:()=>[84596]}})};function d(e){let{banner:t,websiteData:r,onClick:a}=e,i=o.O[o.V.EMBEDDED][t?.content?.[0]?.bannerLayoutId||"1"];if(!i)return null;let l=c[i];return(0,n.jsx)(l,{banner:t,websiteData:r,onClick:a})}var u=r(19909),p=r(51930);let m=e=>{let{banners:t,currentPage:r,position:l,type:s,websiteData:c}=e,{TriggerEvents:m}=(0,p.useCarterAnalytics)(),g=e=>{m?.CTA_CLICK({...e,position:s===o.V.EMBEDDED?({1:"header",2:"middle",4:"footer"})[l||1]||"header":void 0})},b=t?.filter(e=>{switch(e?.type){case o.V.POPUP:return s===o.V.POPUP&&e?.triggerPage===r;case o.V.NOTIFICATION:return s===o.V.NOTIFICATION;case o.V.EMBEDDED:return s===o.V.EMBEDDED&&(e?.triggerPage===u.Ho[r]||!e?.triggerPage&&("LANDING_PAGE"===r||r===u.Nb.LANDING_PAGE))&&e?.positions?.includes(l||0);default:return!1}});return console.log(b?.length),(0,n.jsx)(n.Fragment,{children:b?.map((e,t)=>(0,n.jsx)("div",{children:(e=>{switch(e.type){case o.V.NOTIFICATION:return(0,n.jsx)(a.default,{banner:e},e._id);case o.V.POPUP:return(0,n.jsx)(i.default,{banner:e,websiteData:c,onClick:g},e._id);case o.V.EMBEDDED:return(0,n.jsx)(d,{banner:e,websiteData:c,onClick:g},e._id);default:return null}})(e)},`banner_${t}`))})}},67346:(e,t,r)=>{"use strict";r.d(t,{A:()=>
24o});var n=r(14232);function o(e){let{scriptContent:t,enabled:r,cookieSettings:o,cookieList:a}=e,i=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{if(!t||!r)return void console.log("[OneTrust] Disabled or no script content");if(i.current)return void console.log("[OneTrust] Already initialized");if(document.querySelector('script[src*="cookielaw.org/scripttemplates/otSDKStub.js"]')){console.log("[OneTrust] SDK script already exists in DOM"),i.current=!0;return}let e=document.createElement("div");e.innerHTML=t.trim();let n=Array.from(e.querySelectorAll("script"));console.log(`[OneTrust] Found ${n.length} script tag(s) in scriptContent`);let o=n.find(e=>e.getAttribute("src")?.includes("cookielaw.org")),a=n.find(e=>!e.getAttribute("src")&&e.textContent?.includes("OptanonWrapper"));if(!o)return void console.warn("[OneTrust] No OneTrust SDK script tag found in scriptContent");let l=o.getAttribute("data-domain-script");if(!l)return void console.warn("[OneTrust] No data-domain-script attribute found");console.log("[OneTrust] Extracted domain script ID:",l),console.log("[OneTrust] OptanonWrapper found:",!!a);let s=()=>{if(!window.OptanonWrapper){let e=document.createElement("script");e.type="text/javascript",e.textContent="function OptanonWrapper() { if(window.__syncGoogleConsent) window.__syncGoogleConsent(); }",document.head.appendChild(e),console.log("[OneTrust] OptanonWrapper placeholder injected")}let e=document.createElement("script");e.src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",e.setAttribute("data-domain-script",l),e.type="text/javascript",e.charset="UTF-8",Array.from(o.attributes).forEach(t=>{"src"!==t.name&&"data-domain-script"!==t.name&&"type"!==t.name&&e.setAttribute(t.name,t.value)}),e.async=!0,e.defer=!0,e.onload=()=>{console.log("[OneTrust] SDK loaded successfully with domain:",l),i.current=!0;let e=setInterval(()=>{window.OneTrust&&(console.log("[OneTrust] â
window.OneTrust is now available!"),clearInterval(e))},100);setTimeout(()=>{clearInterval(e),window.OneTrust||(console.error("[OneTrust] â window.OneTrust NOT available after 3s - check domain script ID"),console.log("[OneTrust] Domain script ID was:",l),console.log("[OneTrust] This may indicate an invalid OneTrust configuration"))},3e3)},e.onerror=e=>{console.error("[OneTrust] Failed to load SDK:",e)},document.head.appendChild(e),console.log("[OneTrust] SDK script injected into <head>")},c=document.createElement("script");return c.type="text/javascript",c.src=`https://cdn.cookielaw.org/consent/${l}/OtAutoBlock.js`,c.onload=()=>{console.log("[OneTrust] OtAutoBlock.js loaded - GTM scripts will now be controlled"),s()},c.onerror=e=>{console.warn("[OneTrust] OtAutoBlock.js not available (404) - this is OK, proceeding with main SDK."),console.log("[OneTrust] Note: Auto-blocking will be handled by the main OneTrust SDK."),s()},document.head.insertBefore(c,document.head.firstChild),console.log("[OneTrust] OtAutoBlock.js script requested (may gracefully fail if not available)"),()=>{}},[t,r]),(0,n.useEffect)(()=>{if(!r)return;let e=()=>{let e=window.OnetrustActiveGroups||"",t=e.includes("C0002"),r=e.includes("C0004"),n=t;if(!t&&e)try{let t=document.cookie.split(";").find(e=>e.trim().startsWith("OptanonConsent")),o=(t?decodeURIComponent(t.split("=")[1]||""):"").match(/groups=([^&]*)/),a=o?o[1]:"";if(a.includes("C0002:0"))n=!1,console.log("[OneTrust] C0002 explicitly rejected in cookie");else if(a.includes("C0002:1"))n=!0,console.log("[OneTrust] C0002 explicitly accepted in cookie");else{let t=r||e.includes("C0003");n=t,console.log("[OneTrust] C0002 not in consent cookie, inferring from optional groups:",t?"granted":"denied")}}catch{}"function"==typeof window.gtag?(window.gtag("consent","update",{analytics_storage:n?"granted":"denied",ad_storage:r?"granted":"denied",ad_user_data:r?"granted":"denied",ad_personalization:r?"granted":"denied"}),console.log("[OneTrust] Google Consent Mode updated:","analytics_storage="+(n?"granted":"denied"),"ad_storage="+(r?"granted":"denied"),"activeGroups="+e)):console.log("[OneTrust] gtag not available yet, skipping consent update")};window.__syncGoogleConsent=e,window.OptanonWrapper=function(){console.log("[OneTrust] OptanonWrapper fired â syncing consent to Google"),e()};let t=setInterval(()=>{window.OneTrust&&(clearInterval(t),console.log("[OneTrust] SDK ready â performing initial consent sync"),e())},200),n=setTimeout(()=>clearInterval(t),1e4);return()=>{clearInterval(t),clearTimeout(n)}},[r]),(0,n.useEffect)(()=>
24{if(!r)return;let e=(e,t)=>{if(!e)return;let r=document.getElementById(t);if(!r)return void console.warn(`[OneTrust] Container ${t} not found, will retry...`);if(r.querySelector("[data-onetrust-button]"))return;let n=document.createElement("div");n.innerHTML=e.trim();let o=n.firstElementChild;o&&(o.setAttribute("data-onetrust-button","true"),r.appendChild(o),console.log(`[OneTrust] Injected button into ${t}`))},t=()=>{o&&e(o,"onetrust-cookie-settings-container"),a&&e(a,"onetrust-cookie-list-container")};t();let n=setTimeout(t,1e3);return()=>clearTimeout(n)},[o,a,r]),null}},67684:(e,t,r)=>{"use strict";r.d(t,{G:()=>n.A});var n=r(45691)},67688:(e,t,r)=>{"use strict";r.d(t,{O:()=>o,V:()=>n});let n={NOTIFICATION:"NOTIFICATION",POPUP:"POPUP",EMBEDDED:"EMBEDDED"},o={[n.NOTIFICATION]:{1:"Notification"},[n.POPUP]:{1:"Popup"},[n.EMBEDDED]:{1:"Type1SingleEmbedded",2:"Type2SingleEmbedded",3:"Type3SingleEmbedded",4:"Type4SingleEmbedded",5:"Type5SingleEmbedded",6:"Type1DoubleEmbedded",7:"Type2DoubleEmbedded",8:"Type3DoubleEmbedded",9:"Type4DoubleEmbedded"}}},73305:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(17963).A)("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"}]])},77328:(e,t,r)=>{e.exports=r(29269)},77726:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(37876),o=r(14232),a=r(68318),i=r(78037);function l(e){let{error:t,websiteData:r,type:l,children:s}=e,[c,d]=(0,o.useState)(!1),[u,p]=(0,o.useState)("general");return((0,o.useEffect)(()=>{let e=!!t,n=!r||!r?.name||!r?.slug,o="published"===l&&r?.status!=="PUBLISHED";console.log("[ErrorRedirectWrapper] Checking conditions:",{hasError:e,isInvalidWebsite:n,isUnpublished:o,error:t,websiteDataExists:!!r,websiteName:r?.name,websiteSlug:r?.slug,websiteStatus:r?.status,type:l}),(e||n||o)&&(console.log("[ErrorRedirectWrapper] Triggering redirect due to:",{hasError:e,isInvalidWebsite:n,isUnpublished:o}),p((0,i.Po)(t,r,l)),d(!0))},[t,r,l]),c)?(0,n.jsx)(a.A,{errorType:u,delay:3e3}):(0,n.jsx)(n.Fragment,{children:s})}},80171:(e,t,r)=>{"use strict";r.d(t,{b:()=>n.A});var n=r(73305)},98286:(e,t,r)=>{"use strict";r.d(t,{Jl:()=>n.A,c_:()=>o.A,jl:()=>a.A});var n=r(32257),o=r(29053),a=r(467)},98445:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(37876),o=r(14232),a=r(48230),i=r.n(a),l=r(55128),s=r(68202),c=r(19909),d=r(38469),u=r(67684);function p(e){let{data:t,websiteData:r,displayNameMap:a,currentPage:p}=e,[m,g]=(0,o.useState)(!1),[b,f]=(0,o.useState)(!1),h=(0,o.useRef)(null),y=(0,o.useRef)(null);(0,o.useEffect)(()=>{if(!m)return;let e=e=>{let t=e.target;h.current&&!h.current.contains(t)&&y.current&&!y.current.contains(t)&&g(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[m]),(0,o.useEffect)(()=>{let e=()=>f(window.scrollY>20);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let E=e=>r?.pagesAndSections?.some(t=>t?.name===e&&t?.enabled),w=e=>s.W_.enrichRoute(r,(0,l.WS)(r,e)),j=r?.logo?.fileUrl||"",v=r?.pagesAndSections?.find(e=>e?.name==="landing-page")?.sections?.["emergency-branches"]||{},C=[{page:c.Nb.ABOUT_US_PAGE,label:a?.[c.Nb.ABOUT_US_PAGE]||"About"},{page:c.Nb.LOCATIONS_PAGE,label:a?.[c.Nb.LOCATIONS_PAGE]||"Locations"},{page:c.Nb.CAREER_PAGE,label:a?.[c.Nb.CAREER_PAGE]||"Careers"}],T=E(c.Nb.CONTACT_US_PAGE)?w(c.Nb.CONTACT_US_PAGE):"#",x=a?.[c.Nb.CONTACT_US_PAGE]||"Contact Us";return(0,n.jsx)("header",{className:`uvc-header${b?" scrolled":""}`,children:(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("div",{className:"header-row",children:[(0,n.jsx)(i(),{href:s.W_.enrichRoute(r,""),className:"logo-wrpr",children:j?(0,n.jsx)(d.$E,{src:j,alt:r?.name||"Logo",className:"main-logo",width:200,height:200,objectFit:"contain",objectPosition:"left"}):(0,n.jsx)("span",{className:"main-logo"})}),(0,n.jsxs)("button",{ref:y,className:`hamburger${m?" active":""}`,id:"hamburger","aria-label":"Toggle menu",onClick:()=>g(e=>!e),children:[(0,n.jsx)("span",{className:"hamburger-line"}),(0,n.jsx)("span",{className:"hamburger-line"}),(0,n.jsx)("span",{className:"hamburger-line"})]}),(0,n.jsxs)("div",{ref:h,className:`menu-wrpr${m?" active":""}`,children:[(0,n.jsxs)("ul",{className:"nav-list",children:[C.map(e=>{let{page:t,label:r}=e;return E(t)?(0,n.jsx)("li",{className:"nav-item",children:(0,n.jsx)(i(),{onClick:()=>g(!1),href:w(t),className:`uvc-nav-link${p===t?" active":""}`,children:r})},t):null}),v?.enabled&&v?.data?.careersPage?.link?(0,n.jsx)("li",{className:"nav-item",children:(0,n.jsxs)("a",{href:v.data.careersPage.link,target:"_blank",rel:"noopener noreferrer",className:`uvc-nav-link${p===c.Nb.CAREER_PAGE?" active":""}`,children:["Careers ",(0,n.jsx)(u.G,{size:16,className:"external-link"})]})}):null]}),(0,n.jsx)("div",{className:"header-btn",children:(0,n.jsx)(i(),{href:T,onClick:()=>g(!1),className:"btn primary-btn",children:x})})]})]})})})}}}]);
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.