PageSourceSearch

https://brand22-bison-rv-center.netlify.app/5364-f1c3c44d3a3c826aca77.js

js brand22-bison-rv-center.netlify.app collected 2026-10-03 10:33:10 UTC 2,570 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5364],{35364:function(e,l,a){a.r(l),a.d(l,{LocationsCardSingleGroup:function(){return I}});var s=a(68102),t=a(49257),n=a(63696),i=a(10898),o=a(7543),d=a(58891),r=a(650),c=a(50213),m=a(57210),u=a(91785);const p=["selectedLocationId","selectedDepartmentId","className","isSmallSizeMap"],f=e=>{let{selectedLocationId:l,selectedDepartmentId:a,className:o="",isSmallSizeMap:d}=e,r=(0,t.A)(e,p);const f=(0,c.v)();if(0!==l&&!l&&0!==a&&!a)return null;const g=!(0===a||a),S=g?f.find((e=>{var a;return(null===(a=e.info)||void 0===a?void 0:a.id)===""+l})):f.find((e=>e.departments.some((e=>(null==e?void 0:e.id)===""+a)))),{0:v,1:C}=(0,n.useState)((()=>g?null:((e,l)=>{if((0,i.VP)(e))return null;const a=e.findIndex((e=>(null==e?void 0:e.id)===""+l));return-1===a?0:a})(null==S?void 0:S.departments,a)));return void 0!==S?(0,u.Y)(m.B,(0,s.A)({className:"classLocationCardSingle "+o,locationData:S,singleDepartment:!0,isLocation:g,selectedDepartment:v,setSelectedDepartment:C,isSmallSizeMap:d},r)):null};var g=a(5826),S=a(80945),v=a(8042);const C=(0,u.AH)((0,S.$)(),";&.classMultipleCards{display:grid;grid-gap:20px;grid-template-columns:1fr;",(0,g.HG)(r.f.md),"{grid-template-columns:repeat(2, 1fr);}.classPageStandard .classStandardPageFullWidth &{max-width:",v.r.lcGroupMaxWidth,";margin-inline:auto;}.classOneCol &,.classImRowTwoCol &,.classImRowThreeCol{grid-template-columns:1fr;",(0,g.HG)(r.f.md),"{grid-template-columns:repeat(2, 1fr);}}.classOneCol &{",(0,g.HG)(r.f.xl),"{grid-template-columns:repeat(3, 1fr);}}.classTwoColRight &,.classImRowThreeCol &{",(0,g.HG)(r.f.xl),"{grid-template-columns:1fr;}}}",""),h=["locationsIds","departmentsIds","className"],I=e=>{var l,a;let{locationsIds:c,departmentsIds:m,className:p}=e,g=(0,t.A)(e,h);const S=Boolean(c&&m&&c.concat(m).length>1||c&&c.length>1||m&&m.length>1),v=(0,n.useRef)(null),I=(null===(l=v.current)||void 0===l||null===(a=l.parentElement)||void 0===a?void 0:a.className)||"",w=null==I?void 0:I.includes("classTwoColRight"),{viewportWidth:G}=(0,d.q)(),N=(S||w)&&(G<r.f.xs2||G>r.f.md&&G<r.f.lg||G>r.f.xl);return(0,i.uG)(c)||(0,i.uG)(m)?(0,u.Y)("div",{className:(S?"classMultipleCards":"classSingleCard")+" classStandardComponent "+(0,o.a)(!1,!1),css:C,ref:v},c&&c.map((e=>(0,u.Y)(f,(0,s.A)({key:"location "+e,className:"classLocationsCardGroup "+p,selectedLocationId:e,isSmallSizeMap:N},g)))),m&&m.map((e=>(0,u.Y)(f,(0,s.A)({key:"department "+e,className:"classLocationsCardGroup "+p,selectedDepartmentId:e,isSmallSizeMap:N},g))))):null}}}]);

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.