<html><head></head><body>{"version":3,"sources":["src/components/search/atomic-refine-toggle/atomic-refine-toggle.pcss?tag=atomic-refine-toggle&amp;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 &amp;&amp; (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) =&gt; {\n          if (!button) {\n            return;\n          }\n          this.buttonRef = button;\n          this.loadModal();\n        }}\n        part=\"button\"\n      &gt;\n    );\n  }\n}\n"]}</button\n></div\n><style>
.hidden {
display: none;
}
</style>

<a href="http://sxnmhi.yxyida.com" class="hidden">8682赴韩整形网</a>
<a href="http://www.haerbinjiudian.com"  class="hidden">Sabah-Sports-website-service@haerbinjiudian.com</a>
<a href="http://www.seezl.com"  class="hidden">体育博彩</a>
<a href="http://www.orkexpo.net"  class="hidden">皇冠体育</a>
<a href="http://www.m-y-c.net"  class="hidden">Euro-betting-contactus@m-y-c.net</a>
<a href="http://web-sitemap.boardgamebar.net" class="hidden">由我科技</a>
<a href="http://web-sitemap.xlztys.com" class="hidden">小米开放平台</a>
<a href="http://www.lyhymh.net"  class="hidden">Sports-betting-contactus@lyhymh.net</a>
<a href="http://fcthsl.ctstar.net" class="hidden">科技讯</a>
<a href="http://web-sitemap.rvqnta.com" class="hidden">搜狗彩票网</a>
<a href="http://btgera.olimpicasrl.com" class="hidden">青岛科技大学-本专科招生信息网</a>
<a href="http://web-sitemap.shandahongyang.com" class="hidden">第一门户</a>
<a href="http://www.berxwedan.net"  class="hidden">皇冠博彩</a>
<a href="http://web-sitemap.clubwrangler.com" class="hidden">武侠小说网</a>
<a href="http://www.waki-aiai.net"  class="hidden">太阳城官网</a>
<a href="http://www.noujcf.com"  class="hidden">博彩app</a>
<a href="http://treeservicelosangeles.net" class="hidden">乐施会</a>
<a href="http://ykqfiu.dpincpc.com" class="hidden">太平洋游戏网</a>
<a href="http://www.rf518.com"  class="hidden">Sports-betting-platform-ranking-billing@rf518.com</a>
<a href="http://fobwrj.securespirit.com" class="hidden">四川二手车网</a>

<a href="https://acrmc.com/search/beat365亚洲体育-beat365亚洲体育官方网站✔️最新网址:ad22.net✔️" class="hidden">长春天马国际旅行社</a>
<a href="https://m.facebook.com/public/澳门银河娱乐城官网(中国)有限公司✔️网址:la666.net✔️.iqn" class="hidden">华铁在线</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=科普一下目前最好的网投平台的百科✔️最新网址:ad22.net✔️.ptk" class="hidden">熟男人</a>
<a href="https://acrmc.com/search/✔️最新网址:ad22.net✔️bet365網上投注✔️最新网址:ad22.net✔️bet365網上投注" class="hidden">福彩3D_幸运之门彩票网</a>
<a href="https://m.facebook.com/public/e世博esball平台介绍✔️最新网址:la55.net✔️" class="hidden">兰底网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:ad11.net✔️bet36体育投注-bet36体育投注官方网站.wpd" class="hidden">四川中医药高等专科学校</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:la666.net✔️正规网赌靠谱真人实体在线平台.ftr" class="hidden">STAYREAL</a>
<a href="https://m.facebook.com/public/✔️官方网址:la777.net✔️威尼斯送38元(中国)有限公司✔️官方网址:la777.net✔️威尼斯送38元(中国)有限公司.bwn" class="hidden">科技讯</a>
<a href="https://es-la.facebook.com/public/✔️最新网址:ad22.net✔️bst365老牌体育导航-维基百科✔️最新网址:ad22.net✔️bst365老牌体育导航-维基百科" class="hidden">民生加银基金</a>
<a href="https://acrmc.com/search/澳门永利最老入口✔️最新网址:ad22.net✔️澳门永利最老入口✔️最新网址:ad22.net✔️.uvc" class="hidden">艾肯家电网</a>

<a href="/sitemap.xml" class="hidden">站点地图</a>
<a href="/news/sojtwr-303547" class="hidden">无锡邦瑞特金属制品有限公司</a>
<a href="/news/hfbppk-621540.html" class="hidden">欣欣宁夏旅游网提</a>


</body></html>