PageSourceSearch

https://www.arthotelolympic.it/c3ff3ed21447dd57ae0929c9b02b59fd6712fb1c-7a03daee83847ba9418e.js

js arthotelolympic.it collected 2026-10-09 23:58:10 UTC 5,647 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkarthotelolympic=self.webpackChunkarthotelolympic||[]).push([[529],{79809:function(t,e,r){r.d(e,{i:function(){return s}});var n=r(90644),a=r(17437),i=r(61620),o=r(27092),l=r(52720);const s=(0,r(96540).memo)((function(t){let{direction:e="L",disabled:r,onClick:n,variant:o="default"}=t;return(0,a.Y)(d,{variant:o,className:r?"disabled":void 0,onClick:n},"L"===e?(0,a.Y)(i.JG,null):(0,a.Y)(i.c_,null))})),d=(0,n.A)("div",{target:"e1vw6sra0"})("display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;background:",(0,l.rgba)(o.w4.colors.variants.neutralDark2,.3),";border-radius:50%;transition:0.3s ease-in-out;cursor:pointer;&:hover{background:",(t=>{let{theme:e}=t;return e.colors.variants.neutralDark2}),";}&.disabled{display:none;}svg{width:auto;height:0.75rem;fill:",(t=>{let{theme:e}=t;return e.colors.variants.neutralLight4}),";}",(t=>{let{variant:e}=t;if("invert"===e)return(0,a.AH)("background:",o.w4.colors.variants.neutralDark2,";","","","")}),";")},97300:function(t,e,r){r.d(e,{Z:function(){return f}});var n=r(58168),a=r(54506),i=r(90644),o=r(63375),l=r.n(o),s=r(79809),d=r(81013),u=r(27092),c=r(52720),m=r(32687),h=r(96540),p=r(17437);const v=t=>{const e=new ResizeObserver((function(){t.update()}));t.on("created",(()=>{e.observe(t.container)})),t.on("destroyed",(()=>{e.unobserve(t.container)}))},f=(0,h.memo)((function(t){let{category:e,className:r,clickedSlide:i,fromModal:o,images:u,isOpen:c}=t;if(!u)return null;const{0:f,1:z}=(0,h.useState)(0),{0:C,1:D}=(0,h.useState)(e),{0:L,1:S}=(0,h.useState)(null),{0:N,1:R}=(0,h.useState)([]),{0:$,1:_}=(0,h.useState)([]);function E(t){var e;if(!L)return;const r=window.innerWidth,n=L.slides[t].distance,a=((null===(e=O.current)||void 0===e?void 0:e.size)||r)*-n;return{transform:`translateX(${a+n*(r/2)}px)`,WebkitTransform:`translateX(${a+n*(r/2)}px)`}}const[X,O]=(0,m.E)({defaultAnimation:{duration:1500},loop:u.length>1,slideChanged(t){z(t.track.details.rel),o||D(u[t.track.details.rel].category)},detailsChanged(t){u.length>1&&S(t.track.details)}},[v]);return(0,h.useEffect)((()=>{const t=(0,a.A)(N);t[f]=!0;const e=(0,a.A)($);var r;(e[f+1]=!0,R(t),_(e),void 0!==i)&&(null===(r=O.current)||void 0===r||r.moveToIdx(i,!1,{duration:0}));c&&document.addEventListener("keydown",(function(t){var e,r;switch(t.keyCode){case 37:null===(e=O.current)||void 0===e||e.prev();break;case 39:null===(r=O.current)||void 0===r||r.next()}}))}),[f,i,O,X]),(0,p.Y)(g,{className:r},(0,p.Y)(b,{ref:X},l()(u).map(((t,e)=>(0,p.Y)(y,{key:e,className:"keen-slider__slide"+(f===e?" active":"")},(0,p.Y)(w,{style:E(e)},(0,p.Y)(d._,(0,n.A)({alt:N[e]||$[e]?t.alt:"",animationStart:!(!N[e]&&!$[e])},N[e]||$[e]?t:null))))))),u.length>1?(0,p.Y)(x,null,(0,p.Y)(s.i,{onClick:t=>{var e;return t.stopPropagation()||(null===(e=O.current)||void 0===e?void 0:e.prev())}}),(0,p.Y)(s.i,{direction:"R",onClick:t=>{var e;return t.stopPropagation()||(null===(e=O.current)||void 0===e?void 0:e.next())}})):null,(0,p.Y)(k,null,(0,p.Y)(Y,null,C),(0,p.Y)(A,null,`${f+1}/${u.length}`)))})),g=(0,i.A)("div",{target:"e11ypahs7"})("width:100%;height:100%;background:",(t=>{let{theme:e}=t;return e.colors.variants.primaryDark}),";overflow:hidden;position:absolute;top:0;left:0;&:before{content:'';width:100%;height:7.5rem;background:linear-gradient(\n      ",(0,c.rgba)(u.w4.colors.variants.neutralDark1,0),",\n      ",(0,c.rgba)(u.w4.colors.variants.neutralDark1,1),"\n    );position:absolute;bottom:0;left:0;z-index:2;}@media (max-width: 1199px){background:",(t=>{let{theme:e}=t;return e.colors.variants.neutralLight4}),";&:before{display:none;}}"),b=(0,i.A)("div",{target:"e11ypahs6"})({name:"ktr5ov",styles:"display:flex;width:100%;height:100%;outline:none;overflow:hidden;position:absolute;top:0;left:0;z-index:1;@media (max-width: 767px){height:36vh;top:50%;transform:translateY(-50%);}@media (max-height: 600px){height:50vh;}"}),y=(0,i.A)("div",{target:"e11ypahs5"})("overflow:hidden;position:relative;&.active{img{transition-delay:0s;transform:none!important;}}img{",u.R7.img," transition:transform 1s 1.5s ease-out;transform-origin:center left;}"),w=(0,i.A)("div",{target:"e11ypahs4"})({name:"1rzevu7",styles:"width:100%;height:100%;position:absolute;top:0;left:0;transition-timing-function:cubic-bezier(0.85, 0, 0.15, 1)"}),x=(0,i.A)("div",{target:"e11ypahs3"})({name:"69tbwx",styles:">div{position:absolute;top:50%;transform:translateY(-50%);z-index:3;
1&:first-of-type{left:2.25rem;}&:last-of-type{right:2.25rem;}}@media (max-width: 1199px){width:100%;position:absolute;top:calc(70vh + 1.875rem);left:0;text-align:center;>div{margin:0 0.375rem;position:relative;top:auto;transform:none;&:first-of-type{left:auto;}&:last-of-type{right:auto;}}}@media (max-height: 600px){top:calc(75vh + 1.875rem);}"}),k=(0,i.A)("div",{target:"e11ypahs2"})("width:100%;position:absolute;bottom:3.25rem;left:50%;text-align:center;transform:translateX(-50%);z-index:3;@media (max-width: 1199px){color:",(t=>{let{theme:e}=t;return e.colors.variants.primaryDark}),";bottom:1.875rem;}"),Y=(0,i.A)("div",{target:"e11ypahs1"})(u.R7.title.xm," color:",(t=>{let{theme:e}=t;return e.colors.variants.neutralLight4}),";margin-bottom:0.5rem;@media (max-width: 1199px){width:100%;position:fixed;top:calc(25vh - 4.375rem);left:0;}"),A=(0,i.A)("div",{target:"e11ypahs0"})("color:",u.w4.colors.variants.neutralLight4,";font-family:",u.w4.fontFamily.paragraph,";font-size:0.625rem;line-height:0.875rem;letter-spacing:0.1em;font-weight:200;text-transform:uppercase;@media (max-height: 600px){display:none;}")}}]);
2//# sourceMappingURL=c3ff3ed21447dd57ae0929c9b02b59fd6712fb1c-7a03daee83847ba9418e.js.map

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.