PageSourceSearch

https://www.haugastol.no/_next/static/chunks/9664.ebfa0b8dfc6c28a5.js

js haugastol.no collected 2026-10-09 18:34:49 UTC 1,435 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9664],{9664:(e,t,i)=>{i.r(t),i.d(t,{TrailMapClient:()=>o});var s=i(401),r=i(4917),n=i(8456);i(9579);let l={version:8,sources:{osm:{type:"raster",tiles:["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256,attribution:"\xa9 OpenStreetMap"}},layers:[{id:"osm-tiles",type:"raster",source:"osm",minzoom:0,maxzoom:19}]},a={id:"route-line",type:"line",paint:{"line-color":"#2563eb","line-width":4}};function o({mapStyleUrl:e,trailGeo:t,loading:i,error:o,copy:d}){let u=(0,r.useRef)(null),c=e?.trim()?e:l;(0,r.useEffect)(()=>{u.current&&t&&u.current.fitBounds(t.bounds,{padding:40,maxZoom:14,duration:500})},[t]);let f=o||!i&&!t;return(0,s.jsxs)("div",{className:"relative min-h-[320px] w-full overflow-hidden rounded-lg border border-[#ddd5c8] bg-[#faf8f3]",children:[(0,s.jsx)(n.Ay,{ref:u,initialViewState:{longitude:7.95,latitude:60.52,zoom:9},mapStyle:c,style:{width:"100%",height:320},children:t?.geojson&&(0,s.jsx)(n.kL,{id:"trail-route",type:"geojson",data:t.geojson,children:(0,s.jsx)(n.Wd,{...a})})}),i&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-[#faf8f3]/80 text-[#6a645d]",children:"Laster rute…"}),f&&!i&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-[#faf8f3]/90 p-6 text-center text-[#6a645d]",children:(0,s.jsx)("p",{className:"text-sm",children:d.ruteKommer})})]})}}}]);

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.