1"use strict";(self.webpackChunkPorscheDesignSystem_4_7_0=self.webpackChunkPorscheDesignSystem_4_7_0||[]).push([["link"],{6241(r,o,t){var e=t(2505);t.d(o,["p",0,r=>{if(r)return Object.fromEntries(Object.entries((0,e.e)(r)).map(([r,o])=>[r,"boolean"==typeof o?`${o}`:o]))},"s",0,(...r)=>r.filter(Boolean).join(" ")||null])},3933(r,o,t){t.d(o,["b",0,"--p-blur-frosted"])},4424(r,o,t){t.d(o,["h",0,(r,o)=>"none"!==r||!!o])},2975(r,o,t){t.d(o,["c",0,"--p-color-canvas"])},5674(r,o,t){t.d(o,["c",0,"--p-color-contrast-high"])},271(r,o,t){t.d(o,["c",0,"--p-color-error"])},5562(r,o,t){t.d(o,["c",0,"--p-color-error-medium"])},1042(r,o,t){t.d(o,["c",0,"--p-color-frosted"])},4682(r,o,t){t.d(o,["c",0,"--p-color-frosted-strong"])},1039(r,o,t){t.d(o,["c",0,"--p-color-primary"])},7957(r,o,t){t.d(o,["f",0,"--p-font-weight-normal"])},1982(r,o,t){t.d(o,{g:()=>i});var e=t(5720);function i(r,o){return(0,e.t)(o).split(",").flatMap(o=>function(r,o){return r?Array.from(r.querySelectorAll(o)):[]}(r,o))}},2688(r,o,t){t.d(o,{g:()=>a});var e=t(1982),i=t(2505);function a(r,o){const t=(0,e.g)(r,o);return 1!==t.length&&(0,i.t)(`${(0,i.g)(r)} has to contain a single direct child of: ${o}`),t[0]}},7050(r,o,t){t.d(o,["h",0,(r,o)=>null===r||null===o||"object"!=typeof r||"object"!=typeof o?r!==o:Array.isArray(r)&&Array.isArray(o)?!(r.length===o.length&&r.every((r,t)=>r===o[t])):!(Object.keys(r).length===Object.keys(o).length&&Object.entries(r).every(([r,t])=>t===o[r]))])},4247(r,o,t){const e="--p-duration-md",i="--p-duration-sm",a="--p-duration-xl",n="--p-ease-in-out",l=(r,o)=>`var(${r}${void 0===o?"":`,${o}`})`,c=r=>({"@media(forced-colors:active)":r}),s={short:l(i),moderate:l(e),long:l("--p-duration-lg"),veryLong:l(a)},d={base:l(n),in:l("--p-ease-in"),out:l("--p-ease-out"),linear:"linear"},p="--p-transition-duration",h="--p-animation-duration",u=r=>`${r} !important`,b=r=>Object.entries(r).reduce((r,[o,t])=>(null===t||(r[o]="object"==typeof t?b(t):u(t)),r),{});t.d(o,["a",0,b,"b",0,(r=2)=>({outline:`2px solid ${l("--p-color-focus")}`,outlineOffset:`${r}px`,...c({outlineColor:"Highlight"})}),"c",0,(r,o="short",t="base",e)=>`${r} ${l(p,s[o])} ${d[t]}`,"d",0,(r=!0,o)=>r?{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap"}:{position:"static",width:"auto",height:"auto",padding:0,margin:0,overflow:"visible",clip:"auto",whiteSpace:"normal",...o},"e",0,u,"f",0,c,"g",0,r=>({opacity:.4,...c({opacity:1,color:"GrayText",...r})}),"h",0,{"&([hidden])":{display:"none"}},"i",0,p,"j",0,a,"k",0,h,"l",0,i,"m",0,s,"n",0,e,"o",0,n,"p",0,(r,o="short",t="base")=>`${r} ${l(h,s[o])} ${d[t]}`,"r",0,l])},451(r,o,t){t.d(o,["h",0,r=>({"@media(hover:hover)":r})])},6809(r,o,t){t.d(o,["f",0,"--p-font-porsche-next","l",0,"--p-leading-normal"])},4316(r,o,t){t.d(o,["L",0,["aria-label","aria-description","aria-current","aria-haspopup"]])},231(r,o,t){var e=t(2505),i=t(4424),a=t(4247),n=t(1068),l=t(451),c=t(6809),s=t(5849),d=t(7957),p=t(3933),h=t(7057),u=t(6542),b=t(7668),f=t(5562),g=t(271),k=t(1039),v=t(2975),x=t(1042),m=t(4682),y=t(5674);t.d(o,["g",0,(r,o,t,$,C,A,w,S,j,_,H,L,O,B)=>{const{textColor:R,textColorHover:T,backgroundColor:F,backgroundColorHover:P}=((r,o,t)=>({primary:{textColor:(0,a.r)(t,(0,a.r)(v.c)),textColorHover:(0,a.r)(t,(0,a.r)(v.c)),backgroundColor:(0,a.r)(o,(0,a.r)(k.c)),backgroundColorHover:(0,a.r)(o,(0,a.r)(y.c))},secondary:{textColor:(0,a.r)(t,(0,a.r)(k.c)),textColorHover:(0,a.r)(t,(0,a.r)(k.c)),backgroundColor:(0,a.r)(o,(0,a.r)(m.c)),backgroundColorHover:(0,a.r)(o,(0,a.r)(x.c))},destructive:{textColor:(0,a.r)(t,(0,a.r)(v.c)),textColorHover:(0,a.r)(t,(0,a.r)(k.c)),backgroundColor:(0,a.r)(o,(0,a.r)(g.c)),backgroundColorHover:(0,a.r)(o,(0,a.r)(f.c))}}[r]))(t,j,_),W=(0,i.h)(r,o)||(0,e.k)($),z=`calc(28px * (${(0,a.r)(S)} - 0.64285714) + 6px)`,D=`calc(33.6px * (${(0,a.r)(S)} - 0.64285714) + 16px)`,I=`calc(11.2px * (${(0,a.r)(S)} - 0.64285714) + 4px)`,q=`calc(-1 * (11.2px * (${(0,a.r)(S)} - 0.64285714) + 4px))`;return{"@global":{":host":{display:"inline-block",verticalAlign:"top",...(0,e.m)((0,e.l)(w,r=>({[`${S}`]:r?.64285714:1,"--_p-link-button-a":r?(0,a.r)(u.r):(0,a.r)(b.r)})),(0,e.l)($,r=>({borderRadius:(0,a.e)((0,a.r)(B,r?(0,a.r)(h.r):(0,a.r)("--_p-link-button-a")))}))),...(0,a.a)({...a.h})},...n.p},root:{all:"unset",display:"flex",justifyContent:"center",width:"100%",minWidth:"min-content",boxSizing:"border-box",WebkitBackdropFilter:(0,a.r)(p.b),backdropFilter:(0,a.r)(p.b),font:`${(0,a.r)(d.f)} ${(0,a.r)(s.t)} / ${(0,a.r)(c.l)} ${(0,a.r)(c.f)}
1`,borderRadius:"inherit",transform:"translate3d(0,0,0)",backgroundColor:F,color:R,cursor:"pointer",transition:`${(0,a.c)("background-color")}, ${(0,a.c)("border-color")}, ${(0,a.c)("color")}`,...(0,e.l)($,r=>({padding:`${(0,a.r)(L,z)} ${(0,a.r)(H,r?z:D)}`,gap:(0,a.r)(O,r?0:I)})),...(0,a.f)({forcedColorAdjust:"none",background:"Canvas",color:"LinkText",boxShadow:"inset 0 0 0 2px LinkText","&:is(button)":{boxShadow:"inset 0 0 0 2px ButtonBorder",color:"ButtonText"}}),...!A&&{"&:focus-visible":(0,a.b)()},...!C&&(0,l.h)({"&:hover":{color:T,backgroundColor:P,...(0,a.f)({background:"Canvas"})}})},label:(0,e.l)($,a.d),...W&&{icon:{font:`${(0,a.r)(s.t)} ${(0,a.r)(c.f)}`,width:(0,a.r)(c.l),height:(0,a.r)(c.l),...(0,e.l)($,r=>({marginInlineStart:r?0:q}))}}}}])},3458(r,o,t){t.r(o);var e=t(2505),i=t(6241),a=t(4316),n=t(4424),l=t(7050),c=t(2044),s=t(4247),d=t(231),p=t(6542),h=t(7668),u=t(7057);t(2688);const b="--p-link-radius",f=(r,o,t,i,a,n)=>(0,e.i)((0,e.m)((0,d.g)(r,o,t,i,!1,a,n,"--_p-link-a","--p-link-bg","--p-link-fg","--p-link-px","--p-link-py","--p-link-gap",b),{label:{clip:(0,s.e)("unset")}},a&&{"@global":(0,s.a)({"::slotted":{"&(a)":{all:"unset"},"&(a)::before":{content:'""',position:"fixed",inset:0,...(0,e.m)((0,e.l)(n,r=>({borderRadius:(0,s.r)(b,r?(0,s.r)(p.r):(0,s.r)(h.r))})),(0,e.l)(i,r=>({...r&&{borderRadius:(0,s.r)(b,(0,s.r)(u.r))}})))},"&(a:focus-visible)::before":(0,s.b)()}})})),g={variant:e.A.oneOf(["primary","secondary"]),icon:e.A.string,iconSource:e.A.string,href:e.A.string,target:e.A.string,download:e.A.string,rel:e.A.string,hideLabel:e.A.breakpoint("boolean"),compact:e.A.breakpoint("boolean"),aria:e.A.aria(a.L)};t.d(o,["p_link",0,class{constructor(r){(0,e.r)(this,r),this.variant="primary",this.icon="none",this.target="_self",this.hideLabel=!1,this.compact=!1}componentWillLoad(){(0,c.i)(this.host)||(0,c.t)(this.host,this.href)}componentShouldUpdate(r,o){return(0,l.h)(r,o)}render(){(0,e.v)(this,g),(0,e.w)(this.host,f,this.icon,this.iconSource,this.variant,this.hideLabel,!this.href,this.compact);const r=void 0===this.href?"span":"a",o=(0,e.a)(this.host);return(0,e.x)(r,{key:"915ba3ab9b604e851eacff0a739ffcdfa510d5bd",class:"root",..."a"===r&&{href:this.href,target:this.target,download:this.download,rel:this.rel,...(0,i.p)(this.aria)}},(0,n.h)(this.icon,this.iconSource)&&(0,e.x)(o.pIcon,{key:"f98cb386c8e094089bf8455b5380faf96965075f",class:"icon",size:"inherit",name:this.iconSource?void 0:this.icon,source:this.iconSource,color:"inherit","aria-hidden":"true"}),(0,e.x)("span",{key:"e605a6675072d858a00e8c10d9cc8f6b141b8de5",class:"label"},(0,e.x)("slot",{key:"3de400dc8b1c5060836765d0d9cf56f0a6544af9"})))}static get delegatesFocus(){return!0}get host(){return(0,e.y)(this)}}])},1068(r,o,t){t.d(o,["p",0,{":not(:defined,[data-ssr])":{visibility:"hidden"}}])},7057(r,o,t){t.d(o,["r",0,"--p-radius-full"])},6542(r,o,t){t.d(o,["r",0,"--p-radius-lg"])},7668(r,o,t){t.d(o,["r",0,"--p-radius-xl"])},2044(r,o,t){var e=t(2505),i=t(2688);t.d(o,["i",0,r=>r.hasAttribute("data-ssr"),"t",0,(r,o)=>{let t=o&&r.children.length>0;if(!t||!o)try{o||(0,i.g)(r,"a")}catch{t=!0}t&&(0,e.t)(`usage of ${(0,e.g)(r)} is not valid. Please provide a href property or a single and direct <a> child element.`)}])},5720(r,o,t){t.d(o,["t",0,r=>r.split(",").map(r=>`:scope>${r}`).join()])},5849(r,o,t){t.d(o,["t",0,"--p-typescale-sm"])}}]);
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.