PageSourceSearch

https://wokspicy.com/_next/static/chunks/34127.5a12803f12c055c4.js

js wokspicy.com collected 2026-10-07 19:16:08 UTC 4,768 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34127],{34127:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>m});var s=a(95155),i=a(12115),r=a(76604),n=a(74284),l=a(39901),o=a.n(l),c=a(70080),p=a.n(c);let m=e=>{let{content:t,customStyle:a}=e,l=(0,i.useRef)(null),c=(0,r.W)(l,{once:!0}),{title:m="The Art of Fine Dining",subtitle:u="A Culinary Journey Beyond Expectations",video_url:d="https://cdn.coverr.co/videos/preview/720/coverr-pouring-wine-into-a-glass-5323.mp4",image_url:f="https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?auto=format&fit=crop&q=80",buttonText:x="Reserve a Table",buttonLink:h="/reservation",primaryColor:b="#c5a572",textColor:v="#ffffff"}=t||{};return(0,s.jsxs)("section",{style:a,ref:l,className:"!relative !w-full !h-screen !overflow-hidden !flex !items-center !justify-center !bg-black",children:[(0,s.jsxs)("div",{className:"!absolute !inset-0 !z-0",children:[(0,s.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"!w-full !h-full !object-cover !opacity-60",poster:f,children:(0,s.jsx)("source",{src:d,type:"video/mp4"})}),(0,s.jsx)("div",{className:"!absolute !inset-0 !bg-gradient-to-b !from-black/60 !via-transparent !to-black/80"})]}),(0,s.jsxs)(n.P.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:2},className:"!absolute !inset-0 !z-1 !pointer-events-none",children:[(0,s.jsx)("div",{className:"!absolute !top-10 !left-10 !w-32 !h-[1px] !bg-white/20"}),(0,s.jsx)("div",{className:"!absolute !bottom-10 !right-10 !w-32 !h-[1px] !bg-white/20"})]}),(0,s.jsxs)("div",{className:"!relative !z-10 !text-center !px-6 !max-w-5xl",children:[(0,s.jsx)(n.P.span,{initial:{opacity:0,y:20},animate:c?{opacity:1,y:0}:{},transition:{duration:.8,delay:.2},className:"".concat(p().className," !text-[10px] md:!text-sm !uppercase !tracking-[0.5em] !mb-8 !block !text-[#c5a572] !whitespace-pre-wrap"),style:{color:"var(--custom-subtitle-color, ".concat(b,")"),fontSize:"var(--custom-subtitle-size)"},children:u}),(0,s.jsx)(n.P.h1,{initial:{opacity:0,scale:.95},animate:c?{opacity:1,scale:1}:{},transition:{duration:1.2,ease:[.22,1,.36,1]},className:"".concat(o().className," !text-6xl md:!text-[9rem] !font-black !leading-none !mb-12 !text-white !drop-shadow-2xl !whitespace-pre-wrap"),style:{color:"var(--custom-title-color)",fontSize:"var(--custom-title-size)"},children:m.split(/(\s+)/).map((e,t)=>(0,s.jsx)("span",{className:"!inline-block !mr-4",children:e},t))}),(0,s.jsx)(n.P.div,{initial:{opacity:0,y:30},animate:c?{opacity:1,y:0}:{},transition:{duration:.8,delay:.6},children:(0,s.jsxs)("a",{href:h,className:"!group !relative !inline-flex !items-center !justify-center !px-12 !py-5 !overflow-hidden !font-bold !transition-all !bg-transparent !border-2 !border-white/20 !rounded-full hover:!bg-[#c5a572] hover:!border-[#c5a572] !shadow-[0_20px_50px_rgba(197,165,114,0.3)] hover:!scale-105 active:!scale-95",children:[(0,s.jsx)("span",{className:"!absolute !inset-0 !w-full !h-full !bg-[#c5a572] -!translate-x-full group-hover:!translate-x-0 !transition-transform !duration-500 !ease-out"}),(0,s.jsx)("span",{className:"!relative ".concat(p().className," !text-sm !uppercase !tracking-widest !text-white !transition-colors !duration-300"),children:x})]})})]}),(0,s.jsxs)(n.P.div,{initial:{opacity:0}
1,animate:{opacity:[0,1,0]},transition:{duration:3,repeat:1/0},className:"!absolute !bottom-10 !left-1/2 -!translate-x-1/2 !z-10 !flex !flex-col !items-center !gap-4",children:[(0,s.jsx)("span",{className:"".concat(p().className," !text-[9px] !uppercase !tracking-[0.3em] !text-white/40"),children:"Explore"}),(0,s.jsx)("div",{className:"!w-[1px] !h-12 !bg-gradient-to-b !from-white/60 !to-transparent"})]})]})}},39901:e=>{e.exports={style:{fontFamily:"'Playfair Display', 'Playfair Display Fallback'",fontStyle:"normal"},className:"__className_42d662"}},70080:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_9c029e"}},76604:(e,t,a)=>{"use strict";a.d(t,{W:()=>n});var s=a(12115),i=a(44438);let r={some:0,all:1};function n(e,{root:t,margin:a,amount:l,once:o=!1,initial:c=!1}={}){let[p,m]=(0,s.useState)(c);return(0,s.useEffect)(()=>{if(!e.current||o&&p)return;let s={root:t&&t.current||void 0,margin:a,amount:l};return function(e,t,{root:a,margin:s,amount:n="some"}={}){let l=(0,i.KJ)(e),o=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let a=o.get(e.target);if(!!a!==e.isIntersecting)if(e.isIntersecting){let a=t(e.target,e);"function"==typeof a?o.set(e.target,a):c.unobserve(e.target)}else"function"==typeof a&&(a(e),o.delete(e.target))})},{root:a,rootMargin:s,threshold:"number"==typeof n?n:r[n]});return l.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(m(!0),o?void 0:()=>m(!1)),s)},[t,e,a,o,l]),p}}}]);

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.