1import{a as h}from"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-3OSB33KW.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import"./chunk-4Z5MUJO3.js";import"./chunk-A3QLZGQA.js";import{Y as T}from"./chunk-LJH5OBMW.js";import{Eb as d,Fc as y,Gb as u,Ge as b,Jc as i,Kc as m,Lb as C,Lc as P,Mh as v,Nh as M,Ob as k,Zb as g,cb as r,nd as _,ob as p,pb as s,ra as c,rb as f,ua as l,vc as a,wc as L,xc as x}from"./chunk-PMSJWPYZ.js";import"./chunk-NIF3MU5U.js";var F=(()=>{class e{transform(n){if(!n)return null;let t;try{t=new URL(n).hostname.toLowerCase()}catch(o){return null}return t==="facebook.com"||t.endsWith(".facebook.com")?"Facebook":t==="instagram.com"||t.endsWith(".instagram.com")?"Instagram":null}static \u0275fac=function(t){return new(t||e)};static \u0275pipe=f({name:"socialPlatform",type:e,pure:!0})}return e})();var j=e=>({platform:e});function B(e,I){if(e&1&&(a(0),i(1,"socialPlatform"),k(2,"trn-link",0),i(3,"cxTranslate")),e&2){let n=g(),t=x(0),o=m(1,6,t.url);r(2),C("label",t.linkName)("ariaLabel",o?P(3,8,"link_labels.social_link",y(11,j,o)):t.linkName)("url",t.url)("external",t.external)("target",n.getTarget(t))("icon",t.iconCode)}}var D=(()=>{class e{component=l(T);data$=this.component.data$;getTarget(n){return n.target==="true"||n.target===!0?"_blank":"_self"}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=p({type:e,selectors:[["trn-cms-link"]],decls:3,vars:4,consts:[["color","tertiary","iconPlacement","icon-left",3,"label","ariaLabel","url","external","target","icon"]],template:function(t,o){if(t&1&&(a(0),i(1,"async"),d(2,B,4,13,"trn-link",0)),t&2){let N=L(m(1,1,o.data$));r(2),u(N?2:-1)}},dependencies:[h,M,_,v,F],encapsulation:2})}return e})();var K=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=s({type:e});static \u0275inj=c({providers:[b({cmsComponents:{CMSLinkComponent:{component:D}}})]})}return e})();export{K as CmsLinkModule};
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.