import{h}from"@stencil/core";import{__}from"@wordpress/i18n";export class ScTestModeInfo{render(){var e,t;return h("sc-popover",{key:"7353cab3b89d348f5b6f36f84435c5bd55e1ed35",skidding:30},h("slot",{key:"6fbcefd9938c88905bfe97cded4954859027dba3",name:"trigger",slot:"trigger"}),h("span",{key:"622b0c0e553e823db9fb681a8005cfb5e14f9e0b",slot:"title"},__("How to switch from Test to Live mode","surecart")),h("div",{key:"f374e410b8cf882e46a0335eb5b2fde56c314be6",class:"sc-test-mode-info-content",slot:"content"},h("ol",{key:"d3c9d461faad83acf5d9aafbb3e23bddec4e27ae"},h("li",{key:"6abab0451686ad5f8b558bbb79cdfff8a657aea8"},__("From the Admin Bar","surecart"),h("ul",{key:"52cc19a82d7726a4c750d421ac6b850f24b0dd1d"},h("li",{key:"3d7726c4e814131008b836ea23b8728fcb34b17a"},__("Select any product & proceed to its checkout page.","surecart")),h("li",{key:"0b5d0e105d5ad1150158f68ac4c2810f6f8ac96e"},__("Access the dropdown menu & select the live mode.","surecart"))),h("img",{key:"89556a27d9c39d2a0dcc29e30b31e7182ff5f293",src:`${null===(e=null===window||void 0===window?void 0:window.scData)||void 0===e?void 0:e.plugin_url}/images/change-from-adminbar.png`,alt:__("Screenshot showing how to change mode from the admin bar","surecart")})),h("li",{key:"32eeb187637faa8b75f49fdd5a8de83d306b1a35"},__("From the Editor","surecart"),h("ul",{key:"f8d27bf3cdb64a77fc9aff85b0107142a0ff6dbf"},h("li",{key:"28be3036612590692bd176aa87beeef5b6a04e00"},__("Navigate to the custom Forms section under SureCart.","surecart")),h("li",{key:"122a1f8e9f20e202de923bcc7ee8c2c38851ff49"},__("Select the checkout form.","surecart")),h("li",{key:"5ac396cd05e340d8758918cf4dceb4515055ecae"},__('Select "Live" from the dropdown. Hit Update!',"surecart"))),h("img",{key:"964449e18a5a0c85dd0c0d3f859d6e4ac81a52d0",src:`${null===(t=null===window||void 0===window?void 0:window.scData)||void 0===t?void 0:t.plugin_url}/images/change-from-editor.png`,alt:__("Screenshot showing how to change mode from the editor","surecart")})))),h("div",{key:"7b7a2cc984b1e7687a12e8aacc72688d67d27478",class:"sc-test-mode-info-footer",slot:"footer"},h("sc-button",{key:"815e42e7bfb2f146bf2b6281bf26761c800a698f",size:"small",type:"link",target:"_blank",href:"https://surecart.com/docs/how-to-make-test-payments/"},__("Documentation ","surecart")," ",h("sc-icon",{key:"43819261e1ee9ec007c8173e1364e2e6a9e89dc3",name:"external-link"})),h("sc-button",{key:"e70a0e9fe84094dcc733d769f396647309fb8c81",size:"small",type:"link",target:"_blank",href:"https://surecart.com/contact-us/"},__("Open a ticket ","surecart")," ",h("sc-icon",{key:"e308f3cfec174e824ff99f688e8700ae10618c26",name:"external-link"}))))}static get is(){return"sc-test-mode-info"}static get originalStyleUrls(){return{$:["sc-test-mode-info.scss"]}}static get styleUrls(){return{$:["sc-test-mode-info.css"]}}}