1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2357,9726],{7803:(e,t,n)=>{n.d(t,{A:()=>eF});var o=n(37876),i=n(14232),s=n(62731),a=n(19909),r=n(67688),c=n(18847),l=n.n(c),d=n(94495),p=n(9025),u=n(56048),m=n(16812),b=n(16893),g=n(18524),A=n(72410),h=n(86091),f=n(78496),w=n(44226),y=n(51879),v=n(37620),k=n(52858),G=n(23944),C=n(71359),T=n(35453),E=n(29271),O=n(76435),P=n(3191),D=n(21531),I=n(37253),N=n(79657),S=n(97094),x=n(87737),_=n(67532),j=n(23303),M=n(13196),L=n(67787),q=n(63226),W=n(42206),R=n(67676),B=n(43974),$=n(79145),K=n(75972),F=n(89753),U=n(81218),J=n(93973),Y=n(39772),H=n(8820);let V=()=>(0,o.jsx)("div",{className:"w-full min-h-[200px] flex items-center justify-center",children:(0,o.jsx)("div",{className:"w-8 h-8 border-3 border-gray-300 border-t-gray-600 rounded-full animate-spin"})}),z=l()(()=>Promise.all([n.e(2076),n.e(3663)]).then(n.bind(n,3663)),{loadableGenerated:{webpack:()=>[3663]},ssr:!1,loading:V}),Q=l()(()=>n.e(6100).then(n.bind(n,83719)),{loadableGenerated:{webpack:()=>[83719]},ssr:!1,loading:V}),X=l()(()=>n.e(2235).then(n.bind(n,52235)),{loadableGenerated:{webpack:()=>[52235]},ssr:!0}),Z=l()(()=>Promise.all([n.e(2076),n.e(8781)]).then(n.bind(n,8781)),{loadableGenerated:{webpack:()=>[8781]},ssr:!0}),ee=l()(()=>n.e(9067).then(n.bind(n,49067)),{loadableGenerated:{webpack:()=>[49067]},ssr:!0}),et=l()(()=>n.e(5397).then(n.bind(n,35397)),{loadableGenerated:{webpack:()=>[35397]},ssr:!0}),en=l()(()=>n.e(3863).then(n.bind(n,3863)),{loadableGenerated:{webpack:()=>[3863]},ssr:!1,loading:V}),eo=l()(()=>n.e(5778).then(n.bind(n,95778)),{loadableGenerated:{webpack:()=>[95778]},ssr:!0}),ei=l()(()=>n.e(2076).then(n.bind(n,82039)),{loadableGenerated:{webpack:()=>[82039]},ssr:!0}),es=l()(()=>n.e(4145).then(n.bind(n,14145)),{loadableGenerated:{webpack:()=>[14145]},ssr:!1,loading:V}),ea=l()(()=>n.e(1975).then(n.bind(n,21975)),{loadableGenerated:{webpack:()=>[21975]},ssr:!1,loading:V}),er=l()(()=>Promise.resolve().then(n.bind(n,23802)),{loadableGenerated:{webpack:()=>[23802]},ssr:!1,loading:V}),ec=l()(()=>Promise.all([n.e(2076),n.e(4636)]).then(n.bind(n,44636)),{loadableGenerated:{webpack:()=>[44636]},ssr:!0}),el=l()(()=>Promise.resolve().then(n.bind(n,16601)),{loadableGenerated:{webpack:()=>[16601]},ssr:!1,loading:V}),ed=l()(()=>n.e(9082).then(n.bind(n,49082)),{loadableGenerated:{webpack:()=>[49082]},ssr:!0});l()(()=>Promise.resolve().then(n.bind(n,13995)),{loadableGenerated:{webpack:()=>[13995]},ssr:!1,loading:V});let ep=l()(()=>n.e(241).then(n.bind(n,10241)),{loadableGenerated:{webpack:()=>[10241]},ssr:!1,loading:V}),eu=l()(()=>n.e(8790).then(n.bind(n,18790)),{loadableGenerated:{webpack:()=>[18790]},ssr:!1,loading:V}),em=l()(()=>Promise.resolve().then(n.bind(n,94110)),{loadableGenerated:{webpack:()=>[94110]},ssr:!0}),eb=l()(()=>n.e(7006).then(n.bind(n,97006)),{loadableGenerated:{webpack:()=>[97006]},ssr:!0}),eg=l()(()=>Promise.resolve().then(n.bind(n,42690)),{loadableGenerated:{webpack:()=>[42690]},ssr:!0}),eA=l()(()=>Promise.resolve().then(n.bind(n,53247)),{loadableGenerated:{webpack:()=>[53247]},ssr:!0}),eh=l()(()=>Promise.all([n.e(2076),n.e(6525)]).then(n.bind(n,26525)),{loadableGenerated:{webpack:()=>[26525]},ssr:!1,loading:V}),ef=l()(()=>Promise.all([n.e(2076),n.e(7907)]).then(n.bind(n,87907)),{loadableGenerated:{webpack:()=>[87907]},ssr:!1,loading:V}),ew=l()(()=>n.e(8902).then(n.bind(n,98902)),{loadableGenerated:{webpack:()=>[98902]},ssr:!0}),ey=l()(()=>n.e(654).then(n.bind(n,70654)),{loadableGenerated:{webpack:()=>[70654]},ssr:!0}),ev=l()(()=>n.e(2305).then(n.bind(n,32305)),{loadableGenerated:{webpack:()=>[32305]},ssr:!0}),ek=l()(()=>Promise.resolve().then(n.bind(n,34772)),{loadableGenerated:{webpack:()=>[34772]},ssr:!1,loading:V}),eG=l()(()=>n.e(9893).then(n.bind(n,49893)),{loadableGenerated:{webpack:()=>[49893]},ssr:!1,loading:V}),eC=l()(()=>n.e(7738).then(n.bind(n,77738)),{loadableGenerated:{webpack:()=>[77738]},ssr:!0}),eT=l()(()=>n.e(2742).then(n.bind(n,42742)),{loadableGenerated:{webpack:()=>[42742]},ssr:!0}),eE=l()(()=>Promise.all([n.e(2076),n.e(5279)]).then(n.bind(n,75279)),{loadableGenerated:{webpack:()=>[75279]},ssr:!0}),eO=l()(()=>n.e(9911).then(n.bind(n,22292)),{loadableGenerated:{webpack:()=>[22292]},ssr:!0}),eP=l()(()=>n.e(3719).then(n.bind(n,6100)),{loadableGenerated:{webpack:()=>[6100]},ssr:!0}),eD=l()(()=>n.e(8453).then(n.bind(n,58453)),{loadableGenerated:{webpack:()=>[58453]}
1,ssr:!1,loading:V}),eI=l()(()=>Promise.all([n.e(2076),n.e(1435)]).then(n.bind(n,71435)),{loadableGenerated:{webpack:()=>[71435]},ssr:!0}),eN=l()(()=>n.e(2783).then(n.bind(n,62783)),{loadableGenerated:{webpack:()=>[62783]},ssr:!0}),eS=l()(()=>n.e(7677).then(n.bind(n,67677)),{loadableGenerated:{webpack:()=>[67677]},ssr:!1,loading:V}),ex=l()(()=>n.e(3154).then(n.bind(n,13154)),{loadableGenerated:{webpack:()=>[13154]},ssr:!1,loading:V}),e_=l()(()=>n.e(4227).then(n.bind(n,4227)),{loadableGenerated:{webpack:()=>[4227]},ssr:!1}),ej={"hero-section":ec,"cta-bar":et,"why-us-section":eu,"contact-us-section":el,"our-services-section":eh,"our-teams-section":ep,"testimonials-section":es,"more-clinics-section":ea,"faq-section":er,"landing-page-about-us-section":ed,"video-section":em,"blogs-section":eb,"news-section":ey,"teams-page-section":eg,"service-page-section":eA,"our-history-section":ev,"about-video-section":ek,"embedded-reviews-section":eG,"careers-section":eC,"book-appointment-section":eT,"download-app-section":eE,"policy-section":eO,"form-section":eP,"payment-information-section":eI,"payment-section-2":eN,"payment-section-3":eS,"payment-section-4":ex,"referral-hero-section":d.A,"referral-info-section-1":p.A,"referral-info-section-2":p.A,"referral-info-section-3":p.A,"referral-embedded-section":u.A,"referral-policies-section":m.A,"accreditation-hero-section":d.A,"accreditation-section-1":p.A,"accreditation-section-2":ed,"accreditation-section-3":b.A,"accreditation-section-4":p.A,"accreditation-video-section":ek,"resources-community-events-section":g.A,"home-care-hero-section":d.A,"home-care-pointer-section":g.A,"faq-page-section":g.A,"payment-section-6":A.A,"payment-section-5":h.A,"accreditation-certificate-section":f.A,"training-mentorship-section":w.A,"travel-planning-hero-section":eI,"travel-planning-location-section":y.A,"travel-planning-ribbon-section":k.A,"travel-planning-todo-section":v.A},eM={"hero-section":Z,"cta-bar":et,"why-us-section":eu,"contact-us-section":el,"our-services-section":eh,"our-teams-section":ep,"testimonials-section":es,"more-clinics-section":ea,"faq-section":er,"landing-page-about-us-section":ed,"video-section":em,"blogs-section":eb,"teams-page-section":eg,"service-page-section":eA,"our-history-section":ev,"about-video-section":ek,"embedded-reviews-section":eG,"careers-section":eC,"book-appointment-section":eT,"download-app-section":eE,"news-section":ey,"policy-section":eO,"form-section":eP,"payment-information-section":eI,"payment-section-2":eN,"payment-section-3":eS,"payment-section-4":ex,"referral-hero-section":d.A,"referral-info-section-1":p.A,"referral-info-section-2":p.A,"referral-info-section-3":p.A,"referral-embedded-section":u.A,"referral-policies-section":m.A,"accreditation-hero-section":d.A,"accreditation-section-1":p.A,"accreditation-section-2":ed,"accreditation-section-3":b.A,"accreditation-section-4":p.A,"accreditation-video-section":ek,"resources-community-events-section":g.A,"home-care-hero-section":d.A,"home-care-pointer-section":g.A,"faq-page-section":g.A,"payment-section-6":A.A,"payment-section-5":h.A,"accreditation-certificate-section":f.A,"training-mentorship-section":w.A,"travel-planning-hero-section":eI,"travel-planning-location-section":y.A,"travel-planning-ribbon-section":k.A,"travel-planning-todo-section":v.A},eL={"hero-section":ec,"cta-bar":et,"why-us-section":en,"contact-us-section":el,"our-services-section":ef,"our-teams-section":ep,"testimonials-section":es,"landing-page-about-us-section":ed,"more-clinics-section":ea,"faq-section":er,"video-section":em,"blogs-section":eb,"teams-page-section":eg,"spec-why-us-section":eu,"service-page-section":ew,"our-history-section":ev,"about-video-section":ek,"embedded-reviews-section":eG,"careers-section":eC,"book-appointment-section":eT,"download-app-section":eE,"news-section":ey,"policy-section":eO,"form-section":eP,"payment-information-section":eI,"payment-section-2":eN,"payment-section-3":eS,"payment-section-4":ex,"referral-hero-section":d.A,"referral-info-section-1":p.A,"referral-info-section-2":p.A,"referral-info-section-3":p.A,"referral-embedded-section":u.A,"referral-policies-section":m.A,"accreditation-hero-section":d.A,"accreditation-section-1":p.A,"accreditation-section-2":ed,"accreditation-section-3":b.A,"accreditation-section-4":p.A,"accreditation-video-section":ek,"resources-community-events-section":g.A,"home-care-hero-section":d.A,"home-care-pointer-section":g.A,"faq-page-section":g.A,"payment-section-6":A.A,"payment-section-5":h.A,"accreditation-certificate-section":f.A,"training-mentorship-section":w.A,"travel-planning-hero-section":eI,"travel-planning-location-section":y.A,"travel-planning-ribbon-section":k.A,"travel-planning-todo-section":v.A},eq={"hero-section":Z,"cta-bar":et,"why-us-section":en,"contact-us-section":G.A,"our-services-section":z,"flexible-service-section":C.A,"multi-gallery-section":ed,"our-teams-section":ep,"testimonials-section":es,"faq-section":er,"video-section":em,"blogs-section":eb,"news-section":ey,"teams-page-section":eg,"service-page-section":X,"about-us-hero-section":T.A,"about-video-section":ek,"about-our-story-section":p.A,"about-us-section-3":b.A,"about-us-certificate-section":f.A,"about-us-cards-section":E.A,"embedded-reviews-section":eG,"careers-section":eC,"book-appointment-section":eT,"download-app-section":eE,"policy-section":eO,"form-section":eP,"payment-information-section":eI,"payment-section-2":eN,"payment-section-3":eS,"payment-section-4":ex,"referral-hero-section":d.A,"referral-info-section-1":p.A,"referral-info-section-2":p.A,"referral-info-section-3":p.A,"referral-embedded-section":u.A,"referral-policies-section":m.A,"accreditation-hero-section":d.A,"accreditation-section-1":p.A,"accreditation-section-2":ed,"accreditation-section-3":b.A,"accreditation-section-4":p.A,"accreditation-video-section":ek,"resources-community-events-section":g.A,"home-care-hero-section":d.A,"home-care-pointer-section":g.A,"faq-page-section":g.A,"payment-section-6":A.A,"payment-section-5":h.A,"accreditation-certificate-section":f.A,"training-mentorship-section":w.A,"travel-planning-hero-section":eI,"travel-planning-location-section":y.A,"travel-planning-ribbon-section":k.A,"travel-planning-todo-section":v.A,"travel-planning-refer-section":p.A,"community-event-hero-section":d.A,"community-event-pointer-section":g.A,"how-we-roll-section-1":Q,"how-we-roll-section-2":Q},eW={"hero-section":ee,"location-bar-section":O.A,"logo-brand-section":P.A,"main-why-us-section":eo,"our-mission-section":D.A,"contact-form-section":I.A,"main-site-testimonial-section":N.A,"hospital-near-you-section":e_,"main-site-about-hero-section":S.A,"main-site-about-section-2":x.A,"main-site-about-section-3":_.A,"main-site-about-section-4":j.A,"main-site-about-section-5":M.A,"main-site-about-section-6":L.A,"careers-hero-section":q.A,"careers-section-2":W.A,"careers-section-3":R.A,"careers-section-4":B.A,"careers-section-5":j.A,"careers-section-6":$.A,"career-search-section":K.A,"careers-section-7":I.A,"main-site-location-section":F.A,"main-site-location-section-2":U.A,"main-site-contact-hero-section":S.A,"main-site-contact-section-2":J.A,"main-site-contact-form-section":Y.A,"main-site-contact-faq-section":H.A,"policy-section":eO},eR={[a.WJ.GP]:{"hero-section":Z,"cta-bar":et,"why-us-section":en,"contact-us-section":eD,"our-services-section":ei,"our-teams-section":ep,"testimonials-section":es,"more-clinics-section":ea,"faq-section":er,"video-section":em,"blogs-section":eb,"news-section":ey,"teams-page-section":eg,"service-page-section":eA,"our-history-section":ev,"about-video-section":ek,"embedded-reviews-section":eG,"careers-section":eC,"book-appointment-section":eT,"download-app-section":eE,"policy-section":eO,"form-section":eP,"payment-information-section":eI,"payment-section-2":eN,"payment-section-3":eS,"payment-section-4":ex},[a.WJ.ER]:ej,[a.WJ.ERP]:eM,[a.WJ.SPEC]:eL,[a.WJ.MULTI_SITE]:eq,[a.WJ.MAIN_SITE]:eW};function eB(e){let{section:t,template:n,websiteData:i,sectionData:s,page:a,filters:r}=e,c=eR[n]?.[t?.name];return c?(0,o.jsx)(c,{section:t?.name,data:t.data||{},template:n,websiteData:i||{},sectionData:s||{},page:a,filters:r||{search:"",sort:""}},t?.name):null}var e$=n(37659);let eK=l()(()=>n.e(3817).then(n.bind(n,83817)),{loadableGenerated:{webpack:()=>[83817]},ssr:!1,loading:()=>(0,o.jsx)("div",{style:{minHeight:"400px",display:"flex",alignItems:"center",justifyContent:"center"},children:"Loading..."})});function eF(e){let{page:t,template:n,websiteData:c,sectionData:l,banners:d,filters:p}=e,u=t?.pageType?.toUpperCase()==="CUSTOM"||t?.isCustomPage===!0||!!t?.designData;if(console.log("[PageRenderer] Page Detection:",{isCustomPage:u,pageType:t?.pageType,isCustomPageFlag:t?.isCustomPage,hasDesignData:!!t?.designData,pageName:t?.name}),u)return console.log("[PageRenderer] Rendering CustomPageRenderer - Component will load client-side"),(0,o.jsx)(eK,{page:t,websiteData:c});Object.values(t?.sections||{}).filter(e=>e?.enabled);let m=null,b=t===a.Nb.LANDING_PAGE||t?.name===a.Nb.LANDING_PAGE||t?.name==="LANDING_PAGE";try{m=(0,e$.bo)()}catch{}let g=m?{...c,serviceList:c?.serviceList||m.services,pets:m.pets,vets:m.vets,faqs:m.faqs,scripts:m.scripts,folderCount:m.folderCount,generalScript:{results:{scripts:m.scripts.general}},bookAppointmentScript:{results:{scripts:m.scripts.bookAppointment}}}:c,A=(0,i.useMemo)(()=>[...Object.values(t?.sections||{}).filter(e=>!!e?.enabled)].sort((e,t)=>
1e.priority-t.priority),[t?.sections]),h=c?.category==="MULTI_WEBSITE_GROUP"||c?.isMultiSiteParent||c?.isMultiSiteChild,f=A?.length,w=["ER","ERP"].includes(g?.templateName)?-1:A?.findIndex(e=>e.name?.includes("service")),y=h?A?.findIndex(e=>e?.name?.includes("contact-us")):-1,v=A?.findIndex(e=>e.name?.includes("service")),k=A?.findIndex(e=>e?.name?.includes("why-us-section")),G=["ER","ERP"].includes(g?.templateName)?v:-1!==k?k:v,C=A?.findIndex(e=>e.name?.includes("testimonial")),T=t===a.Nb.LANDING_PAGE||t?.name===a.Nb?.LANDING_PAGE?-1!==G?G:Math.min(f-1,3):-1,E=t===a.Nb.LANDING_PAGE||t?.name===a.Nb?.LANDING_PAGE?-1!==C?C:Math.max(2,f-1):0,O=t===a.Nb.LANDING_PAGE||t?.name===a.Nb?.LANDING_PAGE?h&&-1!==y?y:-1!==w?w:Math.floor((T+E)/2):0,P=e=>{let n=[];return e===T&&n.push((0,o.jsx)(s.Y,{websiteData:g,banners:d,currentPage:a.OF[t?.name],position:1,type:r.V.EMBEDDED},Math.random())),e===O&&n.push((0,o.jsx)(s.Y,{websiteData:g,banners:d,currentPage:a.OF[t?.name],position:2,type:r.V.EMBEDDED},Math.random())),e===E&&n.push((0,o.jsx)(s.Y,{websiteData:g,banners:d,currentPage:a.OF[t?.name],position:4,type:r.V.EMBEDDED},Math.random())),n.length>0?n:null};return(0,o.jsx)(o.Fragment,{children:A?.map((e,i)=>(0,o.jsxs)("div",{id:e?.name||void 0,children:[t?.name=="book-appointment-page"&&P(i-1),(0,o.jsx)(eB,{page:t||"",section:e,template:n,websiteData:b?g:c,sectionData:l,filters:p||{search:"",sort:""}}),P(i)]},i))})}},33037:(e,t,n)=>{n.d(t,{L:()=>a});var o=n(37876),i=n(14232);let s=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*([^;]+)/}).forEach(n=>{let[o,i]=n,s=i.exec(e);s&&(t[o]=s[1].trim())}),t},a=e=>{let{children:t,themeConfiguration:n,websiteData:a}=e;return(0,i.useEffect)(()=>{if(console.log("ThemeWrapper useEffect triggered",n,a),!n)return;let e=s(n?.additionalDetails?.customCss||""),t=e?.buttonPrimaryColor||"#BD000D",o=e?.buttonSecondaryColor||"#003459",i=e?.iconColor||"#EC8046";if(console.log("HERE THEME",a,e,n,["SPEC","SPECIALITY","SPECIALITY"].includes(a?.category||"")),!["MAIN_SITE"].includes(a?.category||"")){let e=document.getElementById("theme-wrapper-styles");e&&e.remove();let n=document.createElement("style");n.id="theme-wrapper-styles";let s="";switch(a?.category){case"SPEC":case"SPECIALITY":s=` 2 .outline-btn { 3 border-color: ${o} !important; 4 color: ${o} !important; 5 } 6 .primary-btn { 7 background-color: ${o} !important; 8 } 9 .red-btn { 10 background-color: ${t} !important; 11 } 12 `,document.head.appendChild(n);break;default:s=` 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: ${o} !important; 22 } 23 `}console.log("APPLIED CSS",s=`:root { --icon-color: ${i}; } 24`+s),n.textContent=s,document.head.appendChild(n)}return()=>{let e=document.getElementById("theme-wrapper-styles");e&&e.remove()}},[n,a]),(0,o.jsx)(o.Fragment,{children:t})}},67346:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(14232);function i(e){let{scriptContent:t,enabled:n,cookieSettings:i,cookieList:s}=e,a=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{if(!t||!n)return void console.log("[OneTrust] Disabled or no script content");if(a.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"),a.current=!0;return}let e=document.createElement("div");e.innerHTML=t.trim();let o=Array.from(e.querySelectorAll("script"));console.log(`[OneTrust] Found ${o.length} script tag(s) in scriptContent`);let i=o.find(e=>e.getAttribute("src")?.includes("cookielaw.org")),s=o.find(e=>!e.getAttribute("src")&&e.textContent?.includes("OptanonWrapper"));if(!i)return void console.warn("[OneTrust] No OneTrust SDK script tag found in scriptContent");let r=i.getAttribute("data-domain-script");
24if(!r)return void console.warn("[OneTrust] No data-domain-script attribute found");console.log("[OneTrust] Extracted domain script ID:",r),console.log("[OneTrust] OptanonWrapper found:",!!s);let c=()=>{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",r),e.type="text/javascript",e.charset="UTF-8",Array.from(i.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:",r),a.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:",r),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>")},l=document.createElement("script");return l.type="text/javascript",l.src=`https://cdn.cookielaw.org/consent/${r}/OtAutoBlock.js`,l.onload=()=>{console.log("[OneTrust] OtAutoBlock.js loaded - GTM scripts will now be controlled"),c()},l.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."),c()},document.head.insertBefore(l,document.head.firstChild),console.log("[OneTrust] OtAutoBlock.js script requested (may gracefully fail if not available)"),()=>{}},[t,n]),(0,o.useEffect)(()=>{if(!n)return;let e=()=>{let e=window.OnetrustActiveGroups||"",t=e.includes("C0002"),n=e.includes("C0004"),o=t;if(!t&&e)try{let t=document.cookie.split(";").find(e=>e.trim().startsWith("OptanonConsent")),i=(t?decodeURIComponent(t.split("=")[1]||""):"").match(/groups=([^&]*)/),s=i?i[1]:"";if(s.includes("C0002:0"))o=!1,console.log("[OneTrust] C0002 explicitly rejected in cookie");else if(s.includes("C0002:1"))o=!0,console.log("[OneTrust] C0002 explicitly accepted in cookie");else{let t=n||e.includes("C0003");o=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:o?"granted":"denied",ad_storage:n?"granted":"denied",ad_user_data:n?"granted":"denied",ad_personalization:n?"granted":"denied"}),console.log("[OneTrust] Google Consent Mode updated:","analytics_storage="+(o?"granted":"denied"),"ad_storage="+(n?"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),o=setTimeout(()=>clearInterval(t),1e4);return()=>{clearInterval(t),clearTimeout(o)}},[n]),(0,o.useEffect)(()=>{if(!n)return;let e=(e,t)=>{if(!e)return;let n=document.getElementById(t);if(!n)return void console.warn(`[OneTrust] Container ${t} not found, will retry...`);if(n.querySelector("[data-onetrust-button]"))return;let o=document.createElement("div");o.innerHTML=e.trim();let i=o.firstElementChild;i&&(i.setAttribute("data-onetrust-button","true"),n.appendChild(i),console.log(`[OneTrust] Injected button into ${t}`))},t=()=>{i&&e(i,"onetrust-cookie-settings-container"),s&&e(s,"onetrust-cookie-list-container")};t();let o=setTimeout(t,1e3);return()=>clearTimeout(o)},[i,s,n]),null}}}]);
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.