1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7871,4738],{57871:function(t,e,r){r.d(e,{lR:function(){return u},Es:function(){return d},ht:function(){return c}});var n=r(57437),l=r(18848),i=r(68575),o=r(48116);let a=["First.Name","Email","USD.Exchange.nextValue"],u=t=>{let{content:e,mergeTags:r}=t,o=c(e,r||{},(0,i.v9)(t=>t.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:l.Z.sanitize(o,{ADD_ATTR:["target","rel"]})}}):(0,n.jsx)("div",{children:"No hay contenido disponible."})},c=(t,e,r)=>{let n=Object.entries(e).reduce((t,e)=>{let[r,n]=e;return t[r]=n,t},{});return(t||"").replace(RegExp(a.map(t=>t.includes("nextValue")?"{{".concat(t,"}}(.+?)(?=\\s|<)"):"{{".concat(t,"}}")).join("|"),"g"),t=>{let e=t.replace(/{{|}}/g,"");if(e.includes("nextValue")){let t=e.split("nextValue")[1],a=e.split(t)[0],u=n[a];if("USD.Exchange.nextValue"===a){var l,i;let e=(null===(l=r.fiats.find(t=>t.symbol===u))||void 0===l?void 0:l.usdRate)||1,n=(null===(i=r.fiats.find(t=>t.symbol===u))||void 0===i?void 0:i.symbol)||"USD",a=(Number(t)*Number(e)).toString();return"".concat(n," ").concat((0,o.dN)(Number(a),"fiat")," ")}return t}return n[e]||""})},s=(t,e)=>{if(null!=t&&"object"==typeof t)return e.split(".").reduce((t,e)=>null!=t&&"object"==typeof t&&e in t?t[e]:void 0,t)},d=(t,e)=>{let{templateProperties:r,transaction:n,mergeTags:l,currencyList:i,userData:a}=e;if(!t)return t;let u=null!=a?a:null;if(null==u){let t=window.sessionStorage;if(t)try{let e=t.getItem("persist:user");if(e){let t=JSON.parse(e);null!=t.data&&"object"==typeof t.data&&(u=t.data)}}catch(t){}}return t.replace(/\{\{([^}]+)\}\}([\d.]+)?/g,(t,e,a)=>{var c,d,f,p,b;let m=e.trim();if(m.startsWith("user.")){let t=m.slice(5).trim(),e=u?s(u,t):void 0;return null==e?"":String(e)}if(m.startsWith("transaction.")){if(!n)return t;let e=m.slice(12).trim();if(!e)return t;let r=s(n,e);return null==r?"":String(r)}if(r&&m in r)return String(r[m]);if("First.Name"===m||"Email"===m)return null!==(c=l[m])&&void 0!==c?c:"";if("USD.Exchange.nextValue"===m&&null!=a){let t=l["USD.Exchange.nextValue"],e=null!==(p=null===(d=i.fiats.find(e=>e.symbol===t))||void 0===d?void 0:d.usdRate)&&void 0!==p?p:1,r=null!==(b=null===(f=i.fiats.find(e=>e.symbol===t))||void 0===f?void 0:f.symbol)&&void 0!==b?b:"USD",n=Number(a)*Number(e);return"".concat(r," ").concat((0,o.dN)(n,"fiat")," ")}return t})}},48116:function(t,e,r){r.d(e,{TQ:function(){return a},dN:function(){return l},ft:function(){return u},jr:function(){return o},lb:function(){return c},rN:function(){return s},x3:function(){return i}});var n=r(68651);let l=(t,e)=>{let r=e.startsWith("crypto/"),n=(t,e)=>{let r=10**e;return Math.trunc(t*r)/r},l=(t,e)=>{if(0===t)return"0";let[r,l]=n(t,e).toString().split("."),i=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return l?"".concat(i,".").concat(l):i};return r?1e-8>Math.abs(t)?"0":l(t,6).replace(/(\.\d*?[1-9])0+$/,"$1"):.01>Math.abs(t)?"0":l(t,2).replace(/(\.\d*?[1-9])0+$/,"$1")},i=(t,e)=>{let r=e.startsWith("crypto/"),l=new n.Z(t),i=(t,e)=>t.decimalPlaces(e,n.Z.ROUND_DOWN),o=(t,e)=>{if(t.isZero())return"0";let[r,n=""]=i(t,e).toFixed().split("."),l=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return n?"".concat(l,".").concat(n):l};return r?l.abs().isLessThan("0.00000001")?"0":o(l,6).replace(/(\.\d*?[1-9])0+$/,"$1"):l.abs().isLessThan("0.01")?"0":o(l,2).replace(/(\.\d*?[1-9])0+$/,"$1")},o=t=>{let e=Math.abs(t),r=t<0?"-":"";if(e>=1e6){let t=(Math.floor(e/1e4)/100).toFixed(2).replace(/\.00$/,"");return"".concat(r).concat(t,"M")}if(e>=1e3){let t=(Math.floor(e/10)/100).toFixed(2).replace(/\.00$/,"");return"".concat(r).concat(t,"k")}return"".concat(r).concat((Math.floor(100*e)/100).toFixed(2).replace(/\.00$/,""))},a=(t,e)=>(null==e?void 0:e.cryptos.some(e=>e.symbol===t))?"crypto/".concat(t):"fiat/".concat(t),u=(t,e)=>{let r=null==e?void 0:e.cryptos.find(e=>e.symbol===t),n=null==e?void 0:e.fiats.find(e=>e.symbol===t);return r?{type:"crypto/".concat(t),logoUrl:r.logoUrl}:n?{type:"fiat/".concat(t),logoUrl:n.logoUrl}:{type:"unknown",logoUrl:void 0}},c=t=>new n.Z(t).toFormat(2,n.Z.ROUND_DOWN,{decimalSeparator:".",groupSeparator:",",groupSize:3}),s=(t,e,r)=>{let l=new n.Z(t).dividedBy(new n.Z(e)).multipliedBy(r);return l.isNaN()?0:l.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.