PageSourceSearch

https://www.peakace.app/_next/static/chunks/279-03e5ce2db87bc199.js

js peakace.app collected 2026-10-07 22:01:03 UTC 9,823 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[279],{4509:(e,a,t)=>{t.d(a,{C5:()=>g,MJ:()=>h,Rr:()=>N,eI:()=>p,lR:()=>x,lV:()=>o,zB:()=>m});var r=t(95155),s=t(12115),n=t(32467),l=t(22544),d=t(25016),i=t(90235);let o=l.Op,c=s.createContext({}),m=e=>{let{...a}=e;return(0,r.jsx)(c.Provider,{value:{name:a.name},children:(0,r.jsx)(l.xI,{...a})})},f=()=>{let e=s.useContext(c),a=s.useContext(u),{getFieldState:t,formState:r}=(0,l.xW)(),n=t(e.name,r);if(!e)throw Error("useFormField should be used within <FormField>");let{id:d}=a;return{id:d,name:e.name,formItemId:"".concat(d,"-form-item"),formDescriptionId:"".concat(d,"-form-item-description"),formMessageId:"".concat(d,"-form-item-message"),...n}},u=s.createContext({}),p=s.forwardRef((e,a)=>{let{className:t,...n}=e,l=s.useId();return(0,r.jsx)(u.Provider,{value:{id:l},children:(0,r.jsx)("div",{ref:a,className:(0,d.cn)("space-y-1",t),...n})})});p.displayName="FormItem";let x=s.forwardRef((e,a)=>{let{className:t,...s}=e,{error:n,formItemId:l}=f();return(0,r.jsx)(i.J,{ref:a,className:(0,d.cn)(n&&"text-destructive",t),htmlFor:l,...s})});x.displayName="FormLabel";let h=s.forwardRef((e,a)=>{let{...t}=e,{error:s,formItemId:l,formDescriptionId:d,formMessageId:i}=f();return(0,r.jsx)(n.DX,{ref:a,id:l,"aria-describedby":s?"".concat(d," ").concat(i):"".concat(d),"aria-invalid":!!s,...t})});h.displayName="FormControl";let N=s.forwardRef((e,a)=>{let{className:t,...s}=e,{formDescriptionId:n}=f();return(0,r.jsx)("p",{ref:a,id:n,className:(0,d.cn)("text-[0.8rem] text-muted-foreground",t),...s})});N.displayName="FormDescription";let g=s.forwardRef((e,a)=>{let{className:t,children:s,...n}=e,{error:l,formMessageId:i}=f(),o=l?String(null==l?void 0:l.message):s;return o?(0,r.jsx)("p",{ref:a,id:i,className:(0,d.cn)("text-[0.8rem] font-medium text-destructive",t),...n,children:o}):null});g.displayName="FormMessage"},7220:(e,a,t)=>{t.d(a,{I:()=>f,SQ:()=>u,_2:()=>p,lp:()=>x,mB:()=>h,rI:()=>c,ty:()=>m});var r=t(95155),s=t(12115),n=t(37738),l=t(63263),d=t(72251),i=t(75797),o=t(25016);let c=n.bL,m=n.l9,f=n.YJ;n.ZL,n.Pb,n.z6,s.forwardRef((e,a)=>{let{className:t,inset:s,children:d,...i}=e;return(0,r.jsxs)(n.ZP,{ref:a,className:(0,o.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s&&"pl-8",t),...i,children:[d,(0,r.jsx)(l.A,{className:"ml-auto"})]})}).displayName=n.ZP.displayName,s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(n.G5,{ref:a,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...s})}).displayName=n.G5.displayName;let u=s.forwardRef((e,a)=>{let{className:t,sideOffset:s=4,...l}=e;return(0,r.jsx)(n.ZL,{children:(0,r.jsx)(n.UC,{ref:a,sideOffset:s,className:(0,o.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...l})})});u.displayName=n.UC.displayName;let p=s.forwardRef((e,a)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(n.q7,{ref:a,className:(0,o.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",s&&"pl-8",t),...l})});p.displayName=n.q7.displayName,s.forwardRef((e,a)=>{let{className:t,children:s,checked:l,...i}=e;return(0,r.jsxs)(n.H_,{ref:a,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:l,...i,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.VF,{children:(0,r.jsx)(d.A,{className:"h-4 w-4"})})}),s]})}).displayName=n.H_.displayName,s.forwardRef((e,a)=>{let{className:t,children:s,...l}=e;return(0,r.jsxs)(n.hN,{ref:a,className:(0,o.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(n.VF,{children:(0,r.jsx)(i.A,{className:"h-2 w-2 fill-current"})})}),s]})}).displayName=n.hN.displayName;let x=s.forwardRef((e,a)=>{let{className:t,inset:s,...l}=e;return(0,r.jsx)(n.JU,{ref:a,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...l})});x.displayName=n.JU.displayName;let h=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(n.wv,{ref:a,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});h.displayName=n.wv.displayName},13918:(e,a,t)=>{t.d(a,{AnimatedThemeToggler:()=>m});var r=t(95155),s=t(64486),n=t(12784),l=t(12115),d=t(47650),i=t(25016),o=t(97003),c=t(5379);let m=e=>{let{className:a}=e,{theme:t,setTheme:m}=(0,c.D)(),[f,u]=(0,l.useState)(!1),p=(0,l.useRef)(null);(0,l.useEffect)(()=>{u(!0)},[]);let x=async()=>
1{if(!p.current||!f)return;let e="dark"===t?"light":"dark";if(!document.startViewTransition)return void m(e);await document.startViewTransition(()=>{(0,d.flushSync)(()=>{m(e)})}).ready;let{top:a,left:r,width:s,height:n}=p.current.getBoundingClientRect(),l=a+n/2,i=r+s/2,o=window.innerWidth-r,c=window.innerHeight-a,u=Math.hypot(Math.max(r,o),Math.max(a,c));document.documentElement.animate({clipPath:["circle(0px at ".concat(i,"px ").concat(l,"px)"),"circle(".concat(u,"px at ").concat(i,"px ").concat(l,"px)")]},{duration:700,easing:"ease-in-out",pseudoElement:"::view-transition-new(root)"})};return f?(0,r.jsxs)(o.$,{variant:"outline",size:"icon",ref:p,onClick:x,className:(0,i.cn)(a,"dark:bg-black dark:border-stone-500"),children:[(0,r.jsx)(s.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0 text-gray-900 dark:text-gray-100"}),(0,r.jsx)(n.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100 text-gray-900 dark:text-gray-100"})]}):(0,r.jsx)(o.$,{variant:"outline",size:"icon",className:(0,i.cn)(a,"dark:bg-black dark:border-stone-500"),disabled:!0,children:(0,r.jsx)(s.A,{className:"h-[1.2rem] w-[1.2rem]"})})}},51539:(e,a,t)=>{t.d(a,{Accordion:()=>i,AccordionContent:()=>m,AccordionItem:()=>o,AccordionTrigger:()=>c});var r=t(95155),s=t(12115),n=t(58609),l=t(59007),d=t(25016);let i=n.bL,o=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(n.q7,{ref:a,className:(0,d.cn)("border-b",t),...s})});o.displayName="AccordionItem";let c=s.forwardRef((e,a)=>{let{className:t,children:s,...i}=e;return(0,r.jsx)(n.Y9,{className:"flex",children:(0,r.jsxs)(n.l9,{ref:a,className:(0,d.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",t),...i,children:[s,(0,r.jsx)(l.A,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});c.displayName=n.l9.displayName;let m=s.forwardRef((e,a)=>{let{className:t,children:s,...l}=e;return(0,r.jsx)(n.UC,{ref:a,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...l,children:(0,r.jsx)("div",{className:(0,d.cn)("pb-4 pt-0",t),children:s})})});m.displayName=n.UC.displayName},73920:(e,a,t)=>{t.d(a,{LanguageSelector:()=>i});var r=t(95155),s=t(7220),n=t(97003),l=t(83305),d=t(15239);function i(){let e=(0,l.nY)(),a=(0,l._b)();return(0,r.jsxs)(s.rI,{children:[(0,r.jsx)(s.ty,{asChild:!0,children:(0,r.jsx)(n.$,{variant:"outline",size:"icon",className:"dark:bg-black dark:border-stone-500",children:(0,r.jsx)("div",{className:"flex items-center gap-2",children:"fr"===e?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"relative h-3 w-4 overflow-hidden rounded",children:(0,r.jsx)(d.default,{src:"/frenchflag.png",alt:"Drapeau fran\xe7ais",fill:!0,className:"object-cover"})})}):(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"relative h-3 w-4 overflow-hidden rounded",children:(0,r.jsx)(d.default,{src:"/englishflag.webp",alt:"British flag",fill:!0,className:"object-cover"})})})})})}),(0,r.jsxs)(s.SQ,{align:"end",children:[(0,r.jsx)(s._2,{onClick:()=>a("fr"),children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"relative h-4 w-6 overflow-hidden rounded",children:(0,r.jsx)(d.default,{src:"/frenchflag.png",alt:"Drapeau fran\xe7ais",fill:!0,className:"object-cover"})}),(0,r.jsx)("span",{children:"Fran\xe7ais"})]})}),(0,r.jsx)(s._2,{onClick:()=>a("en"),children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"relative h-4 w-6 overflow-hidden rounded",children:(0,r.jsx)(d.default,{src:"/englishflag.webp",alt:"British flag",fill:!0,className:"object-cover"})}),(0,r.jsx)("span",{children:"English"})]})})]})]})}}}]);

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.