/home/altere25/labratnyc.com/wp-content/plugins/woocommerce-payments/dist
NameSizeModeActions
chunks/-0755rm
007b2705c0a8f69dfdf6.png708570644editdlrm
9d5328fb490cddd43f66.png1743690644editdlrm
4873-rtl.css761140644editdlrm
4873.css761100644editdlrm
blocks-checkout-rtl.css196280644editdlrm
blocks-checkout.asset.php3040644editdlrm
blocks-checkout.css196130644editdlrm
blocks-checkout.js1662150644editdlrm
cart-block-rtl.css1900644editdlrm
cart-block.asset.php1740644editdlrm
cart-block.css1890644editdlrm
cart-block.js476030644editdlrm
cart.asset.php1670644editdlrm
cart.js160560644editdlrm
checkout-rtl.css48710644editdlrm
checkout.asset.php1240644editdlrm
checkout.css48730644editdlrm
checkout.js989770644editdlrm
express-checkout-rtl.css12030644editdlrm
express-checkout.asset.php1920644editdlrm
express-checkout.css12030644editdlrm
express-checkout.js344770644editdlrm
frontend-tracks.asset.php1130644editdlrm
frontend-tracks.js15770644editdlrm
index-rtl.css209330644editdlrm
index.asset.php4870644editdlrm
index.css209240644editdlrm
index.js1392880644editdlrm
index.js.LICENSE.txt1880644editdlrm
multi-currency-analytics.asset.php1200644editdlrm
multi-currency-analytics.js24550644editdlrm
multi-currency-async-renderer-rtl.css5960644editdlrm
multi-currency-async-renderer.asset.php970644editdlrm
multi-currency-async-renderer.css5950644editdlrm
multi-currency-async-renderer.js210650644editdlrm
multi-currency-async-renderer.js.LICENSE.txt830644editdlrm
multi-currency-rtl.css227090644editdlrm
multi-currency-switcher-block.asset.php2750644editdlrm
multi-currency-switcher-block.js253540644editdlrm
multi-currency.asset.php3420644editdlrm
multi-currency.css227150644editdlrm
multi-currency.js573940644editdlrm
order-rtl.css36900644editdlrm
order.asset.php3320644editdlrm
order.css36900644editdlrm
order.js451840644editdlrm
plugins-page-rtl.css10880644editdlrm
plugins-page.asset.php2150644editdlrm
plugins-page.css10900644editdlrm
plugins-page.js42670644editdlrm
product-details-rtl.css10630644editdlrm
product-details.asset.php970644editdlrm
product-details.css10630644editdlrm
product-details.js398740644editdlrm
reports-balance-rtl.css114880644editdlrm
reports-balance.css114770644editdlrm
reports-fees-rtl.css10644editdlrm
reports-fees.css10644editdlrm
settings-rtl.css803670644editdlrm
settings.asset.php3960644editdlrm
settings.css777850644editdlrm
settings.js2951070644editdlrm
settings.js.LICENSE.txt1880644editdlrm
subscription-edit-page.asset.php1510644editdlrm
subscription-edit-page.js31510644editdlrm
subscription-product-onboarding-modal-rtl.css13560644editdlrm
subscription-product-onboarding-modal.asset.php2090644editdlrm
subscription-product-onboarding-modal.css13560644editdlrm
subscription-product-onboarding-modal.js33470644editdlrm
subscription-product-onboarding-toast.asset.php1570644editdlrm
subscription-product-onboarding-toast.js12020644editdlrm
subscriptions-empty-state-rtl.css1220644editdlrm
subscriptions-empty-state.asset.php1850644editdlrm
subscriptions-empty-state.css1220644editdlrm
subscriptions-empty-state.js30210644editdlrm
success.asset.php970644editdlrm
success.js167340644editdlrm
tos-rtl.css6300644editdlrm
tos.asset.php2650644editdlrm
tos.css6290644editdlrm
tos.js74750644editdlrm
wc-payments-one-and-done-notice-rtl.css15120644editdlrm
wc-payments-one-and-done-notice.asset.php2100644editdlrm
wc-payments-one-and-done-notice.css15080644editdlrm
wc-payments-one-and-done-notice.js79970644editdlrm
wc-payments-post-kyc-activation-notice-rtl.css15120644editdlrm
wc-payments-post-kyc-activation-notice.asset.php2100644editdlrm
wc-payments-post-kyc-activation-notice.css15080644editdlrm
wc-payments-post-kyc-activation-notice.js83800644editdlrm
wc-payments-review-prompt-rtl.css62340644editdlrm
wc-payments-review-prompt.asset.php2530644editdlrm
wc-payments-review-prompt.css62320644editdlrm
wc-payments-review-prompt.js383040644editdlrm
wc-payments-review-prompt.js.LICENSE.txt1880644editdlrm
wc-payments-settings-spotlight-rtl.css57780644editdlrm
wc-payments-settings-spotlight.asset.php2670644editdlrm
wc-payments-settings-spotlight.css57760644editdlrm
wc-payments-settings-spotlight.js370600644editdlrm
wc-payments-settings-spotlight.js.LICENSE.txt1880644editdlrm
wc-payments-test-to-live-notice-rtl.css15120644editdlrm
wc-payments-test-to-live-notice.asset.php2100644editdlrm
wc-payments-test-to-live-notice.css15080644editdlrm
wc-payments-test-to-live-notice.js80020644editdlrm
wcpay-capital-rtl.css24820644editdlrm
wcpay-capital.css24820644editdlrm
wcpay-card-readers-rtl.css56000644editdlrm
wcpay-card-readers.css56010644editdlrm
wcpay-documents-rtl.css79330644editdlrm
wcpay-documents.css79330644editdlrm
wcpay-fraud-protection-rtl.css48480644editdlrm
wcpay-fraud-protection.css48470644editdlrm
wcpay-money-movement-rtl.css515280644editdlrm
wcpay-money-movement.css515150644editdlrm
wcpay-multi-currency-setup-rtl.css79610644editdlrm
wcpay-multi-currency-setup.css79610644editdlrm
wcpay-onboarding-rtl.css127280644editdlrm
wcpay-onboarding.css127280644editdlrm
wcpay-overview-rtl.css248280644editdlrm
wcpay-overview.css248220644editdlrm
wcpay-payouts-rtl.css168900644editdlrm
wcpay-payouts.css168930644editdlrm
wcpay-reports-rtl.css56070644editdlrm
wcpay-reports.css56080644editdlrm
woopay-direct-checkout.asset.php2000644editdlrm
woopay-direct-checkout.js177650644editdlrm
woopay-express-button.asset.php1670644editdlrm
woopay-express-button.js692970644editdlrm
woopay-rtl.css329650644editdlrm
woopay.asset.php2240644editdlrm
woopay.css303740644editdlrm
woopay.js158350644editdlrm
Edit: /home/altere25/labratnyc.com/wp-content/plugins/woocommerce-payments/dist/tos.js (7475B)
(()=>{var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var o=globalThis.document;if(!t&&o&&(o.currentScript&&"SCRIPT"===o.currentScript.tagName.toUpperCase()&&(t=o.currentScript.src),!t)){var n=o.getElementsByTagName("script");if(n.length)for(var s=n.length-1;s>-1&&(!t||!/^http(s?):/.test(t));)t=n[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t})(),e.p=window.wcpayAssets.url,(()=>{"use strict";const t=window.React,o=window.ReactDOM,n=window.wp.i18n;function s(e){return e.startsWith("{{/")?{type:"componentClose",value:e.replace(/\W/g,"")}:e.endsWith("/}}")?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.startsWith("{{")?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}function r(e,o){let n,s,c=[];for(let t=0;tp()({path:"/wc/v3/payments/tos",method:"POST",data:{accept:e}}),u=async()=>{const e=wcpay_tos_settings.trackStripeConnected;wcTracks.isEnabled&&e&&(((e,t={})=>{if(window.wcpaySettings){Object.assign(t,{is_test_mode:wcpaySettings.testMode,jetpack_connected:wcpaySettings.isJetpackConnected,wcpay_version:wcpaySettings.version,woo_country_code:wcpaySettings.connect.country,hosting_provider:wcpaySettings.trackingInfo?.hosting_provider});for(const e in t)void 0===t[e]&&delete t[e]}d()(()=>{(wc?.tracks?.recordEvent??wcTracks.recordEvent)(e,t)})})("wcpay_stripe_connected",{is_existing_stripe_account:e.is_existing_stripe_account}),p()({path:"/wc/v3/payments/tos/stripe_track_connected",method:"POST"}))},y=window.ReactJSXRuntime,_=e=>(0,y.jsx)(a.ExternalLink,{...e,href:"https://wordpress.com/tos"}),h=({onAccept:e,onDecline:t,isBusy:o,hasError:s})=>{const r=(0,n.sprintf)((0,n.__)("%s: Terms of Service","woocommerce-payments"),"WooPayments"),i=c({mixedString:(0,n.sprintf)((0,n.__)("To continue using %s, please review and agree to our {{link}}Terms of Service{{/link}}. By clicking “Accept” you agree to the Terms of Service.","woocommerce-payments"),"WooPayments"),components:{link:(0,y.jsx)(_,{})}});return(0,y.jsxs)(a.Modal,{title:r,isDismissible:!1,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,onRequestClose:t,className:"woocommerce-payments__tos-modal",children:[s&&(0,y.jsx)(a.Notice,{status:"error",isDismissible:!1,className:"woocommerce-payments__tos-error",children:(0,n.__)("Something went wrong. Please try accepting the Terms of Service again!","woocommerce-payments")}),(0,y.jsxs)("div",{className:"woocommerce-payments__tos-wrapper",children:[(0,y.jsx)("div",{className:"woocommerce-payments__tos-modal-message",children:i}),(0,y.jsxs)("div",{className:"woocommerce-payments__tos-footer",children:[(0,y.jsx)(a.Button,{variant:"secondary",onClick:t,disabled:o,__next40pxDefaultSize:!0,children:(0,n.__)("Decline","woocommerce-payments")}),(0,y.jsx)(a.Button,{variant:"primary",onClick:e,isBusy:o,__next40pxDefaultSize:!0,children:(0,n.__)("Accept","woocommerce-payments")})]})]})]})},g=({onDisable:e,onCancel:t,isBusy:o,hasError:s})=>{const r=(0,n.sprintf)((0,n.__)("Disable %s","woocommerce-payments"),"WooPayments"),i=c({mixedString:(0,n.sprintf)((0,n.__)("By declining our {{link}}Terms of Service{{/link}}, you’ll no longer be able to capture credit card payments using %s. Your previous transaction and payout data will still be available.","woocommerce-payments"),"WooPayments"),components:{link:(0,y.jsx)(_,{})}});return(0,y.jsxs)(a.Modal,{title:r,isDismissible:!1,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,onRequestClose:e,className:"woocommerce-payments__tos-modal",children:[s&&(0,y.jsx)(a.Notice,{status:"error",isDismissible:!1,className:"woocommerce-payments__tos-error",children:(0,n.__)("Something went wrong. Please try again!","woocommerce-payments")}),(0,y.jsxs)("div",{className:"woocommerce-payments__tos-wrapper",children:[(0,y.jsx)("div",{className:"woocommerce-payments__tos-modal-message",children:i}),(0,y.jsxs)("div",{className:"woocommerce-payments__tos-footer",children:[(0,y.jsx)(a.Button,{variant:"tertiary",onClick:t,isBusy:o,__next40pxDefaultSize:!0,children:(0,n.__)("Back","woocommerce-payments")}),(0,y.jsx)(a.Button,{variant:"primary",onClick:e,isBusy:o,__next40pxDefaultSize:!0,children:(0,n.__)("Disable","woocommerce-payments")})]})]})]})},f=()=>{const[e,o]=(0,t.useState)(!0),[n,s]=(0,t.useState)(!1),[r,c]=(0,t.useState)(!1),[a,l]=(0,t.useState)(!1),[p,m]=(0,t.useState)(!1),d=()=>o(!1),_=()=>s(!1);return n?(0,y.jsx)(g,{onDisable:async()=>{try{m(!1),c(!0),await w({accept:!1}),_(),window.location.href=(0,i.addQueryArgs)((e={page:"wc-settings",tab:"checkout"},(0,i.addQueryArgs)("admin.php",e)),{"tos-disabled":1})}catch(e){m(!0)}finally{c(!1)}var e},onCancel:()=>{_(),o(!0)},isBusy:r,hasError:p}):e?(0,y.jsx)(h,{onAccept:async()=>{try{l(!1),c(!0),await w({accept:!0}),u(),d()}catch(e){l(!0)}finally{c(!1)}},onDecline:()=>{d(),s(!0)},isBusy:r,hasError:a}):null},v=window.wp.data;wcpay_tos_settings.tosAgreementDeclined&&window.addEventListener("load",()=>{const{settingsUrl:e}=wcpay_tos_settings;(e=>{const{createInfoNotice:t}=(0,v.dispatch)("core/notices");t((0,n.sprintf)((0,n.__)("Disabled %s","woocommerce-payments"),"WooPayments"),{actions:[{label:(0,n.__)("Undo","woocommerce-payments"),onClick:async()=>{try{await(async()=>p()({path:"/wc/v3/payments/tos/reactivate",method:"POST"}))()}finally{window.location=e}}}]})})(e)}),wcpay_tos_settings.tosAgreementRequired?function(){const e=document.createElement("div");e.id="wcpay-tos-container",document.body.appendChild(e),(0,o.createRoot)(e).render((0,y.jsx)(f,{}))}():u()})()})();