1import{o as e,j as i,N as a}from"./vendor-zF_90OnT.js";import{k as s,s as n,L as l}from"./App-BgB5I6bX.js";import{C as u}from"./CampaignLandingPage-MxnC6fGA.js";import c from"./NotFound-CwKIbAFQ.js";import"./supabase-DK8RPN_N.js";import"./publicKey-CSMqaGpc.js";import"./index-CsrHDxai.js";import"./FooterSection-BWh-geDI.js";import"./LandingHeader-Dcg1mCiM.js";import"./menu-lu6kJUqf.js";import"./NarmadaIcon-ULBJyAku.js";import"./sheet-Co9Oqu6c.js";import"./index-D_JxKwV4.js";import"./index-CY6RNZZM.js";import"./index-BxDVXPgi.js";import"./x-BxKyiXN0.js";import"./chevron-down-DC1BqdVH.js";import"./defaultLandingBlocks-CVYGqwbj.js";import"./PricingSection-CdgwMfsT.js";import"./badge-DIQQU5pN.js";import"./sparkles-CG8YPdk7.js";import"./check-2ezl6KfZ.js";import"./chevron-left-Dox3zOFz.js";import"./chevron-right-CFOpEqgU.js";import"./alert-dialog-D73D_hTJ.js";import"./dialog-B6lgJKL-.js";import"./SecureHtmlContent-EvFrE4sr.js";import"./browser-BeT_0Ums.js";import"./purify.es-DDpmou9H.js";import"./youtube-D6-KFVRU.js";import"./tabs-CmM4dFiw.js";import"./index-ZGcR3Lca.js";import"./index-BaWYOpvO.js";import"./index-DmVJtBFF.js";import"./calendar-I2ZcxZSG.js";import"./wrench-D_s76mMM.js";import"./star-BVfhseB1.js";import"./label-DQ6D-15Y.js";import"./trending-up-BvJT93CY.js";import"./zap-CvPGOtc2.js";import"./layout-grid-khxkgIkg.js";import"./users-round-DEIEBe3C.js";import"./book-open-WF9W9f2E.js";import"./dollar-sign-BC9XhsLm.js";import"./building-2-Bfp1E0U6.js";import"./receipt-CWw9Sra5.js";import"./circle-alert-BCWJ8EG3.js";import"./circle-check-fGvIEMe2.js";import"./circle-help-BUPBFBqG.js";import"./circle-play-DQnrvJaY.js";import"./clock-BdLDODio.js";import"./download-Dd6ulDq_.js";import"./external-link-CESvpMs-.js";import"./eye-DNJlHGvi.js";import"./eye-off-CBVvuknp.js";import"./file-down-DBBD7UTB.js";import"./file-text-B9xaxExS.js";import"./file-up-D4mKuVri.js";import"./ticket-CM7gtC9X.js";import"./flag-CPsb5PO0.js";import"./folder-open-D6AK0mxz.js";import"./globe-CPCLndR5.js";import"./router-BXW_3eBQ.js";import"./history-DcX8bFsc.js";import"./inbox-Vf9SvIGS.js";import"./link-2-CvF1Hg4K.js";import"./qr-code-B0v2LEoL.js";import"./key-round-C_SdqteS.js";import"./life-buoy-CdJ6GIZE.js";import"./square-check-big-CJK5L--e.js";import"./lock-fsCsAelv.js";import"./mail-open-Dw275Oma.js";import"./map-BRlBUciJ.js";import"./message-circle-B8AbCUUp.js";import"./message-square-CxD5nBqS.js";import"./monitor-BdYevH74.js";import"./sun-CZc7np7j.js";import"./newspaper-CIDlexAz.js";import"./palette-B5Kfir3V.js";import"./paperclip-DwI-XpSZ.js";import"./pen-tool-CWcT2MkS.js";import"./pencil-BYEXsKII.js";import"./plug-htA2X9HV.js";import"./rotate-ccw-DiRr51xn.js";import"./search-B3PiWUZf.js";import"./send-CC89jf8y.js";import"./server-DoLFBOe4.js";import"./settings-EmZRHK_w.js";import"./share-2-DpjnKHg4.js";import"./shield-alert-B1Cay2Hq.js";import"./shield-check-qR1VjFbt.js";import"./smartphone-WZmO7hb2.js";import"./square-pen-BOA0_vWY.js";import"./table-2-CehxO0PT.js";import"./trash-2-CoAivtK4.js";import"./upload-BVBCUgyu.js";import"./user-plus-DiLGUj_B.js";import"./users-DmsKO5Va.js";import"./wand-sparkles-CCPGbjgg.js";import"./ScheduleOnboardingDialog-D4rBincG.js";import"./seoMeta-DT8zD7lI.js";import"./campaignLandingConfigs-JNh35gKj.js";const ai=()=>{const{slug:r}=e(),{data:t,isLoading:m}=s({queryKey:["cms-pages","landing-route",r],queryFn:async()=>{const{data:p,error:o}=await n.from("cms_pages").select("slug, title, meta_title, meta_description").eq("page_type","landing").eq("slug",r).eq("status","published").limit(1).maybeSingle();if(o)throw o;return p??null},enabled:!!r,staleTime:1/0,refetchOnWindowFocus:!1,refetchOnMount:!1});return r==="landing-home"?i.jsx(a,{to:"/",replace:!0}):m?i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:i.jsx(l,{className:"h-8 w-8 animate-spin text-muted-foreground"})}):t?i.jsx(u,{config:{slug:t.slug,title:t.meta_title||t.title,description:t.meta_description||"",robots:"index, follow"}}):i.jsx(c,{})};export{ai 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.