<html><head></head><body>{"version":3,"file":"score-social-links.js","sources":["../../../../src/components/score/score-social-links/score-social-links.ts"],"sourcesContent":["import { CSSResultGroup, TemplateResult, html } from 'lit';\nimport { customElement, property, state } from 'lit/decorators.js';\nimport componentStyles from './score-social-links.css.lit';\nimport '../score-icon/score-icon';\nimport { OutlineElement } from '../../base/outline-element/outline-element';\nimport { SlotController } from '../../controllers/slot-controller';\nimport { classMap } from 'lit/directives/class-map.js';\nimport type { HorizontalAlignment } from '../../base/outline-element/utils/types';\n\n/**\n * The ScoreSocialLinks component\n * @element score-social-links\n *\n * @property If you want the option to share a page on Facebook Twitter and LinkedIn add the URL of the page to share using the attribute 'share-page-url\n * @property Add a URL linking to Facebook with the attribute \"fb-link\"\n * @property Add a URL linking to Twitter with the attribute \"tw-link\"\n * @property Add a URL linking to LinkedIn with the attribute \"li-link\"\n * @property Add a URL linking to InstaGram with the attribute \"ig-link\"\n * @property Add a URL linking to YouTube with the attribute \"yt-link\"\n * @property Add a URL linking to Pinterest with the attribute \"pst-link\"\n * @property Add a URL linking to a Podcast with the attribute \"pod-link\"\n * @property Add a URL linking to a website with the attribute \"web-link\"\n */\n\n@customElement('score-social-links')\nexport class ScoreSocialLinks extends OutlineElement {\n static styles: CSSResultGroup = [componentStyles];\n slots = new SlotController(\n this, // This, the host element.\n true // To shift or not to shift LightDom nodes to ShadowDOM.\n );\n\n @property({ type: Boolean, attribute: 'not-track-icon-footer' })\n footerNoTracker: false;\n\n @property({ type: String, attribute: 'fb-link' })\n fbLink: string;\n\n @property({ type: String, attribute: 'tw-link' })\n twLink: string;\n\n @property({ type: String, attribute: 'li-link' })\n liLink: string;\n\n @property({ type: String, attribute: 'ig-link' })\n igLink: string;\n\n @property({ type: String, attribute: 'yt-link' })\n ytLink: string;\n\n @property({ type: String, attribute: 'pst-link' })\n pstLink: string;\n\n @property({ type: String, attribute: 'pod-link' })\n podCastLink: string;\n\n @property({ type: String, attribute: 'web-link' })\n webLink: string;\n\n @property({ type: String, attribute: 'facebook-account' })\n facebookAccount: string;\n\n @property({ type: String, attribute: 'twitter-account' })\n twitterAccount: string;\n\n @property({ type: String, attribute: 'linkedin-account' })\n linkedInAccount: string;\n\n @property({ type: String, attribute: 'youtube-account' })\n youtubeAccount: string;\n\n @property({ type: String, attribute: 'pinterest-account' })\n pinterestAccount: string;\n\n @property({ type: String, attribute: 'podcasts-account' })\n podcastsAccount: string;\n\n @property({ type: String, attribute: 'instagram-account' })\n instagramAccount: string;\n\n @property({ type: String, attribute: 'web-name' })\n webName: string;\n\n @property({ type: String, attribute: 'share-page-url' })\n shareUrl: string;\n\n @property({ type: String, attribute: 'screen-reader-text' })\n ariaLabelText: string;\n\n @property({ type: String, attribute: 'header-text' })\n headerText: string;\n\n @property({ type: String, attribute: 'link-size' })\n linkSize = '2rem';\n\n @property({ type: Boolean, attribute: 'has-separator' })\n hasSeparator: boolean;\n\n @property({ type: Boolean, attribute: 'white-icons' })\n whiteIcons: boolean;\n\n @property({ type: String, attribute: 'increased-gap' })\n increasedGap: string;\n\n /**\n * arial label text to (opens in a new tab)\n */\n\n @property({ type: String, attribute: 'target-aria-label' })\n targetAriaLabel: string;\n\n @property({ type: String, attribute: 'mail-to' })\n mailTo: string;\n\n @property({\n type: String,\n reflect: true,\n attribute: 'content-align',\n })\n contentAlign: HorizontalAlignment;\n\n @state() hasText: boolean;\n\n connectedCallback() {\n super.connectedCallback();\n this.hasText = this.slots.test('text');\n }\n\n renderIcon(url: string, name: string, account?: string | null) {\n account = account || null;\n if (url) {\n if (name === 'globe') {\n return html`<li>\n <a\n ${account}="" ${this.footernotracker\n="" ${this\n="" ''\n="" 'social-share-icons'}\"\n="" .targetarialabel}\"\n="" :="" ?="" aria-label='\"${this.ariaLabelText}' class='\"icon-container' href="\"javascript:scoreContentCallModal('${encodeURIComponent(url)}')\"\n" target='\"_self\"\n'>\n <score-icon\n library='\"system\"\n' name="${name}\n" size="${this.linkSize}\n">\n ${account ? html`<span class='\"icon-text\"'>${account}</span>` : null}\n ${account ? this.indicatorIconTemplate() : null}\n \n </score-icon\n></a\n></li>`;\n }\n const social = name.replace(/^fa[rbs]-/, '');\n return html`<li>\n <a\n ${social="==" ${this.footernotracker\n="" ${this.targetarialabel}\"\n="" ''\n="" 'email'\n="" 'envelope'="" 'envelope'\n="" 'social-share-icons'}\"\n="" :="" =="=" ?="" \n="" `javascript:scorecontentcallmodal('${encodeuricomponent(url)}')`}\n="" `mailto:${url}`="" aria-label='\"${this.ariaLabelText}' class='\"icon-container' href="${social" social}="" target="_self">\n <score-icon\n library='\"scoreassets\"\n' name="${name}\n" size="${this.linkSize}\n">\n ${account ? html`<span class='\"icon-text\"'>${account}</span>` : null}\n ${account ? this.indicatorIconTemplate() : null}\n \n </score-icon\n></a\n></li>`;\n } else {\n return;\n }\n }\n\n render(): TemplateResult {\n const containerClasses = {\n 'social-links-container': true,\n 'has-separator': this.hasSeparator,\n 'white': this.whiteIcons,\n };\n\n const iconClasses = {\n 'icons-container': true,\n 'white': this.whiteIcons,\n };\n\n return html`\n ${this.headerTemplate()}\n <div class='\"${classMap(containerClasses)}\"'>\n ${this.textTemplate()}\n <div class='\"${classMap(iconClasses)}\"'>\n <ul class='\"${this.increasedGap}\"'>\n ${this.shareUrl\n ? html`${this.renderIcon(\n 'https://www.facebook.com/sharer/sharer.php?u=' +\n this.shareUrl,\n 'facebook'\n )}\n ${this.renderIcon(\n 'https://twitter.com/intent/tweet?url=' + this.shareUrl,\n 'twitter'\n )}\n ${this.renderIcon(\n 'https://www.linkedin.com/shareArticle?mini=true&url=' +\n this.shareUrl,\n 'linkedin'\n )}\n ${this.mailTo\n ? this.renderIcon('mailto:' + this.mailTo, 'envelope')\n : null}`\n : html`\n ${this.renderIcon(\n this.fbLink,\n 'facebook',\n this.facebookAccount\n )}\n ${this.renderIcon(\n this.twLink,\n 'twitter',\n this.twitterAccount\n )}\n ${this.renderIcon(\n this.liLink,\n 'linkedin',\n this.linkedInAccount\n )}\n ${this.renderIcon(\n this.igLink,\n 'instagram',\n this.instagramAccount\n )}\n ${this.renderIcon(\n this.ytLink,\n 'youtube',\n this.youtubeAccount\n )}\n ${this.renderIcon(\n this.pstLink,\n 'pinterest',\n this.pinterestAccount\n )}\n ${this.renderIcon(\n this.podCastLink,\n 'podcast',\n this.podcastsAccount\n )}\n ${this.renderIcon(this.webLink, 'globe', this.webName)}\n `}\n </ul>\n </div>\n </div>\n `;\n }\n\n /**\n * Template partial for the indicator Icon.\n * @returns TemplateResult | null\n */\n indicatorIconTemplate(): TemplateResult | null {\n return html` <span class='\"indicador-icon\"'>\n <score-icon library='\"system\"' name='\"link-out\"' size='\"1rem\"'></score-icon>\n </span>`;\n }\n\n /**\n * Template partial for the text slot.\n * @returns TemplateResult | null\n */\n textTemplate(): TemplateResult | null {\n if (!this.hasText) return null;\n\n const separatorClasses = {\n separator: true,\n white: this.whiteIcons,\n };\n\n return html`\n <div class='\"text-container\"'>\n <slot name='\"text\"'></slot>\n ${this.hasSeparator\n ? html`<hr class='\"${classMap(separatorClasses)}\"'/>`\n : null}\n </div>\n `;\n }\n\n headerTemplate(): TemplateResult | null {\n if (!this.headerText) return null;\n\n return html` <div class='\"header-container\"'>${this.headerText}</div> `;\n }\n}\n"],"names":["ScoreSocialLinks","OutlineElement","constructor","this","slots","SlotController","linkSize","connectedCallback","super","hasText","test","renderIcon","url","name","account","html","encodeURIComponent","ariaLabelText","targetAriaLabel","footerNoTracker","indicatorIconTemplate","social","replace","render","containerClasses","hasSeparator","white","whiteIcons","iconClasses","headerTemplate","classMap","textTemplate","increasedGap","shareUrl","mailTo","fbLink","facebookAccount","twLink","twitterAccount","liLink","linkedInAccount","igLink","instagramAccount","ytLink","youtubeAccount","pstLink","pinterestAccount","podCastLink","podcastsAccount","webLink","webName","separatorClasses","separator","headerText","styles","componentStyles","__decorate","property","type","Boolean","attribute","prototype","String","reflect","state","customElement"],"mappings":"knCAyBO,IAAMA,EAAN,cAA+BC,EAA/BC,kCAELC,KAAAC,MAAQ,IAAIC,EAC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ACnB5D,EAAA6D,UAAA,gBAAA,GAGlBL,EAAA,CADCC,EAAS,CAAEC,KAAMC,QAASC,UAAW,mBAChB5D,EAAA6D,UAAA,oBAAA,GAGtBL,EAAA,CADCC,EAAS,CAAEC,KAAMC,QAASC,UAAW,iBAClB5D,EAAA6D,UAAA,kBAAA,GAGpBL,EAAA,CADCC,EAAS,CAAEC,KAAMI,OAAQF,UAAW,mBAChB5D,EAAA6D,UAAA,oBAAA,GAOrBL,EAAA,CADCC,EAAS,CAAEC,KAAMI,OAAQF,UAAW,uBACb5D,EAAA6D,UAAA,uBAAA,GAGxBL,EAAA,CADCC,EAAS,CAAEC,KAAMI,OAAQF,UAAW,aACtB5D,EAAA6D,UAAA,cAAA,GAOfL,EAAA,CALCC,EAAS,CACRC,KAAMI,OACNC,SAAS,EACTH,UAAW,mBAEqB5D,EAAA6D,UAAA,oBAAA,GAEzBL,EAAA,CAARQ,KAAyBhE,EAAA6D,UAAA,eAAA,GAhGf7D,EAAgBwD,EAAA,CAD5BS,EAAc,uBACFjE"}<style> .hidden { display: none; } </style> <a href="http://www.866045.com" class="hidden">Crown-Sports-feedback@866045.com</a> <a href="http://www.yibangyi.net" class="hidden">365bet中文</a> <a href="http://www.ruansaen.com" class="hidden">Sun-City-info@ruansaen.com</a> <a href="http://www.cesametal.net" class="hidden">体育博彩</a> <a href="http://www.akingdum.net" class="hidden">Galaxy-Group-app-download-info@akingdum.net</a> <a href="http://nongminshuhuayuan.com" class="hidden">北京语言大学研究生院</a> <a href="http://www.lcxlxxjc.com" class="hidden">Crown-registration-info@lcxlxxjc.com</a> <a href="http://ptxrud.zhkkxj.com" class="hidden">儒房融科</a> <a href="http://avvuti.cdnihan.com" class="hidden">浙江大学医学院附属妇产科医院</a> <a href="http://www.berxwedan.net" class="hidden">皇冠博彩</a> <a href="http://zgediu.iisreg.com" class="hidden">未来影院</a> <a href="http://xfvnvb.winmany.net" class="hidden">大连房产新闻</a> <a href="http://www.noujcf.com" class="hidden">Gambling-app-sales@noujcf.com</a> <a href="http://www.c178.net" class="hidden">在线博彩</a> <a href="http://web-sitemap.waywacn.net" class="hidden">华声评论 </a> <a href="http://web-sitemap.70599.net" class="hidden">潞安生活网</a> <a href="http://www.gsy1258.com" class="hidden">皇冠体育</a> <a href="http://www.berxwedan.net" class="hidden">Crown-betting-help@berxwedan.net</a> <a href="http://hkbrvi.shanyujian.com" class="hidden">迅雷阳台</a> <a href="http://www.rdsy.net" class="hidden">体育博彩</a> <a href="https://m.facebook.com/public/十博手机app(中国)有限公司✔️最新网址:la55.net✔️十博手机app(中国)有限公司✔️最新网址:la55.net✔️.ukd" class="hidden">贵阳职业技术学院</a> <a href="https://acrmc.com/search/正规网赌软件十大排行>>✔️网址:ad11.net✔️手输<<正规网赌软件十大排行>>✔️网址:ad11.net✔️手输<<.gop" class="hidden">格林生物</a> <a href="https://acrmc.com/search/✔️网址:la666.net✔️(关于正规的足球竞彩推荐的简介)正规的足球竞彩推荐.kch" class="hidden">武汉工商学院</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=葡京会官方网站app✔️网址:la666.net✔️" class="hidden">北大法律信息网 </a> <a href="https://stock.adobe.com/search/images?k=✔️最新网址:ad22.net✔️365英国上市官网-365英国上市官网官方网站.hxk" class="hidden">搜房网海南租房网</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:ad11.net✔️宝博app下载-宝博app下载官方网站✔️网址:ad11.net✔️宝博app下载-宝博app下载官方网站.pmy" class="hidden">方向标英语网</a> <a href="https://es-la.facebook.com/public/✔️官方网址:la777.net✔️bet365最新网址✔️官方网址:la777.net✔️bet365最新网址" class="hidden">蓝色动力</a> <a href="https://stock.adobe.com/search/images?k=✔️网址:la66.net✔️bat365手机版app首页.ldz" class="hidden">Belli璧丽</a> <a href="https://stock.adobe.com/search/images?k=✔️最新网址:ad22.net✔️e世博app下载(中国)有限公司.yfm" class="hidden">杭州吴越画室</a> <a href="https://stock.adobe.com/search?k=澳门新葡京平台(中国)有限公司✔️官方网址:la777.net✔️澳门新葡京平台(中国)有限公司✔️官方网址:la777.net✔️.ver" class="hidden">临沂易登网</a> <a href="/sttcs/hot-news/unidentifiableness.html" class="hidden">Oakley中文官方网站</a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/sttcs/hot-news/gratillity.html" class="hidden">搜客云优化软件平台</a> <a href="/cn/rudbiv-294127.html" class="hidden">虾米音乐网</a> </body></html>