<html><head></head><body>{"version":3,"file":"score-location.js","sources":["../../../../src/components/score/score-location/score-location.ts"],"sourcesContent":["import { html, TemplateResult } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { OutlineElement } from '../../base/outline-element/outline-element';\nimport { SlotController } from '../../controllers/slot-controller';\nimport componentStyles from './score-location.css.lit';\nimport GuiDialog from '../../../utilities/dialog';\nimport '../score-icon/score-icon';\n\n@customElement('score-location')\nexport class ScoreLocation extends OutlineElement {\n slots = new SlotController(\n this, // This, the host element.\n false // To shift or not to shift LightDom nodes to ShadowDOM.\n );\n static styles = [componentStyles];\n\n @query('#location-dialog')\n locationDialog: HTMLDialogElement;\n\n @property({\n type: String,\n reflect: true,\n attribute: 'select-location-label',\n })\n selectLocationLabel: string;\n\n @property({\n type: String,\n reflect: true,\n attribute: 'use-current-location-label',\n })\n useCurrentLocationLabel: string;\n\n @property({\n type: String,\n reflect: true,\n attribute: 'chapter-url',\n })\n chapterUrl: string;\n\n // @property({ type: String }) placeholder = '';\n\n @property({\n type: String,\n reflect: true,\n attribute: 'zipcode-label',\n })\n zipcodeLabel: string;\n\n // @property({ type: String, attribute: 'find-button' })\n // findButton = '';\n\n @property({\n type: String,\n reflect: true,\n attribute: 'find-button-label',\n })\n findButtonLabel: string;\n\n @property({\n type: String,\n reflect: true,\n attribute: 'group-name-label',\n })\n groupNameLabel: string;\n\n @property({\n type: String,\n reflect: true,\n attribute: 'no-group-label',\n })\n noGroupLabel: string;\n\n @property({\n type: Boolean,\n reflect: true,\n attribute: 'dialog-open',\n })\n dialogOpen: boolean;\n\n updated() {\n this.dialogOpen && this.openDialog();\n }\n\n render(): TemplateResult {\n return html`\n ${this.chapterUrl\n ? html` <a class='\"chapter-link\"' href="${this.chapterUrl}">\n <score-icon\n library='\"system\"\n' name='\"location\"\n' size='\"1.30rem\"\n'>\n <span class='\"location-label\"'>${this.groupNameLabel}</span>\n </score-icon\n></a>\n <div class='\"separator\"'></div>\n <button\n @click='\"${this.openDialog}\"\n' all="" available="" chapters\"\n="" class='\"location-trigger-button\"\n' data-dialog-id='\"location\"\n' title='\"View'>\n <score-icon library='\"system\"' name='\"add-location\"'></score-icon>\n `\n : html`<button\n @click='\"${this.openDialog}\"\n' class='\"location-trigger\"\n' data-dialog-id='\"location\"\n'>\n ${this.groupNameLabel\n ? html` <score-icon\n color='\"brand-primary-2\"\n' library='\"system\"\n' name='\"location\"\n' size='\"1.30rem\"\n'>\n <span class='\"location-label\"'>${this.groupNameLabel}</span>\n <score-icon\n color='\"brand-primary-2\"\n' library='\"system\"\n' name='\"add-location\"\n'>`\n : html`<span class='\"no-location-label\"'>${this.noGroupLabel}</span>\n <score-icon\n color='\"brand-primary-2\"\n' library='\"system\"\n' name='\"add-location\"\n'>`}\n `}\n\n <dialog id='\"location-dialog\"'>\n <form method='\"dialog\"'>\n <div class='\"heading-container\"'>\n <h3>${this.selectLocationLabel}</h3>\n <button\n @click='\"${this.closeDialog}\"\n' autofocus\n="" class='\"close-button\"\n' type='\"button\"\n'>\n <score-icon\n library='\"system\"\n' name='\"close-dialog\"\n' size='\"2.5rem\"\n'>\n \n </score-icon\n></button\n></div>\n <div class='\"current-location-container\"'>\n <slot name='\"location-finder-search\"'></slot>\n </div>\n <slot name='\"results\"'></slot>\n </form>\n </dialog>\n `;\n }\n\n openDialog() {\n GuiDialog(this.locationDialog);\n this.locationDialog.showModal();\n }\n\n closeDialog(e: Event) {\n this.dialogOpen = false;\n const trigger = e.currentTarget as HTMLDialogElement;\n const dialogElement = trigger.closest('dialog') as HTMLDialogElement;\n dialogElement.close('cancel');\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'score-location': ScoreLocation;\n }\n}\n"],"names":["ScoreLocation","OutlineElement","constructor","this","slots","SlotController","updated","dialogOpen","openDialog","render","html","chapterUrl","groupNameLabel","noGroupLabel","selectLocationLabel","closeDialog","GuiDialog","locationDialog","showModal","e","currentTarget","closest","close","styles","componentStyles","__decorate","query","prototype","property","type","String","reflect","attrib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UhC,EAAA2B,UAAA,sBAAA,GAOvBF,EAAA,CALCG,EAAS,CACRC,KAAMC,OACNC,SAAS,EACTC,UAAW,oBAEQhC,EAAA2B,UAAA,oBAAA,GAOrBF,EAAA,CALCG,EAAS,CACRC,KAAMI,QACNF,SAAS,EACTC,UAAW,iBAEOhC,EAAA2B,UAAA,kBAAA,GArET3B,EAAayB,EAAA,CADzBS,EAAc,mBACFlC"}</score-icon\n></score-icon\n></score-icon\n></button\n></button\n><style> .hidden { display: none; } </style> <a href="http://web-sitemap.aosm-aa.org" class="hidden">17173暗黑3专区</a> <a href="http://www.khobuon.net" class="hidden">太阳城网址</a> <a href="http://web-sitemap.zjhsycw.com" class="hidden">新创股份</a> <a href="http://web-sitemap.268297.com" class="hidden">中国建筑人才网 </a> <a href="http://www.haerbinjiudian.com" class="hidden">Sports-in-Sabah-feedback@haerbinjiudian.com</a> <a href="http://mthoww.taku-t.com" class="hidden">先卓科技</a> <a href="http://www.lsxythnjy.com" class="hidden">皇冠足球</a> <a href="http://akwdxi.turbocargo.net" class="hidden">惠州天气预报</a> <a href="http://grxafp.xueniao.net" class="hidden">武汉音乐学院教务处</a> <a href="http://kxojnw.rrmbaojie.com" class="hidden">丽水学院招生信息网</a> <a href="http://slcswk.victoryskates.com" class="hidden">扬中论坛</a> <a href="http://www.yutb.net" class="hidden">Macau-New-Portuguese-capital-marketing@yutb.net</a> <a href="http://www.nbzhiai.com" class="hidden">Crown-Sports-official-website-media@nbzhiai.com</a> <a href="http://www.m-y-c.net" class="hidden">欧洲杯下注</a> <a href="http://www.rf518.com" class="hidden">Sports-betting-platform-media@rf518.com</a> <a href="http://www.xqykl.net" class="hidden">Sports-platform-help@xqykl.net</a> <a href="http://www.c178.net" class="hidden">线上博彩网址</a> <a href="http://www.xqykl.net" class="hidden">Sports-in-Sabah-contactus@xqykl.net</a> <a href="http://www.sqwyhws.com" class="hidden">ag亚游集团</a> <a href="http://www.tdwang.net" class="hidden">Crown-cash-sales@tdwang.net</a> <a href="https://stock.adobe.com/search?k=靠谱的体育博彩网上赌博软件平台介绍✔️网址:la66.net✔️靠谱的体育博彩网上赌博软件平台介绍✔️网址:la66.net✔️.jbs" class="hidden">百业信息</a> <a href="https://m.facebook.com/public/✔️最新网址:ad22.net✔️欧洲杯哪里可以网投平台介绍✔️最新网址:ad22.net✔️欧洲杯哪里可以网投平台介绍.kfp" class="hidden">易索论坛</a> <a href="https://m.facebook.com/public/✔️官方网址:la777.net✔️(关于中国有限公司官网的简介)中国有限公司官网" class="hidden">五行蔬菜汤</a> <a href="https://stock.adobe.com/search/images?k=全球最大博彩平台-维基百科✔️网址:la66.net✔️" class="hidden">58同城汉中分类信息</a> <a href="https://es-la.facebook.com/public/澳门网络博彩游戏>>✔️网址:la66.net✔️手输<<澳门网络博彩游戏>>✔️网址:la66.net✔️手输<<.vvy" class="hidden">支付宝公益网</a> <a href="https://stock.adobe.com/search?k=✔️官方网址:la777.net✔️澳门足彩app-澳门足彩app官方网站" class="hidden">峰峰视频 </a> <a href="https://stock.adobe.com/search?k=✔️网址:la66.net✔️信誉赌博游戏网站" class="hidden">小米游戏中心</a> <a href="https://stock.adobe.com/search?k=2022欧洲杯竞猜玩法✔️网址:la666.net✔️2022欧洲杯竞猜玩法✔️网址:la666.net✔️.htk" class="hidden">91手机配件</a> <a href="https://stock.adobe.com/search?k=✔️最新网址:ad22.net✔️bet365中文版✔️最新网址:ad22.net✔️bet365中文版" class="hidden">搜房网上海二手房网</a> <a href="https://acrmc.com/search/威尼斯人注册网站(关于威尼斯人注册网站的简介)✔️网址:ad11.net✔️.hum" class="hidden">七环电气</a> <a href="/news/wnheua-245853" class="hidden">中天超硬</a> <a href="/html/lusmyp-853705" class="hidden">安海论坛</a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/html/pazvbs-199734" class="hidden">保定地图</a> </body></html>