!function(){"use strict";var o=window.wp.data,n=window.wp.element,e=window.wp.plugins,i=window.wp.url,r=window.wp.i18n;(0,e.registerPlugin)("wcpay-subscription-product-onboarding-toast",{icon:null,render:function(){var e=(0,o.useDispatch)("core/notices").createInfoNotice;return(0,n.useEffect)((function(){var o;null!==(o=window)&&void 0!==o&&o.history&&window.history.replaceState(null,null,(0,i.removeQueryArgs)(window.location.href,"wcpay-subscriptions-onboarded")),e((0,r.__)("Thank you for setting up WooCommerce Payments! We’ve published your first subscription product.","woocommerce-payments"))}),[e]),null},scope:"woocommerce"})}();