PageSourceSearch

https://ankit.in/assets/page-CykGVdxQ.js

js ankit.in collected 2026-10-04 18:58:31 UTC 9,465 bytes, 1 lines download raw bytes

1import{r as a,j as e,m as p,c as u,a as m,A as x,F as y,b as _,X as w}from"./index-Ckh98amt.js";const i=["https://hercules-cdn.com/file_Vvgr18zwRHqt3ZFFMP9QzZdG","https://hercules-cdn.com/file_NiFX2pNpjjz02oKPcrvCO0s2","https://hercules-cdn.com/file_u9pP8716ekjKvZpUsNylqQ2o","https://hercules-cdn.com/file_dgOJefjUlkvWQjgib2aRHHq0","https://hercules-cdn.com/file_dxEb2IqQh0N9UrJdr9V8T7Ly","https://hercules-cdn.com/file_31SBQ0GJvQyaMSrQqxcSUgTY","https://hercules-cdn.com/file_VBm97wSNtkn2RFBw6t0K2g6z","https://hercules-cdn.com/file_xNOYQYvOJw3S2K8wj1YylkeS","https://hercules-cdn.com/file_u5HCWi94XDQo31J8M0wuiRCy","https://hercules-cdn.com/file_YxQeAFxfYK2ZaFT5I6bYndFA","https://hercules-cdn.com/file_sbVsJxwoT5s5H0ccrpa8owKZ","https://hercules-cdn.com/file_9SJxGMPKQhbqx03YzSCJbTF5","https://hercules-cdn.com/file_lpEtoKk51mTiLgffX63Q5g77","https://hercules-cdn.com/file_dH0p5S2YE4rKN3uAW8iB6ebL","https://hercules-cdn.com/file_23k000PLwbPVJ24znhMQU8d7","https://hercules-cdn.com/file_X6Xtj6nBLPMcEPiqVGan1MNq","https://hercules-cdn.com/file_TEEN2lKHgQkutZYhSsH2o9oZ","https://hercules-cdn.com/file_X3GNUzAMBpVAW7ew5he1V8x5","https://hercules-cdn.com/file_hkSbwfYD4WGLsQgV7XlbF5Dy","https://hercules-cdn.com/file_6V34Oyax1o0vx2BZLv0cj7i3","https://hercules-cdn.com/file_hILJNuYkSHA5GAHs613yQCuZ","https://hercules-cdn.com/file_p3cyp7lfAjDNXq4oSEwG0VSE","https://hercules-cdn.com/file_FqwmPBpbvt2ZZKNZQi2b0sf0","https://hercules-cdn.com/file_ZdCNnLvCn5zcZXE6n52I1PZC","https://hercules-cdn.com/file_5MYOS0qVSSBgprjwfIAHZQZE","https://hercules-cdn.com/file_i6tLSHmKEhoYaBPYa1y78FyK","https://hercules-cdn.com/file_EdhiEa4swMtDwHSpJXuA0inF","https://hercules-cdn.com/file_40rm5d79W8GJScHEA5qRhr2m","https://hercules-cdn.com/file_2nmsEWn4NV5pkkmqSRfH001a","https://hercules-cdn.com/file_EJFDT9rHa31rJFc9CXK0fb5D","https://hercules-cdn.com/file_BJg5eP8IGkKH78jr1L11rbg4","https://hercules-cdn.com/file_3W2me1RJR5lEzs9qV2GBLHKX","https://hercules-cdn.com/file_pEE8biRvFpEFwUkFSb816W7h","https://hercules-cdn.com/file_klclTzhypSO73wC037XYVoDh","https://hercules-cdn.com/file_YADv3yCp5dWtVN01dbL0mKXu","https://hercules-cdn.com/file_0iz5l61rFxnwhU3c7MtVtT3c","https://hercules-cdn.com/file_xOGBL8XN3eisGTaqm68KWFmQ","https://hercules-cdn.com/file_UgcO6Q6r4FY36t6c1ucy0dsj","https://hercules-cdn.com/file_BnDO4xp3GvsAbxxm8xc7jIwl","https://hercules-cdn.com/file_k3GGdY3DX1pRC7U7RM4nNcTT","https://hercules-cdn.com/file_D5muhvzpnrDuidvk0dIeWsAu","https://hercules-cdn.com/file_Df5OQe0dZEmlcVNZoyX7snki","https://hercules-cdn.com/file_XeJZ6sjbZ4qctOUNfmPmf92A","https://hercules-cdn.com/file_XyGZp0PMg6Wey5LiwYIlr29K","https://hercules-cdn.com/file_T7xK7qkH19pleT9vphkYIHhp","https://hercules-cdn.com/file_S3R9dIDNsRz2sEoH8igwFO5j","https://hercules-cdn.com/file_V3bNmkEUFCMneS3CSB0yaMvB","https://hercules-cdn.com/file_FxuuyrTELySgRWmUk4rFqvci","https://hercules-cdn.com/file_cfe5YPnNp2nag8BWTRoLDgy8","https://hercules-cdn.com/file_H5YIVhYLRftp1Cs2yyyBO0RR","https://hercules-cdn.com/file_dN3n5Ekz7cP51C3J2olNhwNV","https://hercules-cdn.com/file_O6BNBLOOxzxsu3gFcIvhZHVi","https://hercules-cdn.com/file_gKTmCGzt8GFjmlzp4BRBWcJs","https://hercules-cdn.com/file_SPyhIcThy0DSvxhrxlGizp4P","https://hercules-cdn.com/file_BwH6EwTgKYgOOV0FqFu7F5p8","https://hercules-cdn.com/file_5oCLKAz7jMIQJz9oehZzG8Fq","https://hercules-cdn.com/file_LEhENnb4Jbx4lPWR3PHg1vtA","https://hercules-cdn.com/file_IN3PoLvEwWbqnne7az5ahBLc","https://hercules-cdn.com/file_Dz90QNWEhp0elS1ODwaM7tbe","https://hercules-cdn.com/file_aYCCyIDgHSqcN79t8gEVkI0s","https://hercules-cdn.com/file_pdex2KoDYqGwvxK90vc2GL7U","https://hercules-cdn.com/file_Dij01jVS9DveG59k8hnjroeo","https://hercules-cdn.com/file_TUrqSBHgM0j0IOdKlwKIyceV","https://hercules-cdn.com/file_kPx4YQ8bU5YII27PhsqDt1xV","https://hercules-cdn.com/file_wDFVVOTQR69z76rQ7gdMS4Rj","https://hercules-cdn.com/file_66JKW6KixW7fTNKGzhpSwZFH","https://hercules-cdn.com/file_WT8lVZNp9umM4QQAZJcNMvEN","https://hercules-cdn.com/file_htZc7Ry4WGsygj2J6deohcdK","https://hercules-cdn.com/file_cUoB5qfxDJKTvAiwuNefvDxo","https://hercules-cdn.com/file_Pt7F1d0YvZwO4w2lJ02Fd2wV","https://hercules-cdn.com/file_tF7FAlf8w1d7BAfweYeYXH8V","https://hercules-cdn.com/file_bgoY5P9H82PGA43nCCrwLb12","https://hercules-cdn.com/file_cyh5PbsdMieKZCEsJmqzw82D","https://hercules-cdn.com/file_5EaBNtoMdTNAymLM12hTVr6h","https://hercules-cdn.com/file_ZRcSZklKMHeG4N5yzyi4PUg7","https://hercules-cdn.com/file_1xcy4KOLmvsl1HL8NjZXcd2u","https://hercules-cdn.com/file_IAW093ZZcieEpAVyCFrIj5W8","https://hercules-cdn.com/file_evU52hqckwnPAJ51zA0byC0R","https://hercules-cdn.com/file_8cGTbyfUH9EQkA55w81ejyYs","https://hercules-cdn.com/file_f7Cg2h8D3As4YLei3bn4nxo6"];function b({startIndex:t,onClose:l}){const r=a.useRef(null),[h,f]=a.useState(t);return a.useEffect(()=>{const c=r.current;c&&c.scrollTo({top:t*window.innerHeight,behavior:"instant"})},[t]),a.useEffect(()=>{const c=r.current;if(!c)return;const s=c.querySelectorAll("[data-index]"),d=new IntersectionObserver(n=>
1{n.forEach(o=>{if(o.isIntersecting){const g=Number(o.target.dataset.index);f(g)}})},{root:c,threshold:.6});return s.forEach(n=>d.observe(n)),()=>d.disconnect()},[]),a.useEffect(()=>{const c=s=>{s.key==="Escape"&&l()};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[l]),e.jsxs(p.div,{"data-hercules-id":"src/pages/gallery/page.tsx:131:4","data-hercules-name":"motion.div",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-50 bg-black",children:[e.jsx("button",{"data-hercules-id":"src/pages/gallery/page.tsx:139:6","data-hercules-name":"button",onClick:l,className:"absolute top-4 right-4 z-20 w-10 h-10 rounded-full bg-white/10 flex items-center justify-center cursor-pointer hover:bg-white/20 transition-colors",children:e.jsx(w,{"data-hercules-id":"src/pages/gallery/page.tsx:143:8","data-hercules-name":"X",size:18,className:"text-white"})}),e.jsxs("div",{"data-hercules-id":"src/pages/gallery/page.tsx:147:6","data-hercules-name":"div",className:"absolute top-4 left-1/2 -translate-x-1/2 z-20 text-white/50 text-xs tracking-widest pointer-events-none",children:[h+1," / ",i.length]}),e.jsx("div",{"data-hercules-id":"src/pages/gallery/page.tsx:152:6","data-hercules-name":"div",className:"absolute bottom-8 left-1/2 -translate-x-1/2 z-20 text-white/30 text-[11px] tracking-widest pointer-events-none",children:"Scroll to browse"}),e.jsx("div",{"data-hercules-id":"src/pages/gallery/page.tsx:157:6","data-hercules-name":"div",ref:r,className:"w-full h-full overflow-y-scroll",style:{scrollSnapType:"y mandatory",WebkitOverflowScrolling:"touch"},children:i.map((c,s)=>e.jsx("div",{"data-hercules-id":"src/pages/gallery/page.tsx:163:10","data-hercules-name":"div","data-index":s,className:"w-full flex items-center justify-center",style:{height:"100dvh",scrollSnapAlign:"start",flexShrink:0},children:e.jsx("img",{"data-hercules-id":"src/pages/gallery/page.tsx:169:12","data-hercules-name":"img",src:m(c,1080),srcSet:u(c,[640,750,1080,1536]),sizes:"100vw",alt:`Destination wedding photography by Regal Weddings — real wedding photo ${s+1}`,className:"max-w-full max-h-full object-contain",loading:Math.abs(s-t)<=3?"eager":"lazy"})},s))})]})}function N(){const[t,l]=a.useState(null);return e.jsxs("div",{"data-hercules-id":"src/pages/gallery/page.tsx:188:4","data-hercules-name":"div",className:"min-h-screen bg-background pb-20",children:[e.jsx("header",{"data-hercules-id":"src/pages/gallery/page.tsx:190:6","data-hercules-name":"header",className:"sticky top-0 z-40 bg-background/95 backdrop-blur-sm",children:e.jsxs("div",{"data-hercules-id":"src/pages/gallery/page.tsx:191:8","data-hercules-name":"div",className:"max-w-[680px] mx-auto px-4 py-4 flex flex-col items-center gap-0.5",children:[e.jsx("h1",{"data-hercules-id":"src/pages/gallery/page.tsx:192:10","data-hercules-name":"h1",className:"text-2xl font-semibold tracking-widest text-primary",style:{fontFamily:"'Cormorant Garamond', serif",letterSpacing:"0.14em"},children:"Regal Weddings"}),e.jsx("p",{"data-hercules-id":"src/pages/gallery/page.tsx:198:10","data-hercules-name":"p",className:"text-[10px] tracking-[0.2em] uppercase text-muted-foreground",children:"Gallery"})]})}),e.jsx("div",{"data-hercules-id":"src/pages/gallery/page.tsx:203:6","data-hercules-name":"div",className:"max-w-[680px] mx-auto px-2 pt-4",children:e.jsx("div",{"data-hercules-id":"src/pages/gallery/page.tsx:204:8","data-hercules-name":"div",className:"grid grid-cols-3 gap-0.5",children:i.map((r,h)=>e.jsx(p.button,{"data-hercules-id":"src/pages/gallery/page.tsx:206:12","data-hercules-name":"motion.button",onClick:()=>l(h),className:"aspect-square overflow-hidden cursor-pointer",whileHover:{opacity:.85},transition:{duration:.15},children:e.jsx("img",{"data-hercules-id":"src/pages/gallery/page.tsx:213:14","data-hercules-name":"img",src:m(r,300),srcSet:u(r,_.thumb),sizes:"(min-width: 680px) 227px, 33vw",alt:`Destination wedding photography by Regal Weddings — real wedding photo ${h+1}`,className:"w-full h-full object-cover",loading:"lazy"})},h))})}),e.jsx(x,{"data-hercules-id":"src/pages/gallery/page.tsx:227:6","data-hercules-name":"AnimatePresence",children:t!==null&&e.jsx(b,{"data-hercules-id":"src/pages/gallery/page.tsx:229:10","data-hercules-name":"Lightbox",startIndex:t,onClose:()=>l(null)})}),e.jsx(y,{"data-hercules-id":"src/pages/gallery/page.tsx:233:6","data-hercules-name":"FloatingFooter"})]})}
1export{N 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.