whoami7 - Manager
:
/
home
/
dataiclx
/
vielorbe.com
/
wp-content
/
plugins
/
surecart
/
dist
/
components
/
cjs
/
Upload File:
files >> //home/dataiclx/vielorbe.com/wp-content/plugins/surecart/dist/components/cjs/sc-upsell.cjs.entry.js
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-8acc3c89.js'); require('./watchers-4a82a9b2.js'); const store = require('./store-ce062aec.js'); const getters = require('./getters-a0ce2d19.js'); const mutations = require('./mutations-ac3b22d5.js'); require('./watchers-db03ec4e.js'); require('./index-bcdafe6e.js'); require('./google-03835677.js'); require('./currency-71fce0f0.js'); require('./google-59d23803.js'); require('./utils-2e91d46c.js'); require('./util-b877b2bd.js'); require('./index-fb76df07.js'); require('./add-query-args-49dcb630.js'); require('./fetch-d644cebd.js'); require('./remove-query-args-b57e8cd3.js'); require('./mutations-11c8f9a8.js'); const scUpsellCss = ":host{display:block}.confirm__icon{margin-bottom:var(--sc-spacing-medium);display:flex;justify-content:center}.confirm__icon-container{background:var(--sc-color-primary-500);width:55px;height:55px;border-radius:999999px;display:flex;align-items:center;justify-content:center;font-size:26px;line-height:1;color:white}"; const ScUpsellStyle0 = scUpsellCss; const ScUpsell = class { constructor(hostRef) { index.registerInstance(this, hostRef); } componentWillLoad() { mutations.trackOffer(); mutations.preview(); } render() { var _a, _b, _c, _d, _e, _f, _g, _h, _j; const manualPaymentMethod = (_a = store.state.checkout) === null || _a === void 0 ? void 0 : _a.manual_payment_method; return (index.h(index.Host, { key: '5a5ccb40408bb12b013981123e775bebb69414a1' }, index.h("slot", { key: 'd4a4fbc31372bf47404d74bd3b642ea3b5ebf359' }), getters.isBusy() && index.h("sc-block-ui", { key: 'c67cc77f8b58098ba21bcde7eb7f736cc684b324', style: { 'z-index': '30', '--sc-block-ui-position': 'fixed' } }), index.h("sc-dialog", { key: '17fe9ac372b7a15f70d5750d0c35f310c7e6d3d8', open: store.state.loading === 'complete', style: { '--body-spacing': 'var(--sc-spacing-xxx-large)' }, noHeader: true, onScRequestClose: e => e.preventDefault() }, index.h("div", { key: 'd7f66a09a0fa771352e068cc1b84622d62e0e077', class: "confirm__icon" }, index.h("div", { key: '5f1bd21266ea19d9fe71a100a3c3ca599d86eefe', class: "confirm__icon-container" }, index.h("sc-icon", { key: '4423780f17684d15821ed498cbe9a5883456793b', name: "check" }))), index.h("sc-dashboard-module", { key: '81881198ccac737cdc6b8090005e2fd681796267', heading: ((_c = (_b = store.state === null || store.state === void 0 ? void 0 : store.state.text) === null || _b === void 0 ? void 0 : _b.success) === null || _c === void 0 ? void 0 : _c.title) || wp.i18n.__('Thank you!', 'surecart'), style: { '--sc-dashboard-module-spacing': 'var(--sc-spacing-x-large)', 'textAlign': 'center' } }, index.h("span", { key: '4f39e49eed4878abbc807fe185e0a962a5b948a2', slot: "description" }, ((_e = (_d = store.state === null || store.state === void 0 ? void 0 : store.state.text) === null || _d === void 0 ? void 0 : _d.success) === null || _e === void 0 ? void 0 : _e.description) || wp.i18n.__('Your purchase was successful. A receipt is on its way to your inbox.', 'surecart')), !!(manualPaymentMethod === null || manualPaymentMethod === void 0 ? void 0 : manualPaymentMethod.name) && !!(manualPaymentMethod === null || manualPaymentMethod === void 0 ? void 0 : manualPaymentMethod.instructions) && (index.h("sc-alert", { key: 'c2d1f31cbd76ec5f6effbba271fcc9aeb8097820', type: "info", open: true, style: { 'text-align': 'left' } }, index.h("span", { key: '330c419ae8b7386cc12cbe1db62792d20dec4993', slot: "title" }, manualPaymentMethod === null || manualPaymentMethod === void 0 ? void 0 : manualPaymentMethod.name), index.h("div", { key: '26059fa92fcd82498fa7695e400f608439d24cc5', innerHTML: manualPaymentMethod === null || manualPaymentMethod === void 0 ? void 0 : manualPaymentMethod.instructions }))), index.h("sc-button", { key: '5a5a00990a9127a957cdf198cd8a37daaef77484', href: (_g = (_f = window === null || window === void 0 ? void 0 : window.scData) === null || _f === void 0 ? void 0 : _f.pages) === null || _g === void 0 ? void 0 : _g.dashboard, size: "large", type: "primary", autofocus: true }, ((_j = (_h = store.state === null || store.state === void 0 ? void 0 : store.state.text) === null || _h === void 0 ? void 0 : _h.success) === null || _j === void 0 ? void 0 : _j.button) || wp.i18n.__('Continue', 'surecart'), index.h("sc-icon", { key: 'e5e83144788e5345cdf2e2d308eb08f10a9abc44', name: "arrow-right", slot: "suffix" })))))); } }; ScUpsell.style = ScUpsellStyle0; exports.sc_upsell = ScUpsell; //# sourceMappingURL=sc-upsell.cjs.entry.js.map
Copyright ©2021 || Defacer Indonesia