PageSourceSearch

https://huntfishsport.com/_next/static/chunks/73358-c71c863a5a4b14e2.js

js huntfishsport.com collected 2026-10-02 14:06:23 UTC 8,245 bytes, 1 lines download raw bytes

1try{!function(){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]="1da9531f-5673-46c3-8594-f362029502a1",e._sentryDebugIdIdentifier="sentry-dbid-1da9531f-5673-46c3-8594-f362029502a1")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[73358],{13425:(e,t,a)=>{function n(){var e,t;return!!(null==(t=window.Capacitor)||null==(e=t.isNativePlatform)?void 0:e.call(t))}function l(){var e,t;let a=null==(t=window.Capacitor)||null==(e=t.getPlatform)?void 0:e.call(t);return"ios"===a||"android"===a?a:"web"}function o(){return"ios"===l()}function i(){return"android"===l()}a.d(t,{E0:()=>l,EK:()=>n,J_:()=>o,lB:()=>i})},34911:(e,t,a)=>{a.d(t,{A:()=>m});var n=a(95155);a(12115);var l=a(58124),o=a(29466),i=a(23805),r=a(96641),d=a(4071),c=a(56076),s=a(80322),u=a(38699),f=a(57752),h=a(96756),p=a(48022),x=a(37721),y=a(43845),g=a(6);function m(e){let{locations:t,selectedLocationIds:a,onChange:m,variant:A="dropdown",maxSelections:b,minSelections:v=1,label:j="Locations",helperText:D,disabled:C=!1,showElevation:w=!0,multiple:S=!0,size:E="medium",showBulkActions:T=!1}=e,I=()=>{if(D)return D;let e=[];return S&&(v>0&&b?e.push("Select ".concat(v,"-").concat(b," locations")):b?e.push("Select up to ".concat(b," locations")):v>1&&e.push("Select at least ".concat(v," locations"))),a.length>0&&e.push("".concat(a.length," selected")),e.join(" • ")};return"dropdown"===A?(0,n.jsxs)(l.A,{fullWidth:!0,size:E,disabled:C||0===t.length,children:[(0,n.jsx)(o.A,{id:"location-selector-label",children:j}),(0,n.jsx)(i.A,{labelId:"location-selector-label",multiple:S,value:S?a:a[0]||"",onChange:e=>{let t=e.target.value,a="string"==typeof t?t.split(","):t;b&&a.length>b&&(a=a.slice(0,b)),m(a)},input:(0,n.jsx)(r.A,{label:j}),renderValue:e=>{if(!S){let a=t.find(t=>t.id===e);return(null==a?void 0:a.name)||""}let a=Array.isArray(e)?e:[e];return(0,n.jsx)(d.default,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:a.map(e=>{let a=t.find(t=>t.id===e);return(0,n.jsx)(c.default,{label:(null==a?void 0:a.name)||e,size:"small",icon:(0,n.jsx)(g.default,{fontSize:"small"}),sx:{maxWidth:200,"& .MuiChip-label":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},e)})})},children:t.map(e=>(0,n.jsxs)(s.A,{value:e.id,children:[S&&(0,n.jsx)(u.A,{checked:a.includes(e.id)}),(0,n.jsx)(f.A,{primary:e.name,secondary:w&&e.elevation?"".concat(e.elevation.toLocaleString()," ft"):void 0})]},e.id))}),I()&&(0,n.jsx)(h.A,{children:I()})]}):(0,n.jsxs)(d.default,{"data-sentry-element":"Box","data-sentry-component":"LocationSelector","data-sentry-source-file":"LocationSelector.tsx",children:[(0,n.jsxs)(d.default,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1},"data-sentry-element":"Box","data-sentry-source-file":"LocationSelector.tsx",children:[(0,n.jsxs)(p.default,{variant:"subtitle2",color:"text.secondary","data-sentry-element":"Typography","data-sentry-source-file":"LocationSelector.tsx",children:[j,b&&" (up to ".concat(b,")")]}),T&&(0,n.jsxs)(d.default,{sx:{display:"flex",gap:1},children:[(0,n.jsx)(x.default,{size:"small",variant:"text",onClick:()=>{let e=t.map(e=>e.id);m(b?e.slice(0,b):e)},disabled:C||0===t.length,children:"Select All"}),(0,n.jsx)(x.default,{size:"small",variant:"text",onClick:()=>{m([])},disabled:C||0===a.length,children:"Clear All"})]})]}),(0,n.jsx)(y.default,{container:!0,spacing:1,"data-sentry-element":"Grid","data-sentry-source-file":"LocationSelector.tsx",children:t.map(e=>{let t=a.includes(e.id),l=C||!t&&void 0!==b&&a.length>=b;return(0,n.jsx)(y.default,{size:{xs:12,sm:6,md:4},children:(0,n.jsx)(c.default,{label:(0,n.jsxs)(d.default,{children:[(0,n.jsx)(p.default,{variant:"body2",children:e.name}),w&&e.elevation&&(0,n.jsxs)(p.default,{variant:"caption",color:"text.secondary",children:[e.elevation.toLocaleString()," ft"]})]}),onClick:()=>{var t;return t=e.id,void(a.includes(t)?a.length>v&&m(a.filter(e=>e!==t)):(!b||a.length<b)&&m([...a,t]))},color:t?"primary":"default",variant:t?"filled":"outlined",disabled:l,sx:{width:"100%",height:"auto",py:1,justifyContent:"flex-start","& .MuiChip-label":{width:"100%",textAlign:"left"}}})},e.id)})}),I()&&(0,n.jsx)(p.default,{variant:"caption",color:"text.secondary",sx:{mt:1,display:"block"},children:I()}),0===t.length&&(0,n.jsx)(p.default,{variant:"body2",color:"text.secondary",sx:{mt:2,textAlign:"center"},children:"No locations available"})]})}},76639:(e,t,a)=>{a.d(t,{A:()=>y});var n=a(95155),l=a(12115),o=a(40888),i=a(84249),r=a(4071),d=a(22384),c=a(2744),s=a(13425);function u(e){return e.toISOString().replace(/[-:]/g,"").split(".")[0]+"Z"}function f(e){let t=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(t).concat(a).concat(n)}function h(e){return e.replace(/\\/g,"\\\\").replace(/;/g,"\\;").replace(/,/g,"\\,").replace(/\n/g,"\\n")}async function p(e){var t;let{CapacitorCalendar:n}=await a.e(26394).then(a.bind(a,26394));await n.requestWriteOnlyCalendarAccess(),await n.createEventWithPrompt({title:e.title,startDate:e.startDate.getTime(),endDate:e.endDate.getTime(),isAllDay:null!=(t=e.isAllDay)&&t,location:e.location,description:e.description})}let x={borderRadius:1,border:1,borderColor:"divider","&:hover":{backgroundColor:"action.hover"}};function y(e){let{event:t,size:a="small"}=e,{addToCalendar:y,exportToIcs:g,openGoogleCalendar:m}=function(){let e=e=>{var t;let a=new Blob([["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//HuntFishSport//Calendar//EN","BEGIN:VEVENT",(t=e).isAllDay?"DTSTART;
1VALUE=DATE:".concat(f(t.startDate)):"DTSTART:".concat(u(t.startDate)),t.isAllDay?"DTEND;VALUE=DATE:".concat(f(t.endDate)):"DTEND:".concat(u(t.endDate)),"SUMMARY:".concat(h(t.title)),"DESCRIPTION:".concat(h(t.description)),...t.location?["LOCATION:".concat(h(t.location))]:[],"END:VEVENT","END:VCALENDAR"].join("\r\n")],{type:"text/calendar;charset=utf-8"}),n=URL.createObjectURL(a),l=document.createElement("a");l.href=n,l.download="".concat(e.filename||"event",".ics"),document.body.appendChild(l),l.click(),document.body.removeChild(l),setTimeout(()=>URL.revokeObjectURL(n),100)},t=e=>{let t=e.isAllDay?"".concat(f(e.startDate),"/").concat(f(e.endDate)):"".concat(u(e.startDate),"/").concat(u(e.endDate)),a="https://calendar.google.com/calendar/r/eventedit"+"?text=".concat(encodeURIComponent(e.title))+"&dates=".concat(t)+"&details=".concat(encodeURIComponent(e.description))+(e.location?"&location=".concat(encodeURIComponent(e.location)):"");window.open(a,"_blank")};return{addToCalendar:async a=>{if((0,s.EK)())try{await p(a)}catch(e){console.warn("Native calendar failed, falling back to Google Calendar:",e),t(a)}else e(a)},exportToIcs:e,openGoogleCalendar:t}}(),[A,b]=(0,l.useState)(!1),v=(0,s.EK)(),j=async()=>{b(!0);try{await y(t)}finally{b(!1)}};if(v)return(0,n.jsx)(o.A,{title:"Add to Calendar",children:(0,n.jsx)("span",{children:(0,n.jsx)(i.A,{onClick:j,size:a,disabled:A,sx:x,children:(0,n.jsx)(d.default,{fontSize:a})})})});let D=(0,s.lB)();return(0,n.jsxs)(r.default,{sx:{display:"flex",gap:.5},"data-sentry-element":"Box","data-sentry-component":"AddToCalendarButton","data-sentry-source-file":"AddToCalendarButton.tsx",children:[(0,n.jsx)(o.A,{title:"Download .ics file","data-sentry-element":"Tooltip","data-sentry-source-file":"AddToCalendarButton.tsx",children:(0,n.jsx)(i.A,{onClick:()=>g(t),size:a,sx:x,"data-sentry-element":"IconButton","data-sentry-source-file":"AddToCalendarButton.tsx",children:(0,n.jsx)(c.A,{fontSize:a,"data-sentry-element":"Download","data-sentry-source-file":"AddToCalendarButton.tsx"})})}),D&&(0,n.jsx)(o.A,{title:"Add to Google Calendar",children:(0,n.jsx)(i.A,{onClick:()=>m(t),size:a,sx:x,children:(0,n.jsx)(d.default,{fontSize:a})})})]})}},91937:(e,t,a)=>{a.d(t,{r:()=>n});function n(e){if(0===e.length)return null;try{let t=localStorage.getItem("huntfishsport-location");if(t){let a=JSON.parse(t),n=e.find(e=>1e-4>Math.abs(e.latitude-a.latitude)&&1e-4>Math.abs(e.longitude-a.longitude));if(n)return n}}catch(e){console.error("Error loading active location from localStorage:",e)}return e[0]}}}]);

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.