"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[7880],{30052:(e,r,t)=>{t.r(r),t.d(r,{default:()=>o});var l=t(51280),n=t(1828);const o=(0,t(88496).memo)((({label:e,id:r,value:t,onChange:o,required:a,defaultValue:c,disabled:u,options:i={}})=>(0,l.createElement)(n.Ss,{disabled:u&&!Array.isArray(u),className:"cmplz-input-group cmplz-radio-group",value:t,"aria-label":e,onValueChange:o,required:a,default:c},Object.entries(i).map((([e,t])=>(0,l.createElement)("div",{key:e,className:"cmplz-radio-group__item"},(0,l.createElement)(n.iY,{disabled:Array.isArray(u)&&u.includes(e),value:e,id:r+"_"+e},(0,l.createElement)(n.wH,{className:"cmplz-radio-group__indicator"})),(0,l.createElement)("label",{className:"cmplz-radio-label",htmlFor:r+"_"+e},t)))))))},35480:(e,r,t)=>{t.d(r,{o:()=>c});var l=t(51280),n=t(59016),o=t(40304),a=t(22896);function c(e){const r=e+"CollectionProvider",[t,c]=(0,n._)(r),[u,i]=t(r,{collectionRef:{current:null},itemMap:new Map}),s=e+"CollectionSlot",d=e+"CollectionItemSlot",m="data-radix-collection-item";return[{Provider:e=>{const{scope:r,children:t}=e,n=l.useRef(null),o=l.useRef(new Map).current;return l.createElement(u,{scope:r,itemMap:o,collectionRef:n},t)},Slot:l.forwardRef(((e,r)=>{const{scope:t,children:n}=e,c=i(s,t),u=(0,o.q)(r,c.collectionRef);return l.createElement(a.k$,{ref:u},n)})),ItemSlot:l.forwardRef(((e,r)=>{const{scope:t,children:n,...c}=e,u=l.useRef(null),s=(0,o.q)(r,u),p=i(d,t);return l.useEffect((()=>(p.itemMap.set(u,{ref:u,...c}),()=>{p.itemMap.delete(u)}))),l.createElement(a.k$,{[m]:"",ref:s},n)}))},function(r){const t=i(e+"CollectionConsumer",r);return l.useCallback((()=>{const e=t.collectionRef.current;if(!e)return[];const r=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(t.itemMap.values()).sort(((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current)))}),[t.collectionRef,t.itemMap])},c]}},44072:(e,r,t)=>{t.d(r,{cz:()=>o});var l=t(51280);const n=(0,l.createContext)(void 0);function o(e){const r=(0,l.useContext)(n);return e||r||"ltr"}},71340:(e,r,t)=>{var l;t.d(r,{I:()=>u});var n=t(51280),o=t(84904);const a=(l||(l=t.t(n,2)))["useId".toString()]||(()=>{});let c=0;function u(e){const[r,t]=n.useState(a());return(0,o.w)((()=>{e||t((e=>null!=e?e:String(c++)))}),[e]),e||(r?`radix-${r}`:"")}},37408:(e,r,t)=>{t.d(r,{i:()=>n});var l=t(51280);function n(e){const r=(0,l.useRef)({value:e,previous:e});return(0,l.useMemo)((()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous)),[e])}}}]);