"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["ui_packages_cookie-consent-link-element_element-entry_ts"],{3888:(e,o,t)=>{var r=t(39595),i=t(75434);let CookieConsentLinkElement=class CookieConsentLinkElement extends HTMLElement{showConsentManagement(){(0,i.Gp)()}};CookieConsentLinkElement=function(e,o,t,r){var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(n<3?i(a):n>3?i(o,t,a):i(o,t))||a);return n>3&&a&&Object.defineProperty(o,t,a),a}([r.p_],CookieConsentLinkElement)},75434:(e,o,t)=>{let r;t.d(o,{WP:()=>f,RW:()=>R,wb:()=>k,_S:()=>h,Jc:()=>g,aq:()=>m,Gp:()=>y,bG:()=>v});var i=t(15180),n=t(64128);let a={Required:"Required",Analytics:"Analytics",SocialMedia:"SocialMedia",Advertising:"Advertising"},s={Required:"Required",Analytics:"Analytics",SocialMedia:"Social Media",Advertising:"Advertising"},c="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement",d=[{id:a.Required,name:s.Required,descHtml:"GitHub uses required cookies to perform essential website functions and to provide the services. For example, cookies are used to log you in, save your language preferences, provide a shopping cart experience, improve performance, route traffic between web servers, detect the size of your screen, determine page load times, improve user experience, and for audience measurement. These cookies are necessary for our websites to work.",isUnswitchable:!0},{id:a.Analytics,name:s.Analytics,descHtml:"We allow third parties to use analytics cookies to understand how you use our websites so we can make them better. For example, cookies are used to gather information about the pages you visit and how many clicks you need to accomplish a task. We also use some analytics cookies to provide personalized advertising."},{id:a.SocialMedia,name:s.SocialMedia,descHtml:"GitHub and third parties use social media cookies to show you ads and content based on your social media profiles and activity on GitHub's websites. This ensures that the ads and content you see on our websites and on social media will better reflect your interests. This also enables third parties to develop and improve their products, which they may use on websites that are not owned or operated by GitHub."},{id:a.Advertising,name:s.Advertising,descHtml:"In addition, GitHub and third parties use advertising cookies to show you new ads based on ads you've already seen. Cookies also track which ads you click or purchases you make after clicking an ad. This is done to show you ads that are more relevant to you and for business purposes with our advertising partners. For example, cookies are used to detect when you click an ad and to show you ads based on your social media interests and website browsing history."}],l={textResources:{bannerMessageHtml:`We use optional cookies to improve your experience on our websites and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services listed above will be used. You may change your selection on which cookies to accept by clicking "Manage Cookies" at the bottom of the page to change your selection. This selection is maintained for 180 days. Please review your selections regularly.
How to manage cookie preferences | Privacy Statement | Third-Party Cookies.`,acceptAllLabel:"Accept",rejectAllLabel:"Reject",moreInfoLabel:"Manage cookies",preferencesDialogCloseLabel:"Close",preferencesDialogTitle:"Manage cookie preferences",preferencesDialogDescHtml:`Most GitHub websites use cookies. Cookies are small text files placed on your device to store data so web servers can use it later. GitHub and our third-party partners use cookies to remember your preferences and settings, help you sign in, show you personalized ads, and analyze how well our websites are working. For more info, see the Cookies and similar technologies section of the Privacy Statement.`},themes:{github:{"close-button-color":"#d8b9ff","secondary-button-disabled-opacity":"0.5","secondary-button-hover-shadow":"none","primary-button-disabled-opacity":"0.5","primary-button-hover-border":"1px solid transparent","primary-button-disabled-border":"1px solid transparent","primary-button-hover-shadow":"none","banner-background-color":"#24292f","dialog-background-color":"#24292f","primary-button-color":"#ffffff","text-color":"#ffffff","secondary-button-color":"#32383f","secondary-button-disabled-color":"#424a53","secondary-button-border":"1px solid #eaeef2","background-color-between-page-and-dialog":"rgba(23, 23, 23, 0.8)","dialog-border-color":"#d8b9ff","hyperlink-font-color":"#d8b9ff","secondary-button-hover-color":"#24292f","secondary-button-hover-border":"1px solid #ffffff","secondary-button-disabled-border":"1px solid #6e7781","secondary-button-focus-border-color":"#6e7781","secondary-button-text-color":"#ffffff","secondary-button-disabled-text-color":"#ffffff","primary-button-hover-color":"#d8b9ff","primary-button-disabled-color":"#ffffff","primary-button-border":"1px solid #ffffff","primary-button-focus-border-color":"#ffffff","primary-button-text-color":"#1f2328","primary-button-disabled-text-color":"#1f2328","radio-button-border-color":"#d8b9ff","radio-button-checked-background-color":"#d8b9ff","radio-button-hover-border-color":"#ffffff","radio-button-hover-background-color":"#ffffff","radio-button-disabled-color":"rgba(227, 227, 227, 0.2)","radio-button-disabled-border-color":"rgba(227, 227, 227, 0.2)"}},initialTheme:"github"},u={Required:{[a.Required]:!0,[a.Analytics]:!1,[a.SocialMedia]:!1,[a.Advertising]:!1},NotRequired:{[a.Required]:!0,[a.Analytics]:!0,[a.SocialMedia]:!0,[a.Advertising]:!0}},f="GHCC",b=new Date(Date.now()+15552e6),p=async e=>{x(e),r?.hideBanner()};async function h(){let{ConsentControl:e}=await t.e("vendors-node_modules_consent-banner_dist_consent-banner_js").then(t.t.bind(t,95672,23));return r=new e("ghcc","en",p,d,l)}function y(){r?.showPreferences(R()||{})}function m(){r?.showBanner(u.Required)}function g(){x(u.NotRequired)}function k(){return null===R()}let w=(0,n.Y)();function v(){return w.promise}function x(e){let o=Object.keys(e).map(o=>`${o}:${e[o]?"1":"0"}`).join("-");(0,i.TV)(f,o,b.toUTCString()),w.resolve(e)}function R(){let e=(0,i.Ri)(f);if(!e)return null;let o=e.value.split("-"),t={};for(let e of o){let[o,r]=e.split(":");o&&(t[o]="1"===r)}return t}let C=R();C&&w.resolve(C)},15180:(e,o,t)=>{function r(e){return i(e)[0]}function i(e){let o=[];for(let t of function(){try{return document.cookie.split(";")}catch{return[]}}()){let[r,i]=t.trim().split("=");e===r&&void 0!==i&&o.push({key:r,value:i})}return o}function n(e,o,t=null,r=!1,i="lax"){let a=document.domain;if(null==a)throw Error("Unable to get document domain");a.endsWith(".github.com")&&(a="github.com");let s="https:"===location.protocol?"; secure":"",c=t?`; expires=${t}`:"";!1===r&&(a=`.${a}`);try{document.cookie=`${e}=${o}; path=/; domain=${a}${c}${s}; samesite=${i}`}catch{}}function a(e,o=!1){let t=document.domain;if(null==t)throw Error("Unable to get document domain");t.endsWith(".github.com")&&(t="github.com");let r=new Date(Date.now()-1).toUTCString(),i="https:"===location.protocol?"; secure":"",n=`; expires=${r}`;!1===o&&(t=`.${t}`);try{document.cookie=`${e}=''; path=/; domain=${t}${n}${i}`}catch{}}t.d(o,{OR:()=>i,Ri:()=>r,TV:()=>n,Yj:()=>a})},64128:(e,o,t)=>{t.d(o,{Y:()=>r});function r(){let e={};return e.promise=new Promise((o,t)=>{e.resolve=o,e.reject=t}),e}}}]);
//# sourceMappingURL=ui_packages_cookie-consent-link-element_element-entry_ts-7d4df8f082b9.js.map