PageSourceSearch

https://astrologyapi.com/_next/static/chunks/pages/developers/v1/vastu-0ba8e04cfd13df0d.js

js astrologyapi.com collected 2026-09-25 22:15:33 UTC 7,951 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[41666],{41900:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/developers/v1/vastu",function(){return r(33793)}])},99060:function(e,t,r){"use strict";var s=r(85893),a=r(41664),n=r.n(a),o=r(58274);let EndpointCard=e=>{let{group:t,routeBase:r}=e;return(0,s.jsxs)("section",{className:"overflow-hidden rounded-xl border border-border-color bg-secondary-bg shadow-sm transition-shadow hover:shadow-md",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-3 border-b border-border-color bg-accent-surface px-4 py-3",children:[(0,s.jsx)("h2",{className:"truncate text-sm font-semibold text-primary-text",children:t.package}),(0,s.jsxs)("span",{className:"shrink-0 rounded-full border border-border-color bg-secondary-bg px-2 py-0.5 text-[11px] font-medium tabular-nums text-tertiary-text",children:[t.items.length," APIs"]})]}),(0,s.jsx)("div",{className:"p-2",children:t.items.map(e=>{var t;return(0,s.jsx)(n(),{href:"".concat(r,"/").concat(e.api_url),className:"flex rounded-lg px-2.5 py-2 text-sm transition-colors hover:bg-tertiary-bg",children:(0,s.jsx)("span",{className:"min-w-0 break-words whitespace-normal font-medium leading-snug text-primary-text",children:e.api_name})},null!==(t=e.id)&&void 0!==t?t:e.api_url)})})]})};t.ZP=e=>{let{groups:t,columns:r,routeBase:a}=e,n=null==r?void 0:r.some(e=>e.length>0),l=(null==t?void 0:t.length)>0;return n||l?n?(0,s.jsx)("div",{className:"mt-10 grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3",children:r.map((e,t)=>(0,s.jsx)("div",{className:"flex flex-col gap-4",children:e.map(e=>(0,s.jsx)(EndpointCard,{group:e,routeBase:a},e.package))},t))}):(0,s.jsx)("div",{className:"mt-10 grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3",children:t.map((e,t)=>{let r=e.items.length>=9;return(0,s.jsx)("div",{className:"min-w-0 ".concat(r&&t%4==0?"xl:col-span-2":""),children:(0,s.jsx)(EndpointCard,{group:e,routeBase:a})},e.package)})}):(0,s.jsxs)("div",{className:"mt-10 rounded-xl border border-border-color bg-secondary-bg p-6",children:[(0,s.jsx)("div",{className:"text-sm font-semibold text-primary-text",children:o.O2.unavailable}),(0,s.jsx)("p",{className:"mt-1 text-sm text-secondary-text",children:o.O2.unavailableBody})]})}},37601:function(e,t,r){"use strict";var s=r(85893),a=r(67294),n=r(10005);t.Z=e=>{let{navSections:t,activeSectionKey:r=null,currentSlug:o=null,routePrefix:l="/developers/v1",fullWidth:c=!1,showTableOfContents:i=!0,className:d="",children:x}=e,[m,u]=(0,a.useState)(!1),[p,h]=(0,a.useState)([]),[g,f]=(0,a.useState)(""),b=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=b.current;if(!e)return;let t=Array.from(e.querySelectorAll("h2, h3")),r=new Set,s=t.map((e,t)=>{let s=e.id||(e.textContent||"").toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")||"section-".concat(t);if(r.has(s)){let e=s,t=2;for(;r.has("".concat(e,"-").concat(t));)t+=1;s="".concat(e,"-").concat(t)}return r.add(s),e.id=s,{id:s,text:e.textContent||"",level:"H3"===e.tagName?3:2}});if(h(s),0===s.length)return;let a=new IntersectionObserver(e=>{var t;let r=e.filter(e=>e.isIntersecting).sort((e,t)=>e.boundingClientRect.top-t.boundingClientRect.top)[0];(null==r?void 0:null===(t=r.target)||void 0===t?void 0:t.id)&&f(r.target.id)},{rootMargin:"-30% 0px -60% 0px",threshold:0});return t.forEach(e=>a.observe(e)),()=>a.disconnect()},[x]),(0,s.jsxs)("div",{className:"min-h-screen bg-primary-bg font-plus_jakarta_sans",children:[(0,s.jsx)("div",{className:"lg:hidden border-b border-border-color bg-primary-bg px-5 py-2.5",children:(0,s.jsxs)("button",{type:"button",onClick:()=>u(!0),className:"inline-flex items-center gap-2 text-sm font-medium text-secondary-text",children:[(0,s.jsx)("span",{"aria-hidden":"true",children:"☰"})," Menu"]})}),(0,s.jsxs)("div",{className:"flex w-full items-start",children:[(0,s.jsx)(n.Z,{navSections:t,activeSectionKey:r,currentSlug:o,routePrefix:l,mobileOpen:m,onClose:()=>u(!1)}),(0,s.jsxs)("div",{className:"flex-1 min-w-0 flex flex-col xl:flex-row",children:[(0,s.jsx)("div",{className:"flex-1 min-w-0 flex justify-center",children:(0,s.jsx)("article",{ref:b,className:"docs-v2-desc w-full ".concat(c?"max-w-none":"max-w-[720px]"," px-5 lg:px-10 py-12 ").concat(d),children:x})}),i&&(0,s.jsx)("div",{className:"hidden xl:block w-[240px] shrink-0 px-6 py-12",children:(0,s.jsx)("div",{className:"sticky 
1self-start",style:{top:"129px"},children:p.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-[0.12em] text-tertiary-text mb-3",children:"On this page"}),(0,s.jsx)("nav",{className:"flex flex-col gap-1 border-l border-border-color",children:p.map(e=>{let t=e.id===g;return(0,s.jsx)("a",{href:"#".concat(e.id),className:"-ml-px border-l pl-3 py-1 text-sm transition-colors ".concat(3===e.level?"pl-6":""," ").concat(t?"font-medium text-primary-text":"text-tertiary-text hover:text-secondary-text"),style:{borderColor:t?"var(--accent-primary)":"transparent"},children:e.text},e.id)})})]})})})]})]})]})}},33793:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return p}});var s=r(85893),a=r(5379),n=r.n(a),o=r(9008),l=r.n(o),c=r(67294),i=r(10774),d=r(8802),x=r(37601),m=r(99060),u=r(92910);let VastuDeveloperPage=e=>{let{navSections:t=[],groups:r=[]}=e,a=(0,c.useMemo)(()=>u.AO.map(e=>{let{id:t,label:r,icon:s,pageLink:a,hidden:n}=e;return{id:t,label:r,icon:s,href:a,hidden:n}}),[]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l(),{children:[(0,s.jsx)("title",{className:"jsx-d3990783c0bc5915",children:"Vastu API Documentation - AstrologyAPI"}),(0,s.jsx)("meta",{name:"description",content:"Developer documentation for the Vastu API. Analyze floor plans or confirmed room directions and return structured scores, findings, remedies, Mandala Padas, and Devata readings.",className:"jsx-d3990783c0bc5915"}),(0,s.jsx)("meta",{name:"keywords",content:"vastu api documentation, floor plan analysis api, vastu score api, vastu mandala api, vastu remedies api",className:"jsx-d3990783c0bc5915"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com",className:"jsx-d3990783c0bc5915"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous",className:"jsx-d3990783c0bc5915"}),(0,s.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap",rel:"stylesheet",className:"jsx-d3990783c0bc5915"})]}),(0,s.jsx)(n(),{id:"d3990783c0bc5915",children:":root{--docs-mono:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace}.docs-v2-desc .highlight_span{font-family:var(--docs-mono);font-size:.9em;color:var(--accent-primary);background:var(--accent-surface);padding:.05em .35em;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}"}),(0,s.jsx)(d.Z,{items:a,activeItem:"api-reference"}),(0,s.jsxs)(x.Z,{navSections:t,activeSectionKey:"vastu",currentSlug:null,routePrefix:"/developers/v1",fullWidth:!0,showTableOfContents:!1,className:"w-[1100px]",children:[(0,s.jsx)("h1",{className:"jsx-d3990783c0bc5915 text-3xl font-bold leading-tight tracking-tight text-primary-text md:text-4xl",children:"Vastu API"}),(0,s.jsx)("p",{className:"jsx-d3990783c0bc5915 mt-4 max-w-3xl leading-relaxed text-secondary-text",children:"Integrate floor-plan and direction-only Vastu readings into your product. Return a consistent score, findings, remedies, directions, zones, entrance Padas, 81-Pada Mandala, and 45 Devata detail from structured JSON endpoints."}),(0,s.jsx)(m.ZP,{groups:r,routeBase:"/developers/v1/vastu"})]})]})};VastuDeveloperPage.getLayout=function(e){return(0,s.jsx)(i.Z,{buttonColor:"indigo",hideSearchBar:!1,hideContactSalesButton:!0,contentPaddingTop:"",children:e})};var p=!0;t.default=VastuDeveloperPage},9008:function(e,t,r){e.exports=r(79201)}},function(e){e.O(0,[3660,49774,92888,40179],function(){return e(e.s=41900)}),_N_E=e.O()}]);

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.