<html><head></head><body>{"version":3,"file":"score-card.js","sources":["../../../../src/components/score/score-card/score-card.ts"],"sourcesContent":["import { CSSResultGroup, TemplateResult, html } from 'lit';\nimport {\n customElement,\n property,\n queryAssignedElements,\n} from 'lit/decorators.js';\nimport { OutlineElement } from '../../base/outline-element/outline-element';\nimport componentStyles from './score-card.css.lit';\nimport { SlotController } from '../../controllers/slot-controller';\n\ntype themeColor = 'light' | 'darkblue';\ntype variantType = 'default' | 'classic';\n\n/**\n * The Score card chapter component\n * @element score-card\n * @slot - default slot, used for button text.\n * @slot img - slot used for show img.\n *\n */\n\n@customElement('score-card')\nexport class ScoreCard extends OutlineElement {\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 static styles: CSSResultGroup = [componentStyles];\n @property({ type: String, attribute: 'label-title' }) labelTitle: string;\n @property({ type: String }) buttonName: string;\n @property({ type: Boolean }) hasSlot: boolean;\n @property({ type: String, attribute: 'theme-color' })\n @property() variant: variantType = 'default';\n themeColor: themeColor = 'light';\n @queryAssignedElements({ slot: 'picture' })\n pictureSlot: Array<htmlelement>;\n\n // provides unique id number to pass to elements.\n seed: string = Math.floor(Math.random() * 10000).toString();\n\n render(): TemplateResult {\n return html`\n <article class='\"theme-${this.themeColor}' container\"="" id='\"${this.seed}\"' variant-${this.variant}="">\n <div ${this.hasslot="" ''="" 'notslot'}\"="" :="" ?="" class='\"header-container'>\n <slot @slotchange='\"${this.requestUpdate}\"' name='\"picture\"'></slot>\n ${this.hasLabelTemplate}\n </div>\n <div class='\"details-container\"'>\n <slot name='\"call-to-action-top\"'></slot>\n <slot name='\"heading\"'></slot>\n <slot name='\"main-content\"'></slot>\n <slot name='\"call-to-action\"'></slot>\n </div>\n </article>\n `;\n }\n\n get hasLabelTemplate() {\n return this.labelTitle\n ? html`<div class='\"label-container\"'>\n <span class='\"label\"'>${this.labelTitle}</span>\n </div>`\n : undefined;\n }\n clickHandler() {}\n firstUpdated() {\n this.hasSlot = !!this.pictureSlot.length;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'score-card': ScoreCard;\n }\n}\n"],"names":["ScoreCard","OutlineElement","constructor","this","slots","SlotController","variant","themeColor","seed","Math","floor","random","toString","render","html","hasSlot","requestUpdate","hasLabelTemplate","labelTitle","undefined","clickHandler","firstUpdated","pictureSlot","length","styles","componentStyles","__decorate","property","type","String","attribute","prototype","Boolean","queryAssignedElements","slot","customElement"],"mappings":"05BAsBO,IAAMA,EAAN,cAAwBC,EAAxBC,kCACLC,KAAAC,MAAQ,IAAIC,EACVF,MACA,GAQUA,KAAOG,QAAgB,UACnCH,KAAUI,WAAe,QAKzBJ,KAAAK,KAAeC,KAAKC,MAAsB,IAAhBD,KAAKE,UAAkBC,UA8BlD,CA5BCC,SACE,OAAOC,CAAI;8BACeX,KAAKI,sBAAsBJ,KAAKG,0BAA0BH,KAAKK;uCACtDL,KAAKY,QAAU,GAAK;+BAC5BZ,KAAKa;YACxBb,KAAKc;;;;;;;;;KAUd,CAEGA,uBACF,OAAOd,KAAKe,WACRJ,CAAI;gCACoBX,KAAKe;qBAE7BC,CACL,CACDC,eAAiB,CACjBC,eACElB,KAAKY,UAAYZ,KAAKmB,YAAYC,MACnC,GAxCMvB,EAAAwB,OAAyB,CAACC,GACqBC,EAAA,CAArDC,EAAS,CAAEC,KAAMC,OAAQC,UAAW,iBAAoC9B,EAAA+B,UAAA,kBAAA,GAC7CL,EAAA,CAA3BC,EAAS,CAAEC,KAAMC,UAA6B7B,EAAA+B,UAAA,kBAAA,GAClBL,EAAA,CAA5BC,EAAS,CAAEC,KAAMI,WAA4BhC,EAAA+B,UAAA,eAAA,GAElCL,EAAA,CADXC,EAAS,CAAEC,KAAMC,OAAQC,UAAW,gBACpCH,KAA4C3B,EAAA+B,UAAA,eAAA,GAG7CL,EAAA,CADCO,EAAsB,CAAEC,KAAM,aACClC,EAAA+B,UAAA,mBAAA,GAdrB/B,EAAS0B,EAAA,CADrBS,EAAc,eACFnC"}</htmlelement><style> .hidden { display: none; } </style> <a href="http://www.berxwedan.net" class="hidden">皇冠体育博彩</a> <a href="http://www.seezl.com" class="hidden">Crown-betting-feedback@seezl.com</a> <a href="http://www.yutb.net" class="hidden">Grand-Lisboa-contact@yutb.net</a> <a href="http://www.berxwedan.net" class="hidden">The-Crown-Casino-website-contactus@berxwedan.net</a> <a href="http://www.yutb.net" class="hidden">澳门新葡京</a> <a href="http://www.seezl.com" class="hidden">皇冠体育</a> <a href="http://www.babyfeedingshop.com" class="hidden">Euro-2024-buying-entrance-hr@babyfeedingshop.com</a> <a href="http://www.castingmoldingmachine.com" class="hidden">新葡京博彩官网</a> <a href="http://qwwqsy.ahwrwy.com" class="hidden">京瓷办公信息系统(中国)有限公司</a> <a href="http://www.juxiangart.com" class="hidden">澳门威尼斯</a> <a href="http://www.yezi-studio.com" class="hidden">澳门威尼斯</a> <a href="http://www.tt99949.com" class="hidden">365体育</a> <a href="http://www.chapterdesign.net" class="hidden">Sabah-Official-website-marketing@chapterdesign.net</a> <a href="http://zkiwmz.dp120.com" class="hidden">重庆华美整形美容医院</a> <a href="http://www.media2v-api.net" class="hidden">bet365体育</a> <a href="http://web-sitemap.lcxjj.net" class="hidden">伊秀服饰网</a> <a href="http://slqelp.conticasa.com" class="hidden">荔枝台</a> <a href="http://www.nbzhiai.com" class="hidden">Crown-Sports-help@nbzhiai.com</a> <a href="http://www.yopin365.com" class="hidden">皇冠体育</a> <a href="http://web-sitemap.lcsgxgy.com" class="hidden">锡林郭勒职业学院</a> <a href="https://stock.adobe.com/search/images?k=✔️网址:la66.net✔️电子游戏厅app(中国)有限公司" class="hidden">绍兴文理学院教务管理系统</a> <a href="https://stock.adobe.com/search?k=✔️网址:la66.net✔️澳门网络赌场网站-维基百科✔️网址:la66.net✔️澳门网络赌场网站-维基百科.mtm" class="hidden">长春欧亚卖场官方网站 </a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=推荐网上赌博可靠的赌博软件平台介绍✔️最新网址:la55.net✔️" class="hidden">常州公交网</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:la66.net✔️皇冠welcome✔️网址:la66.net✔️皇冠welcome" class="hidden">内蒙古响沙湾旅游景区</a> <a href="https://m.facebook.com/public/最可靠的买彩票平台平台介绍✔️官方网址:la777.net✔️.hcw" class="hidden">日照信息网</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:la666.net✔️欧洲杯买球app下载✔️网址:la666.net✔️欧洲杯买球app下载" class="hidden">皖南医学院弋矶山医院</a> <a href="https://m.facebook.com/public/科普一下天博手机app安装下载的百科✔️网址:ad11.net✔️科普一下天博手机app安装下载的百科✔️网址:ad11.net✔️" class="hidden">金万维</a> <a href="https://es-la.facebook.com/public/✔️最新网址:ad22.net✔️最正规网络博彩靠谱的赌博网站平台介绍✔️最新网址:ad22.net✔️最正规网络博彩靠谱的赌博网站平台介绍.hll" class="hidden">霸王官方网站</a> <a href="https://stock.adobe.com/search?k=✔️网址:la66.net✔️mg花花公子游戏-维基百科.bfh" class="hidden">软汇科技</a> <a href="https://stock.adobe.com/search/images?k=✔️网址:la666.net✔️威尼斯澳门棋牌在线平台介绍" class="hidden">峰峰视频 </a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/sttcs/hot-news/laryngoparalysis.html" class="hidden">王嘉化妆学校</a> <a href="/news/bqtlop-507312.html" class="hidden">聘才网</a> </body></html>