PageSourceSearch

https://es.privalia.com/gr/_next/static/chunks/7586.5aab11a90db73ec7.js

js privalia.com collected 2026-09-24 09:09:08 UTC 5,062 bytes, 75 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="161b34cb-bfdd-40ce-8e7e-a03e91d23ee8",e._sentryDebugIdIdentifier="sentry-dbid-161b34cb-bfdd-40ce-8e7e-a03e91d23ee8")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7586],{17390:function(e,t,o){var n,r=this&&this.__createBinding||(Object.create?function(e,t,o,n){void 0===n&&(n=o);var r=Object.getOwnPropertyDescriptor(t,o);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(e,n,r)}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[t.length]=o);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o=n(e),a=0;a<o.length;a++)"default"!==o[a]&&r(t,e,o[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Draggable=t.Header=t.Backdrop=t.ScrollContainer=t.Content=t.Container=void 0;let s=a(o(2450));t.Container=s.default.div`
2  position: fixed;
3  right: 0;
4  left: 0;
5  bottom: 0;
6  height: ${({$open:e})=>e?"100vh":"0"};
7
8  ${({$open:e})=>e&&(0,s.css)`
9      transition: opacity 100ms cubic-bezier(0.65, 0, 0.35, 1);
10    `};
11
12  opacity: ${({$open:e})=>+!!e};
13`,t.Content=s.default.div.attrs(({$height:e,$open:t})=>({style:{height:`${t?e:"0"}%`}}))`
14  display: flex;
15  flex-direction: column;
16  position: absolute;
17  bottom: 0px;
18  right: 0px;
19  left: 0px;
20
21  width: 100vw;
22
23  border-top-left-radius: ${({theme:e})=>e.radius.s300};
24  border-top-right-radius: ${({theme:e})=>e.radius.s300};
25
26  background-color: ${({theme:e})=>e.colors.white.s100};
27
28  ${({$isDragging:e,$duration:t})=>!e&&(0,s.css)`
29      transition: height ${t}ms;
30    `};
31`,t.ScrollContainer=s.default.div`
32  flex: 1;
33  overflow: auto;
34  scrollbar-width: none;
35
36  box-sizing: border-box;
37`,t.Backdrop=s.default.div`
38  z-index: -1;
39  position: fixed;
40  top: 0;
41  right: 0;
42  bottom: 0;
43  left: 0;
44
45  ${({$hideBackdrop:e})=>e&&(0,s.css)`
46      display: none;
47    `};
48
49  background-color: ${({theme:e})=>e.colors.secondary.backdrop};
50`,t.Header=s.default.div`
51  display: flex;
52  justify-content: center;
53  align-items: center;
54  flex-direction: column;
55  background-color: ${({theme:e})=>e.colors.white.s100};
56
57  border-top-left-radius: ${({theme:e})=>e.radius.s300};
58  border-top-right-radius: ${({theme:e})=>e.radius.s300};
59
60  width: 100%;
61  height: 78px;
62
63  ${({$hasTitle:e})=>(0,s.css)`
64    height: ${e?"78px":"40px"};
65  `};
66
67  ${({theme:e})=>e.typography.heading.subheading};
68`,t.Draggable=s.default.div`
69  width: 56px;
70  border-top: ${({theme:e})=>`solid 4px ${e.colors.gray.s400}`};
71
72  ${({$hasTitle:e})=>e&&(0,s.css)`
73      margin-bottom: ${({theme:e})=>e.space.s200};
74    `};
75`},97586:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BottomSheet=void 0;let r=o(80263),i=o(81814),a=n(o(83775)),s=o(53239),l=o(17390);function d(e){return e&&"pageY"in e}t.BottomSheet=({children:e,open:t,openTop:o,onClose:n,title:u,duration:c=300,disableBackdropEvents:f,hideBackdrop:h,disablePortal:p=!1,disableScroll:b=!1})=>{let g=(0,s.useRef)(null),[y,v]=(0,s.useState)(!1),[$,x]=(0,s.use
75State)(0),[_,w]=(0,s.useState)(o?80:45),[m,j]=(0,s.useState)(o?80:45),[k,D]=(0,s.useState)(o?80:45),{container:O}=(0,i.useManager)({open:t}),S=()=>w(0),C=e=>{var t,o,n;let r=d(e)?e.clientY:e.touches[0].clientY;v(!0),x(r),j(parseInt(null!=(n=null==(o=null==(t=null==g?void 0:g.current)?void 0:t.style)?void 0:o.height)?n:"0",10))},M=e=>{let t=d(e)?e.clientY:e.touches[0].clientY;if(!y)return;let o=m+($-t)/window.innerHeight*100;w(o>80?80:o)},P=()=>{y&&(v(!1),_<k?S():m<=80&&(w(80),D(80)))};return(0,s.useEffect)(()=>{t?document.body.style.setProperty("overflow","hidden"):document.body.style.removeProperty("overflow")},[t]),(0,r.jsx)(a.default,{disablePortal:p,container:O,children:(0,r.jsxs)(l.Container,Object.assign({$open:t},{onMouseMove:M,onTouchMove:M,onMouseUp:P,onTouchEnd:P},{"aria-disabled":!t,children:[t?(0,r.jsx)(l.Backdrop,Object.assign({$hideBackdrop:h},{onClick:e=>{e.stopPropagation(),e.preventDefault(),f||S()},onTouchEnd:e=>{e.stopPropagation(),e.preventDefault(),f||S()}})):null,(0,r.jsx)(l.Content,{ref:g,$duration:c,$isDragging:y,$open:t,$height:_,onTransitionEnd:()=>{0===_&&t&&(w(o?80:45),D(o?80:45),n&&n())},children:t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l.Header,{onMouseDown:C,onTouchStart:C,$hasTitle:!!u,children:[(0,r.jsx)(l.Draggable,{$hasTitle:!!u}),u]}),b?e:(0,r.jsx)(l.ScrollContainer,{children:e})]}):null})]}))})},t.default=t.BottomSheet}}]);

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.