1import{K as e,Z as t,t as n}from"./jsx-runtime-Dto-l-31.js";import{a as r,l as i}from"./CookieConsentProvider-ChksojRz.js";import{t as a}from"./dist-mmliFlIR.js";import{a as o,c as s,i as c,n as l,r as u,s as d,t as f}from"./dist-B27bLYu2.js";import{t as p}from"./dist-C3gUN7YM.js";import{t as m}from"./dist-jsapqest.js";import{t as h}from"./useTranslation-D3EEO24l.js";import{t as g}from"./useLocalizedLocation-DSHrc5Vu.js";var _=t(e(),1),v=n(),y=/(https?:\/\/[^\s<>"']+[^\s<>"'.,;:!?)\]])/g;function b(e){return e.split(y).map((e,t)=>y.test(e)?(0,v.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:`underline [overflow-wrap:anywhere] hover:text-primary`,children:x(e)},t):(0,v.jsx)(`span`,{children:e},t))}function x(e){return e.split(`/`).map((e,t)=>t===0?e:(0,v.jsxs)(_.Fragment,{children:[`/`,(0,v.jsx)(`wbr`,{}),e]},t))}function S({data:e,className:t,containerClassName:n,headerAccessory:i}){return(0,v.jsxs)(`div`,{className:r(n),children:[i?(0,v.jsxs)(`div`,{className:`mb-8 flex flex-col items-start gap-4 sm:flex-row sm:items-center sm:justify-between`,children:[(0,v.jsx)(`h1`,{className:r(`text-3xl font-bold`,t),children:e.title}),i]}):(0,v.jsx)(`h1`,{className:r(`mb-8 text-3xl font-bold`,t),children:e.title}),e.sections.map((e,n)=>e.level===2?(0,v.jsx)(w,{title:e.title,className:t,children:e.blocks?.map((e,t)=>C(e,t))},n):(0,v.jsx)(T,{title:e.title,className:t,children:e.blocks?.map((e,t)=>C(e,t))},n))]})}function C(e,t){return e.type===`paragraph`?(0,v.jsx)(`p`,{children:b(e.text)},t):(0,v.jsx)(`ul`,{className:`list-disc space-y-2 pl-6`,children:e.items.map((e,t)=>(0,v.jsx)(`li`,{children:b(e)},t))},t)}function w({title:e,children:t,className:n}){return(0,v.jsxs)(`section`,{className:`mb-12`,children:[(0,v.jsx)(`h2`,{className:r(`mb-4 text-2xl font-semibold text-[#1F2937]`,n),children:e}),(0,v.jsx)(`div`,{className:`space-y-4 text-[#374151]`,children:t})]})}function T({title:e,children:t,className:n}){return(0,v.jsxs)(`div`,{className:`mb-10`,children:[(0,v.jsx)(`h3`,{className:r(`mb-3 text-xl font-semibold text-[#1F2937]`,n),children:e}),(0,v.jsx)(`div`,{className:`space-y-4 text-[#374151]`,children:t})]})}var E=Object.defineProperty,D=(e,t)=>E(e,`name`,{value:t,configurable:!0}),O=!1;function k(){let[e,t]=_.useState(O);return _.useEffect(()=>{O||(O=!0,t(!0))},[]),e}D(k,`useIsHydrated`);var A=_.useSyncExternalStore;function j(){return()=>{}}D(j,`subscribe`);function M(){return A(j,()=>!0,()=>!1)}D(M,`useIsHydratedModern`);var ee=typeof A==`function`?M:k,te=Object.defineProperty,N=(e,t)=>te(e,`name`,{value:t,configurable:!0}),P=`rovingFocusGroup.onEntryFocus`,ne={bubbles:!1,cancelable:!0},F=`RovingFocusGroup`,[I,L,re]=f(F),[ie,R]=d(F,[re]),[ae,oe]=ie(F),se=_.forwardRef(N(function(e,t){return(0,v.jsx)(I.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,v.jsx)(I.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,v.jsx)(ce,{...e,ref:t})})})},`RovingFocusGroup`)),ce=_.forwardRef(N(function(e,t){let{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:c,currentTabStopId:d,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:m,onEntryFocus:h,preventScrollOnEntryFocus:g=!1,...y}=e,b=_.useRef(null),x=i(t,b),S=l(c),[C,w]=u({prop:d,defaultProp:f??null,onChange:m,caller:F}),[T,E]=_.useState(!1),D=p(h),O=L(n),k=_.useRef(!1),[A,j]=_.useState(0);return _.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(P,D),()=>e.removeEventListener(P,D)},[D]),(0,v.jsx)(ae,{scope:n,orientation:r,dir:S,loop:a,currentTabStopId:C,onItemFocus:_.useCallback(e=>w(e),[w]),onItemShiftTab:_.useCallback(()=>E(!0),[]),onFocusableItemAdd:_.useCallback(()=>j(e=>e+1),[]),onFocusableItemRemove:_.useCallback(()=>j(e=>e-1),[]),children:(0,v.jsx)(o.div,{tabIndex:T||A===0?-1:0,"data-orientation":r,...y,ref:x,style:{outline:`none`,...e.style},onMouseDown:s(e.onMouseDown,()=>{k.current=!0}),onFocus:s(e.onFocus,e=>{let t=!k.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(P,ne);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);V([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),g)}}k.current=!1}),onBlur:s(e.onBlur,()=>E(!1))})})},`RovingFocusGroupImpl`)),le=`RovingFocusGroupItem`,ue=_.forwardRef(N(function(e,t){let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:l,...u}=e,d=m(),f=a||d,p=oe(le,n),h=p.currentTabStopId===f,g=L(n),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:x}=p,S=ee();return c(()=>
1{if(!(!S||!r))return y(),()=>b()},[S,r,y,b]),_.useEffect(()=>{if(!(S||!r))return y(),()=>b()},[S,r,y,b]),(0,v.jsx)(I.ItemSlot,{scope:n,id:f,focusable:r,active:i,children:(0,v.jsx)(o.span,{tabIndex:h?0:-1,"data-orientation":p.orientation,...u,ref:t,onMouseDown:s(e.onMouseDown,e=>{r?p.onItemFocus(f):e.preventDefault()}),onFocus:s(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:s(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){p.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=B(e,p.orientation,p.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=g().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=p.loop?H(n,r+1):n.slice(r+1)}setTimeout(()=>V(n))}}),children:typeof l==`function`?l({isCurrentTabStop:h,hasTabStop:x!=null}):l})})},`RovingFocusGroupItem`)),de={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function z(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}N(z,`getDirectionAwareKey`);function B(e,t,n){let r=z(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return de[r]}N(B,`getFocusIntent`);function V(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}N(V,`focusFirst`);function H(e,t){return e.map((n,r)=>e[(t+r)%e.length])}N(H,`wrapArray`);var fe=se,pe=ue,me=Object.defineProperty,he=(e,t)=>me(e,`name`,{value:t,configurable:!0}),ge=`Toggle`,U=_.forwardRef(he(function(e,t){let{pressed:n,defaultPressed:r,onPressedChange:i,...a}=e,[c,l]=u({prop:n,onChange:i,defaultProp:r??!1,caller:ge});return(0,v.jsx)(o.button,{type:`button`,"aria-pressed":c,"data-state":c?`on`:`off`,"data-disabled":e.disabled?``:void 0,...a,ref:t,onClick:s(e.onClick,()=>{e.disabled||l(!c)})})},`Toggle`)),W=U,_e=Object.defineProperty,G=(e,t)=>_e(e,`name`,{value:t,configurable:!0}),K=`ToggleGroup`,[q,ve]=d(K,[R]),J=R(),Y=_.forwardRef(G(function(e,t){let{type:n,...r}=e;if(n===`single`)return(0,v.jsx)(ye,{role:`radiogroup`,...r,ref:t});if(n===`multiple`)return(0,v.jsx)(be,{role:`toolbar`,...r,ref:t});throw Error(`Missing prop \`type\` expected on \`${K}\``)},`ToggleGroup`)),[X,Z]=q(K),ye=_.forwardRef(G(function(e,t){let{value:n,defaultValue:r,onValueChange:i=G(()=>{},`onValueChange`),...a}=e,[o,s]=u({prop:n,defaultProp:r??``,onChange:i,caller:K});return(0,v.jsx)(X,{scope:e.__scopeToggleGroup,type:`single`,value:_.useMemo(()=>o?[o]:[],[o]),onItemActivate:s,onItemDeactivate:_.useCallback(()=>s(``),[s]),children:(0,v.jsx)(Ce,{...a,ref:t})})},`ToggleGroupImplSingle`)),be=_.forwardRef(G(function(e,t){let{value:n,defaultValue:r,onValueChange:i=G(()=>{},`onValueChange`),...a}=e,[o,s]=u({prop:n,defaultProp:r??[],onChange:i,caller:K}),c=_.useCallback(e=>s((t=[])=>[...t,e]),[s]),l=_.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,v.jsx)(X,{scope:e.__scopeToggleGroup,type:`multiple`,value:o,onItemActivate:c,onItemDeactivate:l,children:(0,v.jsx)(Ce,{...a,ref:t})})},`ToggleGroupImplMultiple`)),[xe,Se]=q(K),Ce=_.forwardRef(G(function(e,t){let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:a,dir:s,loop:c=!0,...u}=e,d=J(n),f=l(s),p={dir:f,...u};return(0,v.jsx)(xe,{scope:n,rovingFocus:i,disabled:r,children:i?(0,v.jsx)(fe,{asChild:!0,...d,orientation:a,dir:f,loop:c,children:(0,v.jsx)(o.div,{...p,ref:t})}):(0,v.jsx)(o.div,{...p,ref:t})})},`ToggleGroupImpl`)),Q=`ToggleGroupItem`,we=_.forwardRef(G(function(e,t){let n=Z(Q,e.__scopeToggleGroup),r=Se(Q,e.__scopeToggleGroup),i=J(e.__scopeToggleGroup),a=n.value.includes(e.value),o=r.disabled||e.disabled,s={...e,pressed:a,disabled:o},c=_.useRef(null);return r.rovingFocus?(0,v.jsx)(pe,{asChild:!0,...i,focusable:!o,active:a,ref:c,children:(0,v.jsx)(Te,{...s,ref:t})}):(0,v.jsx)(Te,{...s,ref:t})},`ToggleGroupItem`)),Te=_.forwardRef(G(function(e,t){let{__scopeToggleGroup:n,value:r,...i}=e,a=Z(Q,n),o={role:`radio`,"aria-checked":e.pressed,"aria-pressed":void 0},s=a.type===`single`?o:void 0;
1return(0,v.jsx)(U,{...s,...i,ref:t,onPressedChange:e=>{e?a.onItemActivate(r):a.onItemDeactivate(r)}})},`ToggleGroupItemImpl`)),Ee=a(`inline-flex items-center justify-center rounded-md text-base font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground`,{variants:{variant:{default:`bg-transparent`,outline:`border border-input bg-transparent hover:bg-accent hover:text-accent-foreground`},size:{default:`h-10 px-3`,sm:`h-9 px-2.5`,lg:`h-11 px-5`}},defaultVariants:{variant:`default`,size:`default`}}),De=_.forwardRef(({className:e,variant:t,size:n,...i},a)=>(0,v.jsx)(W,{ref:a,className:r(Ee({variant:t,size:n,className:e})),...i}));De.displayName=W.displayName;var Oe=_.createContext({size:`default`,variant:`default`}),ke=_.forwardRef(({className:e,variant:t,size:n,children:i,...a},o)=>(0,v.jsx)(Y,{ref:o,className:r(`flex items-center justify-center gap-1`,e),...a,children:(0,v.jsx)(Oe.Provider,{value:{variant:t,size:n},children:i})}));ke.displayName=Y.displayName;var $=_.forwardRef(({className:e,children:t,variant:n,size:i,...a},o)=>{let s=_.useContext(Oe);return(0,v.jsx)(we,{ref:o,className:r(Ee({variant:s.variant||n,size:s.size||i}),e),...a,children:t})});$.displayName=we.displayName;var Ae={web:`/privacy-policy`,mobile:`/privacy-policy/mobile`};function je({activeType:e}){let{t}=h(),{navigateLocalized:n}=g(),[r,i]=(0,_.useState)(e),a=(0,_.useRef)(null);(0,_.useEffect)(()=>{i(e)},[e]),(0,_.useEffect)(()=>()=>{a.current&&clearTimeout(a.current)},[]);function o(e){(e===`web`||e===`mobile`)&&(i(e),a.current&&clearTimeout(a.current),a.current=setTimeout(()=>{n(Ae[e])},180))}return(0,v.jsxs)(ke,{type:`single`,value:r,onValueChange:o,"aria-label":t(`privacyPolicySwitcher.ariaLabel`),className:`relative mb-7 grid w-fit grid-cols-2 gap-0 rounded-full border border-[#E5E7EB] bg-white p-1`,children:[(0,v.jsx)(`span`,{"aria-hidden":`true`,className:`ease-[cubic-bezier(0.22,1,0.36,1)] pointer-events-none absolute left-1 top-1 h-10 w-[68px] rounded-full bg-white shadow-[0_1px_2px_0_rgba(0,0,0,0.3),0_1px_3px_1px_rgba(0,0,0,0.15)] transition-transform duration-300`,style:{transform:r===`mobile`?`translateX(68px)`:`translateX(0)`}}),(0,v.jsx)($,{value:`web`,"aria-label":t(`privacyPolicySwitcher.web`),className:`relative z-10 h-10 w-[68px] rounded-full px-5 font-sans text-sm font-semibold text-navy-blue shadow-none transition-colors duration-200 hover:bg-transparent hover:text-navy-blue data-[state=on]:bg-transparent data-[state=off]:font-medium data-[state=off]:text-navy-blue/50 data-[state=on]:text-navy-blue`,children:t(`privacyPolicySwitcher.web`)}),(0,v.jsx)($,{value:`mobile`,"aria-label":t(`privacyPolicySwitcher.mobile`),className:`relative z-10 h-10 w-[68px] rounded-full px-5 font-sans text-sm font-semibold text-navy-blue shadow-none transition-colors duration-200 hover:bg-transparent hover:text-navy-blue data-[state=on]:bg-transparent data-[state=off]:font-medium data-[state=off]:text-navy-blue/50 data-[state=on]:text-navy-blue`,children:t(`privacyPolicySwitcher.mobile`)})]})}export{S as n,je 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.