"use strict";(globalThis.webpackWcBlocksJsonp=globalThis.webpackWcBlocksJsonp||[]).push([[735],{825:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var r=o(87),n=(o(763),o(723)),s=o(848);const c=({text:e,title:t,children:o,checkoutExtensionData:c,extensions:a,cart:l})=>{const[i,_]=(0,r.useState)(!1),p=a.hasOwnProperty("woocommerce-germanized")?a["woocommerce-germanized"]:{},m=p.applies_for_photovoltaic_system_vat_exempt,f=p.photovoltaic_system_law_details;if((0,r.useEffect)(()=>{_(!!m)},[m,_]),!i)return null;const u=e?e.replace("{legal_text}",(0,n.sprintf)('<a href="%s">%s</a>',f.url,f.text)):(0,n.sprintf)((0,n.__)('To benefit from the tax exemption, please confirm the VAT exemption according to <a href="%1$s" target="_blank">%2$s</a> by activating the checkbox.',"woocommerce-germanized"),f.url,f.text),h=t||(0,n.__)("Your shopping cart is eligible for VAT exemption","woocommerce-germanized");return(0,s.jsxs)("div",{className:"wc-gzd-block-checkout__photovoltaic-system-notice wc-block-components-notice-banner is-info",children:[(0,s.jsx)("h2",{className:"wc-block-components-title",dangerouslySetInnerHTML:{__html:h}}),(0,s.jsx)("p",{dangerouslySetInnerHTML:{__html:u}})]})}},20:(e,t,o)=>{var r=o(609),n=Symbol.for("react.element"),s=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,o){var r,s={},i=null,_=null;for(r in void 0!==o&&(i=""+o),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(_=t.ref),t)c.call(t,r)&&!l.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===s[r]&&(s[r]=t[r]);return{$$typeof:n,type:e,key:i,ref:_,props:s,_owner:a.current}}t.Fragment=s,t.jsx=i,t.jsxs=i},848:(e,t,o)=>{e.exports=o(20)}}]);