PageSourceSearch

https://sardoche.tv/_next/static/chunks/7699-b96ef99c6e5654d8.js

js sardoche.tv collected 2026-10-02 01:09:42 UTC 10,414 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7699],{7699:(e,t,s)=>{s.d(t,{A:()=>b});var r=s(7876),a=s(4232),l=s(8230),n=s.n(l),o=s(1e3),i=s(445),c=s(8520),d=s(2718),f=s(2712),h=s(6851),m=s(1698),x=s(4557),u=s(2390),p=s(7522);let g=[{name:"Twitch",href:x.$.channels.twitch.url,icon:e=>{let{className:t}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,r.jsx)("path",{d:"M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z"})})},color:"group-hover:text-[#c4b5fd]"},{name:"Kick",href:x.$.channels.kick.url,icon:e=>{let{className:t}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,r.jsx)("path",{d:"M1.333 0h8v5.333H12V2.667h2.667V0h8v8H20v2.667h-2.667v2.666H20V16h2.667v8h-8v-2.667H12v-2.666H9.333V24h-8Z"})})},color:"group-hover:text-[#86efac]"},{name:"YouTube",href:"https://youtube.com/@SardocheLol",icon:o.A,color:"group-hover:text-[#fca5a5]"},{name:"Discord",href:"https://discord.gg/sardoche",icon:e=>{let{className:t}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,r.jsx)("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"})})},color:"group-hover:text-[#a5b4fc]"},{name:"Instagram",href:"https://instagram.com/sardocheyeslife",icon:i.A,color:"group-hover:text-[#f9a8d4]"},{name:"X",href:"https://x.com/Sardoche",icon:e=>{let{className:t}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,r.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},color:"group-hover:text-[#e8e4df]"},{name:"Shop",href:"https://sardoche-shop.fr",icon:c.A,color:"group-hover:text-[#ffc9a8]"},{name:"Chess.com",href:"https://chess.com/member/sardoche",icon:e=>{let{className:t}=e;return(0,r.jsxs)("svg",{viewBox:"0 0 48 48",fill:"currentColor",className:t,children:[(0,r.jsx)("path",{d:"M28.001,19h-8.002c0,16.944-10,9.713-10,23c0,0,0.546,2,14.001,2c13.455,0,14.001-2,14.001-2C38.001,28.713,28.001,35.944,28.001,19z"}),(0,r.jsx)("path",{d:"M26.02,14H24h-2.02c-1.986,1.334-3.972,2.668-5.957,4.001c0.03,0.428,0.113,0.997,0.332,1.634c0.197,0.573,0.446,1.032,0.663,1.371l6.984-0.01l6.981,0.01c0.217-0.339,0.466-0.798,0.663-1.371c0.219-0.637,0.302-1.206,0.332-1.634C29.992,16.668,28.006,15.334,26.02,14z"}),(0,r.jsx)("circle",{cx:"24",cy:"10",r:"7"})]})},color:"group-hover:text-[#a7f3d0]"}],v="rounded-sm text-[#e6d3b0] underline decoration-[#e6d3b0]/60 underline-offset-4 hover:decoration-[#e6d3b0] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#ffa06d]";function b(e){let{className:t=""}=e,s=new Date().getFullYear(),l=(0,h.c)("footer"),o="en"===(0,m.Ym)()?"en":"fr",i=g.filter(e=>"Kick"!==e.name||x.$.channels.kick.enabled),[c,b]=(0,a.useState)({twitch:!1,kick:!1}),[j,w]=(0,a.useState)(.55),[k,N]=(0,a.useState)(!1),y=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=navigator.userAgent;N(/^((?!chrome|android).)*safari/i.test(e))},[]),(0,a.useEffect)(()=>{let e=async()=>{try{var e,t,s,r,a;let l=await fetch("/api/live");if(!l.ok)return;let n=await l.json(),o=null==n||null==(e=n.platforms)?void 0:e.twitch,i=null==n||null==(t=n.platforms)?void 0:t.kick;if(o||i)b({twitch:(null==o?void 0:o.onair)===!0,kick:(null==i?void 0:i.onair)===!0});else{let e=(null==n?void 0:n.onair)===!0,t=String(null!=(a=null==n||null==(r=n.skins)||null==(s=r[1])?void 0:s.url)?a:"").toLowerCase().includes("kick.com");b({twitch:e&&!t,kick:e&&t})}}catch(e){}};e();let t=setInterval(e,6e4);return()=>clearInterval(t)},[]),(0,a.useEffect)(()=>{let e=()=>{if(!y.current)return;let e=y.current.getBoundingClientRect(),t=window.innerHeight;w(.55*(1-Math.max(0,Math.min(1,(t-e.top)/t))))};return window.addEventListener("scroll",e,{passive:!0}
1),e(),()=>{window.removeEventListener("scroll",e)}},[]),(0,r.jsxs)("footer",{ref:y,className:"relative isolate mx-4 mb-4 overflow-hidden rounded-3xl ".concat(t),children:[(0,r.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to bottom, #b5794f 0%, #b97b52 10%, #b87a51 20%, #b4754f 30%, #b3734e 40%, #ad6c49 50%, #a26240 60%, #95553a 70%, #844b37 80%, #6b3a2b 90%, #5f3423 100%)"},children:(0,r.jsx)("div",{className:"absolute inset-0 opacity-[0.05] pointer-events-none",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E\")",mixBlendMode:"multiply"}})}),(0,r.jsx)("div",{className:"hidden sm:block absolute inset-y-0 left-0 sm:w-[120px] md:w-[200px] lg:w-[calc(300px+5%)] xl:w-[calc(300px+10%)] bg-cover bg-right-top",style:{backgroundImage:"url(https://sdmgikxgpjyzeolxzqfb.supabase.co/storage/v1/object/public/assets/footer/footer-left-transparent.png)"}}),(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 w-[250px] sm:w-[120px] md:w-[200px] lg:w-[calc(300px+5%)] xl:w-[calc(300px+10%)] bg-cover bg-left-top",style:{backgroundImage:"url(https://sdmgikxgpjyzeolxzqfb.supabase.co/storage/v1/object/public/assets/footer/footer-right-transparent.png)"}}),(0,r.jsx)("div",{className:"absolute inset-0 pointer-events-none footer-candle-light",style:{background:"linear-gradient(rgb(103 100 100 / ".concat(j,") 0%, rgb(42 34 34 / ").concat(j+.13,") 100%)"),mixBlendMode:k?"overlay":"color-burn"}}),(0,r.jsxs)("div",{className:"container mx-auto px-4 sm:px-6 md:px-12 relative z-10 pt-12 sm:pt-16 md:pt-20 pb-6 sm:pb-8 md:pb-10",children:[(0,r.jsxs)("div",{className:"text-center mb-8 sm:mb-10 md:mb-12",children:[(0,r.jsx)(n(),{href:(0,u._e)("/",o),className:"inline-block",children:(0,r.jsxs)("h2",{className:"text-3xl sm:text-4xl md:text-5xl font-bold tracking-tighter text-[#fff5d8] mb-4 hover:opacity-80 transition-opacity",children:["Sardoche",(0,r.jsx)("span",{className:"text-[#ffa06d]",children:".tv"})]})}),(0,r.jsx)("p",{className:"text-[#fff5d8]/70 text-base sm:text-xl",children:l("tagline")})]}),(0,r.jsx)("div",{className:"mb-10 sm:mb-12 md:mb-16",children:(0,r.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 sm:gap-3 md:gap-4 max-w-3xl mx-auto",children:i.map(e=>(0,r.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"group relative flex flex-col items-center justify-center gap-2 sm:gap-3 p-3 sm:p-4 rounded-lg sm:rounded-xl bg-[#fff5d8]/[0.03] border border-[#fff5d8]/[0.08] hover:bg-[#fff5d8]/[0.08] hover:border-[#ffa06d]/30 transition-all duration-300 ease-out",children:[(0,r.jsx)("div",{className:"p-1.5 sm:p-2 rounded-full bg-[#fff5d8]/5 group-hover:bg-[#fff5d8]/10 transition-colors duration-300",children:(0,r.jsx)(e.icon,{className:"w-4 h-4 sm:w-5 sm:h-5 transition-all duration-300 group-hover:scale-110 text-[#fff5d8]/60 ".concat(e.color)})}),(0,r.jsxs)("span",{className:"text-xs sm:text-sm font-medium text-[#fff5d8]/70 group-hover:text-[#fff5d8] transition-colors flex items-center gap-1.5",children:[e.name,("Twitch"===e.name&&c.twitch||"Kick"===e.name&&c.kick&&x.$.channels.kick.enabled)&&(0,r.jsxs)("span",{className:"absolute -top-2 -right-2 flex items-center gap-1 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-[#fff5d8] bg-[#ffa06d] rounded-full shadow-lg shadow-[#ffa06d]/25",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 bg-[#fff5d8] rounded-full animate-pulse"}),"Live"]})]}),(0,r.jsx)(d.A,{className:"absolute top-2 right-2 w-3 h-3 text-[#fff5d8]/20 opacity-0 -translate-y-1 translate-x-1 group-hover:opacity-100 group-hover:translate-y-0 group-hover:translate-x-0 transition-all duration-300"})]},e.name))})}),(0,r.jsx)("div",{className:"pt-6 sm:pt-8 border-t border-[#fff5d8]/10",children:(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row items-center justify-between gap-3 sm:gap-4 text-xs sm:text-sm",children:[(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-x-2 gap-y-1.5 font-medium",children:[(0,r.jsxs)("span",{className:"flex items-center gap-2 text-[#e6d3b0]",children:[(0,r.jsx)(f.A,{"aria-hidden":"true",className:"w-3.5 h-3.5 sm:w-4 sm:h-4 shrink-0"}),(0,r.jsxs)("span",{children:[s," Sardoche. ",l("rights")]})]}),(0,r.jsxs)("nav",{"aria-label":l("legal"),className:"flex flex-wrap items-center justify-center gap-x-2 gap-y-1",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"hidden lg:inline text-[#e6d3b0]",children:"\xb7"}),(0,r.jsx)(n(),{href:(0,u._e)(p.di.privacy,o),className:v,children:l("privacy")}),(0,r.jsx)("span",{"aria-hidden":"true",className:"text-[#e6d3b0]",children:"\xb7"}),(0,r.jsx)(n(),{href:(0,u._e)(p.di.terms,o),className:v,children:l("terms")})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 text-[#e6d3b0]",children:[(0,r.jsx)("span",{children:l("designedBy")}),(0,r.jsx)("a",{href:"https://x.com/timortunchained",target:"_blank",rel:"noopener noreferrer",className:"group flex items-center gap-1 rounded-sm text-[#fff8e7] hover:text-[#ffa06d] transition-colors font-semibold focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#ffa06d]",children:"Timort"})]})]})})]})]})}}}]);

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.