PageSourceSearch

https://hytte.no/component---src-components-pages-city-list-page-tsx-fb22503d7883baf92c76.js

js hytte.no collected 2026-09-27 02:30:57 UTC 2,248 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_nettbureau_featured_gatsby=self.webpackChunk_nettbureau_featured_gatsby||[]).push([[672],{4436:function(e,t,r){r.r(t),r.d(t,{default:function(){return _}});var n=r(9957),a=r(1396),u=r(2632),i=r(3488),d=r(5308),s=r(3499),o=r(6885),l=r(5334),c=r(9392),g=r(2901),b=r(4041),f=r(1209),m=r(9320),Y=r(5498),y=r(5428);function h(e){let{name:t,index:r,background:a,internalLink:u}=e;const{isMobile:h}=(0,n.Gu)(),{t:k}=(0,i.WD)(),p=(0,d.u)(),{theme:R}=(0,b.useContext)(f.Q);return(0,y.Y)(s.Z,{key:r,variant:"elevated"},(0,y.Y)(o.B,{gap:"md",align:"center",justify:"center",direction:h?"vertical":"horizontal"},(0,y.Y)("div",{style:{width:h?"100%":300}},(0,y.Y)("div",{style:{borderTopLeftRadius:p.borderRadiuses.md,borderTopRightRadius:h?p.borderRadiuses.md:0,borderBottomLeftRadius:h?0:p.borderRadiuses.md,borderBottomRightRadius:h?p.borderRadiuses.md:0,background:null!==a?`url(${a.url})`:(0,m.Sn)((0,m.O4)(R).default.card.cardHeaderBackground,p),backgroundSize:"cover",width:"100%",maxWidth:"100%",height:150}})),(0,y.Y)(l.T,{padding:h?"md":0,justify:"center",align:"center",width:80,gap:"md"},(0,y.Y)(Y.Z,{href:null,title:t}),(0,y.Y)(c.$,{color:"gray",onPress:()=>u&&(0,n.CZ)(u,!1),css:e=>({background:(0,m.Sn)((0,m.O4)(R).cityListPage.card.cardButton,e)})},(0,y.Y)(g.E,{"data-featured-city-list-offers-from":!0},k("get_offers_from")," ",t)))))}var k=r(9925),p=r(6490),R=r(1544),v=r(4854);function _(e){return(0,y.Y)(k.D,null,(0,y.Y)(u.K,{background:null},(0,y.Y)(a.D,{language:e.pageContext.language},(0,y.Y)(C,e.pageContext))))}function C(e){const{t:t}=(0,i.WD)(),{catalogConfiguration:r,title:a,cities:u,hideTitle:d}=e,{items:s,numItems:o,query:l,setQuery:c}=(0,n.SQ)({collection:u,attributes:["name","address","postcode","postarea"]});return(0,y.Y)(f.s,{value:{globalThemeVariant:"cityListPage",...r}},(0,y.Y)(p.n7,null,(0,y.Y)(p.YG,null,(0,y.Y)(R.Y,{title:d?null:a,resultsTitle:t("results"),setQuery:c,query:l,numResults:o}),(0,y.Y)(v.g,{items:s,query:l,setQuery:c,itemRenderer:(e,t)=>{const{background:r,name:n,internalLink:a}=e;return(0,y.Y)(h,{index:t,internalLink:null!=a?a:null,background:r,name:n})}}))))}}}]);
2//# sourceMappingURL=component---src-components-pages-city-list-page-tsx-fb22503d7883baf92c76.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.