PageSourceSearch

https://www.upstairs.com/frontend/src.components.utilComponents.carousel.carousel.tsx-.af390.af390.js

js upstairs.com collected 2026-10-08 02:17:08 UTC 3,330 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkteam_awesome=self.webpackChunkteam_awesome||[]).push([["src_components_utilComponents_carousel_carousel_tsx-_af390","src_components_utilComponents_carousel_carousel_tsx-_af391","src_components_utilComponents_carousel_carousel_tsx-_af392"],{7002(e,t,s){s.r(t),s.d(t,{Carousel:()=>u,CarouselSlide:()=>m});var a=s(1635),l=s(4862),n=s.n(l),o=s(5982),r=s(8311),i=s(5347),c=s(1965),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.C6)(t,e),t.prototype.view=function(e){var t,s,a,l,o,r,u,m,v,d,_=this,b=null!==(s=null===(t=this.embla)||void 0===t?void 0:t.selectedScrollSnap())&&void 0!==s?s:0,p=null!==(l=null===(a=this.embla)||void 0===a?void 0:a.scrollSnapList())&&void 0!==l?l:[],g=100*(b+1)/p.length;return isFinite(g)||(g=0),n()("div",{className:(0,c.cleanString)("carousel-component",e.attrs.className)},n()("div",{className:"embla"},n()("div",{className:"embla__viewport"},n()("div",{className:"embla__container"},e.children)),e.attrs.progress&&n()("progress",{max:"100",class:"embla__navigation-progress",value:g}),e.attrs.dots&&p.length>1&&n()("nav",{className:"embla__dots-navigation"}," ",p.map(function(e,t){return n()("button",{"aria-label":"navigate to slide ".concat(t+1),className:(0,c.cleanString)("dot",b===t&&"active"),onclick:function(){return _.embla.scrollTo(t,!1)}}," ")})),e.attrs.navigation&&[n()("button",{className:"embla__button prev","aria-label":"previous slide",disabled:!(null===(o=this.embla)||void 0===o?void 0:o.canScrollPrev()),onclick:function(){_.embla.scrollPrev()}},n()("span",null,n()(i.B,{src:(null===(r=e.attrs.navigationIcons)||void 0===r?void 0:r.prev)||"/frontend/assets/static/icons/small-chevron-left.svg"}))),n()("button",{className:"embla__button next","aria-label":"next slide",disabled:!(null===(u=this.embla)||void 0===u?void 0:u.canScrollNext()),onclick:function(){_.embla.scrollNext()}},n()("span",null,n()(i.B,{src:(null===(m=e.attrs.navigationIcons)||void 0===m?void 0:m.next)||"/frontend/assets/static/icons/small-chevron-right.svg"})))],e.attrs.progressCounter&&n()("div",{className:"embla__progress-counter"},n()("button",{className:"embla__button__progress-counter prev","aria-label":"previous slide",disabled:!(null===(v=this.embla)||void 0===v?void 0:v.canScrollPrev()),onclick:function(){_.embla.scrollPrev()}},n()(i.B,{src:"/frontend/assets/static/icons/arrow-left-embla.svg"})),n()("div",{className:"embla__progress__progress-counter"},n()("span",null,b+1,"/",p.length)),n()("button",{className:"embla__button__progress-counter next","aria-label":"next slide",disabled:!(null===(d=this.embla)||void 0===d?void 0:d.canScrollNext()),onclick:function(){_.embla.scrollNext()}},n()(i.B,{src:"/frontend/assets/static/icons/arrow-right-embla.svg"})))))},t.prototype.oncreate=function(e){var t,s,a=e.dom.querySelector(".embla__viewport");this.embla=(0,r.A)(a,e.attrs.options),null===(s=(t=e.attrs).instance)||void 0===s||s.call(t,this.embla),(e.attrs.progress||e.attrs.dots||e.attrs.navigation||e.attrs.progressCounter)&&this.embla.on("select",function(){n().redraw()})},t}(o.I),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,a.C6)(t,e),t.prototype.view=function(e){return n()("div",{className:"embla__slide",key:e.attrs.index,style:e.attrs.styling},e.children)},t}(o.I)}}]);

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.