@expo/styleguide-cookie-consent 2.0.4 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
+ 'use client';
1
2
  import{c as e}from"react/compiler-runtime";import{jsx as t,jsxs as o,Fragment as n}from"react/jsx-runtime";import{createContext as r,useContext as a,useMemo as i,forwardRef as c,useCallback as s,Children as d,isValidElement as l,cloneElement as u,useId as m,useEffect as p,useState as g,useRef as f,Component as b,startTransition as h}from"react";import{createStore as y}from"zustand/vanilla";import{Slot as v}from"@radix-ui/react-slot";import w from"clsx";import{Root as k,Trigger as x,Content as C,Item as S}from"@radix-ui/react-accordion";import{Root as _,Thumb as j}from"@radix-ui/react-switch";import{createPortal as N}from"react-dom";let I=r({theme:void 0,noStyle:!1,disableAnimation:!1,scrollLock:!1,trapFocus:!0}),T=r(null),A=()=>{let e=a(I),t=a(T);if(!e)throw Error("Theme components must be used within Theme.Root");return function e(t,o){if(!o)return t;let n={...t};for(let r in o)void 0!==o[r]&&(o[r]&&"object"==typeof o[r]&&!Array.isArray(o[r])&&t[r]&&"object"==typeof t[r]?n[r]=e(t[r],o[r]):n[r]=o[r]);return n}(e,t||null)};const E={common:{acceptAll:"Accept All",rejectAll:"Accept Necessary",customize:"Customize",save:"Save Settings"},cookieBanner:{title:"We value your privacy",description:"This site uses cookies to improve your browsing experience, analyze site traffic, and show personalized content."},consentManagerDialog:{title:"Privacy Settings",description:"You can choose which types of cookies you allow."},consentTypes:{necessary:{title:"Necessary",description:"These cookies are essential for the website to function properly and cannot be disabled."},functionality:{title:"Functionality",description:"These cookies enable enhanced functionality and personalization of the website."},marketing:{title:"Marketing",description:"These cookies are used to tailor relevant recommendations and marketing messages."},measurement:{title:"Analytics",description:"These cookies help us understand how visitors interact with the website and improve its performance."},experience:{title:"Experience",description:"These cookies help us provide a better user experience and test new features."}},frame:{title:"Accept {category} consent to view this content.",actionButton:"Enable {category} consent"},legalLinks:{privacyPolicy:"Privacy Policy",cookiePolicy:"Cookie Policy",termsOfService:"Terms of Service"}};function L(e,t){return["cookieBanner","consentManagerDialog","common","consentTypes","frame","legalLinks"].reduce(((o,n)=>{const r=e[n],a=t[n];return(r||a)&&(o[n]={...r||{},...a||{}}),o}),{})}function O(e,t){const o=function(e,t){const o={en:JSON.parse(JSON.stringify(E))},n=[e.translations,t?.translations];for(const e of n)if(e)for(const[t,n]of Object.entries(e)){if(!n)continue;const e=o[t]||o.en;o[t]=L(e,n)}return{...e,...t,translations:o}}(e,t),n=function(e,t,o=!1){if(o)return t||"en";if("undefined"==typeof window)return t||"en";const n=window.navigator.language?.split("-")[0]||"";return n&&n in e?n:t||"en"}(o.translations,o.defaultLanguage,o.disableAutoLanguageSwitch);return{...o,defaultLanguage:n}}const B=/^\/+/;function R(e,t=null,o=null,n=null){return{data:t,error:o,ok:e,response:n}}const P={maxRetries:3,initialDelayMs:100,backoffFactor:2,retryableStatusCodes:[500,502,503,504],nonRetryableStatusCodes:[400,401,403,404],retryOnNetworkError:!0,shouldRetry:void 0},M=/^(?:[a-z+]+:)?\/\//i,z=B,D=e=>new Promise((t=>setTimeout(t,e)));function H(e){let t=e.length;for(;t>0&&"/"===e[t-1];)t--;return e.slice(0,t)}function F(e,t){if(M.test(e)){const o=new URL(e),n=`${H(o.pathname)}/${t.replace(z,"")}`;return o.pathname=n,o.toString()}return`${H(e)}/${t.replace(z,"")}`}const K=R;async function U(e,t,o){const n={...e.retryConfig,...o?.retryConfig||{},retryableStatusCodes:o?.retryConfig?.retryableStatusCodes??e.retryConfig.retryableStatusCodes??P.retryableStatusCodes,nonRetryableStatusCodes:o?.retryConfig?.nonRetryableStatusCodes??e.retryConfig.nonRetryableStatusCodes??P.nonRetryableStatusCodes},{maxRetries:r,initialDelayMs:a,backoffFactor:i,retryableStatusCodes:c,nonRetryableStatusCodes:s,retryOnNetworkError:d}=n;let l=0,u=a,m=null;for(;l<=(r??0);){const a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),p=e.customFetch||globalThis.fetch,g=F(e.backendURL,t);let f;try{f=new URL(g)}catch{f=new URL(g,window.location.origin)}if(o?.query)for(const[e,t]of Object.entries(o.query))void 0!==t&&f.searchParams.append(e,String(t));const b={method:o?.method||"GET",mode:e.corsMode,credentials:"include",headers:{...e.headers,"X-Request-ID":a,...o?.headers},...o?.fetchOptions};o?.body&&"GET"!==b.method&&(b.body=JSON.stringify(o.body));try{const e=await p(f.toString(),b);let a=null,d=null;try{const t=e.headers.get("content-type");t?.includes("application/json")&&204!==e.status&&"0"!==e.headers.get("content-length")?a=await e.json():204===e.status&&(a=null)}catch(e){d=e}if(d){const n=K(!1,null,{message:"Failed to parse response",status:e.status,code:"PARSE_ERROR",cause:d},e);if(o?.onError?.(n,t),o?.throw)throw new Error("Failed to parse response");return n}if(e.status>=200&&e.status<300){const t=K(!0,a,null,e);return o?.onSuccess?.(t),t}const g=a,h=K(!1,null,{message:g?.message||`Request failed with status ${e.status}`,status:e.status,code:g?.code||"API_ERROR",details:g?.details||null},e);m=h;let y=!1;if(s?.includes(e.status))e.status,y=!1;else if("function"==typeof n.shouldRetry)try{y=n.shouldRetry(e,{attemptsMade:l,url:f.toString(),method:b.method||"GET"}),e.status}catch{y=c?.includes(e.status)??!1}else y=c?.includes(e.status)??!1,e.status;if(!y||l>=(r??0)){if(o?.onError?.(h,t),o?.throw)throw new Error(h.error?.message||"Request failed");return h}l++,await D(u??0),u=(u??0)*(i??2)}catch(e){if(e&&"Failed to parse response"===e.message)throw e;const n=!(e instanceof Response),a=K(!1,null,{message:e instanceof Error?e.message:String(e),status:0,code:"NETWORK_ERROR",cause:e},null);m=a;if(!(n&&d)||l>=(r??0)){if(o?.onError?.(a,t),o?.throw)throw e;return a}l++,await D(u??0),u=(u??0)*(i??2)}}const p=m||K(!1,null,{message:`Request failed after ${r} retries`,status:0,code:"MAX_RETRIES_EXCEEDED"},null);if(o?.onError?.(p,t),o?.throw)throw new Error(`Request failed after ${r} retries`);return p}function $(e){return{expiryDays:e?.defaultExpiryDays??365,crossSubdomain:e?.crossSubdomain??!1,domain:e?.defaultDomain??"",path:"/",secure:"undefined"!=typeof window&&"https:"===window.location.protocol,sameSite:"Lax"}}function q(){if("undefined"==typeof window)return"";const e=window.location.hostname;if("localhost"===e||/^\d+\.\d+\.\d+\.\d+$/.test(e))return e;const t=e.split(".");return t.length>=2?`.${t.slice(-2).join(".")}`:e}const J={consents:"c",consentInfo:"i",timestamp:"ts",time:"t",type:"y",id:"id",identified:"eid"},W=Object.entries(J).reduce(((e,[t,o])=>(e[o]=t,e)),{});function V(e){const t={};for(const[o,n]of Object.entries(e)){const e=o.split(".").map((e=>W[e]||e));t[e.join(".")]=n}return t}function G(e,t=""){const o={};for(const[n,r]of Object.entries(e)){const e=t?`${t}.${n}`:n;null==r?o[e]="":"boolean"==typeof r?r&&(o[e]="1"):"object"!=typeof r||Array.isArray(r)?o[e]=String(r):Object.assign(o,G(r,e))}return o}function Z(e){const t={};for(const[o,n]of Object.entries(e)){const e=o.split(".");if(0===e.length)continue;let r=t;for(let t=0;t<e.length-1;t++){const o=e[t];void 0!==o&&(r[o]||(r[o]={}),r=r[o])}const a=e[e.length-1];void 0!==a&&("1"===n?r[a]=!0:"0"===n?r[a]=!1:""===n?r[a]=null:Number.isNaN(Number(n))||""===n?r[a]=n:r[a]=Number(n))}return t}function Y(e){if(!e)return{};const t={},o=e.split(",");for(const e of o){const o=e.indexOf(":");if(-1===o)continue;const n=e.substring(0,o),r=e.substring(o+1);t[n]=r}return t}function X(e,t,o,n){if("undefined"==typeof document)return;const r={...$(n),...o};r.crossSubdomain&&(r.domain=q());try{let o;if("string"==typeof t)o=t;else{const e=function(e){const t={};for(const[o,n]of Object.entries(e)){const e=o.split(".").map((e=>J[e]||e));t[e.join(".")]=n}return t}(G(t));o=function(e){return Object.entries(e).map((([e,t])=>`${e}:${t}`)).join(",")}(e)}const n=new Date;n.setTime(n.getTime()+24*r.expiryDays*36e5);const a=[`${e}=${o}`,`expires=${n.toUTCString()}`,`path=${r.path}`];r.domain&&a.push(`domain=${r.domain}`),r.secure&&a.push("secure"),r.sameSite&&a.push(`SameSite=${r.sameSite}`),document.cookie=a.join("; ")}catch(t){console.warn(`Failed to set cookie "${e}":`,t)}}function Q(e,t,o){if("undefined"==typeof document)return;const n={...$(o),...t};n.crossSubdomain&&(n.domain=q());try{const t=[`${e}=`,"expires=Thu, 01 Jan 1970 00:00:00 GMT",`path=${n.path}`];n.domain&&t.push(`domain=${n.domain}`),document.cookie=t.join("; ")}catch(t){console.warn(`Failed to delete cookie "${e}":`,t)}}const ee={translations:{en:E},defaultLanguage:"en",disableAutoLanguageSwitch:!1},te=[{defaultValue:!0,description:"These trackers are used for activities that are strictly necessary to operate or deliver the service you requested from us and, therefore, do not require you to consent.",disabled:!0,display:!0,gdprType:1,name:"necessary"},{defaultValue:!1,description:"These trackers enable basic interactions and functionalities that allow you to access selected features of our service and facilitate your communication with us.",display:!1,gdprType:2,name:"functionality"},{defaultValue:!1,description:"These trackers help us to measure traffic and analyze your behavior to improve our service.",display:!1,gdprType:4,name:"measurement"},{defaultValue:!1,description:"These trackers help us to improve the quality of your user experience and enable interactions with external content, networks, and platforms.",display:!1,gdprType:3,name:"experience"},{defaultValue:!1,description:"These trackers help us to deliver personalized ads or marketing content to you, and to measure their performance.",display:!1,gdprType:5,name:"marketing"}],oe=te.map((e=>e.name)),ne="c15t",re="privacy-consent-storage",ae={config:{pkg:"c15t",version:"1.8.3",mode:"Unknown"},consents:te.reduce(((e,t)=>(e[t.name]=t.defaultValue,e)),{}),selectedConsents:te.reduce(((e,t)=>(e[t.name]=t.defaultValue,e)),{}),consentInfo:null,branding:"c15t",showPopup:!0,isLoadingConsentInfo:!1,hasFetchedBanner:!1,lastBannerFetchData:null,gdprTypes:["necessary","marketing"],isPrivacyDialogOpen:!1,isConsentDomain:!1,complianceSettings:{gdpr:{enabled:!0,appliesGlobally:!0,applies:!0},ccpa:{enabled:!0,appliesGlobally:!1,applies:void 0},lgpd:{enabled:!1,appliesGlobally:!1,applies:void 0},usStatePrivacy:{enabled:!0,appliesGlobally:!1,applies:void 0}},callbacks:{},detectedCountry:null,locationInfo:null,legalLinks:{},jurisdictionInfo:null,translationConfig:ee,includeNonDisplayedConsents:!1,consentTypes:te,iframeBlockerConfig:{disableAutomaticBlocking:!1},ignoreGeoLocation:!1,storageConfig:void 0,privacySettings:{honorDoNotTrack:!0},user:void 0,experimental_globalPrivacyControl:!1,setConsent:()=>{},setShowPopup:()=>{},setIsPrivacyDialogOpen:()=>{},saveConsents:()=>{},resetConsents:()=>{},setGdprTypes:()=>{},setComplianceSetting:()=>{},resetComplianceSettings:()=>{},setCallback:()=>{},setDetectedCountry:()=>{},setLocationInfo:()=>{},getDisplayedConsents:()=>[],hasConsented:()=>!1,setTranslationConfig:()=>{},scripts:[],loadedScripts:{},scriptIdMap:{}};function ie(e,t,o){let n=!1,r=!1;const a=o?.storageKey||ne;try{"undefined"!=typeof window&&window.localStorage&&(window.localStorage.setItem(a,JSON.stringify(e)),n=!0)}catch(e){console.warn("Failed to save consent to localStorage:",e)}try{X(a,e,t,o),r=!0}catch(e){console.warn("Failed to save consent to cookie:",e)}if(!n&&!r)throw new Error("Failed to save consent to any storage method")}function ce(e){const t=e.consents||{},o={...t};for(const e of oe)o[e]=t[e]??!1;return{...e,consents:o}}function se(e){!function(e){const t=e?.storageKey||ne,o=re;if(t!==o)try{if("undefined"!=typeof window&&window.localStorage){if(window.localStorage.getItem(t))return void window.localStorage.removeItem(o);const e=window.localStorage.getItem(o);e&&(window.localStorage.setItem(t,e),window.localStorage.removeItem(o))}}catch(e){console.warn("[c15t] Failed to migrate legacy storage:",e)}}(e);const t=e?.storageKey||ne;let o=null,n=null;try{if("undefined"!=typeof window&&window.localStorage){const e=window.localStorage.getItem(t);e&&(o=JSON.parse(e))}}catch(e){console.warn("Failed to read consent from localStorage:",e)}try{n=function(e){if("undefined"==typeof document)return null;try{const t=`${e}=`,o=document.cookie.split(";");for(const e of o){let o=e;for(;" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t)){const e=o.substring(t.length);if(e.includes(":")){return Z(V(Y(e)))}return e}}return null}catch(t){return console.warn(`Failed to get cookie "${e}":`,t),null}}(t)}catch(e){console.warn("Failed to read consent from cookie:",e)}let r=null,a=null;if(n?(r=n,a="cookie"):o&&(r=o,a="localStorage"),r&&a){if("localStorage"!==a||n){if("cookie"===a)try{if("undefined"!=typeof window&&window.localStorage){let e=r;"object"==typeof e&&null!==e&&"consents"in e&&(e=ce(e));let o=null;try{const e=window.localStorage.getItem(t);if(e){const t=JSON.parse(e);o="object"==typeof t&&null!==t&&"consents"in t?ce(t):t}}catch{o=null}const n=JSON.stringify(e);n!==JSON.stringify(o)&&window.localStorage.setItem(t,n)}}catch(e){console.warn("[c15t] Failed to sync consent to localStorage:",e)}}else try{X(t,r,void 0,e)}catch(e){console.warn("[c15t] Failed to sync consent to cookie:",e)}}return r&&"object"==typeof r?ce(r):r}const de="/show-consent-banner",le="/consent/set",ue="/consent/verify",me="/consent/identify";async function pe(e,t,o,n,r){try{const a=await U(e,t,{method:o,...n});return a.ok?a:(console.warn(`API request failed, falling back to offline mode for ${t}`),r(n))}catch(e){return console.warn(`Error calling ${t}, falling back to offline mode:`,e),r(n)}}function ge(e){try{if("undefined"!=typeof window){const t=se(e);t?.consentInfo?ie({consents:t.consents||{},consentInfo:{...t.consentInfo,identified:!0,time:t.consentInfo.time??Date.now()}},void 0,e):t&&ie({consents:t.consents||{},consentInfo:{identified:!0,time:Date.now()}},void 0,e)}}catch(e){console.warn("Failed to update consent storage after identification:",e)}}async function fe(e,t,o){const n=await pe(e,me,"PATCH",o,(async e=>async function(e,t){const o="c15t-pending-identify-user-submissions";try{if("undefined"!=typeof window&&(ge(e),t?.body&&window.localStorage)){let e=[];try{const t=window.localStorage.getItem(o);if(t){const o=JSON.parse(t);Array.isArray(o)&&(e=o)}}catch(t){console.warn("Error parsing pending identify-user submissions:",t),e=[]}const n=t.body;e.some((e=>JSON.stringify(e)===JSON.stringify(n)))||(e.push(n),window.localStorage.setItem(o,JSON.stringify(e)))}}catch(e){console.warn("Failed to write to localStorage in offline fallback:",e)}const n=K(!0,{success:!0},null,null);return t?.onSuccess&&await t.onSuccess(n),n}(t,e)));return n.ok&&n.data&&ge(t),n}async function be(e,t,o){const n=await pe(e,le,"POST",o,(async e=>async function(e,t){const o="c15t-pending-consent-submissions";try{if("undefined"!=typeof window&&(ie({consents:t?.body?.preferences||{},consentInfo:{time:Date.now(),identified:Boolean(t?.body?.externalSubjectId)}},void 0,e),t?.body&&window.localStorage)){let e=[];try{const t=window.localStorage.getItem(o);t&&(e=JSON.parse(t))}catch(t){console.warn("Error parsing pending submissions:",t),e=[]}const n=t.body;e.some((e=>JSON.stringify(e)===JSON.stringify(n)))||(e.push(n),window.localStorage.setItem(o,JSON.stringify(e)))}}catch(e){console.warn("Failed to write to localStorage in offline fallback:",e)}const n=K(!0,null,null,null);return n.ok&&n.data&&ie({consents:t?.body?.preferences||{},consentInfo:{time:Date.now(),id:n.data.id,identified:Boolean(t?.body?.externalSubjectId)}},void 0,e),t?.onSuccess&&await t.onSuccess(n),n}(t,e)));return n.ok&&n.data&&ie({consents:o?.body?.preferences||{},consentInfo:{time:Date.now(),id:n.data.id,identified:Boolean(o?.body?.externalSubjectId)}},void 0,t),n}async function he(e){let t=!0,o=!1;try{if("undefined"!=typeof window&&window.localStorage){window.localStorage.setItem("c15t-storage-test-key","test"),window.localStorage.removeItem("c15t-storage-test-key"),o=!0;t=null===window.localStorage.getItem("c15t-consent")}}catch(e){console.warn("Failed to access localStorage in offline fallback:",e),t=!1}const n=K(!0,{showConsentBanner:t&&o,jurisdiction:{code:"NONE",message:"Unknown (offline mode)"},location:{countryCode:null,regionCode:null},translations:E},null,null);return e?.onSuccess&&await e.onSuccess(n),n}class ye{constructor(e){this.backendURL=e.backendURL.endsWith("/")?e.backendURL.slice(0,-1):e.backendURL,this.headers={"Content-Type":"application/json",...e.headers},this.customFetch=e.customFetch,this.corsMode=e.corsMode||"cors",this.storageConfig=e.storageConfig,this.retryConfig={maxRetries:e.retryConfig?.maxRetries??P.maxRetries??3,initialDelayMs:e.retryConfig?.initialDelayMs??P.initialDelayMs??100,backoffFactor:e.retryConfig?.backoffFactor??P.backoffFactor??2,retryableStatusCodes:e.retryConfig?.retryableStatusCodes??P.retryableStatusCodes,nonRetryableStatusCodes:e.retryConfig?.nonRetryableStatusCodes??P.nonRetryableStatusCodes,shouldRetry:e.retryConfig?.shouldRetry??P.shouldRetry,retryOnNetworkError:e.retryConfig?.retryOnNetworkError??P.retryOnNetworkError},this.fetcherContext={backendURL:this.backendURL,headers:this.headers,customFetch:this.customFetch,corsMode:this.corsMode,retryConfig:this.retryConfig},this.checkPendingConsentSubmissions(),this.checkPendingIdentifyUserSubmissions()}async showConsentBanner(e){return async function(e,t){try{const o=await U(e,de,{method:"GET",...t});return o.ok?o:(console.warn("API request failed, falling back to offline mode for consent banner"),he(t))}catch(e){return console.warn("Error fetching consent banner info, falling back to offline mode:",e),he(t)}}(this.fetcherContext,e)}async setConsent(e){return be(this.fetcherContext,this.storageConfig,e)}async verifyConsent(e){return async function(e,t){return await U(e,ue,{method:"POST",...t})}(this.fetcherContext,e)}async identifyUser(e){return fe(this.fetcherContext,this.storageConfig,e)}async $fetch(e,t){return U(this.fetcherContext,e,t)}checkPendingConsentSubmissions(){!function(e,t){const o="c15t-pending-consent-submissions";if("undefined"!=typeof window&&window.localStorage)try{window.localStorage.setItem("c15t-storage-test-key","test"),window.localStorage.removeItem("c15t-storage-test-key");const e=window.localStorage.getItem(o);if(!e)return;const n=JSON.parse(e);if(!n.length)return void window.localStorage.removeItem(o);n.length,setTimeout((()=>{t(n)}),2e3)}catch(e){console.warn("Failed to check for pending consent submissions:",e)}}(this.fetcherContext,(e=>this.processPendingConsentSubmissions(e)))}async processPendingConsentSubmissions(e){return async function(e,t){const o="c15t-pending-consent-submissions",n=[...t];for(let t=0;t<3&&n.length>0;t++){const o=[];for(let t=0;t<n.length;t++){const r=n[t];try{(await U(e,le,{method:"POST",body:r})).ok&&o.push(t)}catch(e){console.warn("Failed to resend consent submission:",e)}}for(let e=o.length-1;e>=0;e--){const t=o[e];void 0!==t&&n.splice(t,1)}if(0===n.length)break;t<2&&await D(1e3*(t+1))}try{"undefined"!=typeof window&&window.localStorage&&(n.length>0?(window.localStorage.setItem(o,JSON.stringify(n)),n.length):window.localStorage.removeItem(o))}catch(e){console.warn("Error updating pending submissions storage:",e)}}(this.fetcherContext,e)}checkPendingIdentifyUserSubmissions(){!function(e,t){const o="c15t-pending-identify-user-submissions";if("undefined"!=typeof window&&window.localStorage)try{window.localStorage.setItem("c15t-storage-test-key","test"),window.localStorage.removeItem("c15t-storage-test-key");const e=window.localStorage.getItem(o);if(!e)return;const n=JSON.parse(e);if(!n.length)return void window.localStorage.removeItem(o);n.length,setTimeout((()=>{t(n)}),2e3)}catch(e){console.warn("Failed to check for pending identify-user submissions:",e)}}(this.fetcherContext,(e=>this.processPendingIdentifyUserSubmissions(e)))}async processPendingIdentifyUserSubmissions(e){return async function(e,t){const o="c15t-pending-identify-user-submissions",n=[...t];for(let t=0;t<3&&n.length>0;t++){const o=[];for(let t=0;t<n.length;t++){const r=n[t];try{(await U(e,me,{method:"PATCH",body:r})).ok&&o.push(t)}catch(e){console.warn("Failed to resend identify-user submission:",e)}}for(let e=o.length-1;e>=0;e--){const t=o[e];void 0!==t&&n.splice(t,1)}if(0===n.length)break;t<2&&await D(1e3*(t+1))}try{"undefined"!=typeof window&&window.localStorage&&(n.length>0?(window.localStorage.setItem(o,JSON.stringify(n)),n.length):window.localStorage.removeItem(o))}catch(e){console.warn("Error updating pending identify-user submissions storage:",e)}}(this.fetcherContext,e)}}function ve(e,t=500,o="HANDLER_ERROR",n){return function(e,t=500,o="ERROR",n){return R(!1,null,{message:e,status:t,code:o,cause:n},null)}(e,t,o,n)}async function we(e,t,o){const n=e[t];if(!n){const e=ve(`No endpoint handler found for '${String(t)}'`,404,"ENDPOINT_NOT_FOUND");if(o?.throw)throw new Error(`No endpoint handler found for '${String(t)}'`);return e}try{const e=await n(o);return{data:e.data,error:e.error,ok:e.ok??!e.error,response:e.response}}catch(e){const t=ve(e instanceof Error?e.message:String(e),0,"HANDLER_ERROR",e);if(o?.throw)throw e;return t}}class ke{dynamicHandlers={};constructor(e){this.endpointHandlers=e.endpointHandlers}async showConsentBanner(e){return async function(e,t){return await we(e,"showConsentBanner",t)}(this.endpointHandlers,e)}async setConsent(e){return async function(e,t){return await we(e,"setConsent",t)}(this.endpointHandlers,e)}async verifyConsent(e){return async function(e,t){return await we(e,"verifyConsent",t)}(this.endpointHandlers,e)}async identifyUser(e){return async function(e,t){return await we(e,"identifyUser",t)}(this.endpointHandlers,e)}registerHandler(e,t){this.dynamicHandlers[e]=t}async $fetch(e,t){return async function(e,t,o,n){const r=o.replace(B,"").split("/")[0],a=t[o];if(a)try{return await a(n)}catch(e){return ve(e instanceof Error?e.message:String(e),0,"HANDLER_ERROR",e)}if(!r||!(r in e))return ve(`No endpoint handler found for '${o}'`,404,"ENDPOINT_NOT_FOUND");return await we(e,r,n)}(this.endpointHandlers,this.dynamicHandlers,e,t)}}function xe(e=null){return R(!0,e)}async function Ce(e){const t=xe();return e?.onSuccess&&await e.onSuccess(t),t}async function Se(e){const t=e?.headers?.["x-c15t-country"]??"GB",o=e?.headers?.["x-c15t-region"]??null,n=e?.headers?.["accept-language"]??ee.defaultLanguage??"en",{showConsentBanner:r,jurisdictionCode:a,message:i}=function(e){const t={EU:new Set(["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"]),EEA:new Set(["IS","NO","LI"]),UK:new Set(["GB"]),CH:new Set(["CH"]),BR:new Set(["BR"]),CA:new Set(["CA"]),AU:new Set(["AU"]),JP:new Set(["JP"]),KR:new Set(["KR"])};let o=!0,n="NONE";if(e){const r=e.toUpperCase();o=!1;const a=[{sets:[t.EU,t.EEA,t.UK],code:"GDPR"},{sets:[t.CH],code:"CH"},{sets:[t.BR],code:"BR"},{sets:[t.CA],code:"PIPEDA"},{sets:[t.AU],code:"AU"},{sets:[t.JP],code:"APPI"},{sets:[t.KR],code:"PIPA"}];for(const{sets:e,code:t}of a)if(e.some((e=>e.has(r)))){n=t,o=!0;break}}return{showConsentBanner:o,jurisdictionCode:n,message:""}}(t),c=xe({showConsentBanner:r,jurisdiction:{code:a,message:i},branding:"c15t",location:{countryCode:t,regionCode:o},translations:{language:n,translations:ee.translations[n]}});return e?.onSuccess&&await e.onSuccess(c),c}class _e{constructor(e){this.storageConfig=e}async showConsentBanner(e){return Se(e)}async setConsent(e){return async function(e,t){try{"undefined"!=typeof window&&ie({consentInfo:{time:Date.now(),identified:Boolean(t?.body?.externalSubjectId)},consents:t?.body?.preferences||{}},void 0,e)}catch(e){console.warn("Failed to write to storage:",e)}return await Ce(t)}(this.storageConfig,e)}async verifyConsent(e){return async function(e){return await Ce(e)}(e)}async identifyUser(e){return async function(e){return await Ce(e)}(e)}async $fetch(e,t){return await Ce(t)}}const je=new Map;function Ne(e){const t=(o=e.storageConfig)?Object.keys(o).sort().map((e=>{const t=o[e];return null==t?`${e}:null`:`${e}:${String(t)}`})).join("|"):"";var o;const n=t?`:storage:${t}`:"";if("offline"===e.mode)return`offline${n}`;if("custom"===e.mode){return`custom:${Object.keys(e.endpointHandlers||{}).sort().join(",")}${n}`}let r="";if("headers"in e&&e.headers){r=`:headers:${Object.keys(e.headers).sort().map((t=>`${t}=${e.headers?.[t]}`)).join(",")}`}return`c15t:${e.backendURL||""}${r}${n}`}function Ie(e){const t=Ne(e);if(je.has(t)){if("offline"!==e.mode&&"custom"!==e.mode&&"headers"in e&&e.headers){const o=je.get(t);o instanceof ye&&(o.headers={"Content-Type":"application/json",...e.headers})}const o=je.get(t);if(o)return new Proxy(o,{get:(e,t)=>e[t]})}let o;switch(e.mode||"c15t"){case"custom":o=new ke({endpointHandlers:e.endpointHandlers});break;case"offline":o=new _e(e.storageConfig);break;default:{const t=e;o=new ye({backendURL:t.backendURL||"/api/c15t",headers:t.headers,customFetch:t.customFetch,retryConfig:t.retryConfig,storageConfig:e.storageConfig});break}}return je.set(t,o),o}function Te(e,t){if(0===e.length)throw new TypeError(`${t} condition cannot be empty`)}function Ae(e,t){if("string"==typeof e)return function(e,t){if(!(e in t))throw new Error(`Consent category "${e}" not found in consent state`);return t[e]||!1}(e,t);if("object"==typeof e&&null!==e){if("and"in e)return function(e,t){const o=Array.isArray(e)?e:[e];return Te(o,"AND"),o.every((e=>Ae(e,t)))}(e.and,t);if("or"in e)return function(e,t){const o=Array.isArray(e)?e:[e];return Te(o,"OR"),o.some((e=>Ae(e,t)))}(e.or,t);if("not"in e)return!Ae(e.not,t)}throw new TypeError(`Invalid condition structure: ${JSON.stringify(e)}`)}function Ee(e,t){return Ae(e,t)}function Le(e){const t=new Set;return function e(o){if("string"!=typeof o){if("object"==typeof o&&null!==o)if("and"in o){(Array.isArray(o.and)?o.and:[o.and]).forEach(e)}else if("or"in o){(Array.isArray(o.or)?o.or:[o.or]).forEach(e)}else"not"in o&&e(o.not)}else t.add(o)}(e),Array.from(t)}function Oe(e,t){const o=e.getAttribute("data-src"),n=function(e){const t=e.getAttribute("data-category");if(t){if(!oe.includes(t))throw new Error(`Invalid category attribute "${t}" on iframe. Must be one of: ${oe.join(", ")}`);return t}}(e);if(!n)return;Ee(n,t)?o&&!e.src&&(e.src=o,e.removeAttribute("data-src")):e.src&&e.removeAttribute("src")}function Be(){if("undefined"==typeof document)return[];const e=document.querySelectorAll("iframe[data-category]"),t=new Set;return e?(e.forEach((e=>{const o=e.getAttribute("data-category");if(!o)return;const n=o.trim();oe.includes(n)&&t.add(n)})),Array.from(t)):[]}function Re(e){if("undefined"==typeof document)return;const t=document.querySelectorAll("iframe");t&&t.forEach((t=>{Oe(t,e)}))}function Pe(){if("undefined"!=typeof crypto&&crypto.randomUUID)return crypto.randomUUID().replace(/-/g,"").substring(0,8);if("undefined"!=typeof crypto&&crypto.getRandomValues){const e=new Uint8Array(4);return crypto.getRandomValues(e),Array.from(e,(e=>e.toString(36))).join("").padEnd(8,"0").substring(0,8)}return Math.random().toString(36).substring(2).padEnd(8,"0").substring(0,8)}function Me(e,t,o){return t?(o[e]||(o[e]=Pe()),o[e]):`c15t-script-${e}`}const ze=new Map;function De(e){return ze.has(e)}function He(e){return ze.get(e)}function Fe(e,t){ze.set(e,t)}function Ke(e){ze.delete(e)}function Ue(e,t,o={}){const n=[];return e.forEach((e=>{if(!e.alwaysLoad&&!Ee(e.category,t))return;if(De(e.id))return void e.onConsentChange?.({id:e.id,elementId:Me(e.id,!1!==e.anonymizeId,o),hasConsent:Ee(e.category,t),consents:t});if(e.src&&e.textContent)throw new Error(`Script '${e.id}' cannot have both 'src' and 'textContent'. Choose one.`);if(!e.src&&!e.textContent&&!e.callbackOnly)throw new Error(`Script '${e.id}' must have either 'src', 'textContent', or 'callbackOnly' set to true.`);if(!0===e.callbackOnly){const r=!1!==e.anonymizeId,a=Me(e.id,r,o),i={id:e.id,elementId:a,consents:t,hasConsent:Ee(e.category,t)};return e.onBeforeLoad&&e.onBeforeLoad(i),e.onLoad&&e.onLoad(i),Fe(e.id,null),void n.push(e.id)}const r=!1!==e.anonymizeId,a=Me(e.id,r,o);if(!0===e.persistAfterConsentRevoked){const o=document.getElementById(a);if(o){const r={id:e.id,hasConsent:Ee(e.category,t),elementId:a,consents:t,element:o};return e.onConsentChange?.(r),e.onLoad?.(r),Fe(e.id,o),void n.push(e.id)}}const i=document.createElement("script");i.id=a,e.src?i.src=e.src:e.textContent&&(i.textContent=e.textContent),e.fetchPriority&&(i.fetchPriority=e.fetchPriority),e.async&&(i.async=!0),e.defer&&(i.defer=!0),e.nonce&&(i.nonce=e.nonce),e.attributes&&Object.entries(e.attributes).forEach((([e,t])=>{i.setAttribute(e,t)}));const c={id:e.id,hasConsent:Ee(e.category,t),elementId:a,consents:t,element:i};e.onLoad&&(e.textContent?setTimeout((()=>{e.onLoad?.({...c})}),0):i.addEventListener("load",(()=>{e.onLoad?.({...c})}))),e.onError&&(e.textContent||i.addEventListener("error",(()=>{e.onError?.({...c,error:new Error(`Failed to load script: ${e.src}`)})}))),e.onBeforeLoad&&e.onBeforeLoad(c);const s=e.target??"head",d="body"===s?document.body:document.head;if(!d)throw new Error(`Document ${s} is not available for script injection`);d.appendChild(i),Fe(e.id,i),n.push(e.id)})),n}function $e(e,t,o={}){const n=function(e,t,o={}){const n=[];return e.forEach((e=>{if(De(e.id)&&!e.alwaysLoad&&!Ee(e.category,t)){const r=He(e.id),a=o[e.id]||`c15t-script-${e.id}`;if(!0===e.callbackOnly||null===r){const o={id:e.id,elementId:a,consents:t,hasConsent:Ee(e.category,t)};e.onDelete&&e.onDelete(o),Ke(e.id),n.push(e.id)}else if(r){const o={id:e.id,elementId:a,consents:t,hasConsent:Ee(e.category,t),element:r};e.onDelete&&e.onDelete(o),e.persistAfterConsentRevoked?(Ke(e.id),n.push(e.id)):(r.remove(),Ke(e.id),n.push(e.id))}}})),n}(e,t,o);return{loaded:Ue(e,t,o),unloaded:n}}function qe(){return Array.from(ze.keys())}function Je(e,t,o){const n=()=>{const{scripts:o,consents:n,scriptIdMap:r}=e(),a=$e(o,n,r),i={...e().loadedScripts};return a.loaded.forEach((e=>{i[e]=!0})),a.unloaded.forEach((e=>{i[e]=!1})),t({loadedScripts:i}),a};return{updateScripts:()=>n(),setScripts:r=>{o&&o.destroy();const a=e(),i={...a.scriptIdMap};r.forEach((e=>{!1!==e.anonymizeId&&(i[e.id]=Pe())}));const c=r.flatMap((e=>Le(e.category))),s=[...new Set([...a.gdprTypes,...c])];t({scripts:[...a.scripts,...r],scriptIdMap:i,gdprTypes:s}),n()},removeScript:o=>{const n=e(),r=n.scripts.find((e=>e.id===o));if(De(o)){const e=He(o);if(e){const t=n.scriptIdMap[o]||`c15t-script-${o}`,a={id:o,elementId:t,consents:n.consents,element:e,hasConsent:Ee(r?.category??"necessary",n.consents)};r?.onDelete&&r.onDelete(a),e.remove(),Ke(o)}}const a={...n.scriptIdMap};delete a[o],t({scripts:n.scripts.filter((e=>e.id!==o)),loadedScripts:{...n.loadedScripts,[o]:!1},scriptIdMap:a})},reloadScript:t=>{const o=e();return function(e,t,o,n={}){const r=t.find((t=>t.id===e));if(!r)return!1;if(De(e)){const t=He(e),a=n[e]||`c15t-script-${e}`;if(!0===r.callbackOnly||null===t){const t={id:e,elementId:a,consents:o,hasConsent:Ee(r.category,o)};r.onDelete&&r.onDelete(t),Ke(e)}else if(t){const n={id:e,elementId:a,consents:o,hasConsent:Ee(r.category,o),element:t};r.onDelete&&r.onDelete(n),r.persistAfterConsentRevoked||t.remove(),Ke(e)}}return!(!r.alwaysLoad&&!Ee(r.category,o)||(Ue([r],o,n),0))}(t,o.scripts,o.consents,o.scriptIdMap)},isScriptLoaded:e=>function(e){return De(e)}(e),getLoadedScriptIds:()=>qe()}}const We={"www.google-analytics.com":"measurement","analytics.google.com":"measurement","www.googletagmanager.com":"measurement","stats.g.doubleclick.net":"measurement","ampcid.google.com":"measurement","analytics.twitter.com":"measurement","analytics.pinterest.com":"measurement","dc.services.visualstudio.com":"measurement","www.clarity.ms":"measurement","www.hotjar.com":"measurement","static.hotjar.com":"measurement","script.hotjar.com":"measurement","insights.hotjar.com":"measurement","mouseflow.com":"measurement","api.mouseflow.com":"measurement","tools.mouseflow.com":"measurement","cdn.heapanalytics.com":"measurement","plausible.io":"measurement","matomo.cloud":"measurement","matomo.org":"measurement","mixpanel.com":"measurement","api.mixpanel.com":"measurement","sentry.io":"measurement","browser.sentry-cdn.com":"measurement","js.monitor.azure.com":"measurement","stats.wp.com":"measurement","pixel.wp.com":"measurement","analytics.amplitude.com":"measurement","api2.amplitude.com":"measurement","cdn.amplitude.com":"measurement","api.segment.io":"measurement","cdn.segment.com":"measurement","api.segment.com":"measurement","pendo.io":"measurement","data.pendo.io":"measurement","cdn.pendo.io":"measurement","connect.facebook.net":"marketing","platform.twitter.com":"marketing","platform.linkedin.com":"marketing","www.googleadservices.com":"marketing","doubleclick.net":"marketing","googleads.g.doubleclick.net":"marketing","ad.doubleclick.net":"marketing","www.facebook.com":"marketing","ads.linkedin.com":"marketing","ads-api.tiktok.com":"marketing","analytics.tiktok.com":"marketing","business.tiktok.com":"marketing","ads.pinterest.com":"marketing","log.pinterest.com":"marketing","ads-twitter.com":"marketing","static.ads-twitter.com":"marketing","advertising.twitter.com":"marketing","ads.yahoo.com":"marketing","sp.analytics.yahoo.com":"marketing","gemini.yahoo.com":"marketing","adroll.com":"marketing","a.adroll.com":"marketing","d.adroll.com":"marketing","s.adroll.com":"marketing","adform.net":"marketing","track.adform.net":"marketing","dmp.adform.net":"marketing","criteo.com":"marketing","static.criteo.net":"marketing","bidder.criteo.com":"marketing","dynamic.criteo.com":"marketing","gum.criteo.com":"marketing","taboola.com":"marketing","cdn.taboola.com":"marketing","trc.taboola.com":"marketing","outbrain.com":"marketing","widgets.outbrain.com":"marketing","tr.outbrain.com":"marketing","amplify.outbrain.com":"marketing","bing.com":"marketing","bat.bing.com":"marketing","clarity.ms":"marketing","quantserve.com":"marketing","secure.quantserve.com":"marketing","pixel.quantserve.com":"marketing","exelator.com":"marketing","load.exelator.com":"marketing","api.exelator.com":"marketing","ad.360yield.com":"marketing","match.360yield.com":"marketing","ad.turn.com":"marketing","r.turn.com":"marketing","d.turn.com":"marketing","cdn.jsdelivr.net":"functionality","ajax.googleapis.com":"functionality","fonts.googleapis.com":"functionality","maps.googleapis.com":"functionality","www.recaptcha.net":"functionality","recaptcha.net":"functionality","www.gstatic.com":"functionality","fonts.gstatic.com":"functionality","cdnjs.cloudflare.com":"functionality","unpkg.com":"functionality","code.jquery.com":"functionality","maxcdn.bootstrapcdn.com":"functionality","cdn.datatables.net":"functionality","js.stripe.com":"functionality","api.stripe.com":"functionality","checkout.stripe.com":"functionality","js.braintreegateway.com":"functionality","api.braintreegateway.com":"functionality","cdn.shopify.com":"functionality","js.intercomcdn.com":"functionality","widget.intercom.io":"functionality","cdn.auth0.com":"functionality","js.pusher.com":"functionality","sockjs.pusher.com":"functionality","app.optimizely.com":"experience","cdn.optimizely.com":"experience","logx.optimizely.com":"experience","cdn.mouseflow.com":"experience","fullstory.com":"experience","rs.fullstory.com":"experience","edge.fullstory.com":"experience","vwo.com":"experience","dev.visualwebsiteoptimizer.com":"experience","assets.adobedtm.com":"experience","cdn.tt.omtrdc.net":"experience","demdex.net":"experience","sc.omtrdc.net":"experience","crazyegg.com":"experience","script.crazyegg.com":"experience","tracking.crazyegg.com":"experience","luckyorange.com":"experience","cdn.luckyorange.com":"experience","w1.luckyorange.com":"experience","upload.luckyorange.com":"experience","clicktale.net":"experience","cdn.clicktale.net":"experience","conductor.clicktale.net":"experience","userzoom.com":"experience","cdn.userzoom.com":"experience","api.userzoom.com":"experience","contentsquare.net":"experience","t.contentsquare.net":"experience","app.contentsquare.com":"experience"};const Ve=/^www\./,Ge=/:\d+$/;function Ze(e={},t){const o={disableAutomaticBlocking:!1,...e,domainConsentMap:e.overrideDomainConsentMap?e.domainConsentMap:{...We,...e.domainConsentMap}};let n=t||{experience:!1,functionality:!1,marketing:!1,measurement:!1,necessary:!0};const r=window.fetch,a=window.XMLHttpRequest;function i(e){return e.toLowerCase().replace(Ve,"").replace(Ge,"").trim()}function c(e){try{const t=function(e,t){const o=i(e),n=t[o];if(n)return n;for(const[e,n]of Object.entries(t)){const t=i(e);if(o.endsWith(`.${t}`)||o===t)return n}}(new URL(e).hostname,o.domainConsentMap||{});if(!t)return!0;return!0===n[t]}catch{return!0}}function s(e){document.dispatchEvent(new CustomEvent("ConsentBlockedRequest",{detail:{url:e}}))}return o.disableAutomaticBlocking||(window.fetch===r&&(window.fetch=async(e,t)=>{const o=e instanceof Request?e.url:e.toString();return c(o)?await r.call(window,e,t):(s(o),Promise.reject(new Error(`Request to ${o} blocked due to missing consent`)))}),window.XMLHttpRequest===a&&(window.XMLHttpRequest=class extends a{open(e,t,o=!0,n,r){if(!c(t.toString()))throw s(t.toString()),new Error(`Request to ${t} blocked due to missing consent`);super.open(e,t,o,n,r)}})),{updateConsents:e=>{n={...n,...e}},destroy:()=>{window.fetch!==r&&(window.fetch=r),window.XMLHttpRequest!==a&&(window.XMLHttpRequest=a)}}}function Ye(e,t){return t&&"undefined"!=typeof window&&"1"===window.navigator.doNotTrack?Object.keys(e).reduce(((t,o)=>(o in e&&(t[o]="necessary"===o),t)),{}):e}function Xe(e,{set:t,get:o,initialTranslationConfig:n,trackingBlocker:r},a){const{consentInfo:i,ignoreGeoLocation:c,callbacks:s,setDetectedCountry:d,experimental_globalPrivacyControl:l}=o(),{translations:u,location:m,showConsentBanner:p}=e,g="NONE"===e.jurisdiction?.code&&!e.showConsentBanner&&!i,f=function(e){if("undefined"==typeof window||!e)return!1;try{const e=window.navigator.globalPrivacyControl;return!0===e||"1"===e}catch{return!1}}(l),b=g?{necessary:!0,functionality:!0,experience:!0,marketing:!f,measurement:!f}:null,h={isLoadingConsentInfo:!1,branding:e.branding??"c15t",...null===i?{showPopup:p&&a||c}:{},...b&&{consents:b,selectedConsents:b},locationInfo:{countryCode:m?.countryCode??null,regionCode:m?.regionCode??null,jurisdiction:e.jurisdiction?.code??null,jurisdictionMessage:e.jurisdiction?.message??null},jurisdictionInfo:e.jurisdiction};{const e=O({translations:{[u.language]:u.translations},disableAutoLanguageSwitch:!0,defaultLanguage:u.language},n);h.translationConfig=e}e.location?.countryCode&&d(e.location.countryCode),h.hasFetchedBanner=!0,h.lastBannerFetchData=e,t(h),b&&s?.onConsentSet?.({preferences:b}),s?.onBannerFetched?.({showConsentBanner:e.showConsentBanner,jurisdiction:e.jurisdiction,location:e.location,translations:{language:u.language,translations:u.translations}}),r?.updateConsents(o().consents),o().updateScripts()}async function Qe(e){const{get:t,set:o,manager:n,initialData:r}=e,{callbacks:a}=t();if("undefined"==typeof window)return;const i=function(e){try{if(window.localStorage)return window.localStorage.setItem("c15t-storage-test-key","test"),window.localStorage.removeItem("c15t-storage-test-key"),!0}catch(t){console.warn("localStorage not available, skipping consent banner:",t),e({isLoadingConsentInfo:!1,showPopup:!1})}return!1}(o);if(i){if(o({isLoadingConsentInfo:!0}),r&&!t().overrides){const t=await r;if(t)return Xe(t,e,!0),t}try{const o=t().overrides?.language,r=t().overrides?.country,c=t().overrides?.region,{data:s,error:d}=await n.showConsentBanner({headers:{...o&&{"accept-language":o},...r&&{"x-c15t-country":r},...c&&{"x-c15t-region":c}},onError:a.onError?e=>{a.onError&&a.onError({error:e.error?.message||"Unknown error"})}:void 0});if(d||!s)throw new Error(`Failed to fetch consent banner info: ${d?.message}`);return Xe(s,e,i),s}catch(e){console.error("Error fetching consent banner information:",e),o({isLoadingConsentInfo:!1});const t=e instanceof Error?e.message:"Unknown error fetching consent banner information";return a.onError?.({error:t}),void o({showPopup:!1})}}}const et={functionality_storage:"denied",security_storage:"denied",analytics_storage:"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",personalization_storage:"denied"},tt={necessary:["security_storage"],functionality:["functionality_storage"],measurement:["analytics_storage"],marketing:["ad_storage","ad_user_data","ad_personalization"],experience:["personalization_storage"]};function ot(e){const t={...et};for(const o of Object.keys(e)){const n=e[o],r=tt[o];for(const e of r)t[e]=n?"granted":"denied"}return t}function nt(e){const t=e.id;if(!t||0===t.trim().length)throw new Error("GTM container ID is required and must be a non-empty string");"undefined"!=typeof window&&"undefined"!=typeof document&&(function(e){const t=e.consentState?ot(e.consentState):et,o=document.createElement("script");if(o.textContent=`\n window.dataLayer = window.dataLayer || [];\n window.gtag = function gtag() {\n window.dataLayer.push(arguments);\n };\n window.gtag('consent', 'default', {\n ...${JSON.stringify(t)},\n });\n window.dataLayer.push({\n 'gtm.start': Date.now(),\n event: 'gtm.js',\n });\n `,!document.head)throw new Error("Document head is not available for script injection");document.head.appendChild(o)}(e),function(e){const t=document.createElement("script");if(t.async=!0,t.src=e.customScriptUrl?e.customScriptUrl:`https://www.googletagmanager.com/gtm.js?id=${e.id}`,!document.head)throw new Error("Document head is not available for script injection");document.head.appendChild(t)}(e))}function rt(e,t){let o=null,n=!1;return{initializeIframeBlocker:()=>{if(n)return;if("undefined"==typeof document)return;const t=e();if(t.iframeBlockerConfig?.disableAutomaticBlocking)return;const r=()=>{const t=Be();t.length>0&&e().updateConsentCategories(t)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",r):r(),setTimeout(r,100),Re(t.consents),o=function(e,t){const o=new MutationObserver((o=>{const n=e();let r=!1;if(o.forEach((e=>{e.addedNodes.forEach((e=>{if(e.nodeType===Node.ELEMENT_NODE){const t=e;t.tagName&&"IFRAME"===t.tagName.toUpperCase()&&(Oe(t,n),t.hasAttribute("data-category")&&(r=!0));const o=t.querySelectorAll?.("iframe");o&&o.length>0&&o.forEach((e=>{Oe(e,n),e.hasAttribute("data-category")&&(r=!0)}))}}))})),r&&t){const e=Be();e.length>0&&t(e)}}));return o.observe(document.body,{childList:!0,subtree:!0}),o}((()=>e().consents),(t=>e().updateConsentCategories(t))),n=!0},updateIframeConsents:()=>{if(!n)return;if("undefined"==typeof document)return;const t=e(),{consents:o,iframeBlockerConfig:r}=t;r?.disableAutomaticBlocking||Re(o)},destroyIframeBlocker:()=>{if(!n)return;if("undefined"==typeof document)return;const t=e(),{iframeBlockerConfig:r}=t;r?.disableAutomaticBlocking||(o&&(o.disconnect(),o=null),n=!1)}}}async function at({manager:e,type:t,get:o,set:n,trackingBlocker:r}){const{callbacks:a,selectedConsents:i,consents:c,consentTypes:s,updateScripts:d,updateIframeConsents:l,gdprTypes:u}=o(),m=i??c??{};if("all"===t)for(const e of s)u.includes(e.name)&&(m[e.name]=!0);else if("necessary"===t)for(const e of s)m[e.name]="necessary"===e.name;var p;n({consents:m,selectedConsents:m,showPopup:!1,consentInfo:{time:Date.now(),type:t,identified:!!o().user?.id}}),await new Promise((e=>setTimeout(e,0))),r?.updateConsents(m),l(),p=m,window.gtag&&window.gtag("consent","update",ot(p)),d(),a.onConsentSet?.({preferences:m});const g=await e.setConsent({body:{type:"cookie_banner",domain:window.location.hostname,preferences:m,externalSubjectId:o().user?.id,identityProvider:o().user?.identityProvider,metadata:{source:"consent_widget",acceptanceMethod:t}}});if(!g.ok){const e=g.error?.message??"Failed to save consents";a.onError?.({error:e}),a.onError||console.error(e)}}const it=e=>{if("undefined"==typeof window)return null;try{return se(e)}catch(e){return console.error("Failed to retrieve stored consent:",e),null}},ct=(e,t={})=>{const{namespace:o="c15tStore",trackingBlockerConfig:n,isConsentDomain:r=!1,translationConfig:a,storageConfig:i,enabled:c=!0}=t,s=it(i),d=t.scripts&&t.scripts.length>0,l="undefined"==typeof window||d?null:Ze(n||{},s?.consents||ae.consents),u=()=>{if(!c){const e=te.reduce(((e,t)=>(e[t.name]=!0,e)),{});return{consents:e,selectedConsents:e,consentInfo:{time:Date.now(),type:"all",identified:!!t.user?.id},showPopup:!1,isLoadingConsentInfo:!1,hasFetchedBanner:!1,lastBannerFetchData:null}}if(s){const e=s.consents||ae.consents;return{consents:e,selectedConsents:e,consentInfo:s.consentInfo,showPopup:!1,isLoadingConsentInfo:!1}}return{showPopup:!1,isLoadingConsentInfo:!0}},m=y(((o,n)=>({...ae,gdprTypes:t.initialGdprTypes??ae.gdprTypes,ignoreGeoLocation:t.ignoreGeoLocation??!1,config:t.config??ae.config,iframeBlockerConfig:t.iframeBlockerConfig??ae.iframeBlockerConfig,isConsentDomain:r,callbacks:t.callbacks??ae.callbacks,scripts:t.scripts??ae.scripts,legalLinks:t.legalLinks??ae.legalLinks,translationConfig:a||ae.translationConfig,storageConfig:i,user:t.user??ae.user,overrides:t.overrides,experimental_globalPrivacyControl:t.experimental_globalPrivacyControl??!1,...u(),setShowPopup:(e,t=!1)=>{if(!e)return void o({showPopup:!1});const r=n(),a=it();!t&&(a||r.consentInfo||r.isLoadingConsentInfo)||o({showPopup:!0})},setIsPrivacyDialogOpen:e=>{o({isPrivacyDialogOpen:e}),e||queueMicrotask((()=>{}))},setSelectedConsent:(e,t)=>{o((o=>{const n=o.consentTypes.find((t=>t.name===e));return n?.disabled?o:{selectedConsents:{...o.selectedConsents,[e]:t}}}))},saveConsents:async t=>await at({manager:e,type:t,get:n,set:o,trackingBlocker:l}),setConsent:(e,t)=>{o((o=>{const n=o.consentTypes.find((t=>t.name===e));if(n?.disabled)return o;return{selectedConsents:{...o.consents,[e]:t}}})),n().saveConsents("custom")},resetConsents:()=>{o((()=>{const e=te.reduce(((e,t)=>(e[t.name]=t.defaultValue,e)),{}),t={consents:e,selectedConsents:e,consentInfo:null};return function(e,t){const o=t?.storageKey||ne;try{"undefined"!=typeof window&&window.localStorage&&(window.localStorage.removeItem(o),o!==re&&window.localStorage.removeItem(re))}catch(e){console.warn("Failed to remove consent from localStorage:",e)}try{Q(o,e,t),o!==re&&Q(re,e,t)}catch(e){console.warn("Failed to remove consent cookie:",e)}}(void 0,i),t}))},setGdprTypes:e=>o({gdprTypes:e}),setComplianceSetting:(e,t)=>o((o=>({complianceSettings:{...o.complianceSettings,[e]:{...o.complianceSettings[e],...t}}}))),resetComplianceSettings:()=>o({complianceSettings:ae.complianceSettings}),setCallback:(e,t)=>{const r=n();if(o((o=>({callbacks:{...o.callbacks,[e]:t}}))),"onConsentSet"===e&&t&&"function"==typeof t&&t?.({preferences:r.consents}),"onBannerFetched"===e&&r.hasFetchedBanner&&r.lastBannerFetchData&&t&&"function"==typeof t){const{lastBannerFetchData:e}=r;t?.({showConsentBanner:e.showConsentBanner,jurisdiction:e.jurisdiction,location:e.location,translations:{language:e.translations.language,translations:e.translations.translations}})}},setDetectedCountry:e=>o({detectedCountry:e}),setLocationInfo:e=>o({locationInfo:e}),fetchConsentBannerInfo:()=>c?Qe({manager:e,initialData:t._initialData,initialTranslationConfig:t.initialTranslationConfig,get:n,set:o,trackingBlocker:l}):Promise.resolve(void 0),getDisplayedConsents:()=>{const{gdprTypes:e,consentTypes:t}=n();return t.filter((t=>e.includes(t.name)))},hasConsented:()=>{const{consentInfo:e}=n();return function(e){return null!==e}(e)},getEffectiveConsents:()=>{const{consents:e,privacySettings:t}=n();return Ye(e,t.honorDoNotTrack)},hasConsentFor:e=>{const{consents:t,privacySettings:o}=n();return function(e,t,o){return Ye(t,o)[e]||!1}(e,t,o.honorDoNotTrack)},has:e=>{const{consents:t}=n();return Ee(e,t)},setTranslationConfig:e=>{o({translationConfig:e})},updateConsentCategories:e=>{const t=[...new Set([...n().gdprTypes,...e])];o({gdprTypes:t})},identifyUser:t=>async function({user:e,manager:t,get:o,set:n}){const{hasConsented:r,consentInfo:a}=o(),i=r()&&!!a?.id,c=!!a?.identified;n({user:{id:e.id,identityProvider:e.identityProvider}}),i&&!c&&(await t.identifyUser({body:{consentId:a.id,externalId:e.id,identityProvider:e.identityProvider}}),n({consentInfo:{...a,identified:!0}}))}({user:t,manager:e,get:n,set:o}),setOverrides:e=>o({overrides:{...n().overrides,...e}}),...Je(n,o,l),...rt(n)})));if(m.getState().initializeIframeBlocker(),t.scripts&&t.scripts.length>0&&m.getState().updateConsentCategories(t.scripts.flatMap((e=>Le(e.category)))),"undefined"!=typeof window){if(window[o]=m,t.unstable_googleTagManager)try{nt({...t.unstable_googleTagManager,consentState:m.getState().consents})}catch(e){console.error("Failed to setup Google Tag Manager:",e)}m.getState().callbacks.onConsentSet?.({preferences:m.getState().consents}),t.user&&m.getState().identifyUser(t.user),l?.updateConsents(m.getState().consents),m.getState().updateScripts(),c&&m.getState().fetchConsentBannerInfo()}return m};let st=r(void 0);function dt(){let e=a(st);if(void 0===e)throw Error("useConsentManager must be used within a ConsentManagerProvider");return{...e.state,...e.manager?{manager:e.manager}:{}}}function lt(){let{translationConfig:e}=dt();return i((()=>{let{translations:t={},defaultLanguage:o="en"}=e,n=t[o];if(ut(n))return n;let r=t.en;return ut(r)?r:ee.translations.en}),[e])}function ut(e){return!!e&&"object"==typeof e&&"cookieBanner"in e&&"consentManagerDialog"in e&&"consentTypes"in e&&"common"in e}function mt(e,t){let o=e=>{if("string"==typeof e||void 0===e||"className"in e||"style"in e||"noStyle"in e)return e},n=o(Array.isArray(e)?e[0]:e),r=o(t);if("object"==typeof n&&n?.noStyle||"object"==typeof r&&r?.noStyle)return{className:void 0,style:void 0};let a=function(...e){return w(...e)}(["string"==typeof n?n:n?.className,"string"==typeof r?r:r?.className,"object"==typeof n&&n?.baseClassName,"object"==typeof r&&r?.baseClassName]),i={..."object"==typeof n&&n?.style,..."object"==typeof r&&r?.style};return{className:a||void 0,style:Object.keys(i).length>0?i:void 0}}function pt(e,t,o){let{noStyle:n,theme:r}=A(),a=o??r,c=!("object"!=typeof a?.[e]||!a?.[e]?.noStyle),s=!!("object"==typeof t&&"noStyle"in t&&t.noStyle||c||n),d=i((()=>e?a?.[e]:null),[e,a]),l=i((()=>({className:"string"==typeof t?t:t?.className,style:void 0})),[t]),u=i((()=>d?mt(l,d):l),[l,d]),m=i((()=>t?mt(u,t):u),[u,t]);return i((()=>{if(s)return d?"string"==typeof d?{className:d}:{className:d.className,style:d.style}:{};let e=Array.from(new Set(["object"==typeof t?t?.baseClassName:void 0,m.className,"string"==typeof t?t:t?.className].filter(Boolean).flat())).join(" ");return{...m,className:e}}),[m,s,d,t])}let gt=c((({asChild:e,className:o,style:n,themeKey:r,baseClassName:a,...i},c)=>{let s=pt(r,{baseClassName:a,className:o,style:n});return t(e?v:"div",{ref:c,...i,...s})}));gt.displayName="Box";let ft=({title:e,iconPath:n})=>c(((r,a)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,ref:a,...r,children:[t("title",{children:e}),n]})));var bt={"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/ui/accordion/accordion.module.css":function(e,t,o){o.d(t,{A:()=>c});var n=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),r=o.n(n),a=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=o.n(a)()(r());i.push([e.id,":root{--accordion-padding:.875rem;--accordion-radius:.625rem;--accordion-duration:.2s;--accordion-ease:cubic-bezier(.4,0,.2,1);--accordion-icon-size:1.25rem;--accordion-background-color:#fff;--accordion-background-color-dark:#171717;--accordion-background-hover:#f7f7f7;--accordion-background-hover-dark:#1c1c1c;--accordion-border-color:#ebebeb;--accordion-border-color-dark:#333;--accordion-text-color:#171717;--accordion-text-color-dark:#e6e6e6;--accordion-icon-color:#5c5c5c;--accordion-icon-color-dark:#999;--accordion-arrow-color:#a3a3a3;--accordion-arrow-color-dark:#ccc;--accordion-content-color:#5c5c5c;--accordion-content-color-dark:#999;--accordion-focus-ring:#476cff;--accordion-focus-ring-dark:#2547d0;--accordion-focus-shadow:0 0 0 2px var(--accordion-focus-ring);--accordion-focus-shadow-dark:0 0 0 2px var(--accordion-focus-ring-dark)}.c15t-root-mn3Kc{&>:not([hidden])~:not([hidden]){--space-y-reverse:0;margin-top:calc(1rem*calc(1 - var(--space-y-reverse)));margin-bottom:calc(1rem*var(--space-y-reverse))}}.c15t-item-wEBHW{padding:var(--accordion-padding);background-color:var(--accordion-background-color);box-shadow:inset 0 0 0 1px var(--accordion-border-color);transition:all var(--accordion-duration)var(--accordion-ease);border-radius:var(--accordion-radius);position:relative;overflow:visible}.c15t-dark .c15t-item-wEBHW{background-color:var(--accordion-background-color-dark);box-shadow:inset 0 0 0 1px var(--accordion-border-color-dark)}.c15t-item-wEBHW:is(:hover,[data-state=open]){background-color:var(--accordion-background-hover);box-shadow:inset 0 0 0 1px #0000}.c15t-dark .c15t-item-wEBHW:is(:hover,[data-state=open]){background-color:var(--accordion-background-hover-dark);box-shadow:inset 0 0 0 1px #0000}.c15t-item-wEBHW:focus-within:not(:has(.c15t-triggerInner-P7q0J:focus-visible)){background-color:var(--accordion-background-hover);box-shadow:inset 0 0 0 1px #0000}.c15t-dark .c15t-item-wEBHW:focus-within:not(:has(.c15t-triggerInner-P7q0J:focus-visible)){background-color:var(--accordion-background-hover-dark);box-shadow:inset 0 0 0 1px #0000}.c15t-item-wEBHW:has(.c15t-triggerInner-P7q0J:focus-visible){box-shadow:var(--accordion-focus-shadow)}.c15t-dark .c15t-item-wEBHW:has(.c15t-triggerInner-P7q0J:focus-visible){box-shadow:var(--accordion-focus-shadow-dark)}.c15t-trigger-YptQf{justify-content:space-between;align-items:center;width:100%;display:flex;position:relative;overflow:visible}.c15t-triggerInner-P7q0J{width:90%;margin:calc(-1*var(--accordion-padding));padding:var(--accordion-padding);letter-spacing:-.006em;text-align:left;color:var(--accordion-text-color);cursor:pointer;border-radius:var(--accordion-radius);z-index:1;background:0 0;border:0;grid-template-columns:auto 1fr;align-items:center;gap:.625rem;font-size:.875rem;font-weight:500;line-height:1.25rem;display:grid;position:relative}.c15t-dark .c15t-triggerInner-P7q0J{color:var(--accordion-text-color-dark)}.c15t-triggerInner-P7q0J:focus-visible{outline:none}.c15t-icon-CWXG_{width:var(--accordion-icon-size);height:var(--accordion-icon-size);color:var(--accordion-icon-color);flex-shrink:0}.c15t-dark .c15t-icon-CWXG_{color:var(--accordion-icon-color-dark)}.c15t-arrowOpen-BtPT6,.c15t-arrowClose-Rc1mA{width:var(--accordion-icon-size);height:var(--accordion-icon-size);transition:color var(--accordion-duration)var(--accordion-ease);flex-shrink:0}.c15t-arrowOpen-BtPT6{color:var(--accordion-arrow-color)}.c15t-dark .c15t-arrowOpen-BtPT6{color:var(--accordion-arrow-color-dark)}.c15t-item-wEBHW:hover .c15t-arrowOpen-BtPT6{color:var(--accordion-icon-color)}.c15t-dark .c15t-item-wEBHW:hover .c15t-arrowOpen-BtPT6{color:var(--accordion-icon-color-dark)}.c15t-arrowClose-Rc1mA{color:var(--accordion-icon-color);display:none}.c15t-dark .c15t-arrowClose-Rc1mA{color:var(--accordion-icon-color-dark)}.c15t-item-wEBHW[data-state=open] .c15t-arrowOpen-BtPT6{display:none}.c15t-item-wEBHW[data-state=open] .c15t-arrowClose-Rc1mA{display:block}.c15t-content-F0Oyv{overflow:hidden}@keyframes c15t-accordionDown-BXyWj{0%{opacity:0;height:0}to{height:var(--radix-accordion-content-height);opacity:1}}@keyframes c15t-accordionUp-JM5v8{0%{height:var(--radix-accordion-content-height);opacity:1}to{opacity:0;height:0}}.c15t-content-F0Oyv[data-state=open]{animation:c15t-accordionDown-BXyWj var(--accordion-duration)var(--accordion-ease)}.c15t-content-F0Oyv[data-state=closed]{animation:c15t-accordionUp-JM5v8 var(--accordion-duration)var(--accordion-ease)}.c15t-contentInner-seFon{letter-spacing:-.006em;color:var(--accordion-content-color);padding-top:.375rem;font-size:.875rem;line-height:1.25rem}.c15t-dark .c15t-contentInner-seFon{color:var(--accordion-content-color-dark)}",""]),i.locals={root:"c15t-root-mn3Kc",item:"c15t-item-wEBHW",triggerInner:"c15t-triggerInner-P7q0J",trigger:"c15t-trigger-YptQf",icon:"c15t-icon-CWXG_",arrowOpen:"c15t-arrowOpen-BtPT6",arrowClose:"c15t-arrowClose-Rc1mA",content:"c15t-content-F0Oyv",accordionDown:"c15t-accordionDown-BXyWj",accordionUp:"c15t-accordionUp-JM5v8",contentInner:"c15t-contentInner-seFon"};let c=i},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js":function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),o&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=o),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js":function(e){e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js":function(e){var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},a=[],i=0;i<e.length;i++){var c=e[i],s=n.base?c[0]+n.base:c[0],d=r[s]||0,l="".concat(s," ").concat(d);r[s]=d+1;var u=o(l),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=function(e,t){var o=t.domAPI(t);return o.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&o.update(e=t):o.remove()}}(m,n);n.byIndex=i,t.splice(i,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}e.exports=function(e,r){var a=n(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=o(a[i]);t[c].references--}for(var s=n(e,r),d=0;d<a.length;d++){var l=o(a[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=s}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js":function(e){var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js":function(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js":function(e,t,o){e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js":function(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){var n,r,a;n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {")),(r=void 0!==o.layer)&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}"),(a=o.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js":function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},ht={};function yt(e){var t=ht[e];if(void 0!==t)return t.exports;var o=ht[e]={id:e,exports:{}};return bt[e](o,o.exports,yt),o.exports}yt.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return yt.d(t,{a:t}),t},yt.d=(e,t)=>{for(var o in t)yt.o(t,o)&&!yt.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},yt.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),yt.nc=void 0;var vt=yt("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js"),wt=yt.n(vt),kt=yt("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js"),xt=yt.n(kt),Ct=yt("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js"),St=yt.n(Ct),_t=yt("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js"),jt=yt.n(_t),Nt=yt("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js"),It=yt.n(Nt),Tt=yt("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js"),At=yt.n(Tt),Et=yt("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/ui/accordion/accordion.module.css"),Lt={};Lt.styleTagTransform=At(),Lt.setAttributes=jt(),Lt.insert=St().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=It(),wt()(Et.A,Lt);let Ot=Et.A&&Et.A.locals?Et.A.locals:void 0,Bt=c((({className:e,themeKey:o="accordion.root",baseClassName:n,noStyle:r,style:a,...i},c)=>{let{noStyle:s}=A(),d=pt(o,{baseClassName:[n,Ot.root],className:e,noStyle:s||r,style:a});return t(k,{ref:c,...i,...d})}));Bt.displayName="AccordionRoot";let Rt=c((({className:e,themeKey:o,baseClassName:n,noStyle:r,style:a,...i},c)=>{let{noStyle:s}=A(),d=pt(o??"accordion.item",{baseClassName:[n,Ot.item],className:e,noStyle:s||r,style:a});return t(S,{ref:c,...i,...d})}));Rt.displayName="AccordionItem";let Pt=c((({children:e,className:o,themeKey:n,baseClassName:r,noStyle:a,style:i,...c},s)=>{let{noStyle:d}=A(),l=pt(n??"accordion.trigger-inner",{baseClassName:[r,Ot.triggerInner],className:o,noStyle:d||a,style:i});return t(x,{ref:s,...c,...l,children:e})}));function Mt({openIcon:e={Element:ft({title:"Open",iconPath:t("path",{d:"M5 12h14M12 5v14"})}),themeKey:"accordion.arrow.open"},closeIcon:r={Element:ft({title:"Close",iconPath:t("path",{d:"M5 12h14"})}),themeKey:"accordion.arrow.close"},...a}){let i=pt(e.themeKey,{baseClassName:[e.baseClassName,Ot.arrowOpen],className:e.className,noStyle:e.noStyle,style:e.style}),c=pt(r.themeKey,{baseClassName:[r.baseClassName,Ot.arrowClose],className:r.className,noStyle:r.noStyle,style:r.style});return o(n,{children:[t(e.Element,{...a,...i}),t(r.Element,{...a,...c})]})}Pt.displayName="AccordionTrigger",Mt.displayName="AccordionArrow";let zt=c((({children:e,className:o,theme:n,...r},a)=>{let{noStyle:i}=A(),c=pt(n?.content?.themeKey??"accordion.content",{baseClassName:[n?.content?.baseClassName,Ot.content],className:o,noStyle:n?.content?.noStyle||i,style:n?.content?.style});return t(C,{ref:a,...r,...c,children:t(gt,{...n?.contentInner,baseClassName:[n?.content?.baseClassName,Ot.contentInner],themeKey:n?.contentInner?.themeKey??"accordion.content-inner",children:e})})}));zt.displayName="AccordionContent";var Dt={"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/ui/switch/switch.module.css":function(e,t,o){o.d(t,{A:()=>c});var n=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),r=o.n(n),a=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=o.n(a)()(r());i.push([e.id,':root{--switch-height:1.25rem;--switch-width:2rem;--switch-padding:.125rem;--switch-duration:.2s;--switch-ease:cubic-bezier(.4,0,.2,1);--switch-thumb-size:.75rem;--switch-thumb-size-disabled:.625rem;--switch-thumb-translate:.75rem;--switch-background-color:#ebebeb;--switch-background-color-dark:#333;--switch-background-color-hover:#d1d1d1;--switch-background-color-hover-dark:#292929;--switch-background-color-checked:#335cff;--switch-background-color-checked-dark:#2547d0;--switch-background-color-disabled:#fff;--switch-background-color-disabled-dark:#171717;--switch-thumb-background-color:#fff;--switch-thumb-background-color-dark:#f7f7f7;--switch-thumb-background-color-disabled:#f7f7f7;--switch-thumb-background-color-disabled-dark:#333;--switch-shadow-thumb:0 0 0 1px #ebebeb;--switch-shadow-thumb-dark:0 0 0 1px #333;--switch-focus-ring:#335cff;--switch-focus-ring-dark:#2547d0;--switch-focus-shadow:0 0 0 2px var(--switch-focus-ring);--switch-focus-shadow-dark:0 0 0 2px var(--switch-focus-ring-dark)}.c15t-root-qh0zR{height:var(--switch-height);width:var(--switch-width);padding:var(--switch-padding);white-space:nowrap;background:0 0;border:0;border-radius:9999px;outline:none;flex-shrink:0;margin:0;font-family:inherit;font-size:100%;line-height:1.15;display:block}.c15t-track-OlfR7{height:calc(var(--switch-height) - 2*var(--switch-padding));width:calc(var(--switch-width) - 2*var(--switch-padding));padding:var(--switch-padding);background-color:var(--switch-background-color);transition:all var(--switch-duration)var(--switch-ease);border-radius:9999px;outline:none;position:relative}.c15t-dark .c15t-track-OlfR7{background-color:var(--switch-background-color-dark)}.c15t-track-OlfR7:hover{background-color:var(--switch-background-color-hover)}.c15t-dark .c15t-track-OlfR7:hover{background-color:var(--switch-background-color-hover-dark)}.c15t-track-OlfR7:focus-visible{background-color:var(--switch-background-color-hover)}.c15t-dark .c15t-track-OlfR7:focus-visible{background-color:var(--switch-background-color-hover-dark)}.c15t-track-OlfR7:active{background-color:var(--switch-background-color)}.c15t-dark .c15t-track-OlfR7:active{background-color:var(--switch-background-color-dark)}.c15t-root-qh0zR[data-state=checked] .c15t-track-OlfR7{background-color:var(--switch-background-color-checked)}.c15t-dark .c15t-root-qh0zR[data-state=checked] .c15t-track-OlfR7{background-color:var(--switch-background-color-checked-dark)}.c15t-root-qh0zR[data-state=checked]:hover .c15t-track-OlfR7{background-color:var(--switch-background-color-checked)}.c15t-dark .c15t-root-qh0zR[data-state=checked]:hover .c15t-track-OlfR7{background-color:var(--switch-background-color-checked-dark)}.c15t-root-qh0zR[data-disabled]{cursor:not-allowed}.c15t-root-qh0zR:focus{outline:none}.c15t-dark .c15t-root-qh0zR:focus{outline:none}.c15t-track-disabled-reR3p{background-color:var(--switch-background-color-disabled);opacity:.4;box-shadow:inset 0 0 0 1px #ebebeb}.c15t-dark .c15t-track-disabled-reR3p{background-color:var(--switch-background-color-disabled-dark)}.c15t-root-qh0zR[data-state=checked] .c15t-track-disabled-reR3p{background-color:var(--switch-background-color-checked);opacity:.4;box-shadow:none}.c15t-dark .c15t-root-qh0zR[data-state=checked] .c15t-track-disabled-reR3p{background-color:var(--switch-background-color-checked-dark)}.c15t-thumb-JukBu{pointer-events:none;width:var(--switch-thumb-size);height:var(--switch-thumb-size);transition:transform var(--switch-duration)var(--switch-ease);display:block;position:relative;transform:translate(0)}.c15t-thumb-JukBu:before{content:"";inset-block:0;background-color:var(--switch-thumb-background-color);border-radius:9999px;width:100%;position:absolute;left:0;mask:radial-gradient(circle farthest-side,#0000 1.95px,#000 2.05px 100%) 50%/100% 100% no-repeat}.c15t-dark .c15t-thumb-JukBu:before{background-color:var(--switch-thumb-background-color-dark)}.c15t-thumb-JukBu:after{content:"";inset-block:0;width:100%;box-shadow:var(--switch-shadow-thumb);border-radius:9999px;position:absolute;left:0}.c15t-dark .c15t-thumb-JukBu:after{box-shadow:var(--switch-shadow-thumb-dark)}.c15t-root-qh0zR[data-state=checked] .c15t-thumb-JukBu{transform:translateX(var(--switch-thumb-translate))}.c15t-root-qh0zR[dir=rtl][data-state=checked] .c15t-thumb-JukBu{transform:translateX(calc(-1*var(--switch-thumb-translate)))}.c15t-track-OlfR7:active .c15t-thumb-JukBu{transform:scale(.833)}.c15t-thumb-disabled-s9gXH{box-shadow:none}.c15t-root-qh0zR[data-state=checked] .c15t-thumb-disabled-s9gXH{transform:translateX(var(--switch-thumb-translate))}.c15t-root-qh0zR:focus-visible{box-shadow:var(--switch-focus-shadow);outline:none}.c15t-dark .c15t-root-qh0zR:focus-visible{box-shadow:var(--switch-focus-shadow-dark)}',""]),i.locals={root:"c15t-root-qh0zR",track:"c15t-track-OlfR7","track-disabled":"c15t-track-disabled-reR3p",trackDisabled:"c15t-track-disabled-reR3p",thumb:"c15t-thumb-JukBu","thumb-disabled":"c15t-thumb-disabled-s9gXH",thumbDisabled:"c15t-thumb-disabled-s9gXH"};let c=i},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js":function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),o&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=o),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js":function(e){e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js":function(e){var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},a=[],i=0;i<e.length;i++){var c=e[i],s=n.base?c[0]+n.base:c[0],d=r[s]||0,l="".concat(s," ").concat(d);r[s]=d+1;var u=o(l),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=function(e,t){var o=t.domAPI(t);return o.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&o.update(e=t):o.remove()}}(m,n);n.byIndex=i,t.splice(i,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}e.exports=function(e,r){var a=n(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=o(a[i]);t[c].references--}for(var s=n(e,r),d=0;d<a.length;d++){var l=o(a[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=s}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js":function(e){var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js":function(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js":function(e,t,o){e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js":function(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){var n,r,a;n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {")),(r=void 0!==o.layer)&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}"),(a=o.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js":function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},Ht={};function Ft(e){var t=Ht[e];if(void 0!==t)return t.exports;var o=Ht[e]={id:e,exports:{}};return Dt[e](o,o.exports,Ft),o.exports}Ft.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Ft.d(t,{a:t}),t},Ft.d=(e,t)=>{for(var o in t)Ft.o(t,o)&&!Ft.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},Ft.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ft.nc=void 0;var Kt=Ft("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js"),Ut=Ft.n(Kt),$t=Ft("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js"),qt=Ft.n($t),Jt=Ft("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js"),Wt=Ft.n(Jt),Vt=Ft("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js"),Gt=Ft.n(Vt),Zt=Ft("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js"),Yt=Ft.n(Zt),Xt=Ft("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js"),Qt=Ft.n(Xt),eo=Ft("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/ui/switch/switch.module.css"),to={};to.styleTagTransform=Qt(),to.setAttributes=Gt(),to.insert=Wt().bind(null,"head"),to.domAPI=qt(),to.insertStyleElement=Yt(),Ut()(eo.A,to);let oo=eo.A&&eo.A.locals?eo.A.locals:void 0,no=c((({className:e,disabled:o,slot:n,theme:r,...a},i)=>{let c=pt(r?.root.themeKey??"switch.root",{...r?.root,baseClassName:[oo.root,r?.root.baseClassName],className:e}),s=pt(r?.thumb.themeKey??"switch.thumb",{...r?.thumb,baseClassName:[r?.thumb.baseClassName,oo.thumb,o&&oo["thumb-disabled"]],style:{...r?.thumb.style,"--mask":"radial-gradient(circle farthest-side at 50% 50%, #0000 1.95px, #000 2.05px 100%) 50% 50%/100% 100% no-repeat"}});return t(_,{ref:i,disabled:o,...a,...c,children:t(gt,{themeKey:r?.track.themeKey??"switch.track",baseClassName:[oo.track,o&&oo["track-disabled"]],style:r?.track.style,children:t(j,{...s})})})}));no.displayName=_.displayName;var ro={"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/consent-manager-widget/consent-manager-widget.module.css":function(e,t,o){o.d(t,{A:()=>c});var n=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),r=o.n(n),a=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=o.n(a)()(r());i.push([e.id,':root{--widget-background-color:#fff;--widget-background-color-dark:#1a1a1a;--widget-border-color:#ebebeb;--widget-border-color-dark:#333;--widget-text-color:#171717;--widget-text-color-dark:#e6e6e6;--widget-text-muted-color:#5c5c5c;--widget-text-muted-color-dark:#999;--widget-footer-background-color:transparent;--widget-footer-background-color-dark:transparent;--widget-link-text-color:#171717;--widget-link-text-color-dark:#e6e6e6;--widget-branding-link-color:#47c2ff;--widget-padding:0;--widget-radius:0;--widget-gap:.375rem;--widget-border-width:0;--widget-max-width:32rem;--widget-z-index:50;--widget-footer-padding:1.5rem 0 0 0;--widget-title-size:.875rem;--widget-title-line-height:1.25;--widget-title-tracking:-.006em;--widget-title-weight:600;--widget-entry-animation:c15t-enter-rkppV .15s ease-out;--widget-exit-animation:c15t-exit-pldK8 .15s ease-out;--widget-accordion-padding:.875rem;--widget-accordion-radius:.625rem;--widget-accordion-duration:.2s;--widget-accordion-ease:cubic-bezier(.4,0,.2,1);--widget-accordion-icon-size:1.25rem;--widget-accordion-background-color:#fff;--widget-accordion-background-color-dark:#171717;--widget-accordion-background-hover:#f7f7f7;--widget-accordion-background-hover-dark:#1c1c1c;--widget-accordion-border-color:#ebebeb;--widget-accordion-border-color-dark:#333;--widget-accordion-text-color:#171717;--widget-accordion-text-color-dark:#e6e6e6;--widget-accordion-icon-color:#5c5c5c;--widget-accordion-icon-color-dark:#999;--widget-accordion-arrow-color:#a3a3a3;--widget-accordion-arrow-color-dark:#ccc;--widget-accordion-content-color:#5c5c5c;--widget-accordion-content-color-dark:#999;--widget-accordion-focus-ring:#476cff;--widget-accordion-focus-ring-dark:#2547d0;--widget-accordion-focus-shadow:0 0 0 2px #476cff;--widget-accordion-focus-shadow-dark:0 0 0 2px #2547d0;--widget-font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";--widget-line-height:1.15}.c15t-widget-mZfPK{font-family:var(--widget-font-family);line-height:var(--widget-line-height)}.c15t-widget-mZfPK>:not([hidden])~:not([hidden]){--space-y-reverse:0;margin-top:calc(1.5rem*calc(1 - var(--space-y-reverse)));margin-bottom:calc(1.5rem*var(--space-y-reverse))}.c15t-card-cpA5_{width:100%;max-width:var(--widget-max-width);border-radius:var(--widget-radius);border:var(--widget-border-width)solid var(--widget-border-color);background-color:var(--widget-background-color);position:relative}.c15t-dark .c15t-card-cpA5_{background-color:var(--widget-background-color-dark);border-color:var(--widget-border-color-dark)}.c15t-card-cpA5_[data-state=open]{animation:var(--widget-entry-animation)}.c15t-card-cpA5_[data-state=closed]{animation:var(--widget-exit-animation)}.c15t-header-ubIEO{gap:var(--widget-gap);padding:var(--widget-padding);flex-direction:column;display:flex}.c15t-title-LLWlk{font-size:var(--widget-title-size);line-height:var(--widget-title-line-height);letter-spacing:var(--widget-title-tracking);font-weight:var(--widget-title-weight);color:var(--widget-text-color)}.c15t-dark .c15t-title-LLWlk{color:var(--widget-text-color-dark)}.c15t-description-AdjjX{color:var(--widget-text-muted-color)}.c15t-dark .c15t-description-AdjjX{color:var(--widget-text-muted-color-dark)}.c15t-content-JJu4V{padding:0 var(--widget-padding);padding-bottom:var(--widget-padding)}.c15t-footer-ySewJ{padding:var(--widget-footer-padding);background-color:var(--widget-footer-background-color);justify-content:space-between;gap:1rem;display:flex}.c15t-dark .c15t-footer-ySewJ{background-color:var(--widget-footer-background-color-dark)}@media (width<=640px){.c15t-footer-ySewJ{flex-direction:column}}@media (width>=640px){.c15t-footer-ySewJ{flex-direction:row}}.c15t-footerGroup-PNx3e{flex-direction:row;justify-content:space-between;gap:1rem;display:flex}@media (width<=640px){.c15t-footerGroup-PNx3e,.c15t-footerGroup-PNx3e button{width:100%}}.c15t-branding-ayjMW{border-top:var(--widget-border-width)solid var(--widget-border-color);justify-content:center;width:100%;padding-top:1rem;display:flex}.c15t-dark .c15t-branding-ayjMW{border-color:var(--widget-border-color-dark)}.c15t-brandingLink-mwCeb{color:var(--widget-link-text-color);text-align:center;flex-direction:row;flex:1;justify-content:center;align-items:center;gap:.5rem;text-decoration:none;display:flex}.c15t-dark .c15t-brandingLink-mwCeb{color:var(--widget-link-text-color-dark)}.c15t-brandingLink-mwCeb svg{height:1.2rem}@keyframes c15t-enter-rkppV{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes c15t-exit-pldK8{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.c15t-bottomLeft-ZpTtt{bottom:0;left:0}.c15t-bottomRight-StkOw{bottom:0;right:0}.c15t-topLeft-_G3uz{top:0;left:0}.c15t-topRight-By5Hm{top:0;right:0}.c15t-accordionItem-fU3xo{border-radius:var(--widget-accordion-radius);border:1px solid var(--widget-accordion-border-color);background-color:var(--widget-accordion-background-color);position:relative;overflow:visible}.c15t-accordionItem-fU3xo:has(.c15t-accordionTriggerInner-bepZm:focus-visible){box-shadow:0 0 0 2px var(--widget-accordion-focus-ring)}.c15t-dark .c15t-accordionItem-fU3xo{border-color:var(--widget-accordion-border-color-dark);background-color:var(--widget-accordion-background-color-dark)}.c15t-accordionTrigger-SWny4{width:100%;color:var(--widget-accordion-text-color);transition:background-color var(--widget-accordion-duration)var(--widget-accordion-ease);background-color:#0000;justify-content:space-between;align-items:center;display:flex}.c15t-accordionTrigger-SWny4:hover{background-color:var(--widget-accordion-background-hover)}.c15t-dark .c15t-accordionTrigger-SWny4{color:var(--widget-accordion-text-color-dark)}.c15t-dark .c15t-accordionTrigger-SWny4:hover{background-color:var(--widget-accordion-background-hover-dark)}.c15t-accordionTriggerInner-bepZm{align-items:center;gap:var(--widget-gap);font-size:var(--widget-title-size);font-weight:var(--widget-title-weight);border-radius:var(--widget-accordion-radius);display:flex;position:relative}.c15t-accordionContent-qm_yt{padding:var(--widget-accordion-padding);color:var(--widget-accordion-content-color);font-size:.875rem;line-height:1.5}.c15t-dark .c15t-accordionContent-qm_yt{color:var(--widget-accordion-content-color-dark)}.c15t-accordionArrow-t0PT0{color:var(--widget-accordion-arrow-color);width:var(--widget-accordion-icon-size);height:var(--widget-accordion-icon-size);transition:transform var(--widget-accordion-duration)var(--widget-accordion-ease)}.c15t-dark .c15t-accordionArrow-t0PT0{color:var(--widget-accordion-arrow-color-dark)}.c15t-accordionItem-fU3xo[data-state=open] .c15t-accordionArrow-t0PT0{transform:rotate(180deg)}.c15t-switch-cBZCr{cursor:pointer;background-color:var(--widget-accordion-background-hover);width:2rem;height:1.25rem;transition:background-color var(--widget-accordion-duration)var(--widget-accordion-ease);border-radius:9999px;justify-content:center;align-items:center;display:inline-flex}.c15t-dark .c15t-switch-cBZCr{background-color:var(--widget-accordion-background-hover-dark)}.c15t-switch-cBZCr[data-state=checked]{background-color:var(--widget-accordion-focus-ring)}.c15t-dark .c15t-switch-cBZCr[data-state=checked]{background-color:var(--widget-accordion-focus-ring-dark)}',""]),i.locals={enter:"c15t-enter-rkppV",exit:"c15t-exit-pldK8",widget:"c15t-widget-mZfPK",card:"c15t-card-cpA5_",header:"c15t-header-ubIEO",title:"c15t-title-LLWlk",description:"c15t-description-AdjjX",content:"c15t-content-JJu4V",footer:"c15t-footer-ySewJ",footerGroup:"c15t-footerGroup-PNx3e",branding:"c15t-branding-ayjMW",brandingLink:"c15t-brandingLink-mwCeb",bottomLeft:"c15t-bottomLeft-ZpTtt",bottomRight:"c15t-bottomRight-StkOw",topLeft:"c15t-topLeft-_G3uz",topRight:"c15t-topRight-By5Hm",accordionItem:"c15t-accordionItem-fU3xo",accordionTriggerInner:"c15t-accordionTriggerInner-bepZm",accordionTrigger:"c15t-accordionTrigger-SWny4",accordionContent:"c15t-accordionContent-qm_yt",accordionArrow:"c15t-accordionArrow-t0PT0",switch:"c15t-switch-cBZCr"};let c=i},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js":function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),o&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=o),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js":function(e){e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js":function(e){var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},a=[],i=0;i<e.length;i++){var c=e[i],s=n.base?c[0]+n.base:c[0],d=r[s]||0,l="".concat(s," ").concat(d);r[s]=d+1;var u=o(l),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=function(e,t){var o=t.domAPI(t);return o.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&o.update(e=t):o.remove()}}(m,n);n.byIndex=i,t.splice(i,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}e.exports=function(e,r){var a=n(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=o(a[i]);t[c].references--}for(var s=n(e,r),d=0;d<a.length;d++){var l=o(a[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=s}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js":function(e){var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js":function(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js":function(e,t,o){e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js":function(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){var n,r,a;n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {")),(r=void 0!==o.layer)&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}"),(a=o.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js":function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},ao={};function io(e){var t=ao[e];if(void 0!==t)return t.exports;var o=ao[e]={id:e,exports:{}};return ro[e](o,o.exports,io),o.exports}io.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return io.d(t,{a:t}),t},io.d=(e,t)=>{for(var o in t)io.o(t,o)&&!io.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},io.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),io.nc=void 0;var co=io("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js"),so=io.n(co),lo=io("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js"),uo=io.n(lo),mo=io("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js"),po=io.n(mo),go=io("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js"),fo=io.n(go),bo=io("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js"),ho=io.n(bo),yo=io("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js"),vo=io.n(yo),wo=io("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/consent-manager-widget/consent-manager-widget.module.css"),ko={};ko.styleTagTransform=vo(),ko.setAttributes=fo(),ko.insert=po().bind(null,"head"),ko.domAPI=uo(),ko.insertStyleElement=ho(),so()(wo.A,ko);let xo=wo.A&&wo.A.locals?wo.A.locals:void 0,Co=c((({children:e,themeKey:o,...n},r)=>t(gt,{ref:r,baseClassName:xo.accordionTrigger,themeKey:o,...n,children:e}))),So=Pt,_o=zt,jo=Mt,No=Bt,Io=no,To=()=>{let{selectedConsents:e,setSelectedConsent:n,getDisplayedConsents:r}=dt(),a=s(((e,t)=>{n(e,t)}),[n]),{consentTypes:i}=lt();return r().map((n=>o(Ao,{value:n.name,themeKey:"widget.accordion.item",className:xo.accordionItem,children:[o(Co,{themeKey:"widget.accordion.trigger","data-testid":`consent-manager-widget-accordion-trigger-${n.name}`,children:[o(So,{themeKey:"widget.accordion.trigger-inner",className:xo.accordionTriggerInner,"data-testid":`consent-manager-widget-accordion-trigger-inner-${n.name}`,children:[t(jo,{"data-testid":`consent-manager-widget-accordion-arrow-${n.name}`,className:xo.accordionArrow,openIcon:{Element:ft({title:"Open",iconPath:t("path",{d:"M5 12h14M12 5v14"})}),themeKey:"widget.accordion.arrow.open"},closeIcon:{Element:ft({title:"Close",iconPath:t("path",{d:"M5 12h14"})}),themeKey:"widget.accordion.arrow.close"}}),i[n.name]?.title??n.name.replace(/_/g," ").replace(/\b\w/g,(e=>e.toUpperCase()))]}),t(Io,{checked:e[n.name],onClick:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),onCheckedChange:e=>a(n.name,e),disabled:n.disabled,theme:{root:{themeKey:"widget.switch",className:xo.switch},thumb:{themeKey:"widget.switch.thumb",className:xo.switchThumb},track:{themeKey:"widget.switch.track"}},"data-testid":`consent-manager-widget-switch-${n.name}`})]}),t(_o,{theme:{content:{themeKey:"widget.accordion.content",className:xo.accordionContent},contentInner:{themeKey:"widget.accordion.content-inner"}},"data-testid":`consent-manager-widget-accordion-content-${n.name}`,children:i[n.name]?.description??n.description})]},n.name)))},Ao=c((({className:e,...o},n)=>t(Rt,{ref:n,className:xo.accordionItem,...o})));function Eo(e,t,o,n,r){let a=d.map(e,(e=>{if(!l(e))return e;let r=e.type?.displayName||"",a=o.includes(r)?t:{},i=e.props;return u(e,{...a,key:`${n}-${e.key||r}`},Eo(i?.children,t,o,n,i?.asChild))}));return r?a?.[0]:a}var Lo={"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/ui/button/button.module.css":function(e,t,o){o.d(t,{A:()=>c});var n=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),r=o.n(n),a=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=o.n(a)()(r());i.push([e.id,":root{--button-primary:#335cff;--button-primary-dark:#2547d0;--button-primary-hover:#476fff1a;--button-primary-hover-dark:#476cff1a;--button-neutral:#5c5c5c;--button-neutral-dark:#414958;--button-neutral-hover:#626d84;--button-neutral-hover-dark:#363d49;--button-neutral-soft:#ebebeb;--button-neutral-soft-dark:#414958;--button-focus-ring:#476cff;--button-focus-ring-dark:#2547d0;--button-text:#5c5c5c;--button-text-dark:#b3b3b3;--button-text-hover:#171717;--button-text-hover-dark:#e6e6e6;--button-background-color:#fff;--button-background-color-dark:#1a1a1a;--button-border:#5c5c5c;--button-border-dark:#414958;--button-hover-overlay:#2b303b0d;--button-hover-overlay-dark:#e2e4e91a;--button-font:inherit;--button-border-width:0px;--button-border-style:solid;--button-border-color:transparent;--button-border-radius:.375rem;--button-font-weight:500;--button-font-size:.875rem;--button-line-height:1.25rem;--button-transition:opacity .15s ease-in-out,transform .15s ease-in-out;--button-hover-transition-color:background-color .15s ease-in-out;--button-hover-transition-full:background-color .15s ease-in-out,box-shadow .15s ease-in-out,color .15s ease-in-out;--button-cursor:pointer;--button-shadow:0px 1px 2px 0px #0e121b0f;--button-shadow-dark:0px 1px 2px 0px #8080800f;--button-shadow-primary-focus:0 0 0 2px var(--button-focus-ring);--button-shadow-neutral-focus:0 0 0 2px var(--button-focus-ring);--button-shadow-primary-focus-dark:0 0 0 2px var(--button-focus-ring-dark);--button-shadow-neutral-focus-dark:0 0 0 2px var(--button-focus-ring-dark);--button-shadow-primary:var(--button-shadow),inset 0 0 0 1px var(--button-primary);--button-shadow-primary-dark:var(--button-shadow-dark),inset 0 0 0 1px var(--button-primary-dark);--button-shadow-primary-hover:none;--button-shadow-primary-hover-dark:none;--button-shadow-neutral:var(--button-shadow),inset 0 0 0 1px var(--button-neutral-soft);--button-shadow-neutral-dark:var(--button-shadow-dark),inset 0 0 0 1px var(--button-neutral-soft-dark);--button-shadow-neutral-hover:none;--button-shadow-neutral-hover-dark:none}.c15t-button-YKOgW{border-radius:var(--button-border-radius);font-weight:var(--button-font-weight);transition:var(--button-transition);cursor:var(--button-cursor);border:var(--button-border-width)var(--button-border-style)var(--button-border-color);font-size:var(--button-font-size);line-height:var(--button-line-height);color:var(--button-text);font-family:var(--button-font);justify-content:center;align-items:center;gap:.5rem;display:inline-flex}.c15t-button-YKOgW:focus-visible{box-shadow:var(--button-shadow-primary-focus);outline:none}.c15t-dark .c15t-button-YKOgW:focus-visible{box-shadow:var(--button-shadow-primary-focus-dark)}.c15t-dark .c15t-button-YKOgW{color:var(--button-text-dark)}.c15t-button-YKOgW:disabled{opacity:.5;cursor:not-allowed}.c15t-button-medium-1Mfpj{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.625rem 1rem}.c15t-button-small-n5LJg{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.5rem .75rem}.c15t-button-xsmall-ygCjx{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.375rem .625rem}.c15t-button-xxsmall-r7ZLO{font-size:var(--button-font-size);line-height:var(--button-line-height);padding:.25rem .5rem}.c15t-button-primary-filled-YzeKk{background-color:var(--button-primary);color:var(--button-background-color)}.c15t-button-primary-filled-YzeKk:focus-visible{box-shadow:var(--button-shadow-primary-focus)}.c15t-dark .c15t-button-primary-filled-YzeKk{background-color:var(--button-primary-dark);color:var(--button-background-color-dark)}.c15t-button-primary-filled-YzeKk:hover:not(:disabled){background-color:var(--button-primary-hover);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-button-primary-filled-YzeKk:hover:not(:disabled){background-color:var(--button-primary-hover-dark);transition:var(--button-hover-transition-color)}.c15t-button-primary-stroke-TWzjH{background-color:var(--button-background-color);color:var(--button-primary);box-shadow:var(--button-shadow-primary)}.c15t-dark .c15t-button-primary-stroke-TWzjH{background-color:var(--button-background-color-dark);color:var(--button-primary-dark);box-shadow:var(--button-shadow-primary-dark)}.c15t-button-primary-stroke-TWzjH:hover:not(:disabled){background-color:var(--button-primary-hover);box-shadow:var(--button-shadow-primary-hover);transition:var(--button-hover-transition-full)}.c15t-dark .c15t-button-primary-stroke-TWzjH:hover:not(:disabled){background-color:var(--button-primary-hover-dark);box-shadow:var(--button-shadow-primary-hover-dark);transition:var(--button-hover-transition-full)}.c15t-button-primary-lighter-kAHLT{background-color:color-mix(in srgb,var(--button-primary)10%,transparent);color:var(--button-primary)}.c15t-dark .c15t-button-primary-lighter-kAHLT{background-color:color-mix(in srgb,var(--button-primary-dark)10%,transparent);color:var(--button-primary-dark)}.c15t-button-primary-lighter-kAHLT:hover:not(:disabled){background-color:color-mix(in srgb,var(--button-primary)20%,transparent);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-button-primary-lighter-kAHLT:hover:not(:disabled){background-color:color-mix(in srgb,var(--button-primary-dark)20%,transparent);transition:var(--button-hover-transition-color)}.c15t-button-primary-ghost-j0CcU{color:var(--button-primary)}.c15t-dark .c15t-button-primary-ghost-j0CcU{color:var(--button-primary-dark)}.c15t-button-primary-ghost-j0CcU:hover:not(:disabled){background-color:var(--button-hover-overlay);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-button-primary-ghost-j0CcU:hover:not(:disabled){background-color:var(--button-hover-overlay-dark);transition:var(--button-hover-transition-color)}.c15t-button-neutral-filled-uvvkN{background-color:var(--button-neutral);color:var(--button-background-color)}.c15t-button-neutral-filled-uvvkN:focus-visible{box-shadow:var(--button-shadow-neutral-focus)}.c15t-dark .c15t-button-neutral-filled-uvvkN{background-color:var(--button-neutral-dark);color:var(--button-background-color-dark)}.c15t-button-neutral-filled-uvvkN:hover:not(:disabled){background-color:var(--button-neutral-hover);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-button-neutral-filled-uvvkN:hover:not(:disabled){background-color:var(--button-neutral-hover-dark);transition:var(--button-hover-transition-color)}.c15t-button-neutral-stroke-EAzCC{background-color:var(--button-background-color);box-shadow:var(--button-shadow-neutral)}.c15t-dark .c15t-button-neutral-stroke-EAzCC{background-color:var(--button-background-color-dark);box-shadow:var(--button-shadow-neutral-dark)}.c15t-button-neutral-stroke-EAzCC:hover:not(:disabled){box-shadow:var(--button-shadow-neutral-hover);color:var(--button-text-hover);transition:var(--button-hover-transition-full);background-color:#0000}.c15t-dark .c15t-button-neutral-stroke-EAzCC:hover:not(:disabled){box-shadow:var(--button-shadow-neutral-hover-dark);color:var(--button-text-hover-dark);transition:var(--button-hover-transition-full)}.c15t-button-neutral-lighter-ANBJI{background-color:color-mix(in srgb,var(--button-neutral)10%,transparent);color:var(--button-neutral)}.c15t-dark .c15t-button-neutral-lighter-ANBJI{background-color:color-mix(in srgb,var(--button-neutral-dark)10%,transparent);color:var(--button-neutral-dark)}.c15t-button-neutral-lighter-ANBJI:hover:not(:disabled){background-color:color-mix(in srgb,var(--button-neutral)20%,transparent);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-button-neutral-lighter-ANBJI:hover:not(:disabled){background-color:color-mix(in srgb,var(--button-neutral-dark)20%,transparent);transition:var(--button-hover-transition-color)}.c15t-button-neutral-ghost-x4zTl{color:var(--button-neutral)}.c15t-dark .c15t-button-neutral-ghost-x4zTl{color:var(--button-neutral-dark)}.c15t-button-neutral-ghost-x4zTl:hover:not(:disabled){background-color:var(--button-hover-overlay);transition:var(--button-hover-transition-color)}.c15t-dark .c15t-button-neutral-ghost-x4zTl:hover:not(:disabled){background-color:var(--button-hover-overlay-dark);transition:var(--button-hover-transition-color)}.c15t-button-icon-ps6Fy{justify-content:center;align-items:center;display:inline-flex}",""]),i.locals={button:"c15t-button-YKOgW","button-medium":"c15t-button-medium-1Mfpj",buttonMedium:"c15t-button-medium-1Mfpj","button-small":"c15t-button-small-n5LJg",buttonSmall:"c15t-button-small-n5LJg","button-xsmall":"c15t-button-xsmall-ygCjx",buttonXsmall:"c15t-button-xsmall-ygCjx","button-xxsmall":"c15t-button-xxsmall-r7ZLO",buttonXxsmall:"c15t-button-xxsmall-r7ZLO","button-primary-filled":"c15t-button-primary-filled-YzeKk",buttonPrimaryFilled:"c15t-button-primary-filled-YzeKk","button-primary-stroke":"c15t-button-primary-stroke-TWzjH",buttonPrimaryStroke:"c15t-button-primary-stroke-TWzjH","button-primary-lighter":"c15t-button-primary-lighter-kAHLT",buttonPrimaryLighter:"c15t-button-primary-lighter-kAHLT","button-primary-ghost":"c15t-button-primary-ghost-j0CcU",buttonPrimaryGhost:"c15t-button-primary-ghost-j0CcU","button-neutral-filled":"c15t-button-neutral-filled-uvvkN",buttonNeutralFilled:"c15t-button-neutral-filled-uvvkN","button-neutral-stroke":"c15t-button-neutral-stroke-EAzCC",buttonNeutralStroke:"c15t-button-neutral-stroke-EAzCC","button-neutral-lighter":"c15t-button-neutral-lighter-ANBJI",buttonNeutralLighter:"c15t-button-neutral-lighter-ANBJI","button-neutral-ghost":"c15t-button-neutral-ghost-x4zTl",buttonNeutralGhost:"c15t-button-neutral-ghost-x4zTl","button-icon":"c15t-button-icon-ps6Fy",buttonIcon:"c15t-button-icon-ps6Fy"};let c=i},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js":function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),o&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=o),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js":function(e){e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js":function(e){var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},a=[],i=0;i<e.length;i++){var c=e[i],s=n.base?c[0]+n.base:c[0],d=r[s]||0,l="".concat(s," ").concat(d);r[s]=d+1;var u=o(l),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=function(e,t){var o=t.domAPI(t);return o.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&o.update(e=t):o.remove()}}(m,n);n.byIndex=i,t.splice(i,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}e.exports=function(e,r){var a=n(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=o(a[i]);t[c].references--}for(var s=n(e,r),d=0;d<a.length;d++){var l=o(a[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=s}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js":function(e){var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js":function(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js":function(e,t,o){e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js":function(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){var n,r,a;n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {")),(r=void 0!==o.layer)&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}"),(a=o.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js":function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},Oo={};function Bo(e){var t=Oo[e];if(void 0!==t)return t.exports;var o=Oo[e]={id:e,exports:{}};return Lo[e](o,o.exports,Bo),o.exports}Bo.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Bo.d(t,{a:t}),t},Bo.d=(e,t)=>{for(var o in t)Bo.o(t,o)&&!Bo.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},Bo.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Bo.nc=void 0;var Ro=Bo("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js"),Po=Bo.n(Ro),Mo=Bo("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js"),zo=Bo.n(Mo),Do=Bo("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js"),Ho=Bo.n(Do),Fo=Bo("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js"),Ko=Bo.n(Fo),Uo=Bo("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js"),$o=Bo.n(Uo),qo=Bo("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js"),Jo=Bo.n(qo),Wo=Bo("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/ui/button/button.module.css"),Vo={};Vo.styleTagTransform=Jo(),Vo.setAttributes=Ko(),Vo.insert=Ho().bind(null,"head"),Vo.domAPI=zo(),Vo.insertStyleElement=$o(),Po()(Wo.A,Vo);let Go=Wo.A&&Wo.A.locals?Wo.A.locals:void 0,Zo=({variant:e="primary",mode:t="filled",size:o="medium"}={})=>{let n=[Go.button,Go[`button-${o}`]];n.push(Go[{"primary-filled":"button-primary-filled","primary-stroke":"button-primary-stroke","primary-lighter":"button-primary-lighter","primary-ghost":"button-primary-ghost","neutral-filled":"button-neutral-filled","neutral-stroke":"button-neutral-stroke","neutral-lighter":"button-neutral-lighter","neutral-ghost":"button-neutral-ghost"}[`${e}-${t}`]]);let r=[Go["button-icon"]];return{root:e=>[...n,e?.class].filter(Boolean).join(" "),icon:e=>[...r,e?.class].filter(Boolean).join(" ")}},Yo=c((({children:e,variant:o,mode:n,size:r,asChild:a,className:i,noStyle:c,...s},d)=>{let l=m(),u=a?v:"button",p=[c?"":Zo({variant:o,mode:n,size:r}).root(),i].filter(Boolean).join(" "),g=Eo(e,{...o&&{variant:o},...n&&{mode:n},...r&&{size:r}},["ButtonIcon"],l,a);return t(u,{ref:d,className:p,...s,children:g})}));Yo.displayName="ButtonRoot";let Xo=c((({asChild:e,className:o,style:n,noStyle:r,action:a,themeKey:i,baseClassName:c,variant:d="neutral",mode:l="stroke",size:u="small",onClick:m,closeCookieBanner:p=!1,closeCustomizeDialog:g=!1,category:f,...b},h)=>{let{saveConsents:y,setShowPopup:w,setIsPrivacyDialogOpen:k,setConsent:x}=dt(),{noStyle:C}=A(),S=pt(i??"button",{baseClassName:[!(C||r)&&Zo({variant:d,mode:l,size:u}).root()],style:{...n},className:o,noStyle:C||r});if(!f&&"set-consent"===a)throw Error("Category is required for set-consent action");let _=s((e=>{if(p&&w(!1),g&&k(!1),"open-consent-dialog"===a&&(k(!0),w(!1,!0)),m&&m(e),"open-consent-dialog"!==a)switch(a){case"accept-consent":y("all");break;case"reject-consent":y("necessary");break;case"custom-consent":y("custom");break;case"set-consent":if(!f)throw Error("Category is required for set-consent action");x(f,!0)}}),[p,g,m,y,k,w,a]);return t(e?v:"button",{ref:h,...S,onClick:_,...b})}));Xo.displayName="ConsentButton";let Qo=c((({children:e,...o},n)=>t(Xo,{ref:n,variant:"neutral",mode:"stroke",size:"small",action:"accept-consent",...o,themeKey:"widget.footer.accept-button","data-testid":"consent-manager-widget-footer-accept-button",closeCookieBanner:!0,closeCustomizeDialog:!0,children:e}))),en=c((({children:e,...o},n)=>t(Xo,{ref:n,action:"custom-consent",variant:"primary",closeCustomizeDialog:!0,...o,themeKey:"widget.footer.save-button","data-testid":"consent-manager-widget-footer-save-button",children:e}))),tn=c((({children:e,...o},n)=>t(Xo,{ref:n,variant:"neutral",mode:"stroke",size:"small",action:"reject-consent",...o,themeKey:"widget.footer.reject-button","data-testid":"consent-manager-widget-reject-button",closeCookieBanner:!0,closeCustomizeDialog:!0,children:e}))),on=c((({children:e,...o},n)=>t(gt,{ref:n,baseClassName:xo.footer,"data-testid":"consent-manager-widget-footer",...o,themeKey:"widget.footer",children:e}))),nn=c((({children:e,...o},n)=>t(gt,{ref:n,baseClassName:xo.footerGroup,"data-testid":"consent-manager-widget-footer-sub-group",...o,themeKey:"widget.footer.sub-group",children:e}))),rn=["ar","he","fa","ur","ps","sd","ku","dv"];function an(e){let t=i((()=>{let t=e?e.split("-")[0]?.toLowerCase():"en";return rn.includes(t||"")?"rtl":"ltr"}),[e]);return p((()=>{"rtl"===t?document.body.classList.add("c15t-rtl"):document.body.classList.remove("c15t-rtl")}),[t]),t}let cn=({children:e,noStyle:o=!1,disableAnimation:n=!1,theme:r,useProvider:a=!0})=>{let{translationConfig:i}=dt(),c=t(gt,{"data-testid":"consent-manager-widget-root",themeKey:"widget.root",dir:an(i.defaultLanguage),children:e});return a?t(T.Provider,{value:{disableAnimation:n,noStyle:o,theme:r},children:c}):c},sn=({hideBrading:e,theme:n,noStyle:r,disableAnimation:a,scrollLock:i,trapFocus:c,...s})=>{let[d,l]=g([]),{common:u}=lt(),m=A();return o(cn,{...{theme:{...m.theme,...n},noStyle:r??m.noStyle,disableAnimation:a??m.disableAnimation,scrollLock:i??m.scrollLock,trapFocus:c??m.trapFocus,...s},children:[t(No,{themeKey:"widget.accordion",type:"multiple",value:d,onValueChange:l,children:t(To,{})}),o(on,{children:[o(nn,{themeKey:"widget.footer.sub-group",children:[t(tn,{themeKey:"widget.footer.reject-button",children:u.rejectAll}),t(Qo,{themeKey:"widget.footer.accept-button",children:u.acceptAll})]}),t(en,{themeKey:"widget.footer.save-button",children:u.save})]}),!e&&t(nr,{themeKey:"widget.branding",children:t(rr,{})})]})};var dn={"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/primitives/legal-links/legal-links.module.css":function(e,t,o){o.d(t,{A:()=>c});var n=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),r=o.n(n),a=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=o.n(a)()(r());i.push([e.id,":root{--legal-links-gap:.75rem;--legal-links-font-size:.875rem;--legal-links-transition:text-decoration .2s ease;--legal-links-text-decoration:none;--legal-links-text-decoration-hover:underline;--legal-links-outline:2px solid currentColor;--legal-links-outline-offset:2px;--legal-links-color:#476cff;--legal-links-focus-color:#476cff;--legal-links-focus-color-dark:#2547d0}.c15t-legalLinks-b9O5c{gap:var(--legal-links-gap);flex-wrap:wrap;align-items:center;display:flex}.c15t-legalLink-S90r8{color:var(--legal-links-color);text-decoration:var(--legal-links-text-decoration);font-size:var(--legal-links-font-size);transition:var(--legal-links-transition)}.c15t-dark .c15t-legalLink-S90r8{color:var(--legal-links-focus-color-dark)}.c15t-legalLink-S90r8:hover{text-decoration:var(--legal-links-text-decoration-hover)}.c15t-legalLink-S90r8:focus{outline:none;text-decoration:underline}",""]),i.locals={legalLinks:"c15t-legalLinks-b9O5c",legalLink:"c15t-legalLink-S90r8"};let c=i},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js":function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),o&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=o),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js":function(e){e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js":function(e){var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},a=[],i=0;i<e.length;i++){var c=e[i],s=n.base?c[0]+n.base:c[0],d=r[s]||0,l="".concat(s," ").concat(d);r[s]=d+1;var u=o(l),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=function(e,t){var o=t.domAPI(t);return o.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&o.update(e=t):o.remove()}}(m,n);n.byIndex=i,t.splice(i,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}e.exports=function(e,r){var a=n(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=o(a[i]);t[c].references--}for(var s=n(e,r),d=0;d<a.length;d++){var l=o(a[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=s}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js":function(e){var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js":function(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js":function(e,t,o){e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js":function(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){var n,r,a;n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {")),(r=void 0!==o.layer)&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}"),(a=o.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js":function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},ln={};function un(e){var t=ln[e];if(void 0!==t)return t.exports;var o=ln[e]={id:e,exports:{}};return dn[e](o,o.exports,un),o.exports}un.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return un.d(t,{a:t}),t},un.d=(e,t)=>{for(var o in t)un.o(t,o)&&!un.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},un.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),un.nc=void 0;var mn=un("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js"),pn=un.n(mn),gn=un("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js"),fn=un.n(gn),bn=un("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js"),hn=un.n(bn),yn=un("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js"),vn=un.n(yn),wn=un("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js"),kn=un.n(wn),xn=un("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js"),Cn=un.n(xn),Sn=un("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/shared/primitives/legal-links/legal-links.module.css"),_n={};_n.styleTagTransform=Cn(),_n.setAttributes=vn(),_n.insert=hn().bind(null,"head"),_n.domAPI=fn(),_n.insertStyleElement=kn(),pn()(Sn.A,_n);let jn=Sn.A&&Sn.A.locals?Sn.A.locals:void 0;function Nn(e){let{legalLinks:t}=dt();return null==e?null:Object.fromEntries(Object.entries(t??{}).filter((([t])=>e.includes(t))))}function In({links:e,themeKey:t,testIdPrefix:n}){let r=Nn(e),{legalLinks:a}=lt(),i=pt(`${t}.link`,{baseClassName:jn.legalLink});return r&&0!==Object.keys(r).length?o("span",{children:[" ",Object.entries(r).map((([e,t],r,c)=>t?o("span",{children:[o("a",{href:t.href,target:t.target||"_blank",rel:t.rel||("_blank"===t.target?"noopener noreferrer":void 0),...i,"data-testid":n?`${n}-${e}`:void 0,children:[t.label??a?.[e],r<c.length-1&&","]}),r<c.length-1&&" "]},String(e)):null))]}):null}let Tn=c((({links:e,themeKey:o,...n},r)=>{let a=Nn(e),{legalLinks:i}=lt(),c=pt(`${o}.link`,{baseClassName:jn.legalLink});return a&&0!==Object.keys(a).length?t(gt,{ref:r,themeKey:o,baseClassName:jn.legalLinks,...n,children:Object.entries(a).map((([e,o])=>o?t("a",{href:o.href,target:o.target||"_blank",rel:o.rel||("_blank"===o.target?"noopener noreferrer":void 0),...c,children:o.label??i?.[e]},String(e)):null))}):null}));Tn.displayName="LegalLinks";let An=({title:e="c15t",titleId:n="c15t",...r})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 408 149","aria-labelledby":n,...r,children:[t("title",{id:n,children:e}),t("path",{fill:"currentColor",fillRule:"evenodd",d:"M74.133 14.042c-5.58 0-10.105 4.524-10.105 10.104 0 5.581 4.524 10.105 10.105 10.105 5.58 0 10.105-4.524 10.105-10.105 0-5.58-4.524-10.104-10.105-10.104ZM50.556 24.146C50.556 11.125 61.112.57 74.133.57 87.154.57 97.71 11.125 97.71 24.146c0 13.022-10.556 23.578-23.577 23.578-4.06 0-7.88-1.027-11.216-2.834L44.354 63.453a23.424 23.424 0 0 1 1.858 4.48h55.843c2.899-9.74 11.921-16.841 22.601-16.841 13.022 0 23.578 10.556 23.578 23.577 0 13.022-10.556 23.578-23.578 23.578-10.68 0-19.702-7.102-22.601-16.841H46.211a23.455 23.455 0 0 1-2.628 5.798l18.015 18.015a23.473 23.473 0 0 1 12.535-3.604c13.021 0 23.577 10.556 23.577 23.577 0 13.022-10.556 23.577-23.577 23.577-13.021 0-23.577-10.555-23.577-23.577 0-3.506.765-6.833 2.138-9.824l-19.26-19.26a23.49 23.49 0 0 1-9.823 2.139C10.588 98.247.032 87.69.032 74.669c0-13.021 10.556-23.577 23.577-23.577 4.061 0 7.882 1.026 11.217 2.834L53.39 35.364a23.473 23.473 0 0 1-2.834-11.218Zm63.996 50.523v.023c.012 5.57 4.531 10.082 10.104 10.082 5.581 0 10.105-4.524 10.105-10.105 0-5.58-4.524-10.104-10.105-10.104-5.573 0-10.092 4.511-10.104 10.082v.022ZM23.61 64.565c-5.58 0-10.104 4.524-10.104 10.104 0 5.58 4.524 10.105 10.104 10.105 5.581 0 10.105-4.524 10.105-10.105 0-5.58-4.524-10.104-10.105-10.104Zm40.418 60.627c0-5.581 4.524-10.104 10.105-10.104 5.58 0 10.105 4.523 10.105 10.104 0 5.581-4.524 10.105-10.105 10.105-5.58 0-10.105-4.524-10.105-10.105Z",clipRule:"evenodd"}),t("path",{fill:"currentColor",d:"M213.869 86.31c0-18.48 14.64-32.04 32.88-32.04 9 0 17.28 3 24.24 10.44l-8.88 9.24c-4.08-4.2-8.88-6.6-15.36-6.6-10.56 0-18.6 8.04-18.6 18.96 0 10.92 8.04 18.959 18.6 18.959 6.48 0 11.28-2.4 15.36-6.6l8.88 9.24c-6.96 7.44-15.24 10.44-24.24 10.44-18.24 0-32.88-13.56-32.88-32.04Zm70.372-39.72h-11.88V33.03h26.88v83.639h-15v-70.08Zm23.468 54.599 12.24-6.96c2.88 6.12 9.24 10.2 16.44 10.2 10.2 0 17.04-6.36 17.04-15.84s-6.48-15.84-16.2-15.84c-4.68 0-9.48 1.44-12.48 4.32l-10.8-2.88 7.8-41.16h40.56v13.56h-29.28l-3 15.12c2.52-1.08 5.52-1.56 8.76-1.56 17.76 0 29.52 11.28 29.52 28.32 0 17.76-12.72 29.64-31.92 29.64-12.6 0-23.52-6.84-28.68-16.92Zm72.386-31.92h-7.8V56.19h7.8V33.03h14.4v23.16h13.08v13.08h-13.08v47.4h-14.4v-47.4Z"})]}),En=({title:e="Consent",titleId:n="consent-logo",...r})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 595 97","aria-labelledby":n,className:"consent-logo",...r,children:[t("title",{id:n,children:e}),t("path",{fill:"currentColor",fillRule:"evenodd",d:"M53.679 70.787c6.17 0 11.172-5.002 11.172-11.172 0-4.009-2.111-7.524-5.283-9.495a23.868 23.868 0 0 1 8.817-1.677c13.217 0 23.93 10.714 23.93 23.93s-10.713 23.93-23.93 23.93c-13.216 0-23.93-10.714-23.93-23.93 0-1.924.227-3.795.656-5.588a11.148 11.148 0 0 0 8.568 4.002Z",clipRule:"evenodd"}),t("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.118 74.716a68.462 68.462 0 0 1-.098-3.654c0-37.205 30.16-67.365 67.365-67.365s67.365 30.16 67.365 67.365c0 1.226-.032 2.444-.097 3.654h-21.927c.041-.776.061-1.557.061-2.343 0-24.531-19.887-44.418-44.418-44.418-24.532 0-44.418 19.887-44.418 44.418 0 .786.02 1.567.06 2.343H1.118Z",clipRule:"evenodd"}),t("path",{fill:"currentColor",d:"M566.424 36.6h-7.8V23.52h7.8V.36h14.4v23.16h13.08V36.6h-13.08V84h-14.4V36.6ZM497.535 23.52h14.28v8.64c2.76-5.76 9.6-9.84 18.36-9.84 14.52 0 22.92 9.36 22.92 24.24V84h-14.4V48.6c0-8.16-4.68-13.44-12.84-13.44s-14.04 5.76-14.04 14.04V84h-14.28V23.52ZM429.265 53.76c0-19.44 13.56-31.92 31.68-31.92 18 0 29.88 13.56 29.88 30.48 0 0 0 2.64-.24 5.04h-47.04c.48 9.6 7.56 15.84 18.24 15.84 7.32 0 11.76-2.4 16.32-6.96l8.64 8.4c-7.8 8.28-16.32 10.8-25.44 10.8-18.96 0-32.04-12.24-32.04-31.2v-.48Zm46.92-6.48c0-7.2-6.84-13.2-15.24-13.2-9 0-16.44 5.88-17.04 13.2h32.28ZM385.367 65.52c2.52 4.08 8.159 7.56 15.959 7.56 8.28 0 10.8-3.48 10.8-6.6 0-5.04-7.2-6.24-16.56-9.6-8.88-3.24-14.88-7.8-14.88-17.04 0-11.64 9.84-18.12 21.36-18.12 10.08 0 16.8 3.84 21 9.12l-8.039 8.52c-2.521-3-6.6-5.28-13.2-5.28-4.56 0-7.321 2.16-7.321 5.4 0 4.56 5.041 5.16 15.241 8.88 11.16 3.96 16.199 9.24 16.199 18 0 10.44-7.559 19.2-24.839 19.2-12.6 0-21.241-5.04-24.961-12.24l9.241-7.8ZM315.997 23.52h14.28v8.64c2.76-5.76 9.6-9.84 18.36-9.84 14.52 0 22.92 9.36 22.92 24.24V84h-14.4V48.6c0-8.16-4.68-13.44-12.84-13.44s-14.04 5.76-14.04 14.04V84h-14.28V23.52ZM242.806 53.76c0-18.12 14.64-32.04 33-32.04 18.24 0 33 13.92 33 32.04 0 18.12-14.76 32.04-33 32.04-18.36 0-33-13.92-33-32.04Zm14.28 0c0 10.68 8.04 18.96 18.72 18.96 10.56 0 18.72-8.28 18.72-18.96 0-10.68-8.16-18.96-18.72-18.96-10.68 0-18.72 8.28-18.72 18.96ZM183.387 53.64c0-18.48 14.64-32.04 32.88-32.04 9 0 17.28 3 24.24 10.44l-8.88 9.24c-4.08-4.2-8.88-6.6-15.36-6.6-10.56 0-18.6 8.04-18.6 18.96 0 10.92 8.04 18.96 18.6 18.96 6.48 0 11.28-2.4 15.36-6.6l8.88 9.24c-6.96 7.44-15.24 10.44-24.24 10.44-18.24 0-32.88-13.56-32.88-32.04Z"})]});function Ln(e,t){let o=f(null);p((()=>{if(!e||!t||!t.current)return;o.current=document.activeElement;let n=On(t.current);if(n.length>0)setTimeout((()=>{n[0]?.focus()}),0);else if(-1!==t.current.tabIndex)try{t.current.focus()}catch{}let r=e=>{if("Tab"!==e.key||!t.current)return;let o=On(t.current);if(0===o.length)return;let n=o[0],r=o.at(-1);e.shiftKey&&document.activeElement===n?(e.preventDefault(),r?.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),n?.focus())};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),o.current&&"focus"in o.current&&setTimeout((()=>o.current?.focus()),0)}}),[e,t])}function On(e){return Array.from(e.querySelectorAll('a[href]:not([disabled]),button:not([disabled]),textarea:not([disabled]),input:not([disabled]),select:not([disabled]),[contenteditable],[tabindex]:not([tabindex="-1"])')).filter((e=>e.offsetWidth>0&&e.offsetHeight>0))}var Bn={"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/consent-manager-dialog/consent-manager-dialog.module.css":function(e,t,o){o.d(t,{A:()=>c});var n=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),r=o.n(n),a=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=o.n(a)()(r());i.push([e.id,':root{--dialog-font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";--dialog-line-height:1.15;--dialog-title-font-size:.875rem;--dialog-title-font-weight:600;--dialog-title-letter-spacing:-.025em;--dialog-description-font-size:1rem;--dialog-description-font-weight:400;--dialog-description-line-height:1.15;--dialog-footer-gap:.75rem;--dialog-footer-font-size:14px;--dialog-branding-font-size:1rem;--dialog-branding-font-weight:500;--dialog-branding-line-height:1.5;--dialog-branding-letter-spacing:-.01em;--dialog-stroke-color:#ebebeb;--dialog-stroke-color-dark:#333;--dialog-branding-focus-color:#476cff;--dialog-branding-focus-color-dark:#2547d0;--dialog-link-text-color:#171717;--dialog-link-text-color-dark:#e6e6e6;--dialog-border-color:#ebebeb;--dialog-border-color-dark:#333;--dialog-background-color:white;--dialog-background-color-dark:#1a1a1a;--dialog-foreground-color:#171717;--dialog-foreground-color-dark:#e6e6e6;--dialog-muted-color:#737373;--dialog-muted-color-dark:#a3a3a3;--dialog-overlay-background-color:#00000080;--dialog-overlay-background-color-dark:#00000080;--dialog-card-padding:1.5rem;--dialog-card-padding-mobile:1rem;--dialog-card-gap:.375rem;--dialog-header-gap:.375rem;--dialog-content-gap:1rem;--dialog-footer-padding-y:1rem;--dialog-card-radius:1.25rem;--dialog-max-width:28rem;--dialog-height:80%;--dialog-z-index:1000000000;--dialog-overlay-z-index:1000000000;--dialog-card-shadow:0 1px 2px 0 #0000000d;--dialog-border-width:1px;--dialog-border-style:solid;--dialog-animation-duration:.2s;--dialog-animation-timing:ease-out;--dialog-branding-gap:.5rem;--dialog-branding-icon-height:1.25rem;--dialog-branding-icon-width:auto}.c15t-root-QhMZC{isolation:isolate;font-family:var(--dialog-font-family);line-height:var(--dialog-line-height);-webkit-text-size-adjust:100%;tab-size:4;padding:var(--dialog-card-padding-mobile);z-index:var(--dialog-z-index);border-radius:var(--dialog-card-radius);width:100%;height:var(--dialog-height);background:0 0;border:0;justify-content:center;align-items:center;margin:0;display:flex;position:fixed;inset:0}.c15t-root-QhMZC[dir=rtl]{direction:rtl}.c15t-dialogVisible-fwyvr{opacity:1;transition:opacity var(--dialog-animation-duration)var(--dialog-animation-timing)}.c15t-dialogHidden-WwOAw{opacity:0;transition:opacity var(--dialog-animation-duration)var(--dialog-animation-timing)}.c15t-contentVisible-A_pT0{opacity:1;transition:opacity var(--dialog-animation-duration)var(--dialog-animation-timing),transform var(--dialog-animation-duration)cubic-bezier(.34,1.56,.64,1);transform:scale(1)}.c15t-contentHidden-GCC7t{opacity:0;transition:opacity var(--dialog-animation-duration)var(--dialog-animation-timing),transform var(--dialog-animation-duration)var(--dialog-animation-timing);transform:scale(.95)}@media (width>=640px){.c15t-root-QhMZC{padding:var(--dialog-card-padding);width:auto}}.c15t-container-bOKMN{width:100%;max-width:var(--dialog-max-width);margin:auto}.c15t-branding-p1rXd{justify-content:center;align-items:center;gap:var(--dialog-branding-gap);font-size:var(--dialog-branding-font-size);font-weight:var(--dialog-branding-font-weight);line-height:var(--dialog-branding-line-height);letter-spacing:var(--dialog-branding-letter-spacing);color:var(--dialog-foreground-color);border-radius:.25rem;margin:auto 0;padding:0 .5rem;text-decoration:none;display:flex}.c15t-branding-p1rXd:focus-visible{box-shadow:0 0 0 2px var(--dialog-branding-focus-color);outline:none}.c15t-dark .c15t-branding-p1rXd:focus-visible{box-shadow:0 0 0 2px var(--dialog-branding-focus-color-dark)}.c15t-dark .c15t-branding-p1rXd{color:var(--dialog-foreground-color-dark)}.c15t-brandingC15T-gskQ7{width:var(--dialog-branding-icon-width);height:var(--dialog-branding-icon-height)}.c15t-brandingConsent-yGJd8{width:var(--dialog-branding-icon-width);height:1rem}.c15t-headerWrapper-GSp8u{position:relative}.c15t-closeButton-PxEni{position:absolute;top:22px;right:22px}.c15t-footer-oOtr_{border-top:solid 1px var(--dialog-stroke-color);justify-content:center;padding-top:1rem;padding-bottom:1rem;font-size:14px}.c15t-overlay-jJ4Q1{color:var(--dialog-link-text-color);background-color:var(--dialog-overlay-background-color);z-index:var(--dialog-overlay-z-index);position:fixed;inset:0}.c15t-overlayVisible-qy2bF{opacity:1;transition:opacity var(--dialog-animation-duration)var(--dialog-animation-timing)}.c15t-overlayHidden-IC_C7{opacity:0;transition:opacity var(--dialog-animation-duration)var(--dialog-animation-timing)}.c15t-dark .c15t-overlay-jJ4Q1{background-color:var(--dialog-overlay-background-color-dark);color:var(--dialog-link-text-color-dark)}.c15t-card-d2uUf{border-radius:var(--dialog-card-radius);border:var(--dialog-border-width)var(--dialog-border-style)var(--dialog-border-color);background-color:var(--dialog-background-color);color:var(--dialog-foreground-color);box-shadow:var(--dialog-card-shadow);overflow:hidden}.c15t-dark .c15t-card-d2uUf{background-color:var(--dialog-background-color-dark);color:var(--dialog-foreground-color-dark);border-color:var(--dialog-border-color-dark)}.c15t-header-qF2QY{padding:var(--dialog-card-padding);gap:var(--dialog-header-gap);flex-direction:column;display:flex}.c15t-header-qF2QY>*+*{margin-top:var(--dialog-card-gap)}.c15t-title-B_498{font-weight:var(--dialog-title-font-weight);font-size:var(--dialog-title-font-size);letter-spacing:var(--dialog-title-letter-spacing);line-height:1}.c15t-description-Nct_b{color:var(--dialog-muted-color);font-size:var(--dialog-description-font-size);font-weight:var(--dialog-description-font-weight);line-height:var(--dialog-description-line-height)}.c15t-dark .c15t-description-Nct_b{color:var(--dialog-muted-color-dark)}.c15t-content-_6tun{padding:var(--dialog-card-padding);gap:var(--dialog-content-gap);padding-top:0}.c15t-footer-oOtr_{justify-content:center;align-items:center;gap:var(--dialog-footer-gap);font-size:var(--dialog-footer-font-size);padding-top:var(--dialog-footer-padding-y);padding-bottom:var(--dialog-footer-padding-y);border-top:var(--dialog-border-width)var(--dialog-border-style)var(--dialog-stroke-color);flex-direction:column;display:flex}.c15t-footer-oOtr_:empty{border-top:none;display:none}.c15t-dark .c15t-footer-oOtr_{border-color:var(--dialog-stroke-color-dark)}',""]),i.locals={root:"c15t-root-QhMZC",dialogVisible:"c15t-dialogVisible-fwyvr",dialogHidden:"c15t-dialogHidden-WwOAw",contentVisible:"c15t-contentVisible-A_pT0",contentHidden:"c15t-contentHidden-GCC7t",container:"c15t-container-bOKMN",branding:"c15t-branding-p1rXd",brandingC15T:"c15t-brandingC15T-gskQ7",brandingConsent:"c15t-brandingConsent-yGJd8",headerWrapper:"c15t-headerWrapper-GSp8u",closeButton:"c15t-closeButton-PxEni",footer:"c15t-footer-oOtr_",overlay:"c15t-overlay-jJ4Q1",overlayVisible:"c15t-overlayVisible-qy2bF",overlayHidden:"c15t-overlayHidden-IC_C7",card:"c15t-card-d2uUf",header:"c15t-header-qF2QY",title:"c15t-title-B_498",description:"c15t-description-Nct_b",content:"c15t-content-_6tun"};let c=i},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js":function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),o&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=o),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js":function(e){e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js":function(e){var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},a=[],i=0;i<e.length;i++){var c=e[i],s=n.base?c[0]+n.base:c[0],d=r[s]||0,l="".concat(s," ").concat(d);r[s]=d+1;var u=o(l),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=function(e,t){var o=t.domAPI(t);return o.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&o.update(e=t):o.remove()}}(m,n);n.byIndex=i,t.splice(i,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}e.exports=function(e,r){var a=n(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=o(a[i]);t[c].references--}for(var s=n(e,r),d=0;d<a.length;d++){var l=o(a[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=s}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js":function(e){var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js":function(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js":function(e,t,o){e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js":function(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){var n,r,a;n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {")),(r=void 0!==o.layer)&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}"),(a=o.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js":function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},Rn={};function Pn(e){var t=Rn[e];if(void 0!==t)return t.exports;var o=Rn[e]={id:e,exports:{}};return Bn[e](o,o.exports,Pn),o.exports}Pn.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Pn.d(t,{a:t}),t},Pn.d=(e,t)=>{for(var o in t)Pn.o(t,o)&&!Pn.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},Pn.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Pn.nc=void 0;var Mn=Pn("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js"),zn=Pn.n(Mn),Dn=Pn("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js"),Hn=Pn.n(Dn),Fn=Pn("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js"),Kn=Pn.n(Fn),Un=Pn("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js"),$n=Pn.n(Un),qn=Pn("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js"),Jn=Pn.n(qn),Wn=Pn("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js"),Vn=Pn.n(Wn),Gn=Pn("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/consent-manager-dialog/consent-manager-dialog.module.css"),Zn={};Zn.styleTagTransform=Vn(),Zn.setAttributes=$n(),Zn.insert=Kn().bind(null,"head"),Zn.domAPI=Hn(),Zn.insertStyleElement=Jn(),zn()(Gn.A,Zn);let Yn=Gn.A&&Gn.A.locals?Gn.A.locals:void 0,Xn=c((({children:e,...o},n)=>t(gt,{ref:n,className:Yn.card,...o,themeKey:"dialog.card","data-testid":"consent-manager-dialog-card",children:e}))),Qn=c((({children:e,...o},n)=>t(gt,{ref:n,className:Yn.header,...o,themeKey:"dialog.header","data-testid":"consent-manager-dialog-header",children:e}))),er=c((({children:e,...o},n)=>t(gt,{ref:n,className:Yn.title,themeKey:"dialog.title",...o,"data-testid":"consent-manager-dialog-title",children:e}))),tr=c((({children:e,legalLinks:n,asChild:r,...a},i)=>r?t(gt,{ref:i,className:Yn.description,themeKey:"dialog.description",asChild:r,...a,children:e}):o(gt,{ref:i,className:Yn.description,themeKey:"dialog.description",asChild:r,...a,"data-testid":"consent-manager-dialog-description",children:[e,t(In,{links:n,themeKey:"dialog.legal-links",testIdPrefix:"consent-manager-dialog-legal-link"})]}))),or=c((({children:e,...o},n)=>t(gt,{ref:n,className:Yn.content,themeKey:"dialog.content","data-testid":"consent-manager-dialog-content",...o,children:e}))),nr=c((({children:e,themeKey:o,...n},r)=>t(gt,{ref:r,className:Yn.footer,themeKey:o||"dialog.footer",...n,"data-testid":"consent-manager-dialog-footer",children:e}))),rr=()=>{let{branding:e}=dt();if("none"===e)return null;let n="undefined"!=typeof window?`?ref=${window.location.hostname}`:"";return o("a",{dir:"ltr",className:Yn.branding,href:"consent"===e?`https://consent.io${n}`:`https://c15t.com${n}`,children:["Secured by"," ","consent"===e?t(En,{className:Yn.brandingConsent}):t(An,{className:Yn.brandingC15T})]})},ar=({noStyle:e,legalLinks:n})=>{let{consentManagerDialog:r}=lt();return o(Xn,{children:[o(Qn,{children:[t(er,{children:r.title}),t(tr,{legalLinks:n,children:r.description})]}),t(or,{children:t(sn,{hideBrading:!0,noStyle:e,useProvider:!0})}),t(nr,{themeKey:"dialog.footer",children:t(rr,{})})]})},ir=Xn,cr=Qn,sr=er,dr=tr,lr=or,ur=nr,mr=({noStyle:e,style:o})=>{let n,{isPrivacyDialogOpen:r}=dt(),{disableAnimation:a,noStyle:i,scrollLock:c=!0}=A(),[s,d]=g(!1);p((()=>{if(r)d(!0);else{if(!a){let e=setTimeout((()=>{d(!1)}),Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--dialog-animation-duration")||"200",10));return()=>clearTimeout(e)}d(!1)}}),[r,a]);let l="string"==typeof o?o:o?.className,u=pt("dialog.overlay",{baseClassName:!(i||e)&&Yn.overlay,className:l,noStyle:i||e});n=i||e||a?void 0:s?Yn.overlayVisible:Yn.overlayHidden;let m=w(u.className,n);return t("div",{style:"object"==typeof o&&"style"in o?{...u.style,...o.style}:u.style,className:m,"data-testid":"consent-manager-dialog-overlay"})};function pr(e){p((()=>{if(e){let e={overflow:document.body.style.overflow,paddingRight:document.body.style.paddingRight},t=window.innerWidth-document.documentElement.clientWidth;return document.body.style.overflow="hidden",t>0&&(document.body.style.paddingRight=`${t}px`),()=>{document.body.style.overflow=e.overflow,document.body.style.paddingRight=e.paddingRight}}}),[e])}let gr=({children:e,open:r,noStyle:a,disableAnimation:i,scrollLock:c=!0,trapFocus:s=!0,overlay:d,className:l,style:u,theme:m,...b})=>{let h=A(),y={...h.theme,...m},v=i??h.disableAnimation??!1,k=a??h.noStyle??!1,x=c??h.scrollLock??!0,C=s??h.trapFocus??!0,{isPrivacyDialogOpen:S,translationConfig:_}=dt(),j=an(_.defaultLanguage),I=r??S,[E,L]=g(!1),O=f(null),B=f(null),[R,P]=g(!1);p((()=>{P(!0)}),[]),p((()=>{if(I)L(!0);else{if(!v){let e=setTimeout((()=>L(!1)),Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--dialog-animation-duration")||"200",10));return()=>clearTimeout(e)}L(!1)}}),[I,v]),Ln(I&&C,O),pr(I&&x);let M=pt("dialog.root",{baseClassName:void 0,className:w(Yn.root,!v&&(E?Yn.dialogVisible:Yn.dialogHidden),l),style:u,noStyle:k},y),z=t(T.Provider,{value:{disableAnimation:v,noStyle:k,scrollLock:x,trapFocus:C,theme:y},children:I&&o(n,{children:[!1===d?null:d??t(mr,{}),t("dialog",{ref:O,...b,...M,className:M.className,"aria-labelledby":"privacy-settings-title",tabIndex:-1,dir:j,open:!0,children:t("div",{ref:B,className:k?void 0:w(Yn.container,!v&&E?Yn.contentVisible:Yn.contentHidden),children:e})})]})});return R?N(z,document.body):null},fr=Object.assign((({open:e,theme:o,noStyle:n,disableAnimation:r,scrollLock:a=!0,trapFocus:i=!0,legalLinks:c})=>{let s=A(),{isPrivacyDialogOpen:d}=dt(),l={open:e??d,theme:{...s.theme,...o},noStyle:n??s.noStyle,disableAnimation:r??s.disableAnimation,scrollLock:a??s.scrollLock,trapFocus:i??s.trapFocus};return t(gr,{...l,children:t(ar,{noStyle:l.noStyle,legalLinks:c})})}),{Card:ir,Header:cr,HeaderTitle:sr,HeaderDescription:dr,Content:lr,Footer:ur,ConsentCustomizationCard:ar,DialogFooter:nr,DialogHeader:Qn,DialogHeaderTitle:er,DialogHeaderDescription:tr,DialogContent:or,Overlay:mr,Root:gr});var br={"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/cookie-banner/cookie-banner.module.css":function(e,t,o){o.d(t,{A:()=>c});var n=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js"),r=o.n(n),a=o("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js"),i=o.n(a)()(r());i.push([e.id,':root{--banner-font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";--banner-line-height:1.5;--banner-text-size-adjust:100%;--banner-tab-size:4;--banner-border-radius-sm:.3125rem;--banner-border-radius:1.25rem;--banner-max-width:440px;--banner-animation-duration:.2s;--banner-animation-timing:ease-out;--banner-entry-animation:c15t-enter-OSOPL .15s ease-out;--banner-exit-animation:c15t-exit-PbMtf .15s ease-out;--banner-border-width:1px;--banner-shadow:0 16px 32px -12px #0e121b1a;--banner-shadow-dark:0 16px 32px -12px #0e121b1a;--banner-background-color:#fff;--banner-background-color-dark:#171717;--banner-footer-background-color:#f7f7f7;--banner-footer-background-color-dark:#1c1c1c;--banner-text-color:#171717;--banner-text-color-dark:#e6e6e6;--banner-border-color:#ebebeb;--banner-border-color-dark:#333;--banner-title-color:#171717;--banner-title-color-dark:#e6e6e6;--banner-description-color:#5c5c5c;--banner-description-color-dark:#999;--banner-overlay-background-color:#00000080;--banner-overlay-background-color-dark:#00000080}.c15t-root-tnx7V{z-index:999999998;width:100%;font-family:var(--banner-font-family);line-height:var(--banner-line-height);-webkit-text-size-adjust:var(--banner-text-size-adjust);tab-size:var(--banner-tab-size);flex-direction:column;padding:1rem;display:flex;position:fixed}.c15t-bannerVisible-bty7Y{opacity:1;transition:opacity var(--banner-animation-duration)var(--banner-animation-timing),transform var(--banner-animation-duration)cubic-bezier(.34,1.56,.64,1);transform:translateY(0)}.c15t-bannerHidden-kfAtO{opacity:0;transition:opacity var(--banner-animation-duration)var(--banner-animation-timing),transform var(--banner-animation-duration)var(--banner-animation-timing);transform:translateY(50px)}@media (width>=640px){.c15t-root-tnx7V{width:auto;padding:1.5rem}}.c15t-bottomLeft-wv7ez{bottom:0;left:0}.c15t-bottomRight-Oibp8{bottom:0;right:0}.c15t-topLeft-JJ9D6{top:0;left:0}.c15t-topRight-A6dOV{top:0;right:0}.c15t-card-MOqQY{width:100%;max-width:var(--banner-max-width);border-radius:var(--banner-border-radius);border-width:var(--banner-border-width);border-color:var(--banner-border-color);background-color:var(--banner-background-color);box-shadow:var(--banner-shadow);position:relative;overflow:hidden}.c15t-dark .c15t-card-MOqQY{background-color:var(--banner-background-color-dark);border-color:var(--banner-border-color-dark);box-shadow:var(--banner-shadow-dark)}.c15t-card-MOqQY[data-state=open]{animation:var(--banner-entry-animation)}.c15t-card-MOqQY[data-state=closed]{animation:var(--banner-exit-animation)}.c15t-card-MOqQY>:not([hidden])~:not([hidden]){border-top-width:var(--banner-border-width);border-color:var(--banner-border-color)}.c15t-dark .c15t-card-MOqQY>:not([hidden])~:not([hidden]){border-color:var(--banner-border-color-dark)}.c15t-card-MOqQY:focus{outline-offset:2px;outline:none}@keyframes c15t-enter-OSOPL{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes c15t-exit-PbMtf{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.c15t-rejectButton-qP3hZ,.c15t-acceptButton-zReyG,.c15t-customizeButton-ZjdG0{width:100%}@media (width>=640px){.c15t-rejectButton-qP3hZ,.c15t-acceptButton-zReyG,.c15t-customizeButton-ZjdG0{width:auto}}.c15t-header-X6bpE{color:var(--banner-text-color);flex-direction:column;padding:1rem;display:flex}.c15t-dark .c15t-header-X6bpE{color:var(--banner-text-color-dark)}@media (width>=640px){.c15t-header-X6bpE{padding:1.5rem}}.c15t-header-X6bpE>:not([hidden])~:not([hidden]){--banner-space-y-reverse:0;margin-top:calc(.5rem*calc(1 - var(--banner-space-y-reverse)));margin-bottom:calc(.5rem*var(--banner-space-y-reverse))}.c15t-footer-wS150{background-color:var(--banner-footer-background-color);flex-direction:column;justify-content:space-between;gap:.75rem;padding:1rem 1.25rem;display:flex}.c15t-dark .c15t-footer-wS150{background-color:var(--banner-footer-background-color-dark)}@media (width>=640px){.c15t-footer-wS150{flex-direction:row}}.c15t-footerSubGroup-HbTp3{flex-direction:row;justify-content:space-between;gap:1rem;display:flex}.c15t-footerSubGroup-HbTp3 button{flex-grow:1}.c15t-description-jP5LU{letter-spacing:-.006em;color:var(--banner-description-color);font-size:.875rem;font-weight:400;line-height:1.25rem}.c15t-dark .c15t-description-jP5LU{color:var(--banner-description-color-dark)}.c15t-title-qr_tp{letter-spacing:-.011em;color:var(--banner-title-color);font-size:1rem;font-weight:500;line-height:1.5rem}.c15t-dark .c15t-title-qr_tp{color:var(--banner-title-color-dark)}.c15t-overlay-Y8QYV{background-color:var(--banner-overlay-background-color);z-index:999999997;position:fixed;inset:0}.c15t-overlayVisible-YTJZr{opacity:1;transition:opacity var(--banner-animation-duration)var(--banner-animation-timing)}.c15t-overlayHidden-JeNTf{opacity:0;transition:opacity var(--banner-animation-duration)var(--banner-animation-timing)}.c15t-dark .c15t-overlay-Y8QYV{background-color:var(--banner-overlay-background-color-dark)}',""]),i.locals={enter:"c15t-enter-OSOPL",exit:"c15t-exit-PbMtf",root:"c15t-root-tnx7V",bannerVisible:"c15t-bannerVisible-bty7Y",bannerHidden:"c15t-bannerHidden-kfAtO",bottomLeft:"c15t-bottomLeft-wv7ez",bottomRight:"c15t-bottomRight-Oibp8",topLeft:"c15t-topLeft-JJ9D6",topRight:"c15t-topRight-A6dOV",card:"c15t-card-MOqQY",rejectButton:"c15t-rejectButton-qP3hZ",acceptButton:"c15t-acceptButton-zReyG",customizeButton:"c15t-customizeButton-ZjdG0",header:"c15t-header-X6bpE",footer:"c15t-footer-wS150",footerSubGroup:"c15t-footerSubGroup-HbTp3",description:"c15t-description-jP5LU",title:"c15t-title-qr_tp",overlay:"c15t-overlay-Y8QYV",overlayVisible:"c15t-overlayVisible-YTJZr",overlayHidden:"c15t-overlayHidden-JeNTf"};let c=i},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/api.js":function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var d=0;d<e.length;d++){var l=[].concat(e[d]);n&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),o&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=o),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js":function(e){e.exports=function(e){return e[1]}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js":function(e){var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var r={},a=[],i=0;i<e.length;i++){var c=e[i],s=n.base?c[0]+n.base:c[0],d=r[s]||0,l="".concat(s," ").concat(d);r[s]=d+1;var u=o(l),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==u)t[u].references++,t[u].updater(m);else{var p=function(e,t){var o=t.domAPI(t);return o.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&o.update(e=t):o.remove()}}(m,n);n.byIndex=i,t.splice(i,0,{identifier:l,updater:p,references:1})}a.push(l)}return a}e.exports=function(e,r){var a=n(e=e||[],r=r||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=o(a[i]);t[c].references--}for(var s=n(e,r),d=0;d<a.length;d++){var l=o(a[d]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=s}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js":function(e){var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js":function(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js":function(e,t,o){e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js":function(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){var n,r,a;n="",o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {")),(r=void 0!==o.layer)&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,r&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}"),(a=o.sourceMap)&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},"../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js":function(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},hr={};function yr(e){var t=hr[e];if(void 0!==t)return t.exports;var o=hr[e]={id:e,exports:{}};return br[e](o,o.exports,yr),o.exports}yr.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return yr.d(t,{a:t}),t},yr.d=(e,t)=>{for(var o in t)yr.o(t,o)&&!yr.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},yr.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),yr.nc=void 0;var vr=yr("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js"),wr=yr.n(vr),kr=yr("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js"),xr=yr.n(kr),Cr=yr("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js"),Sr=yr.n(Cr),_r=yr("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js"),jr=yr.n(_r),Nr=yr("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js"),Ir=yr.n(Nr),Tr=yr("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js"),Ar=yr.n(Tr),Er=yr("../../node_modules/.pnpm/@rsbuild+core@1.6.1/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].use[2]!./src/components/cookie-banner/cookie-banner.module.css"),Lr={};Lr.styleTagTransform=Ar(),Lr.setAttributes=jr(),Lr.insert=Sr().bind(null,"head"),Lr.domAPI=xr(),Lr.insertStyleElement=Ir(),wr()(Er.A,Lr);let Or=Er.A&&Er.A.locals?Er.A.locals:void 0,Br=c((({className:e,style:o,noStyle:n,asChild:r,...a},i)=>{let c,{showPopup:s}=dt(),{disableAnimation:d,noStyle:l,scrollLock:u}=A(),[m,f]=g(!1);p((()=>{if(s)f(!0);else{if(!d){let e=setTimeout((()=>{f(!1)}),Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--banner-animation-duration")||"200",10));return()=>clearTimeout(e)}f(!1)}}),[s,d]);let b=pt("banner.overlay",{baseClassName:!(l||n)&&Or.overlay,className:e,noStyle:l||n});c=l||n||d?void 0:m?Or.overlayVisible:Or.overlayHidden;let h=w(b.className,c);return pr(!(!s||!u)),s&&u?t("div",{ref:i,...a,className:h,style:{...b.style,...o},"data-testid":"cookie-banner-overlay"}):null})),Rr=Br,Pr=({children:e,className:o,noStyle:n,disableAnimation:r,theme:a,scrollLock:i,trapFocus:c=!0,...s})=>t(T.Provider,{value:{disableAnimation:r,noStyle:n,theme:a,scrollLock:i,trapFocus:c},children:t(Mr,{disableAnimation:r,className:o,noStyle:n,...s,children:e})}),Mr=c((({asChild:e,children:r,className:a,style:i,className:c,disableAnimation:s,noStyle:d,...l},u)=>{let{showPopup:m,translationConfig:f}=dt(),b=an(f.defaultLanguage),[h,y]=g(!1),[v,w]=g(!1),[k,x]=g(200);p((()=>{x(Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--banner-animation-duration")||"200",10))}),[]),p((()=>{if(m){if(!v){let e=setTimeout((()=>{y(!0),w(!0)}),10);return()=>clearTimeout(e)}y(!0)}else{if(w(!1),!s){let e=setTimeout((()=>{y(!1)}),k);return()=>clearTimeout(e)}y(!1)}}),[m,s,v,k]);let C=pt("banner.root",{baseClassName:[Or.root,"ltr"===b?Or.bottomLeft:Or.bottomRight],style:i,className:a||c,noStyle:d}),[S,_]=g(!1);if(p((()=>{_(!0)}),[]),!S)return null;let j=d?C.className||"":`${C.className||""} ${h?Or.bannerVisible:Or.bannerHidden}`;return m?N(o(n,{children:[t(Rr,{}),t("div",{ref:u,...l,...C,className:j,"data-testid":"cookie-banner-root",dir:b,children:r})]}),document.body):null}));Mr.displayName="CookieBannerRootChildren";let zr=Pr,Dr=c((({children:e,...o},n)=>t(gt,{ref:n,baseClassName:Or.title,"data-testid":"cookie-banner-title",themeKey:"banner.header.title",...o,children:e})));Dr.displayName="CookieBannerTitle";let Hr=c((({children:e,legalLinks:n,asChild:r,...a},i)=>r?t(gt,{ref:i,baseClassName:Or.description,"data-testid":"cookie-banner-description",themeKey:"banner.header.description",asChild:r,...a,children:e}):o(gt,{ref:i,baseClassName:Or.description,"data-testid":"cookie-banner-description",themeKey:"banner.header.description",asChild:r,...a,children:[e,t(In,{links:n,themeKey:"banner.header.legal-links",testIdPrefix:"cookie-banner-legal-link"})]})));Hr.displayName="CookieBannerDescription";let Fr=c((({children:e,...o},n)=>t(gt,{ref:n,baseClassName:Or.footer,"data-testid":"cookie-banner-footer",themeKey:"banner.footer",...o,children:e})));Fr.displayName="CookieBannerFooter";let Kr=c((({children:e,...o},n)=>{let{trapFocus:r}=A(),a=f(null),i=n||a,c=!!r;return Ln(c,i),t(gt,{ref:i,tabIndex:0,baseClassName:Or.card,"data-testid":"cookie-banner-card",themeKey:"banner.card","aria-label":o["aria-label"]||"Cookie Banner","aria-modal":c?"true":void 0,role:c?"dialog":void 0,...o,children:e})}));Kr.displayName="CookieBannerCard";let Ur=c((({children:e,...o},n)=>t(gt,{ref:n,baseClassName:Or.header,"data-testid":"cookie-banner-header",themeKey:"banner.header.root",...o,children:e})));Ur.displayName="CookieBannerHeader";let $r=c((({children:e,...o},n)=>t(gt,{ref:n,baseClassName:Or.footerSubGroup,"data-testid":"cookie-banner-footer-sub-group",themeKey:"banner.footer.sub-group",...o,children:e})));$r.displayName="CookieBannerFooterSubGroup";let qr=c((({children:e,...o},n)=>t(Xo,{ref:n,action:"reject-consent","data-testid":"cookie-banner-reject-button",closeCookieBanner:!0,...o,children:e})));qr.displayName="CookieBannerRejectButton";let Jr=c((({children:e,...o},n)=>t(Xo,{ref:n,action:"open-consent-dialog","data-testid":"cookie-banner-customize-button",...o,children:e})));Jr.displayName="CookieBannerCustomizeButton";let Wr=c((({children:e,...o},n)=>{let{noStyle:r}=A();return t(Xo,{ref:n,action:"accept-consent",variant:"primary","data-testid":"cookie-banner-accept-button",closeCookieBanner:!0,noStyle:r,...o,children:e})}));Wr.displayName="CookieBannerAcceptButton";let Vr=Dr,Gr=Hr,Zr=Fr,Yr=$r,Xr=Kr,Qr=Ur,ea=qr,ta=Jr,oa=Wr,na=class extends b{constructor(e){super(e),this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e,errorInfo:null}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t})}render(){return this.state.hasError?"function"==typeof this.props.fallback?this.props.fallback(this.state.error,this.state.errorInfo):this.props.fallback:this.props.children}},ra=Object.assign((({theme:e,noStyle:n,disableAnimation:r,scrollLock:a,trapFocus:i=!0,title:c,description:s,rejectButtonText:d,customizeButtonText:l,acceptButtonText:u,legalLinks:m})=>{let{cookieBanner:p,common:g}=lt(),f=A(),b={theme:{...f.theme,...e},noStyle:n??f.noStyle,disableAnimation:r??f.disableAnimation,scrollLock:a??f.scrollLock,trapFocus:i??f.trapFocus};return t(na,{fallback:t("div",{children:"Something went wrong with the Cookie Banner."}),children:t(Pr,{...b,children:o(Kr,{"aria-label":p.title,children:[o(Ur,{children:[t(Dr,{children:c||p.title}),t(Hr,{legalLinks:m,children:s||p.description})]}),o(Fr,{children:[o($r,{children:[t(Xo,{action:"reject-consent",closeCookieBanner:!0,themeKey:"banner.footer.reject-button","data-testid":"cookie-banner-reject-button",children:d||g.rejectAll}),t(Xo,{action:"accept-consent",closeCookieBanner:!0,themeKey:"banner.footer.accept-button","data-testid":"cookie-banner-accept-button",children:u||g.acceptAll})]}),t(Xo,{action:"open-consent-dialog",variant:"primary",closeCookieBanner:!0,themeKey:"banner.footer.customize-button","data-testid":"cookie-banner-customize-button",children:l||g.customize})]})]})})})}),{Root:zr,Card:Xr,Header:Qr,Title:Vr,Description:Gr,Footer:Zr,FooterSubGroup:Yr,RejectButton:ea,CustomizeButton:ta,AcceptButton:oa,Overlay:Rr,Content:Xr,Actions:Yr});let aa=new Map,ia=new Map;function ca({children:e,options:o}){let{mode:n,backendURL:r,store:a={},translations:c,react:s={}}=o,{theme:d,disableAnimation:l=!1,scrollLock:u=!1,trapFocus:m=!0,colorScheme:b,noStyle:y=!1}=s,v=i((()=>"undefined"!=typeof window&&!("c15t"!==n&&"offline"!==n||!(r?.includes("c15t.dev")||r?.includes("c15t.cloud")||window.location.hostname.includes("c15t.dev")||window.location.hostname.includes("c15t.cloud")))),[n,r]),w=function({mode:e,backendURL:t,endpointHandlers:o,storageConfig:n,enabled:r}){return`${e}:${t??"default"}:${o?"custom":"none"}:${n?.storageKey??"default"}:${!1===r?"disabled":"enabled"}`}({mode:n||"c15t",backendURL:r||"/api/c15t",endpointHandlers:"endpointHandlers"in o?o.endpointHandlers:void 0,storageConfig:o.storageConfig,enabled:o.enabled}),k=i((()=>{let e;return ia.get(w)||(e=Ie("offline"===n?{mode:"offline",store:a,storageConfig:o.storageConfig}:"custom"===n&&"endpointHandlers"in o?{mode:"custom",endpointHandlers:o.endpointHandlers,store:a,storageConfig:o.storageConfig}:{mode:"c15t",backendURL:r||"/api/c15t",store:a,storageConfig:o.storageConfig}),ia.set(w,e),e)}),[w,n,r,a,o]),x=i((()=>{let e=aa.get(w);if(e)return e;let t=ct(k,{unstable_googleTagManager:o.unstable_googleTagManager,config:{pkg:"@c15t/react",version:"1.8.3",mode:n||"Unknown"},enabled:o.enabled,ignoreGeoLocation:o.ignoreGeoLocation,initialGdprTypes:o.consentCategories,callbacks:o.callbacks,trackingBlockerConfig:o.trackingBlockerConfig,scripts:o.scripts,legalLinks:o.legalLinks,storageConfig:o.storageConfig,user:o.user,overrides:o.overrides,experimental_globalPrivacyControl:o.experimental_globalPrivacyControl,...a,isConsentDomain:v,initialTranslationConfig:c});return aa.set(w,t),t}),[w,k,n,o.callbacks,o.unstable_googleTagManager,o.ignoreGeoLocation,o.consentCategories,o.trackingBlockerConfig,o.scripts,o.legalLinks,o.user,o.overrides,a,v,c,o.storageConfig,o.experimental_globalPrivacyControl]),[C,S]=g((()=>x?x.getState():{})),_=f(!1);p((()=>{if(!x)return;let e=x.subscribe(S);if(!_.current){let e=x.getState();h((()=>{S((t=>t!==e?(_.current=!0,e):(_.current=!0,t)))}))}return e}),[x]);let j=i((()=>({theme:d,noStyle:y,disableAnimation:l,scrollLock:u,trapFocus:m,colorScheme:b})),[d,y,l,u,m,b]);!function(e){p((()=>{let t=window.matchMedia("(prefers-color-scheme: dark)"),o=document.documentElement.classList.contains("dark"),n=e=>{document.documentElement.classList.toggle("c15t-dark",e.matches)},r=new MutationObserver((e=>{for(let t of e)if("attributes"===t.type&&"class"===t.attributeName){let e=document.documentElement.classList.contains("dark");document.documentElement.classList.toggle("c15t-dark",e)}}));switch(e){case"light":document.documentElement.classList.remove("c15t-dark");break;case"dark":document.documentElement.classList.add("c15t-dark");break;case"system":document.documentElement.classList.toggle("c15t-dark",t.matches),t.addEventListener("change",n);break;default:document.documentElement.classList.toggle("c15t-dark",o),r.observe(document.documentElement,{attributes:!0})}return()=>{t.removeEventListener("change",n),r.disconnect()}}),[e])}(b);let N=i((()=>{if(!x)throw Error("Consent store must be initialized before creating context value");return{state:C,store:x,manager:k}}),[C,x,k]);return t(st.Provider,{value:N,children:t(I.Provider,{value:j,children:e})})}const sa={functionality_storage:"denied",security_storage:"denied",analytics_storage:"denied",ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",personalization_storage:"denied"},da={necessary:["security_storage"],functionality:["functionality_storage"],measurement:["analytics_storage"],marketing:["ad_storage","ad_user_data","ad_personalization"],experience:["personalization_storage"]};function la(e){const t={...sa};for(const o of Object.keys(e)){const n=e[o],r=da[o];for(const e of r)t[e]=n?"granted":"denied"}return t}function ua({id:e,script:t,updateEventName:o}){return{...t,id:t?.id?t.id:"google-tag-manager",src:t?.src?t.src:`https://www.googletagmanager.com/gtm.js?id=${e}`,category:t?.category??"necessary",async:t?.async??!0,alwaysLoad:!0,onBeforeLoad:({consents:e,elementId:o,...n})=>{const r=e?la(e):sa,a=document.createElement("script");if(a.id=`${o}-init`,a.textContent=`\n window.dataLayer = window.dataLayer || [];\n window.gtag = function gtag() {\n window.dataLayer.push(arguments);\n };\n window.gtag('consent', 'default', {\n ...${JSON.stringify(r)},\n });\n window.dataLayer.push({\n 'gtm.start': Date.now(),\n event: 'gtm.js',\n });\n `,!document.head)throw new Error("Document head is not available for script injection");document.head.appendChild(a),t?.onBeforeLoad&&t.onBeforeLoad({consents:e,elementId:o,...n})},onDelete:({elementId:e,...o})=>{const n=document.getElementById(`${e}-init`);n&&n.remove(),t?.onDelete&&t.onDelete({elementId:e,...o})},onConsentChange({consents:e,...n}){window.gtag&&(window.gtag("consent","update",la(e)),window.gtag("event",o??"consent-update")),t?.onConsentChange&&t.onConsentChange({consents:e,...n})}}}function ma({id:e,script:t,category:o}){return{...t,id:t?.id?t.id:"gtag",src:t?.src?t.src:`https://www.googletagmanager.com/gtag/js?id=${e}`,category:o,async:t?.async??!0,persistAfterConsentRevoked:!0,alwaysLoad:!0,onBeforeLoad:({consents:o,elementId:n,...r})=>{let a=sa;o&&(a=la(o));const i=document.createElement("script");if(i.id=`${n}-init`,i.textContent=`\n window.dataLayer = window.dataLayer || [];\n window.gtag = function gtag() {\n window.dataLayer.push(arguments);\n };\n window.gtag('consent', 'default', {\n ...${JSON.stringify(a)},\n });\n \t\twindow.gtag('js', new Date());\n\t\twindow.gtag('config', '${e}');\n `,!document.head)throw new Error("Document head is not available for script injection");document.head.appendChild(i),t?.onBeforeLoad&&t.onBeforeLoad({consents:o,elementId:n,...r})},onConsentChange(e){window.gtag&&window.gtag("consent","update",la(e.consents)),t?.onConsentChange&&t.onConsentChange(e)}}}const pa=200;let ga="pending",fa="pending";const ba=[],ha=[];let ya=null,va=null;const wa="undefined"!=typeof process&&"true"===process.env.NEXT_PUBLIC_SKIP_CONSENT_BANNER_FOR_AUTHENTICATED,ka="undefined"==typeof process||"false"!==process.env.NEXT_PUBLIC_COOKIE_CONSENT_ENABLED;function xa(){return ka}function Ca(){return wa}function Sa(){return ga}function _a(){return fa}function ja(){return!ka||"granted"===ga}function Na(){return!ka||"granted"===fa}function Ia(e,t){e.length>=200||e.push(t)}function Ta(e){Ia(ba,e)}function Aa(e){Ia(ha,e)}function Ea(e){ya=e}function La(e){va=e}function Oa(e){const t=ga;ga=e,"granted"===e&&"pending"===t?(ya&&ba.length>0&&ya([...ba]),ba.length=0):"denied"===e&&(ba.length=0)}function Ba(e){const t=fa;fa=e,"granted"===e&&"pending"===t?(va&&ha.length>0&&va([...ha]),ha.length=0):"denied"===e&&(ha.length=0)}function Ra(){ga="pending",fa="pending",ba.length=0,ha.length=0,ya=null,va=null}function Pa({children:e}){const{has:o,hasConsented:r}=dt(),a=o("measurement"),i=o("marketing"),c=r();return p((()=>{c&&(Ba(i?"granted":"denied"),Oa(a?"granted":"denied"))}),[c,a,i]),t(n,{children:e})}function Ma(){const o=e(6),{setIsPrivacyDialogOpen:n}=dt();let r;o[0]!==n?(r=()=>n(!1),o[0]=n,o[1]=r):r=o[1];const a=r;let i,c,s;return o[2]!==a?(i=()=>{const e=function(e){"Escape"===e.key&&a()},t=function(e){const t=e.target,o=document.querySelector('[data-testid="consent-manager-dialog-card"]'),n=document.querySelector('[data-testid="consent-manager-dialog-overlay"]');o&&n&&n.parentElement?.contains(t)&&!o.contains(t)&&a()};return document.addEventListener("keydown",e),document.addEventListener("pointerdown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("pointerdown",t)}},c=[a],o[2]=a,o[3]=i,o[4]=c):(i=o[3],c=o[4]),p(i,c),o[5]===Symbol.for("react.memo_cache_sentinel")?(s=t(fr,{}),o[5]=s):s=o[5],s}const za={"banner.root":{className:"!p-4 pointer-events-auto",style:{"--banner-animation-duration":"0ms","--banner-entry-animation":"none","--banner-exit-animation":"none"}},"banner.header.root":{className:"!p-3 !pb-1"},"banner.card":{className:"!bg-screen !border-palette-gray4 !shadow-lg !max-w-[360px] [&>:not([hidden])~:not([hidden])]:!border-transparent"},"banner.footer":"!bg-screen !flex-row-reverse !justify-between !p-3","banner.header.title":{noStyle:!0,className:"hidden"},"banner.header.description":{noStyle:!0,className:"text-sm leading-snug text-secondary !mt-0"},"dialog.root":{style:{"--dialog-max-width":"500px","--dialog-height":"100%"},className:"overflow-y-scroll pointer-events-auto"},"dialog.card":{className:"!bg-screen !border-palette-gray4 !p-0 [&>:not([hidden])~:not([hidden])]:!border-palette-gray4"},"dialog.header":"!px-3 !pt-3 !pb-1","dialog.content":"!p-0","dialog.title":{noStyle:!0,className:"heading-base font-semibold text-default"},"dialog.description":{noStyle:!0,className:"text-sm leading-snug text-secondary !mt-0"},"banner.footer.sub-group":{noStyle:!0,className:"flex flex-1 justify-between"},"widget.root":"!pt-2 !pb-0","widget.accordion":{className:"!px-3 !pb-3",style:{display:"flex",flexDirection:"column",gap:"0.5rem"}},"widget.accordion.item":{style:{"--accordion-padding":"10px","--accordion-background-color":"var(--expo-theme-background-element)","--accordion-border-color":"transparent","--widget-accordion-background-color":"var(--expo-theme-background-element)","--widget-accordion-border-color":"var(--expo-theme-border-secondary)","--accordion-background-hover":"var(--expo-theme-background-subtle)","--widget-accordion-background-hover":"var(--expo-theme-background-subtle)",marginTop:0,marginBottom:0}},"widget.accordion.trigger":{style:{"--accordion-text-color":"var(--expo-theme-text-default)","--widget-accordion-text-color":"var(--expo-theme-text-default)"}},"widget.accordion.content":{style:{"--accordion-content-color":"var(--expo-theme-text-secondary)","--widget-accordion-content-color":"var(--expo-theme-text-secondary)"}},"widget.switch.track":{style:{"--switch-background-color":"var(--expo-theme-border-default)","--switch-background-color-hover":"var(--expo-theme-text-quaternary)","--switch-background-color-checked":"var(--expo-theme-text-link)"}},"widget.branding":{noStyle:!0,className:"hidden"},"dialog.footer":{noStyle:!0,className:"hidden"},"banner.footer.accept-button":{noStyle:!0,className:"order-3 inline-flex h-7 cursor-pointer items-center rounded-full border border-button-primary bg-button-primary px-3 text-xs font-medium text-button-primary transition active:scale-98 hocus:bg-button-primary-hover"},"banner.footer.reject-button":{noStyle:!0,className:"order-2 inline-flex h-7 cursor-pointer items-center rounded-full border border-button-secondary bg-button-secondary px-3 text-xs font-medium text-button-secondary transition active:scale-98 hocus:bg-button-secondary-hover"},"banner.footer.customize-button":{noStyle:!0,className:"order-1 inline-flex h-7 cursor-pointer items-center rounded-full border border-default bg-default px-3 text-xs font-medium text-default transition active:scale-98 hocus:bg-element"},"widget.footer":"!bg-element !flex-row-reverse !justify-between !p-3 !border-t !border-palette-gray4 !gap-0.5","widget.footer.sub-group":{noStyle:!0,className:"flex flex-1 justify-between"},"widget.footer.accept-button":{noStyle:!0,className:"order-3 inline-flex h-7 cursor-pointer items-center whitespace-nowrap rounded-full border border-button-primary bg-button-primary px-3 text-xs font-medium text-button-primary transition active:scale-98 hocus:bg-button-primary-hover"},"widget.footer.reject-button":{noStyle:!0,className:"order-2 inline-flex h-7 cursor-pointer items-center whitespace-nowrap rounded-full border border-button-secondary bg-button-secondary px-3 text-xs font-medium text-button-secondary transition active:scale-98 hocus:bg-button-secondary-hover"},"widget.footer.save-button":{noStyle:!0,className:"order-1 inline-flex h-7 cursor-pointer items-center whitespace-nowrap rounded-full border border-default bg-default px-3 text-xs font-medium text-default transition active:scale-98 hocus:bg-element"}};function Da(r){const a=e(18),{children:i,gtmId:c,ga4Id:s}=r;if(!xa()){let e;return a[0]!==i?(e=t(n,{children:i}),a[0]=i,a[1]=e):e=a[1],e}let d,l,u,m,p,g,f,b,h,y;return a[2]===Symbol.for("react.memo_cache_sentinel")?(d=["necessary","measurement","marketing"],a[2]=d):d=a[2],a[3]!==s||a[4]!==c?(l=function(e,t){const o=[];return e&&o.push({...ua({id:e,script:{category:"marketing"}}),alwaysLoad:!1}),t&&o.push({...ma({id:t,category:"measurement"}),alwaysLoad:!1}),o}(c,s),a[3]=s,a[4]=c,a[5]=l):l=a[5],a[6]===Symbol.for("react.memo_cache_sentinel")?(u={storageKey:"expo-c15t",crossSubdomain:!0,defaultExpiryDays:365},m={translations:{en:{common:{save:"Save"}}}},p={colorScheme:void 0,theme:za},a[6]=u,a[7]=m,a[8]=p):(u=a[6],m=a[7],p=a[8]),a[9]!==l?(g={mode:"offline",ignoreGeoLocation:!0,consentCategories:d,experimental_globalPrivacyControl:!0,scripts:l,storageConfig:u,translations:m,react:p},a[9]=l,a[10]=g):g=a[10],a[11]===Symbol.for("react.memo_cache_sentinel")?(f=t(ra,{disableAnimation:!0,trapFocus:!1,description:o(n,{children:["We use cookies to collect data and improve our services."," ",t("a",{href:"https://expo.dev/privacy/cookies",className:"underline",children:"Learn more"})]}),rejectButtonText:"Decline",customizeButtonText:"Customize",acceptButtonText:"Accept"}),b=t(Ma,{}),a[11]=f,a[12]=b):(f=a[11],b=a[12]),a[13]!==i?(h=t(Pa,{children:i}),a[13]=i,a[14]=h):h=a[14],a[15]!==g||a[16]!==h?(y=o(ca,{options:g,children:[f,b,h]}),a[15]=g,a[16]=h,a[17]=y):y=a[17],y}function Ha(){let e;try{const t=dt();e=t.setIsPrivacyDialogOpen}catch{return null}return o("button",{type:"button",onClick:()=>{e?.(!0)},className:"text-secondary hocus:text-default inline-flex items-center gap-1.5 text-sm transition-colors cursor-pointer","aria-label":"Your Privacy Choices",children:[t(Fa,{}),t("span",{className:"font-semibold",children:"Your Privacy Choices"})]})}function Fa(){const n=e(1);let r;return n[0]===Symbol.for("react.memo_cache_sentinel")?(r=o("svg",{width:"30",height:"16",viewBox:"0 0 743 376",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t("rect",{width:"742.6",height:"376",rx:"188",fill:"white"}),t("rect",{x:"14.2146",y:"14.2146",width:"714.171",height:"347.571",rx:"173.785",stroke:"#405D96",strokeWidth:"28.4292"}),t("path",{d:"M421.723 0H554.6C658.43 0 742.6 84.1705 742.6 188C742.6 291.83 658.43 376 554.6 376H320.877L421.723 0Z",fill:"#405D96"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M315.783 112.736C321.683 117.519 322.591 126.181 317.809 132.084L216.494 257.149C207.93 267.721 192.099 268.548 182.48 258.926L123.211 199.638C117.84 194.266 117.84 185.556 123.211 180.184C128.581 174.812 137.288 174.812 142.659 180.184L198.33 235.873L296.44 114.763C301.222 108.86 309.882 107.953 315.783 112.736Z",fill:"#405D96"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M456.576 106.585C462.095 101.365 470.799 101.608 476.017 107.129L608.556 247.338C613.774 252.858 613.531 261.565 608.013 266.785C602.494 272.005 593.79 271.761 588.572 266.241L456.033 126.031C450.814 120.511 451.058 111.804 456.576 106.585Z",fill:"white"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M610.222 108.733C615.592 114.106 615.592 122.815 610.222 128.188L473.815 264.636C468.445 270.008 459.738 270.008 454.367 264.636C448.997 259.264 448.997 250.554 454.367 245.182L590.774 108.733C596.144 103.361 604.851 103.361 610.222 108.733Z",fill:"white"})]}),n[0]=r):r=n[0],r}export{Da as CookieConsentProvider,pa as MAX_QUEUE_SIZE,Ha as PrivacyChoicesButton,Ta as enqueueAnalyticsEvent,Aa as enqueueMarketingEvent,Sa as getAnalyticsConsentStatus,_a as getMarketingConsentStatus,ja as isAnalyticsConsented,xa as isConsentEnabled,Na as isMarketingConsented,Ra as resetConsentState,Oa as setAnalyticsConsent,Ea as setAnalyticsReplayFn,Ba as setMarketingConsent,La as setMarketingReplayFn,Ca as shouldSkipBannerForAuth,dt as useConsentManager};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/styleguide-cookie-consent",
3
- "version": "2.0.4",
3
+ "version": "2.1.0",
4
4
  "description": "Cookie consent provider for Expo websites with c15t integration.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -48,5 +48,5 @@
48
48
  "eslintConfig": {
49
49
  "extends": "universe/web"
50
50
  },
51
- "gitHead": "427d6f12756fad7608705655ba0876f065c79366"
51
+ "gitHead": "ce85f81989f406b8e9d64e3b844caa587f590760"
52
52
  }