PageSourceSearch

https://zermatt-www-e7847914de5b.herokuapp.com/_next/static/chunks/19139.ee6ff83bed058941.js

js zermatt-www-e7847914de5b.herokuapp.com collected 2026-10-03 14:57:43 UTC 8,378 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19139,27847,70179],{53478:(e,r,t)=>{t.d(r,{Z:()=>a});/**
2 * @license lucide-react v0.359.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let a=(0,t(68017).Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},33683:(e,r,t)=>{t.d(r,{v:()=>d});var a=t(86253),n=t(73670),l=t(40012),o=t(88963),s=t(40388),d=(0,a.z)({chartName:"BarChart",GraphicalChild:n.$,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:l.K},{axisType:"yAxis",AxisComp:o.B}],formatAxisMap:s.t9})},19139:(e,r,t)=>{t.r(r),t.d(r,{default:()=>m,description:()=>u});var a=t(61424),n=t(53478),l=t(33683),o=t(40012),s=t(88963),d=t(73670),i=t(27847),c=t(70179);let u="A horizontal bar chart",h=[{month:"January",desktop:186},{month:"February",desktop:305},{month:"March",desktop:237},{month:"April",desktop:73},{month:"May",desktop:209},{month:"June",desktop:214}
6],p={desktop:{label:"Desktop",color:"hsl(var(--chart-1))"}};function m(){return(0,a.jsxs)(i.Card,{children:[(0,a.jsxs)(i.CardHeader,{children:[(0,a.jsx)(i.CardTitle,{children:"Bar Chart - Horizontal"}),(0,a.jsx)(i.CardDescription,{children:"January - June 2024"})]}),(0,a.jsx)(i.CardContent,{children:(0,a.jsx)(c.ChartContainer,{config:p,children:(0,a.jsxs)(l.v,{accessibilityLayer:!0,data:h,layout:"vertical",margin:{left:-20},children:[(0,a.jsx)(o.K,{type:"number",dataKey:"desktop",hide:!0}),(0,a.jsx)(s.B,{dataKey:"month",type:"category",tickLine:!1,tickMargin:10,axisLine:!1,tickFormatter:e=>e.slice(0,3)}),(0,a.jsx)(c.ChartTooltip,{cursor:!1,content:(0,a.jsx)(c.ChartTooltipContent,{hideLabel:!0})}),(0,a.jsx)(d.$,{dataKey:"desktop",fill:"var(--color-desktop)",radius:5})]})})}),(0,a.jsxs)(i.CardFooter,{className:"flex-col items-start gap-2 text-sm",children:[(0,a.jsxs)("div",{className:"flex gap-2 font-medium leading-none",children:["Trending up by 5.2% this month ",(0,a.jsx)(n.Z,{className:"h-4 w-4"})]}),(0,a.jsx)("div",{className:"leading-none text-muted-foreground",children:"Showing total visitors for the last 6 months"})]})]})}},27847:(e,r,t)=>{t.r(r),t.d(r,{Card:()=>o,CardContent:()=>c,CardDescription:()=>i,CardFooter:()=>u,CardHeader:()=>s,CardTitle:()=>d});var a=t(61424),n=t(6723),l=t(97620);let o=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",t),...n})});o.displayName="Card";let s=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",t),...n})});s.displayName="CardHeader";let d=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,a.jsx)("h3",{ref:r,className:(0,l.cn)("font-semibold leading-none tracking-tight",t),...n})});d.displayName="CardTitle";let i=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,a.jsx)("p",{ref:r,className:(0,l.cn)("text-sm text-muted-foreground",t),...n})});i.displayName="CardDescription";let c=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("p-6 pt-0",t),...n})});c.displayName="CardContent";let u=n.forwardRef((e,r)=>{let{className:t,...n}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.cn)("flex items-center p-6 pt-0",t),...n})});u.displayName="CardFooter"},70179:(e,r,t)=>{t.r(r),t.d(r,{ChartContainer:()=>h,ChartLegend:()=>x,ChartLegendContent:()=>g,ChartStyle:()=>p,ChartTooltip:()=>m,ChartTooltipContent:()=>f});var a=t(61424),n=t(6723),l=t(6644),o=t(594),s=t(46748),d=t(97620);let i={light:"",dark:".dark"},c=n.createContext(null);function u(){let e=n.useContext(c);if(!e)throw Error("useChart must be used within a <ChartContainer />");return e}let h=n.forwardRef((e,r)=>{let{id:t,className:o,children:s,config:i,...u}=e,h=n.useId(),m="chart-".concat(t||h.replace(/:/g,""));return(0,a.jsx)(c.Provider,{value:{config:i},children:(0,a.jsxs)("div",{"data-chart":m,ref:r,className:(0,d.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none",o),...u,children:[(0,a.jsx)(p,{id:m,config:i}),(0,a.jsx)(l.h,{children:s})]})})});h.displayName="Chart";let p=e=>{let{id:r,config:t}=e,n=Object.entries(t).filter(e=>{let[r,t]=e;return t.theme||t.color});return n.length?(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(i).map(e=>{let[t,a]=e;return"\n".concat(a," [data-chart=").concat(r,"] {\n").concat(n.map(e=>{var r;let[a,n]=e,l=(null===(r=n.theme)||void 0===r?void 0:r[t])||n.color;return l?"  --color-".concat(a,": ").concat(l,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},m=o.u,f=n.forwardRef((e,r)=>{let{active:t,payload:l,className:o,indicator:s="dot",hideLabel:i=!1,hideIndicator:c=!1,label:h,labelFormatter:p,labelClassName:m,formatter:f,color:x,nameKey:g,labelKey:y}=e,{config:j}=u(),C=n.useMemo(()=>{var e;if(i||!(null==l?void 0:l.length))return null;let[r]=l,t="".concat(y||r.dataKey||r.name||"value"),n=v(j,r,t),o=y||"string"!=typeof h?null==n?void 0:n.label:(null===(e=j[h])||void 0===e?void 0:e.label)||h;return p?(0,a.jsx)("div",{className:(0,d.cn)("font-medium",m),children:p(o,l)}):o?(0,a.jsx)("div",{className:(0,d.cn)("font-medium",m),children:o}):null},[h,p,l,i,m,j,y]);if(!t||!(null==l?void 0:l.length))return null;let b=1===l.length&&"dot"!==s;return(0,a.jsxs)("div",{ref:r,className:(0,d.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",o),children:[b?null:C,(0,a.jsx)("div",{className:"grid gap-1.5",children:l.map((e,r)=>{let t="".concat(g||e.name||e.dataKey||"value"),n=v(j,e,t),l=x||e.payload.fill||e.color;return(0,a.jsx)("div",{className:(0,d.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===s&&"items-center"),children:f&&(null==e?void 0:e.value)!==void 0&&e.name?f(e.value,e.name,e,r,e.payload):(0,a.jsxs)(a.Fragment,{children:[(null==n?void 0:n.icon)?(0,a.jsx)(n.icon,{}):!c&&(0,a.jsx)("div",{className:(0,d.cn)("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]",{"h-2.5 w-2.5":"dot"===s,"w-1":"line"===s,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===s,"my-0.5":b&&"dashed"===s}),style:{"--color-bg":l,"--color-border":l}}),(0,a.jsxs)("div",{className:(0,d.cn)("flex flex-1 justify-between leading-none",b?"items-end":"items-center"),children:[(0,a.jsxs)("div",{className:"grid gap-1.5",children:[b?C:null,(0,a.jsx)("span",{className:"text-muted-foreground",children:(null==n?void 0:n.label)||e.name})]}),e.value&&(0,a.jsx)("span",{className:"font-mono font-medium tabular-nums text-foreground",children:e.value.toLocaleStr
6ing()})]})]})},e.dataKey)})})]})});f.displayName="ChartTooltip";let x=s.D,g=n.forwardRef((e,r)=>{let{className:t,hideIcon:n=!1,payload:l,verticalAlign:o="bottom",nameKey:s}=e,{config:i}=u();return(null==l?void 0:l.length)?(0,a.jsx)("div",{ref:r,className:(0,d.cn)("flex items-center justify-center gap-4","top"===o?"pb-3":"pt-3",t),children:l.map(e=>{let r="".concat(s||e.dataKey||"value"),t=v(i,e,r);return(0,a.jsxs)("div",{className:(0,d.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==t?void 0:t.icon)&&!n?(0,a.jsx)(t.icon,{}):(0,a.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==t?void 0:t.label]},e.value)})}):null});function v(e,r,t){if("object"!=typeof r||null===r)return;let a="payload"in r&&"object"==typeof r.payload&&null!==r.payload?r.payload:void 0,n=t;return t in r&&"string"==typeof r[t]?n=r[t]:a&&t in a&&"string"==typeof a[t]&&(n=a[t]),n in e?e[n]:e[t]}g.displayName="ChartLegend"}}]);

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.