1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="45ba1d85-2bc0-3708-3b96-08f30fef0489")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,190390,e=>{"use strict";var t=e.i(65563),n=e.i(943626),o=e.i(745558),r=e.i(970638),a=e.i(433239),i=e.i(770374),s=e.i(283951),l=e.i(613215);function c({fallback:e,children:n}){let o=(0,l.useSWRConfig)();return(0,t.jsx)(s.SWRConfig,{value:{fetcher:u,revalidateOnFocus:!1,revalidateIfStale:!1,errorRetryCount:0,fallback:Object.assign({},o.fallback,e)},children:n})}async function u(e,t){let n=await fetch(e,{credentials:"include",...t});if(!n.ok)throw new d(n.status,await n.text());if(202===n.status)throw new d(n.status,"Please check back later");return await n.json()}class d extends Error{statusCode;text;constructor(e,t){super(`Bad status code: ${e}`),this.statusCode=e,this.text=t}}var m=e.i(649919),h=e.i(729251);let f="c15t-ui-footerFill-fYXhD",g="c15t-ui-footerColumn-TBxCf",p="c15t-ui-footerSubGroupFill-HE0u1",b="c15t-ui-footerSubGroupColumn-Iz6is",y="c15t-ui-actionButtonFill-DOOO_",x="c15t-ui-description-ZuHLA";var v=e.i(897006);let j=["ar","he","fa","ur","ps","sd","ku","dv"];function C(e){let t=e?e.split("-")[0]?.toLowerCase():"en";return j.includes(t||"")?"rtl":"ltr"}function w(e){(0,o.useEffect)(()=>{if(e){let e,t;return e={overflow:document.body.style.overflow,paddingRight:document.body.style.paddingRight},t=window.innerWidth-document.documentElement.clientWidth,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])}function k(...e){let t=[];for(let n of e)!function e(t,n){if(n&&"boolean"!=typeof n){if("string"==typeof n||"number"==typeof n||"bigint"==typeof n)return void t.push(String(n));if(Array.isArray(n)){for(let o of n)e(t,o);return}for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&n[e]&&t.push(e)}}(t,n);return t.join(" ")}function S(e,t){let n=e=>{if(void 0!==e)return"string"==typeof e?{className:e}:e},o=n(e),r=n(t);if((o?.noStyle||r?.noStyle)&&r?.noStyle)return{className:r.className,style:r.style,noStyle:!0};let a=k(o?.baseClassName,o?.className,r?.baseClassName,r?.className),i={...o?.style,...r?.style};return{className:a||void 0,style:Object.keys(i).length>0?i:void 0,noStyle:o?.noStyle||r?.noStyle}}function N(e,t,n,o=!1){let r=t?.slots?.[e],a="object"==typeof r&&null!==r&&!!r.noStyle,i="object"==typeof n&&null!==n&&!!n.noStyle;if(o||a||i){let e=S(r||{},n||{});return{className:e.className,style:e.style,noStyle:!0}}let s=S("object"==typeof n?{...n,className:void 0}:{},r||{}),l=S(s,n||{});return{className:l.className,style:l.style}}let A=(0,o.createContext)({theme:void 0,noStyle:!1,disableAnimation:!1,scrollLock:!1,trapFocus:!0,colorScheme:"system"}),P=(0,o.createContext)(null),B=()=>{let e=(0,o.useContext)(A),t=(0,o.useContext)(P);if(!e)throw Error("Theme components must be used within Theme.Root");return(0,o.useMemo)(()=>(function e(t,n){if(!n)return t;let o={...t};for(let r in n)void 0!==n[r]&&(n[r]&&"object"==typeof n[r]&&!Array.isArray(n[r])&&t[r]&&"object"==typeof t[r]?o[r]=e(t[r],n[r]):o[r]=n[r]);return o}
2)(e,t||null),[e,t])};function M(e,t,n){let{noStyle:r,theme:a}=B(),i=n??a;return(0,o.useMemo)(()=>N(e,i,t,r),[e,i,t,r])}function I(...e){return k(...e)}let L=(0,o.forwardRef)(({className:e,style:n,noStyle:r,asChild:a,...i},s)=>{let{activeUI:l}=(0,v.useConsentManager)(),{disableAnimation:c,noStyle:u,scrollLock:d}=B(),m="banner"===l,[h,f]=(0,o.useState)(!1);(0,o.useEffect)(()=>{if(m)f(!0);else if(c)f(!1);else{let e=setTimeout(()=>{f(!1)},Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--consent-banner-animation-duration")||"200",10));return()=>clearTimeout(e)}},[m,c]);let g=M("consentBannerOverlay",{baseClassName:!(u||r)&&"c15t-ui-overlay-r7ckD",className:e,noStyle:u||r}),p=I(g.className,u||r||c?void 0:h?"c15t-ui-overlayVisible-uk8zb":"c15t-ui-overlayHidden-pbl9E");return w(!!(m&&d)),m&&d?(0,t.jsx)("div",{ref:s,...i,className:p,style:{...g.style,...n},"data-testid":"consent-banner-overlay"}):null});function T(e){return{className:e?.className,style:e?.style}}var F=e.i(404172);let D=(0,o.createContext)({}),_=()=>(0,o.useContext)(D);function R(e){let t=(0,o.useMemo)(()=>C(e),[e]);return(0,o.useEffect)(()=>("rtl"===C(e)?document.body.classList.add("c15t-rtl"):document.body.classList.remove("c15t-rtl"),()=>{document.body.classList.remove("c15t-rtl")}),[e]),t}let O=({children:e,className:n,noStyle:o,disableAnimation:r,scrollLock:a,trapFocus:i=!0,models:s,uiSource:l,...c})=>{let{policyBanner:u}=(0,v.useConsentManager)(),d={disableAnimation:r,noStyle:o,scrollLock:a??u.scrollLock??void 0,trapFocus:i};return(0,t.jsx)(D.Provider,{value:{uiSource:l??"banner"},children:(0,t.jsx)(P.Provider,{value:d,children:(0,t.jsx)(E,{disableAnimation:r,className:n,noStyle:o,models:s,...c,children:e})})})},E=(0,o.forwardRef)(({asChild:e,children:n,className:r,style:a,className:i,disableAnimation:s,noStyle:l,models:c=["opt-in"],...u},d)=>{let{activeUI:m,translationConfig:h,model:f}=(0,v.useConsentManager)(),g=R(h.defaultLanguage),[p,b]=(0,o.useState)(!1),[y,x]=(0,o.useState)(!1),[j,C]=(0,o.useState)(200),w="banner"===m&&c.includes(f);(0,o.useEffect)(()=>{C(Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--consent-banner-animation-duration")||"200",10))},[]),(0,o.useEffect)(()=>{if(w)if(y)b(!0);else{let e=setTimeout(()=>{b(!0),x(!0)},10);return()=>clearTimeout(e)}else if(x(!1),s)b(!1);else{let e=setTimeout(()=>{b(!1)},j);return()=>clearTimeout(e)}},[w,s,y,j]);let k=M("consentBanner",{baseClassName:["c15t-ui-root-hE9Kz","ltr"===g?"c15t-ui-bottomLeft-CbyqH":"c15t-ui-bottomRight-iIIdC"],style:a,className:r||i,noStyle:l}),[S,N]=(0,o.useState)(!1);if((0,o.useEffect)(()=>{N(!0)},[]),!S)return null;let A=l?k.className||"":`${k.className||""} ${p?"c15t-ui-bannerVisible-pYYY9":"c15t-ui-bannerHidden-J4VZ3"}`,P=T(k);return w?(0,F.createPortal)((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(L,{}),(0,t.jsx)("div",{ref:d,...u,...P,className:A,"data-testid":"consent-banner-root",dir:g,children:n})]}),document.body):null});function H(e,t){(0,o.useEffect)(()=>{if(e&&t&&t.current){var n;let e,o;return n=t.current,e=document.activeElement,n.tabIndex<0&&(n.tabIndex=-1),setTimeout(()=>{try{n.focus()}catch{}},0),o=e=>{if("Tab"!==e.key)return;let t=Array.from(n.querySelectorAll('a[href]:not([disabled]):not([tabindex="-1"]),button:not([disabled]):not([tabindex="-1"]),textarea:not([disabled]):not([tabindex="-1"]),input:not([disabled]):not([tabindex="-1"]),select:not([disabled]):not([tabindex="-1"]),[contenteditable]:not([tabindex="-1"]),[tabindex]:not([tabindex="-1"])')).filter(e=>"function"==typeof e.checkVisibility?e.checkVisibility({checkVisibilityCSS:!0}):e.offsetWidth>0||e.offsetHeight>0);if(0===t.length)return;let o=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===o?(e.preventDefault(),r?.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),o?.focus())},document.addEventListener("keydown",o),()=>{document.removeEventListener("keydown",o),e&&"function"==typeof e.focus&&setTimeout(()=>e.focus(),0)}}},[e,t])}function V(e){return!!e&&"object"==typeof e&&"cookieBanner"in e&&"consentManagerDialog"in e&&"consentTypes"in e&&"common"in e}function $(){let{translationConfig:e}=(0,v.useConsentManager)();return(0,o.useMemo)(()=>(function(e,t){let{translations:n={},defaultLanguage:o="en"}=e,r=n[o];if(V(r))return r;let a=n.en;return V(a)?a:t.translations.en})(e,m.defaultTranslationConfig),[e])}E.displayName="ConsentBannerRootChildren";let z=(0,o.forwardRef)(({children:e,...t},n)=>{if(!(0,o.isValidElement)(e))return null;let r=e.props,a=e.ref,i={...t,...r,className:[t.className,r.className].filter(
2Boolean).join(" "),style:{...t.style,...r.style},ref:function(...e){return t=>{for(let n of e){if("function"==typeof n){n(t);continue}n&&"current"in n&&(n.current=t)}}}(n,a)};for(let[e,n]of Object.entries(t))/^on[A-Z]/.test(e)&&(i[e]=function(e,t){return"function"!=typeof e?t:"function"!=typeof t?e:n=>{t(n),e(n)}}(n,r[e]));return(0,o.cloneElement)(e,i)});z.displayName="Slot";let K=(0,o.forwardRef)(({asChild:e,className:n,style:o,themeKey:r,baseClassName:a,noStyle:i,...s},l)=>{let c=T(M(r,{baseClassName:a,className:n,style:o,noStyle:i}));return(0,t.jsx)(e?z:"div",{ref:l,...s,...c})});K.displayName="Box";let G={button:"c15t-ui-button-Lo5cc","button-medium":"c15t-ui-button-medium-zdZk5",buttonMedium:"c15t-ui-button-medium-zdZk5","button-small":"c15t-ui-button-small-nclev",buttonSmall:"c15t-ui-button-small-nclev","button-xsmall":"c15t-ui-button-xsmall-xj0Fq",buttonXsmall:"c15t-ui-button-xsmall-xj0Fq","button-xxsmall":"c15t-ui-button-xxsmall-qDcpO",buttonXxsmall:"c15t-ui-button-xxsmall-qDcpO","button-primary-filled":"c15t-ui-button-primary-filled-u895k",buttonPrimaryFilled:"c15t-ui-button-primary-filled-u895k","button-primary-stroke":"c15t-ui-button-primary-stroke-rMkBn",buttonPrimaryStroke:"c15t-ui-button-primary-stroke-rMkBn","button-primary-lighter":"c15t-ui-button-primary-lighter-pa1_G",buttonPrimaryLighter:"c15t-ui-button-primary-lighter-pa1_G","button-primary-ghost":"c15t-ui-button-primary-ghost-gUXbr",buttonPrimaryGhost:"c15t-ui-button-primary-ghost-gUXbr","button-neutral-filled":"c15t-ui-button-neutral-filled-iBUdt",buttonNeutralFilled:"c15t-ui-button-neutral-filled-iBUdt","button-neutral-stroke":"c15t-ui-button-neutral-stroke-FNAAx",buttonNeutralStroke:"c15t-ui-button-neutral-stroke-FNAAx","button-neutral-lighter":"c15t-ui-button-neutral-lighter-CHsDA",buttonNeutralLighter:"c15t-ui-button-neutral-lighter-CHsDA","button-neutral-ghost":"c15t-ui-button-neutral-ghost-a6Cdw",buttonNeutralGhost:"c15t-ui-button-neutral-ghost-a6Cdw","button-icon":"c15t-ui-button-icon-JD5sB",buttonIcon:"c15t-ui-button-icon-JD5sB"},W=["primary","secondary","neutral","consentAction","isPrimary"],U=(0,o.forwardRef)(({asChild:e,className:n,style:r,noStyle:a,action:i,themeKey:s,baseClassName:l,variant:c,mode:u,size:d="small",consentAction:m,isPrimary:h,onClick:f,closeConsentBanner:g=!1,closeConsentDialog:p=!1,category:b,...y},x)=>{let{saveConsents:j,setActiveUI:C,setConsent:w}=(0,v.useConsentManager)(),{uiSource:k}=_(),{noStyle:S,theme:N}=B(),A=function(e){if(e.variant||e.mode)return{variant:e.variant??"neutral",mode:e.mode??"stroke"};let t=e.isPrimary?{variant:"primary",mode:"stroke"}:{variant:"neutral",mode:"stroke"},n=e.theme?.consentActions?.default??{},o=e.consentAction?e.theme?.consentActions?.[e.consentAction]:void 0;return{variant:o?.variant??n.variant??t.variant,mode:o?.mode??n.mode??t.mode}}({consentAction:m,isPrimary:h,theme:N,variant:c,mode:u}),P="primary"===A.variant?"buttonPrimary":"buttonSecondary",{noStyle:I,...L}=M(s??P,{baseClassName:[!(S||a)&&(({variant:e="primary",mode:t="filled",size:n="medium"}={})=>{let o=[G.button,G[`button-${n}`]];o.push(G[({"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=[G["button-icon"]];return{root:e=>[...o,e?.class].filter(Boolean).join(" "),icon:e=>[...r,e?.class].filter(Boolean).join(" ")}})({variant:A.variant,mode:A.mode,size:d}).root()],style:{...r},className:n,noStyle:S||a});if(!b&&"set-consent"===i)throw Error("Category is required for set-consent action");let T=(0,o.useCallback)(e=>{if((g||p)&&C("none"),"open-consent-dialog"===i&&C("dialog"),f&&f(e),"open-consent-dialog"!==i){let e=k?{uiSource:k}:void 0;switch(i){case"accept-consent":j("all",e);break;case"reject-consent":j("necessary",e);break;case"custom-consent":j("custom",e);break;case"set-consent":if(!b)throw Error("Category is required for set-consent action");w(b,!0)}}},[g,p,f,j,C,i,b,w,k]),F=Object.fromEntries(Object.entries(y).filter(([e])=>!W.includes(e)));return(0,t.jsx)(e?z:"button",{ref:x,type:e?void 0:"button",...L,onClick:T,...F})});U.displayName="ConsentButton";function Z({links:e,themeKey:n,testIdPrefix:o}){let r=function(e){let{legalLinks:t}=(0,v.useConsentManager)();return null==e?null:Object.fromEntries(Object.entries(t??{}).filter(([t])=>e.includes(t)))}(e),{legalLinks:a}=$(),i=M(n,{baseClassName:"c15t-ui-legalLink-YVZqO"});return r&&0!==Object.keys(r).length?(0,t.jsxs)("span",{children:[" ",Object.entries(r).map(([e,n],r,s)=>n?(0,t.jsxs)("span",{children:[(0,t.jsxs)("a",{href:n.href,target:n.target||"_blank",rel:n.rel||("_blank"===n.target?"noopener noreferrer":void 0),...i,"data-testid":o?`${o}-${e}`:void 0,children:[n.label??a?.[e],r<s.length-1&&","]}),r<s.length-1&&" "]},String(e)):null)]}):null}let X=(0,o.forwardRef)(({children:e,...n},o)=>{let{cookieBanner:r}=$();return(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-title-FWOWe","data-testid":"consent-banner-title",themeKey:"consentBannerTitle",...n,children:e??r.title})});X.displayName="ConsentBannerTitle";let Y=(0,o.forwardRef)(({children:e,legalLinks:n,asChild:o,...r},a)=>{let{cookieBanner:i}=$();return o?(0,t.jsx)(K,{ref:a,baseClassName:x,"data-testid":"consent-banner-description",themeKey:"consentBannerDescription",asChild:o,...r,children:e??i.description}):(0,t.jsxs)(K,{ref:a,baseClassName:x,"data-testid":"consent-banner-description",themeKey:"consentBannerDescription",asChild:o,...r,children:[e??i.description,(0,t.jsx)(Z,{links:n,themeKey:"consentBannerDescription",testIdPrefix:"consent-banner-legal-link"})]})});Y.displayName="ConsentBannerDescription";let q=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-footer-MwauQ","data-testid":"consent-banner-footer",themeKey:"consentBannerFooter",...n,children:e}));q.displayName="ConsentBannerFooter";let J=(0,o.forwardRef)(({children:e,...n},r)=>{let{trapFocus:a}=B(),{cookieBanner:i}=$(),s=(0,o.useRef)(null),l=r||s,c=!!a;return H(c,l),(0,t.jsx)(K,{ref:l,tabIndex:0,baseClassName:"c15t-ui-card-AUyl8","data-testid":"consent-banner-card",themeKey:"consentBannerCard","aria-label":n["aria-label"]||i.title,"aria-modal":c?"true":void 0,role:c?"dialog":void 0,...n,children:e})});J.displayName="ConsentBannerCard";let Q=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-header-pel5O","data-testid":"consent-banner-header",themeKey:"consentBannerHeader",...n,children:e}));Q.displayName="ConsentBannerHeader";let ee=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-footerSubGroup-YlOOW","data-testid":"consent-banner-footer-sub-group",themeKey:"consentBannerFooterSubGroup",...n,children:e}));ee.displayName="ConsentBannerFooterSubGroup";let et=(0,o.forwardRef)(({children:e,...n},o)=>{let{common:r}=$();return(0,t.jsx)(U,{ref:o,action:"reject-consent","data-testid":"consent-banner-reject-button",closeConsentBanner:!0,...n,children:e??r.rejectAll})});et.displayName="ConsentBannerRejectButton";let en=(0,o.forwardRef)(({children:e,...n},o)=>{let{common:r}=$();return(0,t.jsx)(U,{ref:o,action:"open-consent-dialog","data-testid":"consent-banner-customize-button",...n,children:e??r.customize})});en.displayName="ConsentBannerCustomizeButton";let eo=(0,o.forwardRef)(({children:e,...n},o)=>{let{common:r}=$(),{noStyle:a}=B();return(0,t.jsx)(U,{ref:o,action:"accept-consent","data-testid":"consent-banner-accept-button",closeConsentBanner:!0,noStyle:a,...n,children:e??r.acceptAll})});eo.displayName="ConsentBannerAcceptButton";let er="c15t-ui-brandingWordmark-Oke49",ea="c15t-ui-description-qNkW1",ei=({title:e="c15t",titleId:n="c15t-icon",...o})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 446 445","aria-labelledby":n,...o,children:[(0,t.jsx)("title",{id:n,children:e}
2),(0,t.jsx)("path",{fill:"currentColor",d:"M223.178.313c39.064 0 70.732 31.668 70.732 70.732-.001 39.064-31.668 70.731-70.732 70.731-12.181 0-23.642-3.079-33.649-8.502l-55.689 55.689a70.267 70.267 0 0 1 5.574 13.441h167.531c8.695-29.217 35.762-50.523 67.804-50.523 39.064 0 70.731 31.668 70.731 70.732s-31.668 70.732-70.731 70.732c-32.042 0-59.108-21.306-67.803-50.523H139.413a70.417 70.417 0 0 1-7.888 17.396l54.046 54.046c10.893-6.851 23.786-10.815 37.605-10.815 39.064 0 70.732 31.669 70.732 70.733 0 39.064-31.668 70.731-70.732 70.731s-70.732-31.667-70.732-70.731c0-10.518 2.296-20.499 6.414-29.471l-57.78-57.78c-8.972 4.117-18.952 6.414-29.47 6.414-39.063 0-70.731-31.668-70.732-70.732 0-39.064 31.669-70.732 70.733-70.732 12.18 0 23.642 3.079 33.649 8.502l55.688-55.688c-5.423-10.007-8.502-21.469-8.502-33.65 0-39.064 31.668-70.733 70.732-70.733Zm0 343.555c-16.742 0-30.314 13.572-30.314 30.314 0 16.741 13.572 30.313 30.314 30.313s30.314-13.572 30.314-30.313c0-16.742-13.572-30.314-30.314-30.314ZM71.611 192.299c-16.742 0-30.315 13.572-30.315 30.314s13.573 30.314 30.315 30.314c16.741 0 30.313-13.572 30.313-30.314 0-16.741-13.572-30.314-30.313-30.314Zm303.138 0c-16.729 0-30.294 13.551-30.315 30.275l.001.039-.001.038c.021 16.725 13.586 30.276 30.315 30.276 16.741 0 30.313-13.572 30.313-30.314 0-16.741-13.572-30.314-30.313-30.314ZM223.178 40.73c-16.742 0-30.314 13.573-30.314 30.315s13.573 30.313 30.314 30.313c16.742 0 30.313-13.572 30.314-30.313 0-16.742-13.572-30.314-30.314-30.315Z"})]}),es=({title:e="INTH",titleId:n="inth-logo",...o})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 88 90",fill:"none","aria-labelledby":n,...o,children:[(0,t.jsx)("title",{id:n,children:e}),(0,t.jsx)("path",{fill:"currentColor",d:"M40.9164 0V8.26444H27.6933V26.7966H40.9164V35.0608H6.15594V26.7966H19.3788V8.26444H6.15594V0H40.9164Z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M72.1149 20.1264V0H80.0343V35.0608H74.2747L54.9798 14.8193V35.0608H47.0604V0H52.964L72.1149 20.1264Z"}),(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M71.36 41.6H88V89.6H0V41.6H61.12V31.04L71.36 41.6ZM6.15594 48.0891V56.4034H19.1784V83.2H27.4428V56.4034H40.5656V48.0891H6.15594ZM47.0603 48.1391V83.2H55.3247V70.2441H71.7531V83.2H80.0675V48.1391H71.7531V61.9797H55.3247V48.1391H47.0603Z"})]}),el=e=>(0,t.jsx)(es,{titleId:"inth-full-logo",...e}),ec=e=>(0,t.jsx)(es,{titleId:"inth-icon",...e}),eu=({title:e="Privacy",titleId:n="fingerprint-icon",...o})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-labelledby":n,...o,children:[(0,t.jsx)("title",{id:n,children:e}),(0,t.jsx)("path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4"}),(0,t.jsx)("path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88"}),(0,t.jsx)("path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02"}),(0,t.jsx)("path",{d:"M2 12a10 10 0 0 1 18-6"}),(0,t.jsx)("path",{d:"M2 16h.01"}),(0,t.jsx)("path",{d:"M21.8 16c.2-2 .131-5.354 0-6"}),(0,t.jsx)("path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2"}),(0,t.jsx)("path",{d:"M8.65 22c.21-.66.45-1.32.57-2"}),(0,t.jsx)("path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2"})]}),ed=({title:e="Settings",titleId:n="settings-icon",...o})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-labelledby":n,...o,children:[(0,t.jsx)("title",{id:n,children:e}),(0,t.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]});function em(e){return"none"===e?"none":"inth"===e||"consent"===e?"inth":"c15t"}function eh({branding:e,className:n}){return"inth"===em(e)?(0,t.jsx)("span",{dir:"ltr",className:I(er,n),children:(0,t.jsx)(el,{"aria-hidden":"true"})}):(0,t.jsxs)("span",{dir:"ltr",className:I(er,n),children:[(0,t.jsx)("span",{className:"c15t-ui-brandingC15TMark-gG3qF",children:(0,t.jsx)(ei,{"aria-hidden":"true"})}),(0,t.jsx)("span",{className:"c15t-ui-brandingWordmarkLabel-HiffM",children:"c15t"})]})}function ef({branding:e,...n}){return(0,t.jsx)("inth"===em(e)?ec:ei,{...n})}function eg({hideBranding:e,variant:n="footer",themeKey:r,className:a,style:i,"data-testid":s}){let{branding:l}=(0,v.useConsentManager)(),{noStyle:c,theme:u}=B(),{common:d}=$(),m=em(l),h="u">typeof window?`?ref=${window.location.hostname}`:"",f=T((0,o.useMemo)(()=>{let e={baseClassName:I("c15t-ui-branding-cFvDg","footer"!==n&&"c15t-ui-brandingTag-xHTlt","dialog-tag"===n&&"c15t-ui-brandingTagDialog-VHY
2im","banner-tag"===n&&"c15t-ui-brandingTagBanner-ruu5B"),className:a,style:i};return r&&u?.slots&&r in u.slots?N(r,u,e,c):S({},e)},[a,c,i,u,r,n]));return"none"===m||e?null:(0,t.jsxs)("a",{...f,href:function(e,t=""){return"inth"===em(e)?`https://inth.com${t}`:`https://c15t.com${t}`}(l,h),"data-branding":m,"data-variant":n,"data-testid":s,children:[(0,t.jsx)("span",{className:"c15t-ui-brandingCopy-VUhih",children:(0,t.jsx)("span",{className:"c15t-ui-brandingText-UTU4l",children:d.securedBy})}),(0,t.jsx)(eh,{branding:l,className:"inth"===m?"c15t-ui-brandingInth-HH4jL":"c15t-ui-brandingC15T-zxnCt"})]})}function ep(e){let t=B(),n=function(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if("u"<typeof window)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches);let n=e=>{t(e.matches)};return e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e}();return{noStyle:e?.noStyle??t.noStyle??!1,disableAnimation:e?.disableAnimation??t.disableAnimation??n,scrollLock:e?.scrollLock??t.scrollLock??!1,trapFocus:e?.trapFocus??t.trapFocus??!0}}let eb={banner:"banner",dialog:"dialog"};function ey(){let{activeUI:e,policyBanner:{allowedActions:t,primaryActions:n,layout:r,direction:a,uiProfile:i,scrollLock:s},policyDialog:{allowedActions:l,primaryActions:c,layout:u,direction:d,uiProfile:h,scrollLock:f},saveConsents:g,setActiveUI:p}=(0,v.useConsentManager)(),b=(0,o.useMemo)(()=>({allowedActions:t,primaryActions:n,layout:r,direction:a,uiProfile:i,scrollLock:s}),[t,a,r,n,i,s]),y=(0,o.useMemo)(()=>({allowedActions:l,primaryActions:c,layout:u,direction:d,uiProfile:h,scrollLock:f}),[l,d,u,c,h,f]),x=(0,o.useMemo)(()=>{let o=(0,m.resolvePolicyAllowedActions)({allowedActions:t}),l=(0,m.resolvePolicyActionGroups)({allowedActions:o,layout:r}),c=(0,m.resolvePolicyOrderedActions)({allowedActions:o,layout:r}),u=(0,m.resolvePolicyDirection)(a);return{allowedActions:o,orderedActions:c,actionGroups:l,primaryActions:(0,m.resolvePolicyPrimaryActions)({orderedActions:c,primaryActions:n}),layout:r,direction:u,uiProfile:i,scrollLock:s,hasPolicyHints:(0,m.hasPolicyHints)(b),shouldFillActions:(0,m.shouldFillPolicyActions)({uiProfile:i,actionGroups:l,direction:u}),isVisible:"banner"===e}},[e,t,a,r,n,i,s,b]),j=(0,o.useMemo)(()=>{let t=(0,m.resolvePolicyAllowedActions)({allowedActions:l}),n=(0,m.resolvePolicyActionGroups)({allowedActions:t,layout:u}),o=(0,m.resolvePolicyOrderedActions)({allowedActions:t,layout:u}),r=(0,m.resolvePolicyDirection)(d);return{allowedActions:t,orderedActions:o,actionGroups:n,primaryActions:(0,m.resolvePolicyPrimaryActions)({orderedActions:o,primaryActions:c}),layout:u,direction:r,uiProfile:h,scrollLock:f,hasPolicyHints:(0,m.hasPolicyHints)(y),shouldFillActions:(0,m.shouldFillPolicyActions)({uiProfile:h,actionGroups:n,direction:r}),isVisible:"dialog"===e}},[e,l,d,u,c,h,f,y]),C=(0,o.useCallback)(async(e,t)=>{let n=t.uiSource??eb[t.surface];switch(e){case"accept":await g("all",{uiSource:n});return;case"reject":await g("necessary",{uiSource:n});return}},[g]),w=(0,o.useCallback)((e,t)=>C(e,{surface:"banner",uiSource:t?.uiSource}),[C]),k=(0,o.useCallback)((e,t)=>C(e,{surface:"dialog",uiSource:t?.uiSource}),[C]),S=(0,o.useCallback)(async e=>{await g("custom",{uiSource:e?.uiSource??eb.dialog})},[g]);return{activeUI:e,banner:x,dialog:j,openBanner:(0,o.useCallback)(e=>{p("banner",e)},[p]),openDialog:(0,o.useCallback)(()=>{p("dialog")},[p]),closeUI:(0,o.useCallback)(()=>{p("none")},[p]),performAction:C,performBannerAction:w,performDialogAction:k,saveCustomPreferences:S}}var ex=o;class ev extends ex.Component{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}}let ej=[["reject","accept"],"customize"];function eC({state:e,Footer:n,FooterSubGroup:r,classNames:a,renderDefaultAction:i,renderAction:s}){let l=e.shouldFillActions,c="column"===e.direction,u=l?{width:"100%",flex:1}:void 0;return(0,t.jsx)(n,{className:I(l&&a.footerFill,c&&a.footerColumn),children:e.actionGroups.map((n,d)=>(0,t.jsx)(r,{className:I(l&&a.footerSubGroupFill,c&&a.footerSubGroupColumn),children:n.map(n=>{let r=`action-${n}`,a={key:r,consentAction:n,isPrimary:e.primaryActions.includes(n),style:u};return(0,t.jsx)(o.Fragment,{children:s?.(n,a)??i(n,a)},r)})},`group-${n.join("-")||d}`))})}function ew(e,n){let{key:o,consentAction:r,...a}=n;switch(e){case"accept":return(0,t.jsx)(eo,{consentAction:r,"data-testid":"consent-banner-accept-button",...a},o);case"reject":return(0,t.jsx)(et,{consentAction:r,"data-testid":"consent-banner-reject-button",...a},o);case"customize":return(0,t.jsx)(en,{consentAction:r,"data-testid":"consent-banner-customize-button",...a},o);default:throw Error(`Unhandled consent banner action: ${e}`)}}let ek=Object.assign(({noStyle:e,disableAnimation:n,scrollLock:r,trapFocus:a=!0,title:i,description:s,rejectButtonText:l,customizeButtonText:c,acceptButtonText:u,legalLinks:d,hideBranding:h=!1,layout:x,direction:j,primaryButton:C="customize",models:w,uiSource:k}
2)=>{let{cookieBanner:S}=$(),{banner:N}=ey(),{policyBanner:A}=(0,v.useConsentManager)(),P=ep({noStyle:e,disableAnimation:n,scrollLock:r??A.scrollLock??!1,trapFocus:a}),B=new Set(N.orderedActions),M=N.primaryActions.length>0?N.primaryActions:C,L=x??((N.layout?.length??0)>0?N.actionGroups:ej),T=j??N.direction??"row",F=L.map(e=>Array.isArray(e)?e.filter(e=>B.has(e)):B.has(e)?[e]:[]).filter(e=>e.length>0),D=(0,m.shouldFillPolicyActions)({uiProfile:N.uiProfile,actionGroups:F,direction:T}),_=(e,n)=>{if(!B.has(e))return null;let o=Array.isArray(M)?M.includes(e):e===M;switch(e){case"reject":return(0,t.jsx)(et,{consentAction:"reject",isPrimary:o,className:n,"data-testid":"consent-banner-reject-button",children:l});case"accept":return(0,t.jsx)(eo,{consentAction:"accept",isPrimary:o,className:n,"data-testid":"consent-banner-accept-button",children:u});case"customize":return(0,t.jsx)(en,{consentAction:"customize",isPrimary:o,className:n,"data-testid":"consent-banner-customize-button",children:c});default:throw Error(`Unhandled consent banner button type: ${e}`)}};return(0,t.jsx)(ev,{fallback:(0,t.jsx)("div",{children:"Something went wrong with the Consent Banner."}),children:(0,t.jsx)(O,{...P,models:w,uiSource:k,children:(0,t.jsxs)("div",{className:"c15t-ui-cardShell-HgKnk",children:[(0,t.jsx)(eg,{hideBranding:h,variant:"banner-tag",themeKey:"consentBannerTag","data-testid":"consent-banner-branding"}),(0,t.jsxs)(J,{"aria-label":S.title,children:[(0,t.jsxs)(Q,{children:[(0,t.jsx)(X,{children:i}),(0,t.jsx)(Y,{legalLinks:d,children:s})]}),(0,t.jsx)(q,{className:I(D&&f,"column"===T&&g),children:L.map((e,n)=>{if(Array.isArray(e)){let r=e.filter(e=>B.has(e));if(0===r.length)return null;let a=e.join("-");return(0,t.jsx)(ee,{className:I(D&&p,"column"===T&&b),children:r.map(e=>(0,t.jsx)(o.Fragment,{children:_(e,D?y:void 0)},e))},a?`group-${a}`:`group-${n}`)}return B.has(e)?(0,t.jsx)(o.Fragment,{children:_(e,D?y:void 0)},e):null})})]})]})})})},{Root:O,Card:J,Header:Q,Title:X,Description:Y,PolicyActions:function({renderAction:e}){let{banner:n}=ey();return(0,t.jsx)(eC,{state:n,Footer:q,FooterSubGroup:ee,classNames:{footerFill:f,footerColumn:g,footerSubGroupFill:p,footerSubGroupColumn:b},renderAction:e,renderDefaultAction:ew})},Footer:q,FooterSubGroup:ee,RejectButton:et,CustomizeButton:en,AcceptButton:eo,Overlay:L,Content:J,Actions:ee}),eS={enter:"c15t-ui-enter-oqaf_",exit:"c15t-ui-exit-Yh5ig",widget:"c15t-ui-widget-tTKyY",card:"c15t-ui-card-UpkfF",header:"c15t-ui-header-UNVT2",title:"c15t-ui-title-VZSLD",description:"c15t-ui-description-wIwCB",content:"c15t-ui-content-vvxqv",footer:"c15t-ui-footer-vPM5F",footerSubGroup:"c15t-ui-footerSubGroup-DllFT",footerFill:"c15t-ui-footerFill-P_kQs",footerColumn:"c15t-ui-footerColumn-ezdXA",footerSubGroupFill:"c15t-ui-footerSubGroupFill-vHGHl",footerSubGroupColumn:"c15t-ui-footerSubGroupColumn-HCrX0",actionButtonFill:"c15t-ui-actionButtonFill-Ane9w",branding:"c15t-ui-branding-OBSbe",brandingLink:"c15t-ui-brandingLink-RAOti",bottomLeft:"c15t-ui-bottomLeft-MFOD6",bottomRight:"c15t-ui-bottomRight-PBeso",topLeft:"c15t-ui-topLeft-uEV5R",topRight:"c15t-ui-topRight-jj0Fj",accordionItem:"c15t-ui-accordionItem-phxAm",accordionTriggerInner:"c15t-ui-accordionTriggerInner-OxxsR",accordionList:"c15t-ui-accordionList-Ojp24",accordionTrigger:"c15t-ui-accordionTrigger-hVnri",accordionTitle:"c15t-ui-accordionTitle-oVDJ5",accordionContent:"c15t-ui-accordionContent-S6PcX",accordionArrow:"c15t-ui-accordionArrow-yFH7h",switch:"c15t-ui-switch-YnFJT"};function eN(e){return e?"":void 0}function eA(e){return e?"open":"closed"}let eP=()=>({auxiliary:e=>["c15t-ui-auxiliary-jJSI7",e?.class].filter(Boolean).join(" "),content:e=>["c15t-ui-content-VkWDD",e?.class].filter(Boolean).join(" "),contentInner:e=>["c15t-ui-contentInner-m2ifM",e?.class].filter(Boolean).join(" "),contentViewport:e=>["c15t-ui-contentViewport-BOKhf",e?.class].filter(Boolean).join(" "),control:e=>["c15t-ui-control-Dg8Bo",e?.class].filter(Boolean).join(" "),header:e=>["c15t-ui-header-OUsAl",e?.class].filter(Boolean).join(" "),leading:e=>
2["c15t-ui-leading-R7F08",e?.class].filter(Boolean).join(" "),meta:e=>["c15t-ui-meta-G2S5Z",e?.class].filter(Boolean).join(" "),root:e=>["c15t-ui-root-uVKV9",e?.class].filter(Boolean).join(" "),title:e=>["c15t-ui-title-D6JTo",e?.class].filter(Boolean).join(" "),trigger:e=>["c15t-ui-trigger-KE13P",e?.class].filter(Boolean).join(" ")});function eB({defaultValue:e,onChange:t,value:n}){let[r,a]=(0,o.useState)(e),i=void 0!==n;return[(0,o.useMemo)(()=>i?n:r,[i,r,n]),e=>{i||a(e),t?.(e)}]}let eM=(0,o.createContext)(null);function eI(){let e=(0,o.useContext)(eM);if(!e)throw Error("PreferenceItem components must be used within PreferenceItemRoot");return e}let eL=(0,o.forwardRef)(({children:e,className:n,defaultOpen:r=!1,disabled:a,noStyle:i,onOpenChange:s,open:l,...c},u)=>{let{noStyle:d}=B(),m=eP(),[h,f]=eB({defaultValue:r,onChange:s,value:l}),g=(0,o.useId)().replace(/:/g,""),p=d||i;return(0,t.jsx)(eM.Provider,{value:{contentId:`c15t-preference-item-content-${g}`,disabled:a,noStyle:p,open:h,setOpen:f,triggerId:`c15t-preference-item-trigger-${g}`},children:(0,t.jsx)("div",{ref:u,className:p?n:m.root({class:n}),"data-disabled":eN(a),"data-slot":"preference-item-root","data-state":eA(h),...c,children:e})})});eL.displayName="PreferenceItemRoot";let eT=(0,o.forwardRef)(({children:e,className:n,noStyle:o,onClick:r,...a},i)=>{let{noStyle:s}=B(),l=eP(),{contentId:c,disabled:u,noStyle:d,open:m,setOpen:h,triggerId:f}=eI();return(0,t.jsx)("button",{ref:i,"aria-controls":c,"aria-disabled":u||void 0,"aria-expanded":m,className:d||s||o?n:l.trigger({class:n}),"data-disabled":eN(u),"data-slot":"preference-item-trigger","data-state":eA(m),disabled:u,id:f,onClick:e=>{u||h(!m),r?.(e)},type:"button",...a,children:e})});function eF(e,n,r){let a=(0,o.forwardRef)(({className:e,noStyle:o,...a},i)=>{let{noStyle:s}=B(),{noStyle:l}=eI(),c=eP();return(0,t.jsx)("div",{ref:i,className:l||s||o?e:c[r]({class:e}),"data-slot":n,...a})});return a.displayName=e,a}eT.displayName="PreferenceItemTrigger";let eD=eF("PreferenceItemLeading","preference-item-leading","leading"),e_=eF("PreferenceItemHeader","preference-item-header","header"),eR=(eF("PreferenceItemMeta","preference-item-meta","meta"),eF("PreferenceItemAuxiliary","preference-item-auxiliary","auxiliary"),eF("PreferenceItemControl","preference-item-control","control")),eO=(0,o.forwardRef)(({className:e,noStyle:n,...o},r)=>{let{noStyle:a}=B(),{noStyle:i}=eI(),s=eP();return(0,t.jsx)("h3",{ref:r,className:i||a||n?e:s.title({class:e}),"data-slot":"preference-item-title",...o})});eO.displayName="PreferenceItemTitle";let eE=(0,o.forwardRef)(({children:e,className:n,innerClassName:o,noStyle:r,...a},i)=>{let{noStyle:s}=B(),l=eP(),{contentId:c,noStyle:u,open:d,triggerId:m}=eI();return(0,t.jsx)("div",{ref:i,"aria-hidden":!d,"aria-labelledby":m,className:l.content({class:n}),"data-slot":"preference-item-content","data-state":eA(d),id:c,inert:!d,...a,children:(0,t.jsx)("div",{className:l.contentViewport(),"data-slot":"preference-item-content-viewport",children:(0,t.jsx)("div",{className:l.contentInner({class:o}),"data-slot":"preference-item-content-inner",children:e})})})});eE.displayName="PreferenceItemContent";let eH={root:"c15t-ui-root-Pd0rf",track:"c15t-ui-track-kWz9_","track-disabled":"c15t-ui-track-disabled-VxwND",trackDisabled:"c15t-ui-track-disabled-VxwND",thumb:"c15t-ui-thumb-mP7_o","thumb-disabled":"c15t-ui-thumb-disabled-fwQIy",thumbDisabled:"c15t-ui-thumb-disabled-fwQIy","root-small":"c15t-ui-root-small-n0CMO",rootSmall:"c15t-ui-root-small-n0CMO","track-small":"c15t-ui-track-small-Ie8K6",trackSmall:"c15t-ui-track-small-Ie8K6","thumb-small":"c15t-ui-thumb-small-uBOCk",thumbSmall:"c15t-ui-thumb-small-uBOCk"},eV=(0,o.forwardRef)(({checked:e,className:n,defaultChecked:o=!1,disabled:r,noStyle:a,onCheckedChange:i,onClick:s,onKeyDown:l,size:c="medium",type:u="button",...d},m)=>{let h=(({size:e="medium"}={})=>{let t={medium:void 0,small:"root-small"},n={medium:void 0,small:"thumb-small"},o={medium:void 0,small:"track-small"};return{root:n=>{let o=[eH.root],r=t[e];
2return r&&o.push(eH[r]),n?.class&&o.push(n.class),o.filter(Boolean).join(" ")},thumb:t=>{let o=[eH.thumb],r=n[e];return r&&o.push(eH[r]),t?.disabled&&o.push(eH["thumb-disabled"]),t?.class&&o.push(t.class),o.filter(Boolean).join(" ")},track:t=>{let n=[eH.track],r=o[e];return r&&n.push(eH[r]),t?.disabled&&n.push(eH["track-disabled"]),t?.class&&n.push(t.class),n.filter(Boolean).join(" ")}}})({size:c}),[f,g]=eB({defaultValue:o,onChange:i,value:e}),p=a?n:h.root({class:n,disabled:r}),b=a?void 0:h.thumb({disabled:r}),y=a?void 0:h.track({disabled:r}),x=f?"checked":"unchecked",v=eN(r),j=()=>{r||g(!f)};return(0,t.jsx)("button",{ref:m,"aria-checked":f,className:p,"data-disabled":v,"data-slot":"switch","data-state":x,disabled:r,onClick:e=>{j(),s?.(e)},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),j()),l?.(e)},role:"switch",type:u,...d,children:(0,t.jsx)("span",{className:y,"data-slot":"switch-track",children:(0,t.jsx)("span",{className:b,"data-slot":"switch-thumb"})})})});eV.displayName="SwitchRoot";let e$=(0,o.createContext)(null),ez=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:eS.accordionTrigger,...n,children:e})),eK=({"data-testid":e,children:n,className:r,noStyle:a,onValueChange:i,style:s,type:l="multiple",value:c,...u})=>{let d=Array.isArray(c)?c:c?[c]:[],m=(0,o.useCallback)((e,t)=>{if("single"===l)return void i?.(t?e:"");let n=t?[...new Set([...d,e])]:d.filter(t=>t!==e);i?.(n)},[i,d,l]);return(0,t.jsx)(e$.Provider,{value:{onToggleItem:m,openValues:d},children:(0,t.jsx)(K,{className:r,"data-testid":e??"consent-widget-accordion",noStyle:a,style:s,themeKey:"consentWidgetAccordion",baseClassName:eS.accordionList,...u,children:n})})},eG=()=>{let{selectedConsents:e,setSelectedConsent:n,getDisplayedConsents:r}=(0,v.useConsentManager)(),{onToggleItem:a,openValues:i}=function(){let e=(0,o.useContext)(e$);if(!e)throw Error("ConsentWidgetAccordion components must be used within ConsentWidgetAccordion");return e}(),s=(0,o.useCallback)((e,t)=>{n(e,t)},[n]);function l(e){return e.replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase())}let{consentTypes:c}=$();return r().map(n=>{let r;return(0,t.jsxs)(eL,{className:eS.accordionItem,"data-testid":`consent-widget-accordion-item-${n.name}`,noStyle:!0,onOpenChange:e=>a(n.name,e),open:i.includes(n.name),children:[(0,t.jsxs)(ez,{"data-testid":`consent-widget-accordion-trigger-${n.name}`,children:[(0,t.jsxs)(eT,{className:eS.accordionTriggerInner,"data-testid":`consent-widget-accordion-trigger-inner-${n.name}`,noStyle:!0,children:[(r=(({title:e,iconPath:n})=>(0,o.forwardRef)((o,r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,ref:r,...o,children:[(0,t.jsx)("title",{children:e}),n]}
2)))({title:i.includes(n.name)?"Close":"Open",iconPath:i.includes(n.name)?(0,t.jsx)("path",{d:"M5 12h14"}):(0,t.jsx)("path",{d:"M5 12h14M12 5v14"})}),(0,t.jsx)(eD,{className:eS.accordionArrow,"data-testid":`consent-widget-accordion-arrow-${n.name}`,noStyle:!0,children:(0,t.jsx)(r,{className:eS.accordionArrowIcon})})),(0,t.jsx)(e_,{noStyle:!0,children:(0,t.jsx)(eO,{className:eS.accordionTitle,noStyle:!0,children:c[n.name]?.title??l(n.name)})})]}),(0,t.jsx)(eR,{className:eS.switch,noStyle:!0,children:(0,t.jsx)(eV,{"aria-label":c[n.name]?.title??l(n.name),checked:e[n.name],onCheckedChange:e=>s(n.name,e),disabled:n.disabled,size:"small","data-testid":`consent-widget-switch-${n.name}`})})]}),(0,t.jsx)(eE,{className:eS.accordionContent,"data-testid":`consent-widget-accordion-content-${n.name}`,children:c[n.name]?.description??n.description})]},n.name)})};(0,o.forwardRef)(({className:e,...n},o)=>(0,t.jsx)(eL,{ref:o,className:[eS.accordionItem,e].filter(Boolean).join(" "),noStyle:!0,...n}));let eW=({children:e,noStyle:n=!1,disableAnimation:o=!1,useProvider:r=!0,uiSource:a})=>{let{translationConfig:i}=(0,v.useConsentManager)(),s=R(i.defaultLanguage),l=_(),c=a??l.uiSource??"widget",u=(0,t.jsx)(K,{baseClassName:eS.widget,"data-testid":"consent-widget-root",themeKey:"consentWidget",dir:s,children:e});return r?(0,t.jsx)(D.Provider,{value:{uiSource:c},children:(0,t.jsx)(P.Provider,{value:{disableAnimation:o,noStyle:n},children:u})}):(0,t.jsx)(D.Provider,{value:{uiSource:c},children:u})},eU=(0,o.forwardRef)(({children:e,...n},o)=>{let{common:r}=$();return(0,t.jsx)(U,{ref:o,size:"small",action:"accept-consent",consentAction:"accept",...n,themeKey:"buttonSecondary","data-testid":"consent-widget-footer-accept-button",closeConsentBanner:!0,closeConsentDialog:!0,children:e??r.acceptAll})}),eZ=((0,o.forwardRef)(({children:e,...n},o)=>{let{common:r}=$();return(0,t.jsx)(U,{ref:o,action:"open-consent-dialog",consentAction:"customize",...n,themeKey:"buttonSecondary","data-testid":"consent-widget-footer-customize-button",children:e??r.customize})}),(0,o.forwardRef)(({children:e,...n},o)=>{let{common:r}=$();return(0,t.jsx)(U,{ref:o,action:"custom-consent",consentAction:"customize",closeConsentDialog:!0,...n,themeKey:"buttonPrimary","data-testid":"consent-widget-footer-save-button",children:e??r.save})})),eX=(0,o.forwardRef)(({children:e,...n},o)=>{let{common:r}=$();return(0,t.jsx)(U,{ref:o,size:"small",action:"reject-consent",consentAction:"reject",...n,themeKey:"buttonSecondary","data-testid":"consent-widget-reject-button",closeConsentBanner:!0,closeConsentDialog:!0,children:e??r.rejectAll})}),eY=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:eS.footer,"data-testid":"consent-widget-footer",...n,themeKey:"consentWidgetFooter",children:e})),eq=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:eS.footerSubGroup,"data-testid":"consent-widget-footer-sub-group",...n,themeKey:"consentWidgetFooterSubGroup",children:e}));function eJ(e,n){let{key:o,consentAction:r,...a}=n;switch(e){case"accept":return(0,t.jsx)(eU,{consentAction:r,"data-testid":"consent-widget-footer-accept-button",...a},o);case"reject":return(0,t.jsx)(eX,{consentAction:r,"data-testid":"consent-widget-reject-button",...a},o);case"customize":return(0,t.jsx)(eZ,{consentAction:r,"data-testid":"consent-widget-footer-save-button",...a},o);default:throw Error(`Unhandled consent widget action: ${e}`)}}function eQ({renderAction:e}){let{dialog:n}=ey();return(0,t.jsx)(eC,{state:n,Footer:eY,FooterSubGroup:eq,classNames:{footerFill:eS.footerFill,footerColumn:eS.footerColumn,footerSubGroupFill:eS.footerSubGroupFill,footerSubGroupColumn:eS.footerSubGroupColumn},renderAction:e,renderDefaultAction:eJ})}let e0=({hideBranding:e,noStyle:n,disableAnimation:r,scrollLock:a,trapFocus:i,...s})=>{let[l,c]=(0,o.useState)(""),u=B();return(0,t.jsxs)(eW,{...{noStyle:n??u.noStyle,disableAnimation:r??u.disableAnimation,scrollLock:a??u.scrollLock,trapFocus:i??u.trapFocus,...s},children:[(0,t.jsx)(eK,{type:"single",value:l,onValueChange:e=>{c(Array.isArray(e)?e[0]??"":e??"")},children:(0,t.jsx)(eG,{})}),(0,t.jsx)(eQ,{}),(0,t.jsx)(eg,{hideBranding:e??!0,variant:"dialog-tag",themeKey:"consentWidgetTag","data-testid":"consent-widget-branding"})]})},e1=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-card-OCFER",...n,themeKey:"consentDialogCard","data-testid":"consent-dialog-card",children:e})),e5=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-header-BhjKW",...n,themeKey:"consentDialogHeader","data-testid":"consent-dialog-header",children:e})),e3=(0,o.forwardRef)(({children:e,...n},o)=>{let{consentManagerDialog:r}=$();return(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-title-nqdol",themeKey:"consentDialogTitle",...n,id:"consent-dialog-title","data-testid":"consent-dialog-title",children:e??r.title})}),e2=(0,o.forwardRef)(({children:e,legalLinks:n,asChild:o,...r},a)=>{let{consentManagerDialog:i}=$();return o?(0,t.jsx)(K,{ref:a,baseClassName:ea,themeKey:"consentDialogDescription",asChild:o,...r,children:e??i.description}):(0,t.jsxs)(K,{ref:a,baseClassName:ea,themeKey:"consentDialogDescription",asChild:o,...r,"data-testid":"consent-dialog-description",children:[e??i.description,(0,t.jsx)(Z,{links:n,themeKey:"consentDialogContent",testIdPrefix:"consent-dialog-legal-link"})]})}),e7=(0,o.forwardRef)(({children:e,...n},o)=>(0,t.jsx)(K,{ref:o,baseClassName:"c15t-ui-content-lXTS6",themeKey:"consentDialogContent","data-testid":"consent-dialog-content",...n,children:e})),e4=(0,o.forwardRef)(({children:e,themeKey:n,hideBranding:o,"data-testid":r,...a},i)=>(0,t.jsx)(K,{ref:i,baseClassName:I("c15t-ui-footer-wtxGp",null==e&&!o&&"c15t-ui-brandingFooter-HAeuI"),"data-testid":r??"consent-dialog-footer",...a,themeKey:n??"consentDialogFooter",children:e??(0,t.jsx)(e6,{hideBranding:o??!1,variant:"dialog-tag",themeKey:"consentDialogTag","data-testid":"consent-dialog-branding"})}));function e6(e){return(0,t.jsx)(eg,{...e})}let e8=({noStyle:e,legalLinks:n,hideBranding:o})=>(0,t.jsxs)(e1,{children:[(0,t.jsxs)(e5,{children:[(0,t.jsx)(e3,{}),(0,t.jsx)(e2,{legalLinks:n})]}),(0,t.jsx)(e7,{children:(0,t.jsx)(e0,{hideBranding:!0,noStyle:e,useProvider:!0})}),(0,t.jsx)(e6,{hideBranding:o??!1,variant:"dialog-tag",themeKey:"consentDialogTag","data-testid":"consent-dialog-branding"})]}),e9=(0,o.forwardRef)(({className:e,noStyle:n,style:r,...a},i)=>{let s,l,{activeUI:c}=(0,v.useConsentManager)(),{disableAnimation:u,noStyle:d}=B(),m="dialog"===c,[h,f]=(0,o.useState)(!1);(0,o.useEffect)(()=>
2{if(m)f(!0);else if(u)f(!1);else{let e=setTimeout(()=>{f(!1)},Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--consent-dialog-animation-duration")||"200",10));return()=>clearTimeout(e)}},[m,u]),"string"==typeof r?s=r:r&&"className"in r&&(s=r.className);let g=I(s,e);"object"==typeof r&&null!==r&&(l="style"in r||"className"in r?r.style:r);let p=M("consentDialogOverlay",{baseClassName:!(d||n)&&"c15t-ui-overlay-zmCXe",className:g,noStyle:d||n}),b=I(p.className,d||n||u?void 0:h?"c15t-ui-overlayVisible-csRAE":"c15t-ui-overlayHidden-zcSPn");return(0,t.jsx)("div",{ref:i,...a,role:"presentation","aria-hidden":"true",style:{...p.style,...l},className:b,"data-testid":"consent-dialog-overlay"})});e9.displayName="ConsentDialogOverlay";let te=({children:e,open:n,models:r=["opt-in","opt-out"],noStyle:a,disableAnimation:i,scrollLock:s,trapFocus:l=!0,overlay:c,uiSource:u,className:d,style:m,...h})=>{let f=B(),g=i??f.disableAnimation??!1,p=a??f.noStyle??!1,{activeUI:b,translationConfig:y,model:x,policyDialog:j}=(0,v.useConsentManager)(),C=s??j.scrollLock??!0,k=l??f.trapFocus??!0,S=R(y.defaultLanguage),N=r.includes(x)&&(n??"dialog"===b),[A,L]=(0,o.useState)(!1),_=(0,o.useRef)(null),O=(0,o.useRef)(null),[E,V]=(0,o.useState)(!1);(0,o.useEffect)(()=>{V(!0)},[]);let $=f.theme?.motion?.duration?.normal;(0,o.useEffect)(()=>{if(N)L(!0);else if(g)L(!1);else{let e=setTimeout(()=>L(!1),Number.parseInt(($||"200ms").replace("ms",""),10));return()=>clearTimeout(e)}},[N,g,$]),H(N&&k,_),w(N&&C);let z=M("consentDialog",{baseClassName:void 0,className:I("c15t-ui-root-SIREQ",!g&&(A?"c15t-ui-dialogVisible-kshSO":"c15t-ui-dialogHidden-Nkf8B"),d),style:m,noStyle:p}),K=T(z),G={disableAnimation:g,noStyle:p,scrollLock:C,trapFocus:k,theme:f.theme},W=(0,t.jsx)(D.Provider,{value:{uiSource:u??"dialog"},children:(0,t.jsx)(P.Provider,{value:G,children:N&&(0,t.jsxs)(t.Fragment,{children:[!1===c?null:c??(0,t.jsx)(e9,{}),(0,t.jsx)("dialog",{ref:_,...h,...K,className:z.className,"aria-labelledby":"consent-dialog-title",tabIndex:-1,dir:S,"data-testid":"consent-dialog-root",open:!0,children:(0,t.jsx)("div",{ref:O,className:p?void 0:I("c15t-ui-container-kzMoS",g?void 0:A?"c15t-ui-contentVisible-JdLax":"c15t-ui-contentHidden-b7Eem"),children:e})})]})})});return E?(0,F.createPortal)(W,document.body):null};var tt=e.i(302598);let tn="c15t-trigger-position";function to(){return{isDragging:!1,startX:0,startY:0,currentX:0,currentY:0}}let tr=(0,o.createContext)(null);function ta(){let e=(0,o.useContext)(tr);if(!e)throw Error("ConsentDialogTrigger components must be used within a ConsentDialogTrigger.Root");return e}function ti({children:e,defaultPosition:n="bottom-right",persistPosition:r=!0,showWhen:a="after-consent",onPositionChange:i,onClick:s}){let{branding:l}=(0,v.useConsentManager)(),{isVisible:c,openDialog:u}=(0,tt.useConsentDialogTrigger)({showWhen:a,onClick:s}),{corner:d,isDragging:m,isSnapping:h,wasDragged:f,handlers:g,dragStyle:p}=function(e={}){let{defaultPosition:t="bottom-right",persistPosition:n=!0,onPositionChange:r}=e,[a,i]=(0,o.useState)(()=>{if(n&&"u">typeof window){let e=function(e=tn){try{if("u">typeof localStorage){let t=localStorage.getItem(e);if("bottom-right"===t||"top-right"===t||"bottom-left"===t||"top-left"===t)return t}}catch{}return null}();if(e)return e}return t}),[s,l]=(0,o.useState)(to),[c,u]=(0,o.useState)(!1),d=(0,o.useRef)(!1),m=(0,o.useRef)(null),h=(0,o.useRef)(0),f=(0,o.useCallback)(e=>{i(e),n&&function(e,t=tn){try{"u">typeof localStorage&&localStorage.setItem(t,e)}catch{}}(e),r?.(e)},[n,r]),g=(0,o.useCallback)(e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),m.current=e.target,d.current=!1,h.current=Date.now(),l({isDragging:!0,startX:e.clientX,startY:e.clientY,currentX:e.clientX,currentY:e.clientY}),u(!1))},[]),p=(0,o.useCallback)(e=>{l(t=>{if(!t.isDragging)return t;let n=Math.abs(e.clientX-t.startX),o=Math.abs(e.clientY-t.startY);return(n>5||o>5)&&(d.current=!0),{...t,currentX:e.clientX,currentY:e.clientY}})},[]),b=(0,o.useCallback)(e=>{m.current&&m.current.releasePointerCapture(e.pointerId),l(t=>{if(!t.isDragging)return t;if(d.current){let n=e.clientX-t.startX,o=e.clientY-t.startY,r=Date.now()-h.current,i=function(e,t,n,o={}){let{threshold:r=30,velocityX:a=0,velocityY:i=0}=o,s=Math.abs(t),l=Math.abs(n),c=Math.abs(a),u=Math.abs(i),d=s>=r||c>=.15&&s>=10,m=l>=r||u>=.15&&l>=10;if(!d&&!m)return e;let h=e.includes("bottom"),f=e.includes("right"),g=h,p=f;return(d&&(p=t>0),m&&(g=n>0),g&&p)?"bottom-right":g&&!p?"bottom-left":!g&&p?"top-right":"top-left"}(a,n,o,{velocityX:r>0?n/r:0,velocityY:r>0?o/r:0});i!==a&&(u(!0),setTimeout(()=>u(!1),300),f(i))}return to()})},[a,f]),y=(0,o.useCallback)(e=>{m.current&&m.current.releasePointerCapture(e.pointerId),l(to())},[]),x=s.isDragging?{transform:`translate(${s.currentX-s.startX}px, ${s.currentY-s.startY}px)`,transition:"none"}:{},v=(0,o.useCallback)(()=>d.current,[]);return{corner:a,isDragging:s.isDragging,isSnapping:c,wasDragged:v,handlers:{onPointerDown:g,onPointerMove:p,onPointerUp:b,onPointerCancel:y},dragStyle:x}}({defaultPosition:n,persistPosition:r,onPositionChange:i}),[b,y]=(0,o.useState)(!1);return((0,o.useEffect)(()=>(y(!0),()=>y(!1)),[]),b&&c)?(0,F.createPortal)((0,t.jsx)(tr.Provider,{value:{corner:d,isDragging:m,isSnapping:h,wasDragged:f,handlers:g,dragStyle:p,branding:l,openDialog:u,isVisible:c},children:e}),document.body):null}ti.displayName="ConsentDialogTrigger.Root";let ts={"bottom-right":"c15t-ui-bottomRight-uY0Me","bottom-left":"c15t-ui-bottomLeft-w0x9m","top-right":"c15t-ui-topRight-yHVfA","top-left":"c15t-ui-topLeft-wGrIZ"},tl={sm:"c15t-ui-sm-meEur",md:"c15t-ui-md-lnKl5",lg:"c15t-ui-lg-vVljq"},tc=(0,o.forwardRef)(({children:e,size:n="md",ariaLabel:o="Open privacy settings",className:r,noStyle:a=!1},i)=>{let{corner:s,isDragging:l,isSnapping:c,wasDragged:u,handlers:d,dragStyle:m,openDialog:h}=ta(),f=()=>{u()||h()};return(0,t.jsx)("button",{ref:i,type:"button",className:a?r:["c15t-ui-trigger-BryZ5",ts[s],tl[n],l&&"c15t-ui-dragging-HLEr2",c&&"c15t-ui-snapping-dPWx_",r].filter(
2Boolean).join(" "),"data-c15t-trigger":"true","aria-label":o,onClick:f,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),f())},style:m,...d,children:e})});function tu({icon:e="branding",className:n,noStyle:r=!1}){let a,{branding:i}=ta(),s=r?n:["c15t-ui-icon-QeBf0",n].filter(Boolean).join(" ");if((0,o.isValidElement)(e))return(0,t.jsx)("span",{className:s,children:e});switch(e){case"fingerprint":a=(0,t.jsx)(eu,{});break;case"settings":a=(0,t.jsx)(ed,{});break;default:a=(0,t.jsx)(ef,{branding:i})}return(0,t.jsx)("span",{className:s,children:a})}function td({children:e,className:n,noStyle:o=!1}){return(0,t.jsx)("span",{className:o?n:["c15t-ui-text-Q2Rdp",n].filter(Boolean).join(" "),children:e})}function tm({icon:e="branding",defaultPosition:n="bottom-right",persistPosition:o=!0,ariaLabel:r="Open privacy settings",showWhen:a="always",size:i="md",className:s,noStyle:l=!1,onClick:c,onPositionChange:u}){return(0,t.jsx)(ti,{defaultPosition:n,persistPosition:o,showWhen:a,onClick:c,onPositionChange:u,children:(0,t.jsx)(tc,{size:i,ariaLabel:r,className:s,noStyle:l,children:(0,t.jsx)(tu,{icon:e,noStyle:l})})})}tc.displayName="ConsentDialogTrigger.Button",tu.displayName="ConsentDialogTrigger.Icon",td.displayName="ConsentDialogTrigger.Text",tm.displayName="ConsentDialogTrigger";let th=Object.assign(tm,{Root:ti,Button:tc,Icon:tu,Text:td}),tf=Object.assign(({open:e,noStyle:n,disableAnimation:o,scrollLock:r,trapFocus:a=!0,hideBranding:i,legalLinks:s,showTrigger:l=!1,models:c,uiSource:u})=>{let{activeUI:d,policyDialog:m}=(0,v.useConsentManager)(),h={open:e??"dialog"===d,...ep({noStyle:n,disableAnimation:o,scrollLock:r??m.scrollLock??!0,trapFocus:a}),models:c,uiSource:u},f=!0===l?{}:!1===l?null:l;return(0,t.jsxs)(t.Fragment,{children:[f&&(0,t.jsx)(th,{...f}),(0,t.jsx)(te,{...h,children:(0,t.jsx)(e8,{noStyle:h.noStyle,legalLinks:s,hideBranding:i})})]})},{Card:e1,Header:e5,HeaderTitle:e3,HeaderDescription:e2,Content:e7,Footer:e4,ConsentCustomizationCard:e8,ConsentDialogFooter:e4,ConsentDialogHeader:e5,ConsentDialogHeaderTitle:e3,ConsentDialogHeaderDescription:e2,ConsentDialogContent:e7,Overlay:e9,Root:te});function tg(e,t,n){return Math.min(Math.max(e,t),n)}function tp(e){if(!e.trim().endsWith("%"))return null;let t=Number.parseFloat(e);return Number.isFinite(t)?tg(t/100,0,1):null}function tb(e){let t=tp(e);if(null!==t)return Math.round(255*t);let n=Number.parseFloat(e);return Number.isFinite(n)?tg(n,0,255):null}function ty(e){let t=e.split("/")[0]??"";return t.includes(",")?t.split(/\s*,\s*/):t.trim().split(/\s+/)}function tx(e){return function(e){let t=e.trim(),n=t.startsWith("#")?t.slice(1):t;if(!/^[\da-f]{3,4}$|^[\da-f]{6}$|^[\da-f]{8}$/i.test(n))return null;let o=n.length<=4?n.slice(0,3).split("").map(e=>`${e}${e}`).join(""):n.slice(0,6);return{r:Number.parseInt(o.slice(0,2),16),g:Number.parseInt(o.slice(2,4),16),b:Number.parseInt(o.slice(4,6),16)}}(e)??function(e){let t=e.trim().match(/^rgba?\((.+)\)$/i);if(!t)return null;let n=ty(t[1]??"").slice(0,3);if(3!==n.length)return null;let[o,r,a]=n.map(tb);return[o,r,a].some(e=>null===e)?null:{r:o??0,g:r??0,b:a??0}}(e)??function(e){let t,n,o=e.trim().match(/^hsla?\((.+)\)$/i);if(!o)return null;let r=ty(o[1]??"").slice(0,3);if(3!==r.length)return null;let a=Number.isFinite(n=Number.parseFloat(t=(r[0]??"").trim().toLowerCase()))?t.endsWith("turn")?360*n:t.endsWith("rad")?180*n/Math.PI:t.endsWith("grad")?.9*n:n:null,i=tp(r[1]??""),s=tp(r[2]??"");return null===a||null===i||null===s?null:function(e,t,n){let o=tg(t,0,1),r=tg(n,0,1);if(0===o){let e=Math.round(255*r);return{r:e,g:e,b:e}}let a=(1-Math.abs(2*r-1))*o,i=(e%360+360)%360/60,s=a*(1-Math.abs(i%2-1)),l=0,c=0,u=0;i>=0&&i<1?(l=a,c=s):i>=1&&i<2?(l=s,c=a):i>=2&&i<3?(c=a,u=s):i>=3&&i<4?(c=s,u=a):i>=4&&i<5?(l=s,u=a):(l=a,u=s);let d=r-a/2;return{r:Math.round((l+d)*255),g:Math.round((c+d)*255),b:Math.round((u+d)*255)}}(a,i,s)}(e)}function tv(e){let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4}function tj(e){return .2126*tv(e.r)+.7152*tv(e.g)+.0722*tv(e.b)}function tC(e,t){let n=tj(e),o=tj(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}let tw={"--c15t-primary":(e,t)=>
2t?.primary,"--c15t-primary-hover":(e,t)=>t?.primaryHover,"--c15t-surface":(e,t)=>t?.surface,"--c15t-surface-hover":(e,t)=>t?.surfaceHover,"--c15t-border":(e,t)=>t?.border,"--c15t-border-hover":(e,t)=>t?.borderHover,"--c15t-text":(e,t)=>t?.text,"--c15t-text-muted":(e,t)=>t?.textMuted,"--c15t-text-on-primary":(e,t)=>t?.textOnPrimary??(t?.primary?function(e,{light:t="#ffffff",dark:n="#000000"}={}){let o=tx(e),r=tx(t),a=tx(n);return o&&r&&a&&tC(a,o)>=tC(r,o)?n:t}(t.primary):void 0),"--c15t-overlay":(e,t)=>t?.overlay,"--c15t-switch-track":(e,t)=>t?.switchTrack,"--c15t-switch-track-active":(e,t)=>t?.switchTrackActive,"--c15t-switch-thumb":(e,t)=>t?.switchThumb,"--c15t-font-family":e=>e.typography?.fontFamily,"--c15t-font-size-sm":e=>e.typography?.fontSize?.sm,"--c15t-font-size-base":e=>e.typography?.fontSize?.base,"--c15t-font-size-lg":e=>e.typography?.fontSize?.lg,"--c15t-font-weight-normal":e=>e.typography?.fontWeight?.normal?String(e.typography.fontWeight.normal):void 0,"--c15t-font-weight-medium":e=>e.typography?.fontWeight?.medium?String(e.typography.fontWeight.medium):void 0,"--c15t-font-weight-semibold":e=>e.typography?.fontWeight?.semibold?String(e.typography.fontWeight.semibold):void 0,"--c15t-line-height-tight":e=>e.typography?.lineHeight?.tight,"--c15t-line-height-normal":e=>e.typography?.lineHeight?.normal,"--c15t-line-height-relaxed":e=>e.typography?.lineHeight?.relaxed,"--c15t-space-xs":e=>e.spacing?.xs,"--c15t-space-sm":e=>e.spacing?.sm,"--c15t-space-md":e=>e.spacing?.md,"--c15t-space-lg":e=>e.spacing?.lg,"--c15t-space-xl":e=>e.spacing?.xl,"--c15t-radius-sm":e=>e.radius?.sm,"--c15t-radius-md":e=>e.radius?.md,"--c15t-radius-lg":e=>e.radius?.lg,"--c15t-radius-full":e=>e.radius?.full,"--c15t-shadow-sm":e=>e.shadows?.sm,"--c15t-shadow-md":e=>e.shadows?.md,"--c15t-shadow-lg":e=>e.shadows?.lg,"--c15t-duration-fast":e=>e.motion?.duration?.fast,"--c15t-duration-normal":e=>e.motion?.duration?.normal,"--c15t-duration-slow":e=>e.motion?.duration?.slow,"--c15t-easing":e=>e.motion?.easing,"--c15t-easing-out":e=>e.motion?.easingOut,"--c15t-easing-in-out":e=>e.motion?.easingInOut,"--c15t-easing-spring":e=>e.motion?.easingSpring};function tk(e,t=!1){let n={},o=t?{...e.colors,...e.dark}:e.colors;for(let[t,r]of Object.entries(tw)){let a=r(e,o);a&&(n[t]=a)}return n}var tS=e.i(354038);let tN={colors:{primary:"hsl(228, 100%, 60%)",primaryHover:"hsl(228, 100%, 55%)",surface:"hsl(0, 0%, 100%)",surfaceHover:"hsl(0, 0%, 98%)",border:"hsl(0, 0%, 90%)",borderHover:"hsl(0, 0%, 85%)",text:"hsl(0, 0%, 10%)",textMuted:"hsl(0, 0%, 40%)",textOnPrimary:"hsl(0, 0%, 100%)",overlay:"hsla(0, 0%, 0%, 0.5)",switchTrack:"hsl(0, 0%, 85%)",switchTrackActive:"hsl(228, 100%, 60%)",switchThumb:"hsl(0, 0%, 100%)"},dark:{primary:"hsl(228, 100%, 70%)",primaryHover:"hsl(228, 100%, 65%)",surface:"hsl(0, 0%, 7%)",surfaceHover:"hsl(0, 0%, 10%)",border:"hsl(0, 0%, 20%)",borderHover:"hsl(0, 0%, 25%)",text:"hsl(0, 0%, 93%)",textMuted:"hsl(0, 0%, 60%)",textOnPrimary:"hsl(0, 0%, 100%)",overlay:"hsla(0, 0%, 0%, 0.7)",switchTrack:"hsl(0, 0%, 25%)",switchTrackActive:"hsl(228, 100%, 70%)",switchThumb:"hsl(0, 0%, 93%)"},typography:{fontFamily:"system-ui, -apple-system, sans-serif",fontSize:{sm:"0.875rem",base:"1rem",lg:"1.125rem"},fontWeight:{normal:400,medium:500,semibold:600},lineHeight:{tight:"1.25",normal:"1.5",relaxed:"1.75"}},spacing:{xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem"},radius:{sm:"0.25rem",md:"0.5rem",lg:"0.75rem",full:"9999px"},shadows:{sm:"0 1px 2px hsla(0, 0%, 0%, 0.05)",md:"0 4px 12px hsla(0, 0%, 0%, 0.08)",lg:"0 8px 24px hsla(0, 0%, 0%, 0.12)"},consentActions:{},motion:{duration:{fast:"80ms",normal:"150ms",slow:"200ms"},easing:"cubic-bezier(0.4, 0, 0.2, 1)",easingOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",easingInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",easingSpring:"cubic-bezier(0.34, 1.56, 0.64, 1)"}},tA=["onBannerFetched","onConsentSet","onConsentChanged","onError","onBeforeConsentRevocationReload"];function tP(e){return{onBannerFetched:e?.onBannerFetched,onConsentSet:e?.onConsentSet,onConsentChanged:e?.onConsentChanged,onError:e?.onError,onBeforeConsentRevocationReload:e?.onBeforeConsentRevocationReload}}function tB({children:e,options:n}){var r;let{consentManager:a,consentStore:i}=(0,o.useMemo)(()=>(0,m.getOrCreateConsentRuntime)(n,{pkg:"@c15t/react",version:"2.1.0"}),[n]),[s,l]=(0,o.useState)(()=>i?i.getState():{}),c=(0,o.useRef)(!1),u=(0,o.useRef)(tP(n.callbacks));(0,o.useEffect)(()=>
2{if(!i)return;let e=i.subscribe(l);if(!c.current){let e=i.getState();(0,o.startTransition)(()=>{l(t=>t!==e?(c.current=!0,e):(c.current=!0,t))})}return e},[i]),(0,o.useEffect)(()=>{if(!i)return;let e=i.getState().overrides??{},t=n.overrides??{};(e.country!==t.country||e.region!==t.region||e.language!==t.language||e.gpc!==t.gpc)&&i.getState().setOverrides({country:t.country,region:t.region,language:t.language,gpc:t.gpc})},[i,n.overrides?.country,n.overrides?.region,n.overrides?.language,n.overrides?.gpc]),(0,o.useEffect)(()=>{if(!i)return;let e=tP(n.callbacks),t=u.current;tA.some(n=>t[n]!==e[n])&&(i.setState(t=>({callbacks:{...t.callbacks,...e}})),u.current=e)},[i,n.callbacks?.onBannerFetched,n.callbacks?.onConsentSet,n.callbacks?.onConsentChanged,n.callbacks?.onError,n.callbacks?.onBeforeConsentRevocationReload]);let d=(0,o.useMemo)(()=>{let{theme:e={},noStyle:t,disableAnimation:o,trapFocus:r=!0,colorScheme:a}=n;return{theme:function e(t,n){if(!n||"object"!=typeof n)return t;let o={...t};for(let t in n)n[t]&&"object"==typeof n[t]&&!Array.isArray(n[t])?o[t]=e(o[t]||{},n[t]):o[t]=n[t];return o}(tN,e),noStyle:t,disableAnimation:o,trapFocus:r,colorScheme:a}},[n]),h=(0,o.useMemo)(()=>{var e;let t,n,o,r;return t=tk(e=d.theme,!1),n=tk(e,!0),o=Object.entries(t).filter(([,e])=>void 0!==e).map(([e,t])=>`${e}: ${t};`).join("\n"),r=Object.entries(n).filter(([,e])=>void 0!==e).map(([e,t])=>`${e}: ${t};`).join("\n"),` 3:root, .c15t-theme-root { 4${o} 5} 6 7:root.dark, .dark .c15t-theme-root, :root.c15t-dark, .c15t-dark .c15t-theme-root { 8${r} 9} 10 11/* 12 * Utility class to disable transitions during theme switching. 13 * Apply this class to the root element before switching themes, 14 * then remove it after a short delay to prevent flash of 15 * animated content during the color scheme change. 16 * 17 * Example usage: 18 * document.documentElement.classList.add('c15t-no-transitions'); 19 * // Switch theme... 20 * requestAnimationFrame(() => { 21 * document.documentElement.classList.remove('c15t-no-transitions'); 22 * }); 23 */ 24.c15t-no-transitions, 25.c15t-no-transitions *, 26.c15t-no-transitions *::before, 27.c15t-no-transitions *::after { 28 transition: none !important; 29 animation: none !important; 30} 31 `.trim()},[d.theme]);r=n.colorScheme,(0,o.useEffect)(()=>{if(null!==r){let e=window.matchMedia("(prefers-color-scheme: dark)"),t=document.documentElement.classList.contains("dark"),n=e=>{document.documentElement.classList.toggle("c15t-dark",e.matches)},o=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(r){case"light":document.documentElement.classList.remove("c15t-dark");break;case"dark":document.documentElement.classList.add("c15t-dark");break;case"system":n(e),e.addEventListener("change",n);break;default:document.documentElement.classList.toggle("c15t-dark",t),o.observe(document.documentElement,{attributes:!0})}return()=>{e.removeEventListener("change",n),o.disconnect()}}},[r]);let f=(0,o.useMemo)(()=>{if(!i)throw Error("Consent store must be initialized before creating context value");return{state:s,store:i,manager:a}},[s,i,a]);return(0,t.jsx)(tS.ConsentStateContext.Provider,{value:f,children:(0,t.jsxs)(A.Provider,{value:d,children:[h?(0,t.jsx)("style",{id:"c15t-theme",dangerouslySetInnerHTML:{__html:h}}):null,e]})})}function tM({marketing:e,measurement:t}){let n=e=>e?"granted":"denied";return{ad_storage:n(e),ad_user_data:n(e),ad_personalization:n(e),analytics_storage:n(t)}}JSON.stringify({...tM({marketing:!1,measurement:!1}),wait_for_update:2e3});let tI={primary:"oklch(from var(--ugg-primary) 0.47 0.1 h)",primaryHover:"oklch(from var(--ugg-primary) 0.53 0.1 h)",surface:"var(--bg)",surfaceHover:"oklch(from var(--bg) calc(l + 0.04) c h)",border:"oklch(1 0 0 / 12%)",borderHover:"oklch(1 0 0 / 25%)",text:"var(--fg-header)",textMuted:"var(--fg)",textOnPrimary:"oklch(1 0 0)",overlay:"oklch(0 0 0 / 40%)",switchTrack:"oklch(1 0 0 / 15%)",switchTrackActive:"var(--ugg-primary)"},tL="rgba(79, 200, 224, 0.25)",tT={color:"oklch(1 0 0)",fontWeight:700,border:"none","--button-neutral-hover-tint":"oklch(from var(--bg) calc(l + 0.07) c h)"},tF={fontFamily:"var(--sts-font)",fontWeight:500,letterSpacing:"-0.39px"},tD={colors:tI,dark:tI,typography:{fontFamily:'"Open Sans", sans-serif'},radius:{md:"3px",lg:"12px"},shadows:{lg:"0 8px 24px oklch(0 0 0 / 50%)"},consentActions:{accept:{variant:"primary",mode:"filled"},reject:{variant:"primary",mode:"filled"},customize:{variant:"neutral",mode:"stroke"}},slots:{consentBanner:{style:{left:"auto",top:"auto",right:0,bottom:0,alignItems:"flex-end"}},consentBannerCard:{style:{border:`1px solid ${tL}`}},consentBannerTitle:{style:{...tF,fontSize:"18px"}},consentDialogCard:{style:{borderColor:tL}},consentDialogTitle:{style:{...tF,fontSize:"20px"}},buttonPrimary:{style:tT},buttonSecondary:{style:tT},consentWidget:{style:{"--consent-widget-font-family":"var(--c15t-font-family)"}},consentBannerOverlay:{style:{backdropFilter:"blur(5px)"}},consentDialogOverlay:{style:{backdropFilter:"blur(5px)"}}}};function t_({children:e}){return(0,t.jsxs)(tB,{options:{mode:"offline",storageConfig:{crossSubdomain:!0},consentCategories:["necessary","marketing","measurement"],theme:tD,offlinePolicy:{policyPacks:[h.policyPackPresets.europeOptIn(),h.policyPackPresets.californiaOptOut(),h.policyPackPresets.quebecOptIn(),h.policyPackPresets.worldNoBanner()]},callbacks:{onConsentSet:({preferences:e})=>{var t;t={marketing:!!e.marketing,measurement:!!e.measurement},window.gtag?.("consent","update",tM(t))}}},children:[(0,t.jsx)(tR,{}),e]})}function tR(){let{setOverrides:e}=(0,v.useConsentManager)(),[n,r]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{let t=!1;return fetch("/api/geo").then(e=>e.json()).then(({country:n,region:o})=>{t||(n&&e({country:n,...o?{region:o}:{}}),r(!0))}).catch(()=>{t||r(!0)}),()=>{t=!0}},[e]),n)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ek,{hideBranding:!0}),(0,t.jsx)(tf,{hideBranding:!0})]}):null}function tO({children:e}){return(0,t.jsx)(t_,{children:e})}var tE=e.i(822596),tH=e.i(48501),tV=e.i(428176),t$=e.i(6705),tz=e.i(396849);function tK({children:e}){let{activeUI:n}=(0,v.useConsentManager)();return(0,t.jsx)(a.BottomStackProvider,{hidden:"none"!==n,children:e})}function tG({lang:e,children:r}){let a=(0,n.useRouter)(),i=(0,o.useCallback)(t=>{let n=(e,t)=>e===t||e.startsWith(`${t}?`);if(!t.startsWith("/")||n(t,"/login")||n(t,"/signup"))return t;let{path:o,lang:r}=(0,tH.splitLang)(t);return r?t:`/${e}${o}`},[e]),s=(0,o.useCallback)((e,t)=>{let n=t?.scroll??!0;a.push(i(e),{scroll:n})},[a,i]),l=(0,o.useCallback)(e=>{e.startsWith("/")&&a.prefetch(i(e))},[a,i]);return(0,t.jsx)(tz.I18nProvider,{locale:e,children:(0,t.jsx)(tz.RouterProvider,{navigate:s,useHref:i,children:(0,t.jsx)(tz.PrefetchProvi
31der,{value:l,children:r})})})}e.s(["ClientRoot",0,function({lang:e,children:n}){return(0,tE.useInitI18n)(e),tV.Analytics.useTrackGlobalState(),(0,tV.useTrackPageViews)(),(0,o.useEffect)(()=>{r.default.initialize({gtmId:t$.GTM_CONTAINER_ID})},[]),(0,t.jsx)(c,{children:(0,t.jsx)(tG,{lang:e,children:(0,t.jsx)(tO,{children:(0,t.jsx)(tK,{children:(0,t.jsx)(i.FeatureNoticeProvider,{children:n})})})})})}],190390)},117158,e=>{"use strict";var t=e.i(65563),n=e.i(126801),o=e.i(387299);let r=(0,n.default)(()=>e.A(801436).then(e=>e.OgImagePreviewPanel),{loadableGenerated:{modules:[708483]}});e.s(["OgImagePreviewButton",0,function(){return(0,o.useIsFeatureEnabled)("web-og-preview")?(0,t.jsx)(r,{}):null}])},426243,e=>{e.v({active:"Nav-module-scss-module__51PZ8a__active",downloadItem:"Nav-module-scss-module__51PZ8a__downloadItem",dropdownItemActive:"Nav-module-scss-module__51PZ8a__dropdownItemActive",dropdownPopover:"Nav-module-scss-module__51PZ8a__dropdownPopover",dropdownTrigger:"Nav-module-scss-module__51PZ8a__dropdownTrigger",header:"Nav-module-scss-module__51PZ8a__header",home:"Nav-module-scss-module__51PZ8a__home",homeContainer:"Nav-module-scss-module__51PZ8a__homeContainer",nav:"Nav-module-scss-module__51PZ8a__nav",newTag:"Nav-module-scss-module__51PZ8a__newTag",pageLinks:"Nav-module-scss-module__51PZ8a__pageLinks",pageLinksContainer:"Nav-module-scss-module__51PZ8a__pageLinksContainer",pageLinksScroller:"Nav-module-scss-module__51PZ8a__pageLinksScroller",user:"Nav-module-scss-module__51PZ8a__user"})},551191,e=>{"use strict";var t=e.i(65563);e.i(745558);var n=e.i(426243),o=e.i(598034),r=e.i(396849);e.s(["NavDropdown",0,({label:e,items:a})=>{let i=(0,o.useNavMatches)();return(0,t.jsxs)(r.MenuTrigger,{popoverPlacement:"bottom start",popoverClassName:n.default.dropdownPopover,children:[(0,t.jsx)(r.Button,{variant:"text",color:"white",icon:"fal fa-chevron-down",noIconShadow:!0,className:a.some(e=>i(e.href,e.altActive))?`${n.default.dropdownTrigger} ${n.default.active}`:n.default.dropdownTrigger,children:e}),(0,t.jsx)(r.Menu,{children:a.map(e=>(0,t.jsx)(r.MenuItem,{href:e.href,className:i(e.href,e.altActive)?n.default.dropdownItemActive:void 0,children:e.label},e.href))})]})}])},400082,e=>{"use strict";var t=e.i(65563);e.i(745558);var n=e.i(426243),o=e.i(598034),r=e.i(396849);e.s(["NavLink",0,({href:e,altActive:a,children:i})=>{let s=(0,o.useNavMatches)();return(0,t.jsx)(r.Link,{href:e,className:s(e,a)?n.default.active:void 0,children:i})}])},598034,e=>{"use strict";var t=e.i(65563),n=e.i(745558),o=e.i(822596);let r=(0,n.createContext)(null);function a(e,t,n){return n===`/${t}`||"/"===n?"/"===e||""===e||e===`/${t}`:n===e||n===`/${t}${e}`||e.startsWith(`${n}/`)||`/${t}${e}`.startsWith(`${n}/`)}e.s(["NavPathnameProvider",0,function({children:e}){let{pathname:a,lang:i}=(0,o.useI18nPathname)(),s=(0,n.useMemo)(()=>({pathname:a,lang:i}),[a,i]);return(0,t.jsx)(r.Provider,{value:s,children:e})},"useNavMatches",0,function(){let e=(0,n.useContext)(r);return(t,n)=>!!e&&(a(e.pathname,e.lang,t)||!!n&&a(e.pathname,e.lang,n))}])},129091,e=>{e.v({link:"NavProfileLink-module-scss-module__l5d_va__link"})},232111,e=>{"use strict";var t=e.i(65563),n=e.i(734804);e.i(975956);var o=e.i(219727),r=e.i(93728),a=e.i(257189),i=e.i(396849),s=e.i(129091);e.s(["NavProfileLink",0,function({lang:e}){let{t:l}=(0,o.useTranslation)("client"),c=(0,r.useAccount)();return c.data?(0,t.jsx)(i.Button,{href:(0,a.getMyProfileUrl)(e,c.data.sts2_players,n.default.get(a.PROFILE_ID_COOKIE)),variant:"ghost",className:s.default.link,children:l("My Profile")}):null}])},502583,e=>{e.v({tierListItem:"AccountMenu-module-scss-module__-JBdXa__tierListItem"})},931438,e=>{"use strict";var t=e.i(65563),n=e.i(734804),o=e.i(943626),r=e.i(745558);e.i(975956);var a=e.i(219727),i=e.i(147160),s=e.i(626608),l=e.i(93728),c=e.i(428176),u=e.i(257189),d=e.i(983016),m=e.i(396849),h=e.i(502583);let f=({onCreateModal:e})=>{let{t:n}=(0,a.useTranslation)("client"),o=(0,i.useIsInNavMenu)(),{tierLists:r}=(0,d.usePersonalTierLists)();return(0,t.jsxs)(m.MenuSection,{children:[o?null:(0,t.jsx)(m.MenuHeader,{children:n("My Tier Lists")}),(0,t.jsxs)(m.MenuItem,{onClick:()=>{e()},children:[(0,t.jsx)(m.Text,{slot:"label",children:n("New Tier List")}),(0,t.jsx)("i",{className:"fal fa-add"})]}),!!r?.length&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.MenuSeparator,{}),r.map(e=>(0,t.jsx)(m.MenuItem,{className:h.default.tierListItem,href:`/tier-list/${e.uuid}`,children:(0,t.jsx)(m.Text,{slot:"label",children:e.name})},e.uuid))]})]})};e.s(["default",0,({lang:e})=>{let{t:d}=(0,a.useTranslation)("client"),h=(0,i.useIsInNavMenu)(),g=(0,l.useAccount)(),[p,b]=(0,r.useState)(!1),[y,x]=(0,r.useState)(null),v=(0,o.usePathname)();if((0,r.useEffect)(()=>{x(null)},[v]),!g.data){if(g.isLoading)return null;let e=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Button,{href:"/login",variant:"ghost",children:d("Log in")}),(0,t.jsx)(m.Button,{href:"/signup",icon:"fal fa-user-plus",iconPosition:h?"left":void 0,children:d("Create Account")}
31)]});return h?(0,t.jsx)(i.NavMenuFooter,{children:e}):e}let j=[...h?[{label:d("My Profile"),icon:"fal fa-user",href:(0,u.getMyProfileUrl)(e,g.data.sts2_players,n.default.get(u.PROFILE_ID_COOKIE)),analyticsLabel:c.Analytics.getAnalyticsLabel(c.AnalyticsPage.Frontpage,"profile","account-dd")}]:[],{label:d("Account Settings"),icon:"fal fa-cog",href:"https://accounts.untapped.gg/settings",analyticsLabel:c.Analytics.getAnalyticsLabel(c.AnalyticsPage.Frontpage,"settings","account-dd")},{label:d("Logout"),icon:"fal fa-sign-out",href:"https://accounts.untapped.gg/logout",analyticsLabel:c.Analytics.getAnalyticsLabel(c.AnalyticsPage.Frontpage,"logout","account-dd")}];return(0,t.jsxs)(t.Fragment,{children:[y&&(0,t.jsx)(s.default,{lang:e,isOpen:"create-tier-list"===y,onClose:()=>x(null)}),h?(0,t.jsxs)(i.NavMenuFooter,{children:[(0,t.jsx)(i.NavMenuItem,{title:d("My Tier Lists"),icon:"fal fa-list",children:(0,t.jsx)(m.Menu,{children:(0,t.jsx)(f,{onCreateModal:()=>x("create-tier-list")})})}),j.map(e=>(0,t.jsx)(m.Button,{icon:e.icon,iconPosition:"left",href:e.href,"data-analytics-label":e.analyticsLabel,variant:"ghost",children:e.label},e.label))]}):(0,t.jsxs)(m.MenuTrigger,{onOpenChange:b,popoverPlacement:"bottom right",children:[(0,t.jsx)(m.Button,{icon:p?"fal fa-times":"fal fa-bars","aria-label":d("Toggle Account Actions")}),(0,t.jsxs)(m.Menu,{children:[j.map(e=>(0,t.jsxs)(m.MenuItem,{href:e.href,"data-analytics-label":e.analyticsLabel,children:[(0,t.jsx)("i",{className:e.icon}),(0,t.jsx)(m.Text,{slot:"label",children:e.label})]},e.label)),(0,t.jsx)(f,{onCreateModal:()=>x("create-tier-list")})]})]})]})}])},181983,e=>{"use strict";var t=e.i(65563),n=e.i(734804),o=e.i(943626),r=e.i(745558);e.i(975956);var a=e.i(219727),i=e.i(147160),s=e.i(48501),l=e.i(396849);e.s(["LanguageSelector",0,function({currentLang:e,supportedLangs:c,langNames:u,langCookie:d}){let m=(0,o.useRouter)(),{t:h}=(0,a.useTranslation)("client"),f=(0,r.useCallback)(async e=>{let{path:t}=(0,s.splitLang)(window.location.pathname);n.default.set(d,e,{path:"/",expires:new Date(0)}),n.default.set(d,e,{domain:".untapped.gg",path:"/",sameSite:"lax",expires:3650}),m.push(`/${e}${t}${window.location.search}`)},[m,d]);return(0,t.jsx)(i.NavMenuEntry,{title:h("Language"),label:h("Change Language"),icon:"fal fa-language",closeIcon:"fal fa-times",variant:"ghost",children:(0,t.jsx)(l.Menu,{selectionMode:"single",selectedKeys:[e],onSelectionChange:e=>{if("all"!==e){let t=Array.from(e)[0];"string"==typeof t&&f(t)}},children:c.map(e=>(0,t.jsx)(l.MenuItem,{id:e,"data-language":e,children:u[e]},e))})})}])},685782,e=>{e.v({body:"NavUpdatesMenu-module-scss-module__xS0yIG__body",dot:"NavUpdatesMenu-module-scss-module__xS0yIG__dot",panelBody:"NavUpdatesMenu-module-scss-module__xS0yIG__panelBody",trigger:"NavUpdatesMenu-module-scss-module__xS0yIG__trigger"})},963368,e=>{"use strict";var t=e.i(65563),n=e.i(745558);e.i(975956);var o=e.i(219727),r=e.i(163220),a=e.i(627924),i=e.i(147160),s=e.i(428176),l=e.i(396849),c=e.i(685782);e.s(["NavUpdatesMenu",0,function({children:e}){let{t:u}=(0,o.useTranslation)("client"),d=(0,i.useIsInNavMenu)(),[m,h]=(0,n.useState)(!1),{updatesDot:f,markUpdatesSeen:g}=(0,i.useNavMenuUpdates)(),p=()=>{g(),s.Analytics.mpTrack("STS2 Open Latest Updates")};return d?(0,t.jsx)(i.NavMenuItem,{title:u("Latest Updates"),icon:"fal fa-memo-circle-info",dot:f,onOpen:p,children:e}):(0,t.jsxs)(l.DialogTrigger,{isOpen:m,onOpenChange:e=>{h(e),e&&p()},children:[(0,t.jsxs)("div",{className:c.default.trigger,children:[(0,t.jsx)(l.Button,{variant:"text",color:"white",icon:"fal fa-memo-circle-info","aria-label":u("Latest Updates")}),f?(0,t.jsx)("span",{className:c.default.dot}):null]}),(0,t.jsx)(r.PopoverPanel,{title:u("Latest Updates"),onClose:()=>h(!1),placement:"bottom end",bodyClassName:c.default.panelBody,children:(0,t.jsx)(a.ScrollContainer,{direction:"vertical",scrollerClassName:c.default.body,children:e})})]})}])}]); 32 33//# debugId=45ba1d85-2bc0-3708-3b96-08f30fef0489
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.