!function(){"use strict";var n=function(n){var t,e=null!==(t=wcpay_order_config)&&void 0!==t?t:wc.wcSettings.getSetting("woocommerce_payments_data");return null==e?void 0:e[n]};jQuery((function(t){var e,i,o=null!==(e=n("disableManualRefunds"))&&void 0!==e&&e,u=null!==(i=n("manualRefundsTip"))&&void 0!==i?i:"";t("#woocommerce-order-items").on("click","button.refund-items",(function(){var n=t(".do-manual-refund");o?n.hide():n.attr({title:u}).tipTip()}))}))}();