<html><head></head><body>{"version":3,"sources":["src/components/search/atomic-refine-toggle/atomic-refine-toggle.pcss?tag=atomic-refine-toggle&encapsulation=shadow","src/components/search/atomic-refine-toggle/atomic-refine-toggle.tsx"],"names":["atomicRefineToggleCss","AtomicRefineToggle","[object Object]","hostRef","this","collapseFacetsAfter","searchStatus","buildSearchStatus","bindings","engine","modalRef","document","createElement","host","insertAdjacentElement","openButton","buttonRef","isOpen","searchStatusState","hasError","firstSearchExecuted","h","part","aria-hidden","class","hasResults","Button","style","onClick","enableModal","text","i18n","t","ref","button","loadModal","__decorate","InitializeBindings","BindStateToController"],"mappings":"wRAAA,MAAMA,EAAwB,w79BCyBjBC,EAAkB,MAL/BC,YAAAC,aAuBgCC,KAAAC,oBAAsB,EAE7CH,aACLE,KAAKE,aAAeC,EAAkBH,KAAKI,SAASC,QAG9CP,YACN,GAAIE,KAAKM,SAAU,CACjB,OAGFN,KAAKM,SAAWC,SAASC,cAAc,uBACvCR,KAAKS,KAAKC,sBAAsB,cAAeV,KAAKM,UACpDN,KAAKM,SAASK,WAAaX,KAAKY,UAChCZ,KAAKM,SAASL,oBAAsBD,KAAKC,oBAGnCH,cACNE,KAAKM,WAAaN,KAAKM,SAASO,OAAS,MAGpCf,SACL,GAAIE,KAAKc,kBAAkBC,SAAU,CACnC,OAGF,IAAKf,KAAKc,kBAAkBE,oBAAqB,CAC/C,OACEC,EAAA,MAAA,CACEC,KAAK,cAAaC,cAAA,KAElBC,MAAM,mDAKZ,IAAKpB,KAAKc,kBAAkBO,WAAY,CACtC,OAGF,OACEJ,EAACK,EAAM,CACLC,MAAM,kBACNH,MAAM,aACNI,QAAS,IAAMxB,KAAKyB,cACpBC,KAAM1B,KAAKI,SAASuB,KAAKC,EAAE,mBAC3BC,IAAMC,IACJ,IAAKA,EAAQ,CACX,OAEF9B,KAAKY,UAAYkB,EACjB9B,KAAK+B,aAEPb,KAAK,uCAjEWc,EAAA,CAArBC,uCAEAC,EAAsB","sourcesContent":["@import '../../../global/global.pcss';\n","import {\n buildSearchStatus,\n SearchStatusState,\n SearchStatus,\n} from '@coveo/headless';\nimport {Component, h, Prop, State, Element} from '@stencil/core';\nimport {\n InitializeBindings,\n InitializableComponent,\n BindStateToController,\n} from '../../../utils/initialization-utils';\nimport {Button} from '../../common/button';\nimport {Bindings} from '../atomic-search-interface/atomic-search-interface';\n\n/**\n * The `atomic-refine-toggle` component displays a button that opens a modal containing the facets and the sort components.\n *\n * When this component is added to the `atomic-search-interface`, an `atomic-refine-modal` component is automatically created.\n * @part button - The refine toggle button.\n */\n@Component({\n tag: 'atomic-refine-toggle',\n styleUrl: 'atomic-refine-toggle.pcss',\n shadow: true,\n})\nexport class AtomicRefineToggle implements InitializableComponent {\n @Element() public host!: HTMLElement;\n public searchStatus!: SearchStatus;\n private modalRef?: HTMLAtomicRefineModalElement;\n private buttonRef?: HTMLButtonElement;\n\n @InitializeBindings() public bindings!: Bindings;\n @State() public error!: Error;\n @BindStateToController('searchStatus')\n @State()\n private searchStatusState!: SearchStatusState;\n\n /**\n * The number of expanded facets inside the refine modal.\n * Remaining facets are automatically collapsed.\n *\n * Using the value `0` collapses all facets.\n */\n @Prop({reflect: true}) public collapseFacetsAfter = 0;\n\n public initialize() {\n this.searchStatus = buildSearchStatus(this.bindings.engine);\n }\n\n private loadModal() {\n if (this.modalRef) {\n return;\n }\n\n this.modalRef = document.createElement('atomic-refine-modal');\n this.host.insertAdjacentElement('beforebegin', this.modalRef);\n this.modalRef.openButton = this.buttonRef;\n this.modalRef.collapseFacetsAfter = this.collapseFacetsAfter;\n }\n\n private enableModal() {\n this.modalRef && (this.modalRef.isOpen = true);\n }\n\n public render() {\n if (this.searchStatusState.hasError) {\n return;\n }\n\n if (!this.searchStatusState.firstSearchExecuted) {\n return (\n <div\n animate-pulse\"\n="" aria-hidden\n="" bg-neutral="" class='\"rounded' h-8="" my-2="" part='\"placeholder\"\n' w-28="">\n );\n }\n\n if (!this.searchStatusState.hasResults) {\n return;\n }\n\n return (\n <button\n =="" class='\"p-3' onclick="{()" style='\"outline-primary\"\n' w-full\"\n=""> this.enableModal()}\n text={this.bindings.i18n.t('sort-and-filter')}\n ref={(button) => {\n if (!button) {\n return;\n }\n this.buttonRef = button;\n this.loadModal();\n }}\n part=\"button\"\n >\n );\n }\n}\n"]}</button\n></div\n><style> .hidden { display: none; } </style> <a href="http://vnltxt.lyhymh.net" class="hidden">红河人才网</a> <a href="http://evaymw.blunt-edu.com" class="hidden">爱尚女性网</a> <a href="http://www.xsdvoip.com" class="hidden">Football-platform-sales@xsdvoip.com</a> <a href="http://cnpnqb.wecanal.net" class="hidden">中国瑞昌网</a> <a href="http://gdmdvn.rwdabh.com" class="hidden">重庆华美整形美容医院</a> <a href="http://www.eduftp.net" class="hidden">Sun-City-support@eduftp.net</a> <a href="http://www.mygril-yaoyao.com" class="hidden">Crown-betting-billing@mygril-yaoyao.com</a> <a href="http://www.yezi-studio.com" class="hidden">Venice-Macao-customerservice@yezi-studio.com</a> <a href="http://www.tdwang.net" class="hidden">Sports-betting-contact@tdwang.net</a> <a href="http://www.futuretac.net" class="hidden">永利体育</a> <a href="http://www.waki-aiai.net" class="hidden">Macau-Sun-City-official-website-hr@waki-aiai.net</a> <a href="http://web-sitemap.dheprogress.com" class="hidden">上海米腾实业有限公司</a> <a href="http://wucwkc.cp55586.com" class="hidden">浩亚股份</a> <a href="http://www.hwfj-art.com" class="hidden">皇冠体育</a> <a href="http://www.letaoyizs.com" class="hidden">Sports-betting-admin@letaoyizs.com</a> <a href="http://www.seezl.com" class="hidden">Sports-betting-feedback@seezl.com</a> <a href="http://www.smxjjl.com" class="hidden">体育平台</a> <a href="http://www.25674.net" class="hidden">Galaxy-Macau-careers@25674.net</a> <a href="http://www.noujcf.com" class="hidden">皇冠博彩</a> <a href="http://jnppnp.wa319.com" class="hidden">联邦家私</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️最新网址:la55.net✔️威尼斯人官方网站✔️最新网址:la55.net✔️威尼斯人官方网站" class="hidden">911查询谜语大全</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=皇冠新现金官网app>>✔️官方网址:la777.net✔️手输<<" class="hidden">360婴儿游泳网</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:la66.net✔️365体育亚洲版.oib" class="hidden">株洲人才网 </a> <a href="https://stock.adobe.com/search?k=188金宝博app下载-维基百科✔️网址:ad11.net✔️188金宝博app下载-维基百科✔️网址:ad11.net✔️.fpp" class="hidden">win7旗舰版分享互联网</a> <a href="https://es-la.facebook.com/public/✔️网址:la66.net✔️ebet真人官网(中国)有限公司.vvq" class="hidden">上海楼盘网</a> <a href="https://stock.adobe.com/search?k=靠谱的体育博彩推荐网赌网站-维基百科✔️网址:la66.net✔️靠谱的体育博彩推荐网赌网站-维基百科✔️网址:la66.net✔️.ooi" class="hidden">沈阳农业大学教务处</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=u乐时时彩票app-维基百科✔️最新网址:ad22.net✔️u乐时时彩票app-维基百科✔️最新网址:ad22.net✔️" class="hidden">辽宁科技学院</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:ad11.net✔️科普一下巴黎人体育在线的百科.qfw" class="hidden">极速恢复</a> <a href="https://acrmc.com/search/>>✔️网址:ad11.net✔️手输<<网上赌博排名靠谱的博彩网站" class="hidden">中国宠物商机网</a> <a href="https://acrmc.com/search/科普一下lol赛事押注的百科✔️网址:la666.net✔️.cex" class="hidden">58同城帮助中心</a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/html/roejun-190858" class="hidden">丹秋名师堂学校官网</a> <a href="/html/sfwzyo-726305" class="hidden">51.com个人空间</a> <a href="/sttcs/hot-news/boobily.html" class="hidden">17173《完美世界》专区</a> <a href="/html/pjhaoc-929302" class="hidden">教育技术通讯</a> </body></html>