PageSourceSearch

https://ojai.global/_next/static/chunks/07df8878bbb1f395.js

js ojai.global collected 2026-10-09 22:54:23 UTC 14,522 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89077,e=>{"use strict";var s=e.i(43476);let r=(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M9.15039 7.48999C8.59039 7.48999 8.15039 7.93999 8.15039 8.48999C8.15039 9.03999 8.60039 9.48999 9.15039 9.48999C9.70039 9.48999 10.1504 9.03999 10.1504 8.48999C10.1504 7.93999 9.70039 7.48999 9.15039 7.48999Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M21.46 5.04C20.62 3.09 18.77 2 16.19 2H7.81C4.6 2 2 4.6 2 7.81V16.19C2 18.77 3.09 20.62 5.04 21.46C5.23 21.54 5.45 21.49 5.59 21.35L21.35 5.59C21.5 5.44 21.55 5.22 21.46 5.04ZM10.53 12.24C10.14 12.62 9.63 12.8 9.12 12.8C8.61 12.8 8.1 12.61 7.71 12.24C6.69 11.28 5.57 9.75 6 7.93C6.38 6.28 7.84 5.54 9.12 5.54C10.4 5.54 11.86 6.28 12.24 7.94C12.66 9.75 11.54 11.28 10.53 12.24Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M19.4699 20.53C19.6899 20.75 19.6599 21.11 19.3899 21.26C18.5099 21.75 17.4399 22 16.1899 22H7.8099C7.5199 22 7.3999 21.66 7.5999 21.46L13.6399 15.42C13.8399 15.22 14.1499 15.22 14.3499 15.42L19.4699 20.53Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M21.9998 7.8099V16.1899C21.9998 17.4399 21.7498 18.5199 21.2598 19.3899C21.1098 19.6599 20.7498 19.6799 20.5298 19.4699L15.4098 14.3499C15.2098 14.1499 15.2098 13.8399 15.4098 13.6399L21.4498 7.5999C21.6598 7.3999 21.9998 7.5199 21.9998 7.8099Z",fill:"currentColor"})]}),t=(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M7.64957 20.9101C7.61957 20.9101 7.57957 20.9301 7.54957 20.9301C5.60957 19.9701 4.02957 18.3801 3.05957 16.4401C3.05957 16.4101 3.07957 16.3701 3.07957 16.3401C4.29957 16.7001 5.55957 16.9701 6.80957 17.1801C7.02957 18.4401 7.28957 19.6901 7.64957 20.9101Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M20.94 16.4501C19.95 18.4401 18.3 20.0501 16.29 21.0201C16.67 19.7501 16.99 18.4701 17.2 17.1801C18.46 16.9701 19.7 16.7001 20.92 16.3401C20.91 16.3801 20.94 16.4201 20.94 16.4501Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M21.02 7.70998C19.76 7.32998 18.49 7.01998 17.2 6.79998C16.99 5.50998 16.68 4.22998 16.29 2.97998C18.36 3.96998 20.03 5.63998 21.02 7.70998Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M7.65047 3.09006C7.29047 4.31006 7.03047 5.55006 6.82047 6.81006C5.53047 7.01006 4.25047 7.33006 2.98047 7.71006C3.95047 5.70006 5.56047 4.05006 7.55047 3.06006C7.58047 3.06006 7.62047 3.09006 7.65047 3.09006Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M15.4898 6.59C13.1698 6.33 10.8298 6.33 8.50977 6.59C8.75977 5.22 9.07977 3.85 9.52977 2.53C9.54977 2.45 9.53977 2.39 9.54977 2.31C10.3398 2.12 11.1498 2 11.9998 2C12.8398 2 13.6598 2.12 14.4398 2.31C14.4498 2.39 14.4498 2.45 14.4698 2.53C14.9198 3.86 15.2398 5.22 15.4898 6.59Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M6.59 15.49C5.21 15.24 3.85 14.92 2.53 14.47C2.45 14.45 2.39 14.46 2.31 14.45C2.12 13.66 2 12.85 2 12C2 11.16 2.12 10.34 2.31 9.56001C2.39 9.55001 2.45 9.55001 2.53 9.53001C3.86 9.09001 5.21 8.76001 6.59 8.51001C6.34 10.83 6.34 13.17 6.59 15.49Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M22.0002 12C22.0002 12.85 21.8802 13.66 21.6902 14.45C21.6102 14.46 21.5502 14.45 21.4702 14.47C20.1402 14.91 18.7802 15.24 17.4102 15.49C17.6702 13.17 17.6702 10.83 17.4102 8.51001C18.7802 8.76001 20.1502 9.08001 21.4702 9.53001C21.5502 9.55001 21.6102 9.56001 21.6902 9.56001C21.8802 10.35 22.0002 11.16 22.0002 12Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M15.4898 17.4099C15.2398 18.7899 14.9198 20.1499 14.4698 21.4699C14.4498 21.5499 14.4498 21.6099 14.4398 21.6899C13.6598 21.8799 12.8398 21.9999 11.9998 21.9999C11.1498 21.9999 10.3398 21.8799 9.54977 21.6899C9.53977 21.6099 9.54977 21.5499 9.52977 21.4699C9.08977 20.1399 8.75977 18.7899 8.50977 17.4099C9.66977 17.5399 10.8298 17.6299 11.9998 17.6299C13.1698 17.6299 14.3398 17.5399 15.4898 17.4099Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M15.7633 15.7633C13.2622 16.0789 10.7378 16.0789 8.23667 15.7633C7.92111 13.2622 7.92111 10.7378 8.23667 8.23667C10.7378 7.92111 13.2622 7.92111 15.7633 8.23667C16.0789 10.7378 16.0789 13.2622 15.7633 15.7633Z",fill:"currentColor"})]}),l=(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M12 18.5V19.38C12 21.25 11.25 22 9.37 22H4.62C3.17 22 2 20.83 2 19.38V14.63C2 12.75 2.75 12 4.62 12H5.5V15.5C5.5 17.16 6.84 18.5 8.5 18.5H12Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M17 13.5V14.37C17 15.82 15.82 17 14.37 17H9.62C7.75 17 7 16.25 7 14.37V9.62C7 8.17 8.17 7 9.62 7H10.5V10.5C10.5 12.16 11.84 13.5 13.5 13.5H17Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M22 4.62V9.37C22 11.25 21.25 12 19.37 12H14.62C12.75 12 12 11.25 12 9.37V4.62C12 2.75 12.75 2 14.62 2H19.37C21.25 2 22 2.75 22 4.62Z",fill:"currentColor"})]}),o=(0,s.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M4.66699 1.16663V2.91663",stroke:"#0A0E2A",strokeWidth:"0.75",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.33301 1.16663V2.91663",stroke:"#0A0E2A",strokeWidth:"0.75",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M2.04199 5.30249H11.9587",stroke:"#0A0E2A",strokeWidth:"0.75",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12.25 4.95829V9.91663C12.25 11.6666 11.375 12.8333 9.33333 12.8333H4.66667C2.625 12.8333 1.75 11.6666 1.75 9.91663V4.95829C1.75 3.20829 2.625 2.04163 4.66667 2.04163H9.33333C11.375 2.04163 12.25 3.20829 12.25 4.95829Z",stroke:"#0A0E2A",strokeWidth:"0.75",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.15565 7.99162H9.16089",stroke:"#0A0E2A",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.15565 9.74162H9.16089",stroke:"#0A0E2A",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M6.99745 7.99162H7.00269",stroke:"#0A0E2A",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M6.99745 9.74162H7.00269",stroke:"#0A0E2A",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M4.83827 7.99162H4.84351",stroke:"#0A0E2A",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M4.83827 9.74162H4.84351",stroke:"#0A0E2A",strokeLinecap:"round",strokeLinejoin:"round"})]}),i=(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,s.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),(0,s.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})]}),a=(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),(0,s.jsx)("line",{x1:"23",y1:"9",x2:"17",y2:"15"}),(0,s.jsx)("line",{x1:"17",y1:"9",x2:"23",y2:"15"})]});e.s(["CALANDER_ICON",0,o,"IMAGE_ICON",0,r,"THE_INTELLIGENCE_LAYER_ICON",0,l,"THE_SOCIAL_NETWORK_ICON",0,t,"VOLUME_OF
1F_ICON",0,a,"VOLUME_ON_ICON",0,i])},69931,e=>{"use strict";var s=e.i(43476),r=e.i(89077),t=e.i(22016),l=e.i(71645);function o(){let[e,r]=l.default.useState([]),[o,a]=l.default.useState(!0),[d,n]=l.default.useState(1),[c,x]=l.default.useState(1),[g,u]=l.default.useState(0);l.default.useEffect(()=>{(async()=>{a(!0);try{let e=await fetch(`https://api.ojai.global/v1/blogs?page=${d}&limit=10&sortBy=recent`),s=await e.json();r(s.results),x(s.totalPages),u(s.totalResults)}catch(e){console.error("Error fetching blogs:",e)}finally{a(!1)}})()},[d]);let h=e.find(e=>e.isFeatured),m=e.filter(e=>!e.isFeatured),p=e=>new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mb-12 md:mb-16",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 items-center gap-6 lg:grid-cols-2 lg:gap-8",children:[(0,s.jsx)("div",{className:"order-2 lg:order-1",children:(0,s.jsx)("div",{className:"h-64 w-full animate-pulse rounded-3xl bg-gray-200 md:h-96"})}),(0,s.jsxs)("div",{className:"order-1 flex flex-col gap-4 lg:order-2",children:[(0,s.jsx)("div",{className:"h-8 w-24 animate-pulse rounded-full bg-gray-200"}),(0,s.jsx)("div",{className:"h-10 w-full animate-pulse rounded-lg bg-gray-200"}),(0,s.jsx)("div",{className:"h-6 w-full animate-pulse rounded-lg bg-gray-200"}),(0,s.jsx)("div",{className:"h-6 w-3/4 animate-pulse rounded-lg bg-gray-200"}),(0,s.jsx)("div",{className:"mt-7 h-12 w-32 animate-pulse rounded-full bg-gray-200"})]})]})}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 md:gap-8 lg:grid-cols-3",children:Array.from({length:6}).map((e,r)=>
1(0,s.jsxs)("div",{className:"flex flex-col gap-4 rounded-2xl border p-2",children:[(0,s.jsx)("div",{className:"h-52 w-full animate-pulse rounded-2xl bg-gray-200 md:h-64"}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("div",{className:"h-9 w-24 animate-pulse rounded-full bg-gray-200"}),(0,s.jsx)("div",{className:"h-9 w-24 animate-pulse rounded-full bg-gray-200"}),(0,s.jsx)("div",{className:"h-9 w-24 animate-pulse rounded-full bg-gray-200"})]}),(0,s.jsx)("div",{className:"h-7 w-full animate-pulse rounded-lg bg-gray-200"}),(0,s.jsx)("div",{className:"h-5 w-full animate-pulse rounded-lg bg-gray-200"}),(0,s.jsx)("div",{className:"h-5 w-2/3 animate-pulse rounded-lg bg-gray-200"}),(0,s.jsx)("div",{className:"mt-5 h-12 w-32 animate-pulse rounded-full bg-gray-200"})]})]},r))})]}):(0,s.jsxs)(s.Fragment,{children:[h&&(0,s.jsx)("div",{className:"mb-12 md:mb-16",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 items-center gap-6 lg:grid-cols-2 lg:gap-8",children:[(0,s.jsx)("div",{className:"order-2 lg:order-1",children:(0,s.jsx)("img",{src:h.coverImage,alt:h.title,className:"h-64 w-full rounded-3xl object-cover md:h-96"})}),(0,s.jsxs)("div",{className:"order-1 flex flex-col gap-4 lg:order-2",children:[(0,s.jsx)("span",{className:"inline-block w-fit rounded-full bg-red-50 px-4 py-1.5 text-sm font-medium text-red-600",children:"Featured"}),(0,s.jsx)("h2",{className:"text-2xl leading-tight font-bold text-[#191919] md:text-3xl lg:text-4xl",children:h.title}),(0,s.jsx)("p",{className:"text-base text-gray-700 md:text-lg",children:h.subTitle}),(0,s.jsx)(t.default,{href:"/blogs/read-blog/?id="+h.id,className:"mt-7 w-fit rounded-full bg-[#0F172A] px-6 py-3 font-medium text-white transition-colors hover:bg-[#1E293B]",children:"Read Now"})]})]})}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 md:gap-8 lg:grid-cols-3",children:m.map(e=>(0,s.jsx)(i,{post:e,formatDate:p},e.id))}),c>0&&(0,s.jsxs)("div",{className:"mt-12 flex items-center justify-center gap-2",children:[(0,s.jsx)("button",{onClick:()=>{d>1&&(n(d-1),window.scrollTo({top:0,behavior:"smooth"}))},disabled:1===d,className:`rounded-lg px-4 py-2 font-medium transition-colors ${1===d?"cursor-not-allowed bg-gray-100 text-gray-400":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:"Previous"}),(0,s.jsx)("div",{className:"flex gap-2",children:Array.from({length:c},(e,s)=>s+1).map(e=>(0,s.jsx)("button",{onClick:()=>{n(e),window.scrollTo({top:0,behavior:"smooth"})},className:`h-10 w-10 rounded-lg font-medium transition-colors ${d===e?"bg-[#FCC532] text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:e},e))}),(0,s.jsx)("button",{onClick:()=>{d<c&&(n(d+1),window.scrollTo({top:0,behavior:"smooth"}))},disabled:d===c,className:`rounded-lg px-4 py-2 font-medium transition-colors ${d===c?"cursor-not-allowed bg-gray-100 text-gray-400":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:"Next"})]})]})}function i({post:e,formatDate:l}){return(0,s.jsxs)("div",{className:"group fade-in-up-view-delay-200 flex cursor-pointer flex-col gap-4 roun
1ded-2xl border p-2",children:[(0,s.jsx)("div",{className:"relative overflow-hidden rounded-2xl",children:(0,s.jsx)("img",{src:e.coverImage,alt:e.title,className:"h-52 w-full object-cover transition-transform duration-300 group-hover:scale-105 md:h-64"})}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 text-xs md:text-sm",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 rounded-full bg-[#EAF1FF] px-3 py-2",children:[e.author.userProfile.avatar?(0,s.jsx)("img",{src:e.author.userProfile.avatar,alt:e.author.userProfile.name,className:"h-5 w-5 rounded-full object-cover"}):(0,s.jsx)("div",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-gray-300",children:(0,s.jsx)("span",{className:"text-[10px]",children:"👤"})}),(0,s.jsx)("span",{children:e.author.userProfile.name})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1 rounded-full bg-[#EAF1FF] px-3 py-2",children:[(0,s.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M14.6663 8.00004C14.6663 11.68 11.6797 14.6667 7.99967 14.6667C4.31967 14.6667 1.33301 11.68 1.33301 8.00004C1.33301 4.32004 4.31967 1.33337 7.99967 1.33337C11.6797 1.33337 14.6663 4.32004 14.6663 8.00004Z",stroke:"#0A0E2A",strokeWidth:"0.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10.4729 10.12L8.40626 8.88671C8.04626 8.67338 7.75293 8.16005 7.75293 7.74005V5.00671",stroke:"#0A0E2A",strokeWidth:"0.75",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,s.jsxs)("span",{children:[e.timeToRead," min read"]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1 rounded-full bg-[#EAF1FF] px-3 py-2",children:[r.CALANDER_ICON,(0,s.jsx)("span",{children:l(e.createdAt)})]})]}),(0,s.jsx)("h3",{className:"text-lg leading-snug font-bold text-[#191919] transition-colors group-hover:text-[#FCC532] md:text-xl",children:e.title}),(0,s.jsx)("p",{className:"text-sm text-gray-700 md:text-base",children:e.subTitle}),(0,s.jsx)(t.default,{href:"/blogs/read-blog/?id="+e.id,className:"mt-5 w-fit! rounded-full bg-[#0F172A] px-6 py-3.5 font-medium text-white transition-colors hover:bg-[#1E293B]",children:"Read Now"})]})]},e.id)}e.s(["Blog",()=>i,"BlogList",()=>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.