const __vite__fileDeps=["assets/app-shell-CjXVdc7l.js","assets/react-DxAJmJ9_.js","assets/invariant-BV1TMQfO.js","assets/react-helmet-async-BxgDYS1_.js","assets/react-fast-compare-Bt6UfI3s.js","assets/shallowequal-Df0hOIV4.js","assets/react-router-hash-link-BWyXki2A.js","assets/react-router-dom-nXUhHWYz.js","assets/react-dom-BSdQQ3FW.js","assets/scheduler-CzFDRTuY.js","assets/react-router-D2cveN7U.js","assets/@remix-run-rYP1rcIr.js","assets/wrapper-DJQDMHCh.js","assets/animated-button-3vHQHRqu.js","assets/sonner-BuJLwfFE.js","assets/site-C3cvQnbn.js","assets/clsx-B-dksMZM.js","assets/tailwind-merge-3VKOpVsw.js","assets/index-BP8WRlsb.js","assets/animated-element-DRf8GdCr.js","assets/framer-motion-Dh0aTsNR.js","assets/embla-carousel-react-CKu3lUqr.js","assets/embla-carousel-reactive-utils-DkegjUUZ.js","assets/embla-carousel-CvuiBM5S.js","assets/rissalaImg-Cnb6LO4c.js","assets/national-CGmwv-a8.js","assets/haryana-B5BuHNTT.js","assets/SEO-BiJ8E39H.js","assets/index-0kxxAilv.css","assets/index-BFNUV5qy.js","assets/index-BmnB3Fxg.js","assets/blogs-tYl3lR02.js","assets/index-H_HBSmsE.js","assets/index-oHcJJyDR.js","assets/index-C0wH1ttD.js","assets/rissala-r6Tfwqsz.js","assets/stories-hero-FaEnO4Ng.js","assets/haryana-D406lHdM.js","assets/nationalMuseum-Dnhwi_KN.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import{j as e,R as y}from"./react-DxAJmJ9_.js";import{c as v}from"./react-dom-BSdQQ3FW.js";import{c as E,R as j}from"./react-router-dom-nXUhHWYz.js";import{c as b}from"./clsx-B-dksMZM.js";import{t as w}from"./tailwind-merge-3VKOpVsw.js";import{c as h}from"./react-router-D2cveN7U.js";import{T as N}from"./sonner-BuJLwfFE.js";import"./invariant-BV1TMQfO.js";import"./scheduler-CzFDRTuY.js";import"./@remix-run-rYP1rcIr.js";(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))d(o);new MutationObserver(o=>{for(const t of o)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&d(s)}).observe(document,{childList:!0,subtree:!0});function i(o){const t={};return o.integrity&&(t.integrity=o.integrity),o.referrerPolicy&&(t.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?t.credentials="include":o.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function d(o){if(o.ep)return;o.ep=!0;const t=i(o);fetch(o.href,t)}})();const C="modulepreload",P=function(r){return"/"+r},m={},n=function(a,i,d){let o=Promise.resolve();if(i&&i.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),s=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));o=Promise.all(i.map(l=>{if(l=P(l),l in m)return;m[l]=!0;const u=l.endsWith(".css"),g=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${g}`))return;const c=document.createElement("link");if(c.rel=u?"stylesheet":C,u||(c.as="script",c.crossOrigin=""),c.href=l,s&&c.setAttribute("nonce",s),document.head.appendChild(c),u)return new Promise((x,_)=>{c.addEventListener("load",x),c.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>a()).catch(t=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=t,window.dispatchEvent(s),!s.defaultPrevented)throw t})};function L(...r){return w(b(r))}function q(){window.scrollTo({top:0,behavior:"smooth"})}const F=r=>r.toString().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"unknown";function p({className:r,minimal:a=!1}){const i=h();return e.jsx("div",{className:L("h-svh w-full",r),children:e.jsxs("div",{className:"m-auto flex h-full w-full flex-col items-center justify-center gap-2",children:[!a&&e.jsx("h1",{className:"text-[7rem] font-bold leading-tight",children:"500"}),e.jsxs("span",{className:"font-medium",children:["Oops! Something went wrong ",":')"]}),e.jsxs("p",{className:"text-center text-muted-foreground",children:["We apologize for the inconvenience. ",e.jsx("br",{})," Please try again later."]}),!a&&e.jsxs("div",{className:"mt-6 flex gap-4",children:[e.jsx("button",{onClick:()=>i(-1),children:"Go Back"}),e.jsx("button",{onClick:()=>i("/"),children:"Back to Home"})]})]})})}function f(){const r=h();return e.jsx("div",{className:"h-svh",children:e.jsxs("div",{className:"m-auto flex h-full w-full flex-col items-center justify-center gap-2",children:[e.jsx("h1",{className:"text-[7rem] font-bold leading-tight",children:"404"}),e.jsx("span",{className:"font-medium",children:"Oops! Page Not Found!"}),e.jsxs("p",{className:"text-center text-muted-foreground",children:["It seems like the page you're looking for ",e.jsx("br",{}),"does not exist or might have been removed."]}),e.jsxs("div",{className:"mt-6 flex gap-4",children:[e.jsx("button",{onClick:()=>r(-1),children:"Go Back"}),e.jsx("button",{onClick:()=>r("/"),children:"Back to Home"})]})]})})}function O(){return e.jsx("div",{className:"h-svh",children:e.jsxs("div",{className:"m-auto flex h-full w-full flex-col items-center justify-center gap-2",children:[e.jsx("h1",{className:"text-[7rem] font-bold leading-tight",children:"503"}),e.jsx("span",{className:"font-medium",children:"Website is under maintenance!"}),e.jsxs("p",{className:"text-center text-muted-foreground",children:["The site is not available at the moment. ",e.jsx("br",{}),"We'll be back online shortly."]}),e.jsx("div",{className:"mt-6 flex gap-4",children:e.jsx("button",{children:"Learn more"})})]})})}const R=E([{path:"/",lazy:async()=>({Component:(await n(()=>import("./app-shell-CjXVdc7l.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))).default}),errorElement:e.jsx(p,{}),children:[{index:!0,lazy:async()=>({Component:(await n(()=>import("./index-BP8WRlsb.js"),__vite__mapDeps([18,1,2,12,13,7,8,9,10,11,19,20,21,22,23,24,25,26,27,3,4,5,16,17,14,28]))).default})},{path:"/contact",lazy:async()=>({Component:(await n(()=>import("./index-BFNUV5qy.js"),__vite__mapDeps([29,1,2,12,13,27,3,4,5,8,9,7,10,11,16,17,14]))).default})},{path:"/test",lazy:async()=>({Component:(await n(()=>import("./index-BmnB3Fxg.js"),__vite__mapDeps([30,1,2,19,20]))).default})},{path:"/blog/:id",lazy:async()=>({Component:(await n(()=>import("./blogs-tYl3lR02.js"),__vite__mapDeps([31,1,2,15,27,3,4,5,10,11]))).default})},{path:"/blog",lazy:async()=>({Component:(await n(()=>import("./index-H_HBSmsE.js"),__vite__mapDeps([32,1,2,7,8,9,10,11,12,27,3,4,5,16,17,14]))).default})},{path:"/digitize",lazy:async()=>({Component:(await n(()=>import("./index-oHcJJyDR.js"),__vite__mapDeps([33,1,2,27,3,4,5,12,8,9,7,10,11,16,17,14]))).default})},{path:"/virtualize",lazy:async()=>({Component:(await n(()=>import("./index-C0wH1ttD.js"),__vite__mapDeps([34,1,2,27,3,4,5,12,8,9,7,10,11,16,17,14]))).default})},{path:"/stories/rissala",lazy:async()=>({Component:(await n(()=>import("./rissala-r6Tfwqsz.js"),__vite__mapDeps([35,1,2,36,24,8,9,7,10,11,16,17,14]))).default})},{path:"/stories/haryana",lazy:async()=>({Component:(await n(()=>import("./haryana-D406lHdM.js"),__vite__mapDeps([37,1,2,36,26,8,9,7,10,11,16,17,14]))).default})},{path:"/stories/national-museum",lazy:async()=>({Component:(await n(()=>import("./nationalMuseum-Dnhwi_KN.js"),__vite__mapDeps([38,1,2,36,25,8,9,7,10,11,16,17,14]))).default})}]},{path:"/500",Component:p},{path:"/404",Component:f},{path:"/503",Component:O},{path:"*",Component:f}]),T=({...r})=>e.jsx(N,{richColors:!0,expand:!0,className:"toaster group z-50",position:typeof window<"u"&&window.innerWidth<640?"top-center":"bottom-right",visibleToasts:5,toastOptions:{classNames:{title:"font-semibold ml-2",toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground ml-2",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"text-red-500 group-[.toast]:bg-red-100 group-[.toast]:text-red-500"}},...r});v.createRoot(document.getElementById("root")).render(e.jsxs(y.StrictMode,{children:[e.jsx(j,{router:R}),e.jsx(T,{})]}));export{F as a,L as c,q as s};
