1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9535,7871,4738,2159,9931],{99074:function(e,t,r){r.d(t,{Z:function(){return v}});var n=r(57437),a=r(2265),i=r(68720),o=r(60033),l=r(68575),c=r(1899),u=r(89414),s=r(46387),d=r(16210),p=r(31691),f=r(44164),m=r(36402),h=r(52077),g=r(57871);let y=(0,d.ZP)(e=>(0,n.jsx)(m.Z,{disableGutters:!0,elevation:0,square:!1,...e}))(e=>{let{theme:t}=e;return{border:"1px solid ".concat(t.palette.grey[600]),borderRadius:t.shape.borderRadius,"&:not(:last-child)":{borderBottomLeftRadius:8,borderBottomRightRadius:8,"&.Mui-expanded":{borderBottom:"transparent"}},"&:last-child":{borderBottomLeftRadius:t.shape.borderRadius,borderBottomRightRadius:t.shape.borderRadius}}}),b=(0,d.ZP)(e=>(0,n.jsx)(h.Z,{expandIcon:(0,n.jsx)(i.JO,{icon:"mdi:chevron-down",style:{fontSize:"1.25rem",transition:"transform 0.2s ease"}}),...e}))(e=>{let{theme:t}=e;return{backgroundColor:t.palette.grey[900],flexDirection:"row",borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius,borderBottomLeftRadius:t.shape.borderRadius,borderBottomRightRadius:t.shape.borderRadius,"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"},"& .MuiAccordionSummary-content":{display:"flex",alignItems:"center",gap:t.spacing(1)}}}),x=(0,d.ZP)(f.Z)(e=>{let{theme:t}=e;return{padding:t.spacing(2)}});function v(e){let{faqs:t}=e,{t:r}=(0,o.i)(),d=(0,l.v9)(e=>e.user.data),f={"First.Name":(null==d?void 0:d.name)||"",Email:(null==d?void 0:d.email)||"","USD.Exchange.nextValue":(null==d?void 0:d.settings.view_in_fiat_object.currency)||"USD"},m=(0,p.Z)(),[h,v]=a.useState(!1),R=e=>(t,r)=>{v(!!r&&e)};return(0,n.jsxs)(c.Z,{sx:{mt:6,borderRadius:2,bgcolor:"background.paper"},children:[(0,n.jsxs)(c.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[(0,n.jsx)(i.JO,{icon:"mdi:question-mark-circle-outline",style:{color:m.palette.primary.main,fontSize:"1.5rem"}}),(0,n.jsx)(s.Z,{variant:"h5",component:"h2",fontWeight:"600",children:r("navigation.footer.link.support.faq")})]}),(0,n.jsx)(u.ZP,{container:!0,spacing:2,children:t.map((e,t)=>(0,n.jsx)(u.ZP,{item:!0,xs:12,sm:6,children:(0,n.jsxs)(y,{expanded:h==="panel".concat(t),onChange:R("panel".concat(t)),children:[(0,n.jsx)(b,{"aria-controls":"panel".concat(t,"-content"),id:"panel".concat(t,"-header"),children:(0,n.jsxs)(c.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(i.JO,{icon:"mdi:question-mark-circle-outline",style:{color:m.palette.primary.main,width:"1rem",he
1ight:"1rem"}}),(0,n.jsx)(s.Z,{sx:{fontSize:"0.875rem"},children:e.question})]})}),(0,n.jsx)(x,{children:(0,n.jsx)(s.Z,{sx:{fontSize:"0.875rem",color:"text.secondary"},children:(0,n.jsx)(g.lR,{content:e.answer||"",mergeTags:f})})})]})},t))})]})}},57871:function(e,t,r){r.d(t,{lR:function(){return c},Es:function(){return d},ht:function(){return u}});var n=r(57437),a=r(18848),i=r(68575),o=r(48116);let l=["First.Name","Email","USD.Exchange.nextValue"],c=e=>{let{content:t,mergeTags:r}=e,o=u(t,r||{},(0,i.v9)(e=>e.userCurrencies));return o?(0,n.jsx)("div",{style:{overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"pre-wrap",width:"100%",maxWidth:"100%",boxSizing:"border-box",display:"block"},className:"notification-content",dangerouslySetInnerHTML:{__html:a.Z.sanitize(o,{ADD_ATTR:["target","rel"]})}}):(0,n.jsx)("div",{children:"No hay contenido disponible."})},u=(e,t,r)=>{let n=Object.entries(t).reduce((e,t)=>{let[r,n]=t;return e[r]=n,e},{});return(e||"").replace(RegExp(l.map(e=>e.includes("nextValue")?"{{".concat(e,"}}(.+?)(?=\\s|<)"):"{{".concat(e,"}}")).join("|"),"g"),e=>{let t=e.replace(/{{|}}/g,"");if(t.includes("nextValue")){let e=t.split("nextValue")[1],l=t.split(e)[0],c=n[l];if("USD.Exchange.nextValue"===l){var a,i;let t=(null===(a=r.fiats.find(e=>e.symbol===c))||void 0===a?void 0:a.usdRate)||1,n=(null===(i=r.fiats.find(e=>e.symbol===c))||void 0===i?void 0:i.symbol)||"USD",l=(Number(e)*Number(t)).toString();return"".concat(n," ").concat((0,o.dN)(Number(l),"fiat")," ")}return e}return n[t]||""})},s=(e,t)=>{if(null!=e&&"object"==typeof e)return t.split(".").reduce((e,t)=>null!=e&&"object"==typeof e&&t in e?e[t]:void 0,e)},d=(e,t)=>{let{templateProperties:r,transaction:n,mergeTags:a,currencyList:i,userData:l}=t;if(!e)return e;let c=null!=l?l:null;if(null==c){let e=window.sessionStorage;if(e)try{let t=e.getItem("persist:user");if(t){let e=JSON.parse(t);null!=e.data&&"object"==typeof e.data&&(c=e.data)}}catch(e){}}return e.replace(/\{\{([^}]+)\}\}([\d.]+)?/g,(e,t,l)=>{var u,d,p,f,m;let h=t.trim();if(h.startsWith("user.")){let e=h.slice(5).trim(),t=c?s(c,e):void 0;return null==t?"":String(t)}if(h.startsWith("transaction.")){if(!n)return e;let t=h.slice(12).trim();if(!t)return e;let r=s(n,t);return null==r?"":String(r)}if(r&&h in r)return String(r[h]);if("First.Name"===h||"Email"===h)return null!==(u=a[h])&&void 0!==u?u:"";if("USD.Exchange.nextValue"===h&&null!=l){let e=a["USD.Exchange.nextValue"],t=null!==(f=null===(d=i.fiats.find(t=>t.symbol===e))||void 0===d?void 0:d.usdRate)&&void 0!==f?f:1,r=null!==(m=null===(p=i.fiats.find(t=>t.symbol===e))||void 0===p?void 0:p.symbol)&&void 0!==m?m:"USD",n=Number(l)*Number(t);return"".concat(r," ").concat((0,o.dN)(n,"fiat")," ")}return e})}},66386:function(e,t,r){r.d(t,{W:function(){return l}});var n=r(16593),a=r(45345),i=r(49931),o=r(55447);let l=e=>{let{filter:t,populate:r,locale:l}=e,c={};return r&&(c[r.key]=r.value),t&&(c[t.key]=t.value),l&&(c[l.key]=l.value),(0,n.a)({queryKey:["getCMSFaq",o.Hv.cms.getFaq,c],queryFn:()=>(0,i.p5)(o.Hv.cms.getFaq,c,"faqs",(0,i.hl)()),placeholderData:a.Wk,refetchOnMount:!1,refetchOnWindowFocus:!1,staleTime:3e5,gcTime:6e5})}},49931:function(e,t,r){r.d(t,{Aj:function(){return s},DQ:function(){return l},hl:function(){return i},p0:function(){return c},p5:function(){return u}});var n=r(55447);let a={page:1,pageSize:0,pageCount:0,total:0};function i(){return{data:[],meta:{pagination:{...a}}}}function o(){return{data:null,meta:{}}}async function l(e,t){try{var r;let t=await n.ZP.get(e);return null!==(r=t.data)&&void 0!==r?r:i()}catch(e){return i()}}async function c(e,t){try{var r;let t=await n.ZP.get(e);return null!==(r=t.data)&&void 0!==r?r:o()}catch(e){return o()}}async function u(e,t,r,a){try{var i;let r=await n.ZP.get(e,{params:t});return null!==(i=r.data)&&void 0!==i?i:a}catch(e){return a}}function s(e){let{filter:t,populate:r,locale:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=new URL("".concat("https://api.xyes.com/api/v1").concat(e));return Array.isArray(r)&&r.forEach(e=>{a.searchParams.append(e.key,e.value)}),t&&a.searchParams.append(t.key,t.value),n&&a.searchParams.append(n.key,n.value),a}},48116:function(e,t,r){r.d(t,{TQ:function(){return l},dN:function(){return a},ft:function(){return c},jr:function(){return o},lb:function(){return u},rN:function(){return s},x3:function(){return i}});var n=r(68651);let a=(e,t)=>{let r=t.startsWith("crypto/"),n=(e,t)=>{let r=10**t;return Math.trunc(e*r)/r},a=(e,t)=>{if(0===e)return"0";let[r,a]=n(e,t).toString().split("."),i=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return a?"".concat(i,".").concat(a):i};return r?1e-8>Math.abs(e)?"0":a(e,6).replace(/(\.\d*?[1-9])0+$/,"$1"):.01>Math.abs(e)?"0":a(e,2).replace(/(\.\d*?[1-9])0+$/,"$1")},i=(e,t)=>{let r=t.startsWith("crypto/"),a=new n.Z(e),i=(e,t)=>e.decimalPlaces(t,n.Z.ROUND_DOWN),o=(e,t)=>{if(e.isZero())return"0";let[r,n=""]=i(e,t).toFixed().split("."),a=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return n?"".concat(a,".").concat(n):a};return r?a.abs().isLessThan("0.00000001")?"0":o(a,6).replace(/(\.\d*?[1-9])0+$/,"$1"):a.abs().isLessThan("0.01")?"0":o(a,2).replace(/(\.\d*?[1-9])0+$/,"$1")},o=e=>{let t=Math.abs(e),r=e<0?"-":"";if(t>=1e6){let e=(Math.floor(t/1e4)/100).toFixed(2).replace(/\.00$/,"");return"".concat(r).concat(e,"M")}if(t>=1e3){let e=(Math.floor(t/10)/100).toFixed(2).replace(/\.00$/,"");return"".concat(r).concat(e,"k")}return"".concat(r).concat((Math.floor(100*t)/100).toFixed(2).replace(/\.00$/,""))},l=(e,t)=>
1(null==t?void 0:t.cryptos.some(t=>t.symbol===e))?"crypto/".concat(e):"fiat/".concat(e),c=(e,t)=>{let r=null==t?void 0:t.cryptos.find(t=>t.symbol===e),n=null==t?void 0:t.fiats.find(t=>t.symbol===e);return r?{type:"crypto/".concat(e),logoUrl:r.logoUrl}:n?{type:"fiat/".concat(e),logoUrl:n.logoUrl}:{type:"unknown",logoUrl:void 0}},u=e=>new n.Z(e).toFormat(2,n.Z.ROUND_DOWN,{decimalSeparator:".",groupSeparator:",",groupSize:3}),s=(e,t,r)=>{let a=new n.Z(e).dividedBy(new n.Z(t)).multipliedBy(r);return a.isNaN()?0:a.toNumber()}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.