PageSourceSearch

https://tickets.hockenheimring.de/web3/assets/BqhEGZka2.js

js hockenheimring.de collected 2026-09-24 21:52:55 UTC 6,212 bytes, 1 lines download raw bytes

1import{a as e}from"./CNC7AqOf.js";import{$t as t,Qt as n,Xt as r,Yt as i,Zt as a,en as o,nn as s,tn as c}from"./Cj3Ri-bZ.js";import{n as l,t as u}from"./C5KgTtL52.js";import{n as d}from"./DTbR38vj2.js";import{_ as f,a as p,b as m,p as h,t as g,u as _,v,x as y}from"./IGt-hQ4R2.js";var b=y(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),x=e(l(),1),S=u(),C=`Checkbox`,[w,T]=f(C),[E,D]=w(C);function O(e){let{__scopeCheckbox:t,checked:n,children:r,defaultChecked:i,disabled:a,form:o,name:s,onCheckedChange:c,required:l,value:u=`on`,internal_do_not_use_render:d}=e,[f,p]=h({prop:n,defaultProp:i??!1,onChange:c,caller:C}),[m,g]=x.useState(null),[_,v]=x.useState(null),y=x.useRef(!1),b=!m||!!o||!!m.closest(`form`),w={checked:f,disabled:a,setChecked:p,control:m,setControl:g,name:s,form:o,value:u,hasConsumerStoppedPropagationRef:y,required:l,defaultChecked:!L(i)&&i,isFormControl:b,bubbleInput:_,setBubbleInput:v};return(0,S.jsx)(E,{scope:t,...w,children:I(d)?d(w):r})}var k=`CheckboxTrigger`,A=x.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},i)=>{let{control:a,value:o,disabled:s,checked:c,required:l,setControl:u,setChecked:d,hasConsumerStoppedPropagationRef:f,isFormControl:p,bubbleInput:h}=D(k,e),g=m(i,u),y=x.useRef(c);return x.useEffect(()=>{let e=a?.form;if(e){let t=()=>d(y.current);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[a,d]),(0,S.jsx)(_.button,{type:`button`,role:`checkbox`,"aria-checked":L(c)?`mixed`:c,"aria-required":l,"data-state":R(c),"data-disabled":s?``:void 0,disabled:s,value:o,...r,ref:g,onKeyDown:v(t,e=>{e.key===`Enter`&&e.preventDefault()}),onClick:v(n,e=>{d(e=>L(e)?!0:!e),h&&p&&(f.current=e.isPropagationStopped(),f.current||e.stopPropagation())})})});A.displayName=k;var j=x.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c,onCheckedChange:l,form:u,...d}=e;return(0,S.jsx)(O,{__scopeCheckbox:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:l,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(A,{...d,ref:t,__scopeCheckbox:n}),e&&(0,S.jsx)(F,{__scopeCheckbox:n})]})})});j.displayName=C;var M=`CheckboxIndicator`,N=x.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...i}=e,a=D(M,n);return(0,S.jsx)(p,{present:r||L(a.checked)||a.checked===!0,children:(0,S.jsx)(_.span,{"data-state":R(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t,style:{pointerEvents:`none`,...e.style}})})});N.displayName=M;var P=`CheckboxBubbleInput`,F=x.forwardRef(({__scopeCheckbox:e,...t},n)=>{let{control:r,hasConsumerStoppedPropagationRef:i,checked:a,defaultChecked:o,required:s,disabled:l,name:u,value:d,form:f,bubbleInput:p,setBubbleInput:h}=D(P,e),v=m(n,h),y=c(a),b=g(r);x.useEffect(()=>{let e=p;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set,r=!i.current;if(y!==a&&n){let t=new Event(`click`,{bubbles:r});e.indeterminate=L(a),n.call(e,!L(a)&&a),e.dispatchEvent(t)}},[p,y,a,i]);let C=x.useRef(!L(a)&&a);return(0,S.jsx)(_.input,{type:`checkbox`,"aria-hidden":!0,defaultChecked:o??C.current,required:s,disabled:l,name:u,value:d,form:f,...t,tabIndex:-1,ref:v,style:{...t.style,...b,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})});F.displayName=P;function I(e){return typeof e==`function`}function L(e){return e===`indeterminate`}function R(e){return L(e)?`indeterminate`:e?`checked`:`unchecked`}function z({className:e,...t}){return(0,S.jsx)(j,{"data-slot":`checkbox`,className:d(`relative border-border aria-invalid:border-destructive dark:bg-input/30 size-4 shrink-0 rounded border shadow-xs transition-[color,box-shadow] cursor-pointer disabled:cursor-not-allowed disabled:opacity-50 before:absolute before:left-1/2 before:top-1/2 before:size-9 before:-translate-x-1/2 before:-translate-y-1/2 aria-checked:bg-blue-500! aria-checked:border-blue-500 touch-manipulation`,e),...t,children:(0,S.jsx)(N,{"data-slot":`checkbox-indicator`,className:`flex items-center justify-center`,children:(0,S.jsx)(b,{className:`size-3 text-white`,strokeWidth:4,"aria-hidden":`true`})})})}function B({id:e,ref:t,checked:n,onCheckedChange:i,disabled:a,label:s,labelClassName:c,description:l,"aria-invalid":u,"aria-required":f}){let{errorId:p,error:m}=o();return(0,S.jsxs)(`div`,{className:`flex items-start gap-2 py-1`,children:[(0,S.jsx)(z,{ref:t,id:e,checked:n,onCheckedChange:e=>i?.(e===!0),disabled:a,"aria-invalid":u,"aria-required":f,"aria-describedby":m?p:void 0}),(0,S.jsxs)(`label`,{htmlFor:e,className:d(`relative flex-1 -mt-1 cursor-pointer before:absolute before:inset-y-1/2 before:left-0 before:right-0 before:h-9 before:-translate-y-1/2`,c),children:[(0,S.jsx)(`span`,{className:`text-sm font-medium leading-snug`,children:s}),l&&(0,S.jsx)(r,{children:l})]})]})}function V({control:e,name:r,label:o,visuallyHideLabel:c,error:l,description:u,required:d,...f}){return(0,S.jsx)(s,{control:e,name:r,render:({field:e,fieldState:s})=>{let p=l??s.error?.message;return(0,S.jsxs)(n,{invalid:s.invalid,error:p,label:typeof o==`string`?o:void 0,required:d,children:[c?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(t,{className:`sr-only`,children:o}),(0,S.jsx)(i,{children:(0,S.jsx)(B,{id:`${r}-checkbox`,ref:e.ref,checked:e.value,onCheckedChange:e.onChange,disabled:f.disabled,label:o,description:u,"aria-invalid":s.invalid,"aria-required":d})})]}):(0,S.jsx)(i,{children:(0,S.jsx)(B,{id:`${r}-checkbox`,ref:e.ref,checked:e.value,onCheckedChange:e.onChange,disabled:f.disabled,label:o,description:u,"aria-invalid":s.invalid,"aria-required":d})}),(0,S.jsx)(a,{})]})}})}function H(e){if(e.control!==void 0)return(0,S.jsx)(V,{...e});let{label:r,visuallyHideLabel:o,error:s,description:c,required:l,checked:u,onCheckedChange:d,disabled:f,name:p}=e,m=p?`${p}-checkbox`:`checkbox`;return(0,S.jsxs)(n,{invalid:!!s,error:s,label:typeof r==`string`?r:void 0,required:l,children:[o&&(0,S.jsx)(t,{className:`sr-only`,children:r}),(0,S.jsx)(i,{children:(0,S.jsx)(B,{id:m,checked:u,onCheckedChange:d,disabled:f,label:r,de
1scription:c,"aria-invalid":!!s,"aria-required":l})}),(0,S.jsx)(a,{})]})}export{b as i,j as n,N as r,H as t};

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.