FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
surecart
/
dist
/
components
/
components
Edit File: sc-upsell-no-thanks-button.js
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{d as decline}from"./mutations.js";const scUpsellNoThanksButtonCss="sc-upsell-no-thanks-button{display:block}sc-upsell-no-thanks-button p{margin-block-start:0;margin-block-end:1em}sc-upsell-no-thanks-button .wp-block-button__link{position:relative;text-decoration:none}",ScUpsellNoThanksButtonStyle0=scUpsellNoThanksButtonCss,ScUpsellNoThanksButton$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost()}render(){return h(Host,{key:"d8c1fa3bd5608e16c41a59713e0dc143c49bf330",onClick:()=>decline()},h("slot",{key:"8fc4e949590e5b1dbfce3f685e290a0a8b2ac9dc"}))}static get style(){return ScUpsellNoThanksButtonStyle0}},[4,"sc-upsell-no-thanks-button"]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["sc-upsell-no-thanks-button"].forEach((t=>{"sc-upsell-no-thanks-button"===t&&(customElements.get(t)||customElements.define(t,ScUpsellNoThanksButton$1))}))}const ScUpsellNoThanksButton=ScUpsellNoThanksButton$1,defineCustomElement=defineCustomElement$1;export{ScUpsellNoThanksButton,defineCustomElement};
Save
Back