"use strict";(globalThis.webpackChunksibs_woo_stg=globalThis.webpackChunksibs_woo_stg||[]).push([[362],{362(e,t,s){s.r(t);var n=s(703),o=s(537),r=s(723),a=s(83),i=s(848);const l="sibs_stg_xpay",p=`${l}_data`,c=(0,n.getSetting)(p)||{},_=()=>{const e=(0,o.decodeEntities)(c?.title??""),t=c?.logos??[];return(0,i.jsxs)("div",{className:"wc-block-components-payment-method-label wc-block-components-payment-method-label--with-icon",children:[t.map((e,t)=>(0,i.jsx)("img",{src:e,alt:"",style:{display:"inline",paddingRight:"5px"}},t)),(0,i.jsx)("span",{children:e})]})},d=({eventRegistration:e,emitResponse:t})=>{const s=(0,o.decodeEntities)(c?.description??"");return(0,i.jsx)("span",{children:s})};(0,a.registerPaymentMethod)({name:l,label:(0,i.jsx)(_,{}),ariaLabel:(0,r.__)("SIBS payment method",c?.translation),canMakePayment:()=>!0,content:(0,i.jsx)(d,{}),edit:(0,i.jsx)(d,{}),supports:{features:c?.supports??[]}})},20(e,t,s){var n=s(609),o=Symbol.for("react.element"),r=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,s){var n,l={},p=null,c=null;for(n in void 0!==s&&(p=""+s),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(c=t.ref),t)r.call(t,n)&&!i.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:o,type:e,key:p,ref:c,props:l,_owner:a.current}}t.jsx=l,t.jsxs=l},848(e,t,s){e.exports=s(20)}}]);