PageSourceSearch

https://bsc.com.do/_nuxt/Do7Dz6Rc.js

js bsc.com.do collected 2026-10-06 08:49:35 UTC 6,591 bytes, 1 lines download raw bytes

1import{B as S,ci as L,bb as f,ce as c,aL as n,aK as w,aN as b,aM as E,N as I,an as C,c1 as d,aB as h,ax as p,aH as v,ao as M,az as y,bT as m,ay as $,bV as B}from"./a6m4xV6q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6fd3bf4b-9cf1-4123-99af-b65da24ec096",e._sentryDebugIdIdentifier="sentry-dbid-6fd3bf4b-9cf1-4123-99af-b65da24ec096")}catch{}})();var P=Object.defineProperty,z=Object.getOwnPropertyDescriptor,a=(e,r,s,t)=>{for(var l=t>1?void 0:t?z(r,s):r,u=e.length-1,g;u>=0;u--)(g=e[u])&&(l=(t?g(r,s,l):g(l))||l);return t&&l&&P(r,s,l),l};let i=class extends S{constructor(){super(...arguments),this.imageLoaded=!1,this.hasError=!1,this.runtimeSrc="",this.runtimeSrcMobile="",this.retrying=!1,this.retryCount=0}get imageSrc(){return this.runtimeSrc||this.resolveSrc(this.src)}get isCarouselFill(){return(this.containerClass||"").includes("carousel-hero-image")}get srcMobileResolved(){const e=this.runtimeSrcMobile||this.resolveSrc(this.srcMobile);return!e||e===this.imageSrc?"":e}get imageSrcLcp(){return this.imageSrc}resolveSrc(e){return e?e.startsWith("/assets/")||e.startsWith("~/assets/")?L(e):e.startsWith("http")||e.startsWith("//")||e.startsWith("/")?e:`/${e}`:""}get blurSrc(){const e=this.imageSrc;if(!e||f(e))return"";if(e.includes("picsum.photos")||e.includes("unsplash.com")){const r=e.includes("?")?"&":"?";return`${e}${r}w=20&h=15&blur=5&q=10`}return e}get sizes(){return"(max-width: 640px) 100vw, (max-width: 1024px) 100vw, 1920px"}get fetchPriority(){return this.isEager?"high":"auto"}get isEager(){return this.loading==="eager"}get decoding(){return this.isEager?"sync":"async"}get isPublicAsset(){return this.imageSrc.startsWith("/assets/")}get useNativeImg(){return this.isPublicAsset||f(this.imageSrc)}onBlurLoad(){}onBlurError(){}onImageLoad(e){return this.retryCount=0,this.isEager?(this.imageLoaded=!0,e):(setTimeout(()=>{this.imageLoaded=!0},100),e)}onImageError(e){return this.tryRefreshOnError().catch(()=>{}),e}async tryRefreshOnError(){if(this.retrying||this.retryCount>=1){this.hasError=!0;return}const e=this.imageSrc;if(!f(e)){this.hasError=!0;return}this.retrying=!0,this.retryCount+=1;try{const r=await c(e);if(r&&r!==e){this.runtimeSrc=r,this.imageLoaded=!1,this.hasError=!1;const s=this.runtimeSrcMobile||this.resolveSrc(this.srcMobile);if(s&&f(s)){const t=await c(s);t&&t!==s&&(this.runtimeSrcMobile=t)}return}}finally{this.retrying=!1}this.hasError=!0}setLoadedIfComplete(){this.imageEl?.complete&&this.imageEl.naturalWidth>0&&(this.imageLoaded=!0)}onSrcChange(){this.runtimeSrc="",this.runtimeSrcMobile="",this.retryCount=0,this.retrying=!1,this.imageLoaded=!1,this.hasError=!1}onSrcMobileChange(){this.runtimeSrcMobile=""}mounted(){this.setLoadedIfComplete()}};a([n({required:!0})],i.prototype,"src",2);a([n({required:!0})],i.prototype,"alt",2);a([n({default:1920})],i.prototype,"width",2);a([n({default:500})],i.prototype,"height",2);a([n({default:""})],i.prototype,"containerClass",2);a([n({default:""})],i.prototype,"imageClass",2);a([n({default:"lazy"})],i.prototype,"loading",2);a([n({default:""})],i.prototype,"srcMobile",2);a([n({default:!1})],i.prototype,"fill",2);a([w("imageEl")],i.prototype,"imageEl",2);a([b("load")],i.prototype,"onImageLoad",1);a([b("error")],i.prototype,"onImageError",1);a([E("src")],i.prototype,"onSrcChange",1);a([E("srcMobile")],i.prototype,"onSrcMobileChange",1);i=a([I({name:"hero-image-component"})],i);const N={key:0,class:"error-state"},W={key:1,class:"blur-placeholder"},D=["src","alt","width","height","loading","fetchpriority","decoding","aria-label"],O=["srcset"],R=["src","alt","width","height","loading","fetchpriority","decoding","aria-label"],k=["src","alt","width","height","loading","fetchpriority","decoding","aria-label"];function A(e,r,s,t,l,u){const g=M;return d(),h("div",{class:m(["hero-image-container",e.containerClass]),style:B(e.fill||e.isCarouselFill?void 0:{height:`${e.height}px`,minHeight:`${e.height}px`})},[e.hasError||!e.imageSrc?(d(),h("div",N,[...r[6]||(r[6]=[p("div",{class:"error-icon"},"📷",-1)])])):!e.imageLoaded&&e.blurSrc&&e.loading!=="eager"?(d(),h("div",W,[v(g,{src:e.blurSrc,alt:`${e.alt} - placeholder`,width:20,height:15,format:"webp",quality:"10",class:"blur-image",loading:"eager",fetchpriority:"low",onLoad:e.onBlurLoad,onError:e.onBlurError},null,8,["src","alt","onLoad","onError"])])):y("",!0),!e.hasError&&e.
1imageSrc&&e.useNativeImg&&!e.isEager?(d(),h("img",{key:e.imageSrc,ref:"imageEl",src:e.imageSrc,alt:e.alt,width:e.width,height:e.height,loading:e.loading,fetchpriority:e.fetchPriority,decoding:e.decoding,class:m(["hero-image",[e.imageClass,{"image-loaded":e.imageLoaded}]]),"aria-label":e.alt,onLoad:r[0]||(r[0]=(...o)=>e.onImageLoad&&e.onImageLoad(...o)),onError:r[1]||(r[1]=(...o)=>e.onImageError&&e.onImageError(...o))},null,42,D)):!e.hasError&&e.imageSrc&&e.isEager&&e.srcMobileResolved?(d(),h("picture",{key:`${e.imageSrc}|${e.srcMobileResolved}`,class:"hero-picture"},[p("source",{media:"(min-width: 961px)",srcset:e.imageSrcLcp},null,8,O),p("img",{ref:"imageEl",src:e.srcMobileResolved,alt:e.alt,width:e.width,height:e.height,loading:e.loading,fetchpriority:e.fetchPriority,decoding:e.decoding,class:m(["hero-image hero-image--eager",[e.imageClass,{"image-loaded":!0}]]),"aria-label":e.alt,onLoad:r[2]||(r[2]=(...o)=>e.onImageLoad&&e.onImageLoad(...o)),onError:r[3]||(r[3]=(...o)=>e.onImageError&&e.onImageError(...o))},null,42,R)])):!e.hasError&&e.imageSrc&&e.isEager?(d(),h("img",{key:e.imageSrc,ref:"imageEl",src:e.imageSrcLcp,alt:e.alt,width:e.width,height:e.height,loading:e.loading,fetchpriority:e.fetchPriority,decoding:e.decoding,class:m(["hero-image hero-image--eager",[e.imageClass,{"image-loaded":!0}]]),"aria-label":e.alt,onLoad:r[4]||(r[4]=(...o)=>e.onImageLoad&&e.onImageLoad(...o)),onError:r[5]||(r[5]=(...o)=>e.onImageError&&e.onImageError(...o))},null,42,k)):!e.hasError&&e.imageSrc&&!e.useNativeImg?(d(),$(g,{key:e.imageSrc,src:e.imageSrc,alt:e.alt,preset:"hero",width:e.width,height:e.height,sizes:e.sizes,loading:e.loading,fetchpriority:e.fetchPriority,decoding:e.decoding,class:m(["hero-image",[e.imageClass,{"image-loaded":e.imageLoaded,"hero-image--eager":e.isEager}]]),"aria-label":e.alt,onLoad:e.onImageLoad,onError:e.onImageError},null,8,["src","alt","width","height","sizes","loading","fetchpriority","decoding","class","aria-label","onLoad","onError"])):y("",!0)],6)}const q=C(i,[["render",A],["__scopeId","data-v-566ee805"]]);export{q as H};

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.