PageSourceSearch

https://oztrailsbikepark.com/_next/static/chunks/0l76b5f0-r0wb.js

js oztrailsbikepark.com collected 2026-10-06 16:51:13 UTC 37,162 bytes, 596 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,667784,e=>{"use strict";var r=e.i(271715);let t=(...e)=>e.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim(),i=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,r.forwardRef)(({color:e="currentColor",size:i=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:s="",children:l,iconNode:p,...d},c)=>(0,r.createElement)("svg",{ref:c,...a,width:i,height:i,stroke:e,strokeWidth:o?24*Number(n)/Number(i):n,className:t("lucide",s),...!l&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...p.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(l)?l:[l]]));e.s(["default",0,(e,a)=>{let o=(0,r.forwardRef)(({className:o,...s},l)=>(0,r.createElement)(n,{ref:l,iconNode:a,className:t(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...s}));return o.displayName=i(e),o}],667784)},532281,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={formatUrl:function(){return s},formatWithValidation:function(){return p},urlObjectKeys:function(){return l}};for(var a in i)Object.defineProperty(t,a,{enumerable:!0,get:i[a]});let n=e.r(744066)._(e.r(250944)),o=/https?|ftp|gopher|file/;function s(e){let{auth:r,hostname:t}=e,i=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",p=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?p=r+e.host:t&&(p=r+(~t.indexOf(":")?`[${t}]`:t),e.port&&(p+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==p?(p="//"+(p||""),a&&"/"!==a[0]&&(a="/"+a)):p||(p=""),s&&"#"!==s[0]&&(s="#"+s),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${i}${p}${a}${d}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function p(e){return s(e)}},533854,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return a}});let i=e.r(271715);function a(e,r){let t=(0,i.useRef)(null),a=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let e=t.current;e&&(t.current=null,e());let r=a.current;r&&(a.current=null,r())}else e&&(t.current=n(e,i)),r&&(a.current=n(r,i))},[e,r])}function n(e,r){if("function"!=typeof e)return e.current=r,()=>{e.current=null};{let t=e(r);return"function"==typeof t?t:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},704965,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return n}});let i=e.r(132970),a=e.r(148080);function n(e){if(!(0,i.isAbsoluteUrl)(e))return!0;try{let r=(0,i.getLocationOrigin)(),t=new URL(e,r);return t.origin===r&&(0,a.hasBasePath)(t.pathname)}catch(e){return!1}}},660375,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return i}});let i=e=>{}},383604,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={default:function(){return x},useLinkStatus:function(){return y}};for(var a in i)Object.defineProperty(t,a,{enumerable:!0,get:i[a]});let n=e.r(744066),o=e.r(574603),s=n._(e.r(271715)),l=e.r(532281),p=e.r(197243),d=e.r(533854),c=e.r(132970),u=e.r(669310);e.r(512522);let h=e.r(922655),f=e.r(461519),m=e.r(704965),g=e.r(970096);function x(r){var t,i;let a,n,x,[y,w]=(0,s.useOptimistic)(f.IDLE_LINK_STATUS),v=(0,s.useRef)(null),{href:j,as:k,children:N,prefetch:L=null,passHref:z,replace:_,shallow:S,scroll:C,onClick:M,onMouseEnter:O,onTouchStart:T,legacyBehavior:E=!1,onNavigate:I,transitionTypes:P,ref:R,unstable_dynamicOnHover:$,...A}=r;a=N,E&&("string"==typeof a||"number"==typeof a)&&(a=(0,o.jsx)("a",{children:a}));let F=s.default.useContext(p.AppRouterContext),D=!1!==L,U=!1!==L?null===(i=L)||"auto"===i?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(t=k||j)?t:(0,l.formatUrl)(t);if(E){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=s.default.Children.only(a)}let W=E?n&&"object"==typeof n&&n.ref:R,K=s.default.useCallback(e=>(null!==F&&(v.current=(0,f.mountLinkInstance)(e,B,F,U,D,w)),()=>{v.current&&((0,f.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,f.unmountPrefetchableInstance)(e)}),[D,B,F,U,w]),X={ref:(0,d.useMergedRef)(K,W),onClick(r){E||"function"!=typeof M||M(r),E&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(r),!F||r.defaultPrevented||function(r,t,i,a,n,o,l){if("u">typeof window){let p,{nodeName:d}=r.currentTarget;if("A"===d.toUpperCase()&&((p=r.currentTarget.getAttribute("target"))&&"_self"!==p||r.metaKey||r.ctrlKey||r.shiftKey||r.altKey||r.nativeEvent&&2===r.nativeEvent.which)||r.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){a&&(r.preventDefault(),location.replace(t));return}if(r.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(974439);s.default.startTransition(()=>{c(t,a?"replace":"push",!1===n?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,i.current,l)})}}(r,B,v,_,C,I,P)},onMouseEnter(e){E||"function"!=typeof O||O(e),E&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),F&&D&&(0,f.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){E||"function"!=typeof T||T(e),E&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),F&&D&&(0,f.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,c.isAbsoluteUrl)(B)?X.href=B:E&&!z&&("a"!==n.type||"href"in n.props)||(X.href=(0,u.addBasePath)(B)),x=E?s.default.cloneElement(n,X):(0,o.jsx)("a",{...A,...X,children:a}),(0,o.jsx)(b.Provider,{value:y,children:x})}e.r(660375);let b=(0,s.createContext)(f.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(b);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),r.exports=t.default)},355995,e=>{"use strict";let r=(0,e.i(667784).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,r],355995)},843104,e=>{"use strict";let r="America/Chicago",t=new Set([2,3]),i={openMinutes:600,closeMinutes:1140,openLabel:"10am",closeLabel:"7pm",rangeLabel:"10am – 7pm"},a={openMinutes:540,closeMinutes:1140,openLabel:"9am",closeLabel:"7pm",rangeLabel:"9am – 7pm"};function n(e){return t.has(e)?null:0===e||6===e?a:i}function o(e=Date.now()){let t=new Date(e),i=new Intl.DateTimeFormat("en-CA",{timeZone:r,year:"numeric",month:"2-digit",day:"2-digit"}).format(t),a=new Intl.DateTimeFormat("en-US",{timeZone:r,weekday:"short"}).format(t),n=Number(new Intl.DateTimeFormat("en-US",{timeZone:r,hour:"2-digit",hour12:!1}).format(t)),s=Number(new Intl.DateTimeFormat("en-US",{timeZone:r,minute:"2-digit"}).format(t));return{dateOnly:i,weekday:({Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6})[a]??t.getDay(),hour:n,minute:s}}e.s(["isLiftOpenNow",0,function(e=Date.now()){let{weekday:r,hour:t,minute:i}=o(e),a=n(r);if(!a)return{open:!1,preOpen:!1,closedDay:!0,hours:null,rangeLabel:"Closed"};let s=60*t+i;return{open:s>=a.openMinutes&&s<a.closeMinutes,preOpen:s<a.openMinutes,closedDay:!1,hours:a,rangeLabel:a.rangeLabel}},"liftCloseMsOn",0,function(e){let{weekday:r,hour:t,minute:i}=o(e),a=n(r);return a?e+(a.closeMinutes-(60*t+i))*6e4:null}])},147386,e=>{"use strict";var r=e.i(574603),t=e.i(271715);e.i(246453);var i=e.i(912078),a=e.i(883394),n=e.i(843104);let o={sunny:"Sunny",partly_cloudy:"Partly cloudy",cloudy:"Cloudy",overcast:"Overcast",foggy:"Foggy",light_rain:"Light rain",rain:"Rain",heavy_rain:"Heavy rain",thunderstorm:"Thunderstorm",snow:"Snow",night:"Night",unknown:"Weather unknown"};function s(e,r){let t=Math.max(0,r-e);if(t<6e4)return"just now";if(t<36e5){let e=Math.floor(t/6e4);return`${e}m ago`}let i=Math.floor(t/36e5);return 1===i?"1h ago":`${i}h ago`}function l({note:e}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{className:"popart-liftline-eyebrow popart-liftline-eyebrow--off",children:[(0,r.jsx)("span",{className:"popart
1-liftline-dot popart-liftline-dot--off","aria-hidden":"true"}),"Lift status"]}),(0,r.jsx)("span",{className:"popart-liftline-wait popart-liftline-wait--hot",children:"On Hold"}),(0,r.jsx)("span",{className:"popart-liftline-headline",children:e&&e.length>0?e:"The lift is temporarily down — we'll be back up soon."})]})}function p({snapshot:e,nowMs:t}){var i;let a="number"!=typeof(i=e?.riderCount)?null:i<9?0:Math.round(i/18),n=null===a?"Live":0===a?"No Wait":`~${a} min`,l=null===a?"muted":0===a?"teal":a<=10?"orange":a<=20?"warm":"hot",d=e?.weatherCondition?o[e.weatherCondition]:null,c=null!=e&&t-e.takenAt>72e4;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{className:"popart-liftline-eyebrow",children:[(0,r.jsx)("span",{className:"popart-liftline-dot","aria-hidden":"true"}),"Open now · Lift line"]}),(0,r.jsx)("span",{className:`popart-liftline-wait popart-liftline-wait--${l}`,children:n}),d&&(0,r.jsx)("span",{className:"popart-liftline-weather",children:d}),(0,r.jsx)("span",{className:"popart-liftline-meta",children:null==e?"Lift cam warming up…":c?`Updated ${s(e.takenAt,t)} \xb7 feed may be offline`:`Updated ${s(e.takenAt,t)}`})]})}function d({preOpen:e}){let t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"popart-liftline-eyebrow popart-liftline-eyebrow--muted",children:"Open today"}),(0,r.jsx)("span",{className:"popart-liftline-headline",children:e?`Opens ${(0,n.isLiftOpenNow)().hours?.openLabel??"soon"}`:"Lifts closed for the night"}),(0,r.jsx)("span",{className:"popart-liftline-meta",children:"Closed"===(t=(0,n.isLiftOpenNow)()).rangeLabel?"Closed Tue & Wed":`${t.rangeLabel} today`})]})}function c(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"popart-liftline-eyebrow popart-liftline-eyebrow--muted",children:"Closed"}),(0,r.jsx)("span",{className:"popart-liftline-headline",children:"Tuesday & Wednesday"})]})}function u(){let e=`
2    .popart-liftline {
3      display: flex;
4      flex-direction: column;
5      gap: 6px;
6      padding: 4px 0 4px 14px;
7      border-left: 1px solid rgba(255, 255, 255, 0.14);
8      min-width: 0;
9    }
10    @media (min-width: 768px) {
11      .popart-liftline {
12        padding-left: 18px;
13      }
14    }
15
16    .popart-liftline-eyebrow {
17      display: inline-flex;
18      align-items: center;
19      gap: 8px;
20      font-size: 12px;
21      font-weight: 800;
22      letter-spacing: 0.24em;
23      text-transform: uppercase;
24      color: var(--popart-teal, #388C92);
25    }
26    .popart-liftline-eyebrow--muted {
27      color: rgba(255, 255, 255, 0.45);
28    }
29    .popart-liftline-eyebrow--off {
30      color: var(--popart-pink, #E87D80);
31    }
32    .popart-liftline-dot--off {
33      background: var(--popart-pink, #E87D80);
34      box-shadow: 0 0 0 3px rgba(232, 125, 128, 0.2);
35      animation: none;
36    }
37
38    .popart-liftline-dot {
39      width: 7px;
40      height: 7px;
41      border-radius: 999px;
42      background: var(--popart-teal, #388C92);
43      box-shadow: 0 0 0 3px rgba(56, 140, 146, 0.18);
44      animation: popartLiftLinePulse 2.2s ease-out infinite;
45      flex-shrink: 0;
46    }
47    @keyframes popartLiftLinePulse {
48      0% { box-shadow: 0 0 0 0 rgba(56, 140, 146, 0.55); }
49      70% { box-shadow: 0 0 0 6px rgba(56, 140, 146, 0); }
50      100% { box-shadow: 0 0 0 0 rgba(56, 140, 146, 0); }
51    }
52    @media (prefers-reduced-motion: reduce) {
53      .popart-liftline-dot { animation: none; }
54    }
55
56    /* Wait stat — same italic 900 vocabulary as the hours numerals,
57       sized smaller so the 10am-7pm copy stays the headline. */
58    .popart-liftline-wait {
59      font-family: inherit;
60      font-style: italic;
61      font-weight: 900;
62      font-size: clamp(28px, 4.2vw, 40px);
63      line-height: 1;
64      letter-spacing: -0.02em;
65      color: #ffffff;
66      text-shadow:
67        2px 2px 0 var(--popart-orange, #F3A57F),
68        4px 4px 0 var(--popart-teal, #388C92);
69    }
70    .popart-liftline-wait--teal {
71      text-shadow:
72        2px 2px 0 var(--popart-teal, #388C92),
73        4px 4px 0 rgba(95, 208, 212, 0.55);
74    }
75    .popart-liftline-wait--warm {
76      text-shadow:
77        2px 2px 0 var(--popart-orange, #F3A57F),
78        4px 4px 0 var(--popart-pink, #E87D80);
79    }
80    .popart-liftline-wait--hot {
81      text-shadow:
82        2px 2px 0 var(--popart-pink, #E87D80),
83        4px 4px 0 #B85659;
84    }
85    .popart-liftline-wait--muted {
86      text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.15);
87      color: rgba(255, 255, 255, 0.78);
88    }
89
90    .popart-liftline-weather {
91      font-family: inherit;
92      font-weight: 700;
93      font-size: 16px;
94      line-height: 1.25;
95      letter-spacing: 0.02em;
96      color: rgba(255, 255, 255, 0.78);
97    }
98    @media (min-width: 640px) {
99      .popart-liftline-weather { font-size: 17px; }
100    }
101
102    .popart-liftline-headline {
103      font-family: inherit;
104      font-weight: 700;
105      font-size: 17px;
106      line-height: 1.35;
107      letter-spacing: 0.02em;
108      color: rgba(255, 255, 255, 0.82);
109    }
110    @media (min-width: 640px) {
111      .popart-liftline-headline { font-size: 19px; }
112    }
113
114    .popart-liftline-meta {
115      font-size: 11px;
116      font-weight: 700;
117      letter-spacing: 0.16em;
118      text-transform: uppercase;
119      color: rgba(255, 255, 255, 0.45);
120    }
121  `;return(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:e}})}e.s(["LiftLineLiveStatus",0,function(){let e=(0,i.useQuery)(a.api.queries.avigilonSnapshot.getLatestLiftLineThumbnail,{}),o=(0,i.useQuery)(a.api.queries.liftOffline.getPublicStatus,{}),s=o?.isOffline===!0,[h,f]=(0,t.useState)(()=>Date.now());(0,t.useEffect)(()=>{let e=setInterval(()=>f(Date.now()),3e4);return()=>clearInterval(e)},[]);let m=(0,t.useMemo)(()=>{let e;
121return(e=(0,n.isLiftOpenNow)(h)).closedDay?{kind:"non_operating_day"}:e.open?{kind:"open"}:{kind:"operating_day_off_hours",preOpen:e.preOpen}},[h]);return(0,r.jsxs)("div",{className:"popart-liftline",role:"group","aria-label":"Lift line status",children:[(0,r.jsx)(u,{}),"open"===m.kind&&s?(0,r.jsx)(l,{note:o?.note}):"open"===m.kind?(0,r.jsx)(p,{snapshot:e,nowMs:h}):"operating_day_off_hours"===m.kind?(0,r.jsx)(d,{preOpen:m.preOpen}):(0,r.jsx)(c,{})]})}])},885177,e=>{"use strict";var r=e.i(574603),t=e.i(271715);e.i(246453);var i=e.i(912078),a=e.i(883394);function n(){let e=`
122    .oz-liftline-thumb {
123      margin: 0;
124      position: absolute;
125      top: 14px;
126      right: 14px;
127      z-index: 2;
128      pointer-events: none;
129    }
130    @media (min-width: 640px) {
131      .oz-liftline-thumb {
132        top: 16px;
133        right: 22px;
134      }
135    }
136    @media (min-width: 768px) {
137      .oz-liftline-thumb {
138        top: 20px;
139        right: 26px;
140      }
141    }
142
143    .oz-liftline-thumb-img {
144      display: block;
145      width: 88px;
146      height: 50px;
147      object-fit: cover;
148      border-radius: 4px;
149      border: 1px solid rgba(255, 255, 255, 0.18);
150      background: #050505;
151      box-shadow:
152        2px 2px 0 var(--popart-pink, #E87D80),
153        4px 4px 0 var(--popart-teal, #388C92);
154    }
155    @media (min-width: 640px) {
156      .oz-liftline-thumb-img {
157        width: 120px;
158        height: 68px;
159      }
160    }
161    @media (min-width: 1024px) {
162      .oz-liftline-thumb-img {
163        width: 144px;
164        height: 81px;
165      }
166    }
167
168    .oz-liftline-thumb-cap {
169      display: flex;
170      align-items: center;
171      gap: 4px;
172      margin-top: 5px;
173      font-size: 8px;
174      font-weight: 800;
175      letter-spacing: 0.14em;
176      text-transform: uppercase;
177      color: rgba(255, 255, 255, 0.55);
178      justify-content: flex-end;
179    }
180    @media (min-width: 640px) {
181      .oz-liftline-thumb-cap {
182        gap: 5px;
183        margin-top: 6px;
184        font-size: 9px;
185        letter-spacing: 0.16em;
186      }
187    }
188    .oz-liftline-thumb-dot {
189      width: 6px;
190      height: 6px;
191      border-radius: 999px;
192      background: var(--popart-teal, #388C92);
193      box-shadow: 0 0 0 2px rgba(56, 140, 146, 0.25);
194      animation: ozLiftLineThumbPulse 2.2s ease-out infinite;
195    }
196    @keyframes ozLiftLineThumbPulse {
197      0%   { box-shadow: 0 0 0 0 rgba(56, 140, 146, 0.55); }
198      70%  { box-shadow: 0 0 0 5px rgba(56, 140, 146, 0); }
199      100% { box-shadow: 0 0 0 0 rgba(56, 140, 146, 0); }
200    }
201    @media (prefers-reduced-motion: reduce) {
202      .oz-liftline-thumb-dot { animation: none; }
203    }
204    .oz-liftline-thumb-sep {
205      opacity: 0.5;
206    }
207    .oz-liftline-thumb-rel {
208      color: rgba(255, 255, 255, 0.72);
209      letter-spacing: 0.10em;
210    }
211  `;return(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:e}})}e.s(["LiftLineThumbnail",0,function(){let e=(0,i.useQuery)(a.api.queries.avigilonSnapshot.getLatestLiftLineThumbnail,{}),[o,s]=(0,t.useState)(()=>Date.now());return((0,t.useEffect)(()=>{let e=setInterval(()=>s(Date.now()),3e4);return()=>clearInterval(e)},[]),e&&e.imageUrl)?(0,r.jsxs)("figure",{className:"oz-liftline-thumb","aria-label":"Live view of the lift line",children:[(0,r.jsx)(n,{}),(0,r.jsx)("img",{src:e.imageUrl,alt:"",width:120,height:68,loading:"lazy",decoding:"async",className:"oz-liftline-thumb-img"}),(0,r.jsxs)("figcaption",{className:"oz-liftline-thumb-cap",children:[(0,r.jsx)("span",{className:"oz-liftline-thumb-dot","aria-hidden":"true"}),(0,r.jsx)("span",{className:"oz-liftline-thumb-label",children:"Lift cam"}),(0,r.jsx)("span",{className:"oz-liftline-thumb-sep","aria-hidden":"true",children:"·"}),(0,r.jsx)("span",{className:"oz-liftline-thumb-rel",children:function(e,r){let t=Math.max(0,r-e);if(t<6e4)return"just now";if(t<36e5){let e=Math.floor(t/6e4);return`${e}m ago`}let i=Math.floor(t/36e5);return 1===i?"1h ago":`${i}h ago`}(e.takenAt,o)})]})]}):null}])},180146,e=>{"use strict";var r=e.i(574603);e.i(246453);var t=e.i(912078),i=e.i(883394);let a="https://www.instagram.com/oztrailsbikepark/";function n(){let e=`
212    .ig-feed-section { padding-top: 16px; }
213
214    .ig-feed-headline {
215      max-width: 1080px;
216      margin: 16px auto 28px;
217    }
218    .ig-feed-sub {
219      margin-top: 14px;
220      max-width: 620px;
221      font-size: 15px;
222      color: rgba(255, 255, 255, 0.72);
223    }
224    @media (min-width: 640px) {
225      .ig-feed-sub { font-size: 16px; }
226    }
227
228    .ig-feed-grid {
229      list-style: none;
230      margin: 0 auto;
231      padding: 0;
232      max-width: 1080px;
233      display: grid;
234      grid-template-columns: repeat(2, 1fr);
235      gap: 10px;
236    }
237    @media (min-width: 640px) {
238      .ig-feed-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
239    }
240    @media (min-width: 960px) {
241      .ig-feed-grid { grid-template-columns: repeat(4, 1fr); }
242    }
243
244    .ig-feed-cell {
245      position: relative;
246      aspect-ratio: 1 / 1;
247      border-radius: 4px;
248      overflow: hidden;
249      border: 3px solid #ffffff;
250      box-shadow:
251        4px 4px 0 var(--popart-pink),
252        8px 8px 0 var(--popart-teal);
253      background: #111;
254    }
255
256    .ig-feed-cell--skeleton {
257      background: linear-gradient(
258        100deg,
259        rgba(255, 255, 255, 0.05) 30%,
260        rgba(255, 255, 255, 0.12) 50%,
261        rgba(255, 255, 255, 0.05) 70%
262      );
263      background-size: 200% 100%;
264      animation: ig-feed-shimmer 1.4s ease-in-out infinite;
265    }
266    @keyframes ig-feed-shimmer {
267      0% { background-position: 200% 0; }
268      100% { background-position: -200% 0; }
269    }
270    @media (prefers-reduced-motion: reduce) {
271      .ig-feed-cell--skeleton { animation: none; }
272    }
273
274    .ig-feed-link {
275      display: block;
276      width: 100%;
277      height: 100%;
278      transition: transform 200ms ease;
279    }
280    .ig-feed-img {
281      display: block;
282      width: 100%;
283      height: 100%;
284      object-fit: cover;
285    }
286    .ig-feed-link:hover { transform: scale(1.04); }
287    .ig-feed-link:focus-visible {
288      outline: 3px solid var(--popart-orange);
289      outline-offset: 2px;
290    }
291    @media (prefers-reduced-motion: reduce) {
292      .ig-feed-link:hover { transform: none; }
293    }
294
295    .ig-feed-badge {
296      position: absolute;
297      top: 8px;
298      right: 8px;
299      display: inline-flex;
300      align-items: center;
301      justify-content: center;
302      min-width: 24px;
303      height: 24px;
304      padding: 0 6px;
305      font-size: 12px;
306      line-height: 1;
307      color: #fff;
308      background: rgba(10, 10, 10, 0.55);
309      border-radius: 999px;
310      pointer-events: none;
311    }
312
313    .ig-feed-empty {
314      max-width: 620px;
315      margin: 0 auto;
316      text-align: center;
317      display: flex;
318      flex-direction: column;
319      align-items: center;
320      gap: 18px;
321    }
322    .ig-feed-empty p {
323      margin: 0;
324      font-size: 15px;
325      line-height: 1.6;
326      color: rgba(255, 255, 255, 0.78);
327    }
328
329    .ig-feed-cta-wrap {
330      margin-top: 28px;
331      display: flex;
332      justify-content: center;
333    }
334  `;return(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:e}})}e.s(["InstagramFeed",0,function(){let e=(0,t.useQuery)(i.api.queries.instagram.getFeed,{}),o=void 0===e,s=e?.posts??[];return(0,r.jsxs)("section",{id:"instagram",className:"popart-section ig-feed-section",children:[(0,r.jsx)(n,{}),(0,r.jsxs)("div",{className:"ig-feed-headline",children:[(0,r.jsxs)("h2",{className:"popart-section-title",children:["Latest from the ",(0,r.jsx)("em",{children:"park."})]}),(0,r.jsx)("p",{className:"ig-feed-sub",children:"Recent photos and videos from @oztrailsbikepark."})]}),o?(0,r.jsx)("ul",{className:"ig-feed-grid","aria-hidden":"true",children:Array.from({length:8}).map((e,t)=>(0,r.jsx)("li",{className:"ig-feed-cell ig-feed-cell--skeleton"},t))}):0===s.length?(0,r.jsxs)("div",{className:"ig-feed-empty",children:[(0,r.jsx)("p",{children:"See our latest photos and videos on Instagram."}),(0,r.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"popart-cta-pink",children:[(0,r.jsx)("span",{children:"Follow @oztrailsbikepark"}),(0,r.jsx)("span",{"aria-hidden":"true",children:"→"})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("ul",{className:"ig-feed-grid",children:s.map(e=>(0,r.jsx)("li",{className:"ig-feed-cell",children:(0,r.jsxs)("a",{href:e.permalink,target:"_blank",rel:"noopener noreferrer",className:"ig-feed-link","aria-label":e.caption?`View on Instagram: ${e.caption.slice(0,80)}`:"View this post on Instagram",children:[(0,r.jsx)("img",{src:e.imageUrl,alt:e.caption?e.caption.slice(0,120):"OZ Trails Bike Park on Instagram",loading:"lazy",className:"ig-feed-img"}),"VIDEO"===e.mediaType&&(0,r.jsx)("span",{className:"ig-feed-badge","aria-hidden":"true",children:"▶"}),"CAROUSEL_ALBUM"===e.mediaType&&(0,r.jsx)("span",{className:"ig-feed-badge","aria-hidden":"true",children:"◫"})]})},e.id))}),(0,r.jsx)("div",{className:"ig-feed-cta-wrap",children:(0,r.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"popart-cta-pink",children:[(0,r.jsx)("span",{children:"Follow @oztrailsbikepark"}),(0,r.jsx)("span",{"aria-hidden":"true",children:"→"})]})})]})]})}])},709949,e=>{"use strict";var r=e.i(574603),t=e.i(271715);e.s(["PopArtCareers",0,function(){let[e,i]=(0,t.useState)(!1);return(0,r.jsxs)("section",{id:"careers",className:"popart-section popart-careers-section",children:[(0,r.jsxs)("div",{className:"popart-careers-headline",children:[(0,r.jsxs)("h2",{className:"popart-section-title",children:["Join the ",(0,r.jsx)("em",{children:"team."})]}
334),(0,r.jsx)("p",{className:"popart-careers-sub",children:"If you love bikes, trails, and community — we want to hear from you. Check out our latest positions we are hiring for."})]}),(0,r.jsx)("div",{className:"popart-careers-toggle-wrap",children:(0,r.jsxs)("button",{type:"button",onClick:()=>i(e=>!e),"aria-expanded":e,"aria-controls":"careers-listings",className:"popart-careers-toggle",children:[(0,r.jsx)("span",{children:e?"Hide listings":"View open positions"}),(0,r.jsx)("span",{className:`popart-careers-toggle-arrow ${e?"popart-careers-toggle-arrow--open":""}`,"aria-hidden":"true",children:"↓"})]})}),(0,r.jsx)("div",{id:"careers-listings",className:`popart-careers-panel ${e?"popart-careers-panel--open":""}`,children:(0,r.jsxs)("div",{className:"popart-careers-panel-inner",children:[(0,r.jsx)("div",{className:"popart-careers-card",children:e?(0,r.jsx)("iframe",{src:"https://app.trinethire.com/companies/1101002-oz-trails-bike-park/jobs/embed",title:"OZ Trails Bike Park job listings",loading:"lazy",className:"popart-careers-iframe"}):null}),(0,r.jsxs)("p",{className:"popart-careers-credit",children:["Listings powered by"," ",(0,r.jsx)("a",{href:"https://app.trinethire.com/companies/1101002-oz-trails-bike-park/jobs",target:"_blank",rel:"noreferrer",className:"popart-link-inline",children:"TriNet Hire"}),"."]})]})})]})}])},865015,e=>{"use strict";var r=e.i(574603),t=e.i(271715),i=e.i(640496);let a="5 GB",n=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function o(){let e=`
335    .rider-share-section { padding-top: 16px; }
336
337    .rider-share-grid {
338      max-width: 1080px;
339      margin: 16px auto 0;
340      display: grid;
341      grid-template-columns: 1fr;
342      gap: 28px;
343      align-items: start;
344    }
345    @media (min-width: 900px) {
346      .rider-share-grid {
347        grid-template-columns: 1fr 1fr;
348        gap: 44px;
349      }
350    }
351
352    .rider-share-copy {
353      margin: 14px 0 0;
354      max-width: 480px;
355      font-size: 16px;
356      line-height: 1.62;
357      color: rgba(255, 255, 255, 0.82);
358    }
359
360    /* ---------- Card ---------- */
361    .rider-share-card {
362      background: #ffffff;
363      border-radius: 4px;
364      border: 3px solid #ffffff;
365      box-shadow:
366        5px 5px 0 var(--popart-pink),
367        10px 10px 0 var(--popart-teal);
368      padding: 22px 20px;
369    }
370    @media (min-width: 640px) {
371      .rider-share-card { padding: 28px 26px; }
372    }
373
374    .rider-share-form {
375      display: flex;
376      flex-direction: column;
377      gap: 16px;
378    }
379
380    .rider-share-field {
381      display: flex;
382      flex-direction: column;
383      gap: 7px;
384    }
385    .rider-share-field label,
386    .rider-share-label {
387      font-size: 11px;
388      font-weight: 800;
389      letter-spacing: 0.16em;
390      text-transform: uppercase;
391      color: rgba(10, 10, 10, 0.62);
392    }
393    .rider-share-field input[type="text"],
394    .rider-share-field input[type="email"] {
395      font-family: inherit;
396      font-size: 16px;
397      padding: 11px 13px;
398      border: 2px solid rgba(10, 10, 10, 0.16);
399      border-radius: 4px;
400      background: #fff;
401      color: #0a0a0a;
402      transition: border-color 140ms ease;
403    }
404    .rider-share-field input:focus {
405      outline: none;
406      border-color: var(--popart-teal);
407    }
408    .rider-share-field input::placeholder { color: rgba(10, 10, 10, 0.32); }
409
410    /* ---------- File picker ---------- */
411    .rider-share-file-input {
412      position: absolute;
413      width: 1px;
414      height: 1px;
415      opacity: 0;
416      pointer-events: none;
417    }
418    .rider-share-drop {
419      display: flex;
420      flex-direction: column;
421      align-items: center;
422      gap: 4px;
423      padding: 18px 14px;
424      border: 2px dashed rgba(10, 10, 10, 0.28);
425      border-radius: 6px;
426      background: rgba(56, 140, 146, 0.05);
427      color: #0a0a0a;
428      font-family: inherit;
429      font-weight: 700;
430      font-size: 15px;
431      cursor: pointer;
432      transition: border-color 140ms ease, background 140ms ease;
433    }
434    .rider-share-drop:hover:not(:disabled) {
435      border-color: var(--popart-teal);
436      background: rgba(56, 140, 146, 0.1);
437    }
438    .rider-share-drop:disabled { opacity: 0.55;
438 cursor: not-allowed; }
439    .rider-share-drop-plus {
440      font-size: 24px;
441      line-height: 1;
442      font-weight: 900;
443      color: var(--popart-teal);
444    }
445    .rider-share-drop-hint {
446      font-size: 12px;
447      font-weight: 500;
448      color: rgba(10, 10, 10, 0.5);
449    }
450
451    .rider-share-files {
452      list-style: none;
453      margin: 4px 0 0;
454      padding: 0;
455      display: flex;
456      flex-direction: column;
457      gap: 6px;
458    }
459    .rider-share-file {
460      display: flex;
461      align-items: center;
462      gap: 10px;
463      padding: 8px 10px;
464      background: rgba(10, 10, 10, 0.04);
465      border-radius: 4px;
466      font-size: 13px;
467    }
468    .rider-share-file-name {
469      flex: 1;
470      min-width: 0;
471      overflow: hidden;
472      text-overflow: ellipsis;
473      white-space: nowrap;
474      color: #0a0a0a;
475      font-weight: 600;
476    }
477    .rider-share-file-size {
478      flex-shrink: 0;
479      color: rgba(10, 10, 10, 0.5);
480      font-variant-numeric: tabular-nums;
481    }
482    .rider-share-file-remove {
483      flex-shrink: 0;
484      width: 22px;
485      height: 22px;
486      display: inline-flex;
487      align-items: center;
488      justify-content: center;
489      border: none;
490      border-radius: 999px;
491      background: rgba(10, 10, 10, 0.1);
492      color: #0a0a0a;
493      font-size: 16px;
494      line-height: 1;
495      cursor: pointer;
496    }
497    .rider-share-file-remove:hover:not(:disabled) {
498      background: var(--popart-pink);
499      color: #fff;
500    }
501
502    /* ---------- Consent + submit ---------- */
503    .rider-share-consent {
504      display: flex;
505      align-items: flex-start;
506      gap: 10px;
507      font-size: 13px;
508      line-height: 1.5;
509      color: rgba(10, 10, 10, 0.72);
510      cursor: pointer;
511    }
512    .rider-share-consent input {
513      margin-top: 2px;
514      width: 17px;
515      height: 17px;
516      accent-color: var(--popart-teal);
517      flex-shrink: 0;
518    }
519
520    .rider-share-error {
521      margin: 0;
522      font-size: 13px;
523      font-weight: 600;
524      color: #b3261e;
525    }
526
527    .rider-share-submit {
528      margin-top: 2px;
529      padding: 13px 18px;
530      border: none;
531      border-radius: 4px;
532      background: var(--popart-pink);
533      color: #fff;
534      font-family: inherit;
535      font-style: italic;
536      font-weight: 900;
537      font-size: 17px;
538      letter-spacing: -0.01em;
539      text-transform: uppercase;
540      cursor: pointer;
541      transition: transform 140ms ease, background 140ms ease;
542    }
543    .rider-share-submit:hover:not(:disabled) {
544      transform: translateY(-1px);
545      background: var(--popart-pink-bright);
546    }
547    .rider-share-submit:disabled { opacity: 0.65; cursor: not-allowed; }
548    @media (prefers-reduced-motion: reduce) {
549      .rider-share-submit:hover:not(:disabled) { transform: none; }
550    }
551
552    /* ---------- Success ---------- */
553    .rider-share-success {
554      text-align: center;
555      display: flex;
556      flex-direction: column;
557      align-items: center;
558      gap: 12px;
559      padding: 12px 4px;
560    }
561    .rider-share-success-mark {
562      font-size: 34px;
563      line-height: 1;
564      color: var(--popart-orange);
565    }
566    .rider-share-success h3 {
567      margin: 0;
568      font-style: italic;
569      font-weight: 900;
570      font-size: 22px;
571      color: #0a0a0a;
572    }
573    .rider-share-success p {
574      margin: 0;
575      max-width: 360px;
576      font-size: 14px;
577      line-height: 1.55;
578      color: rgba(10, 10, 10, 0.7);
579    }
580    .rider-share-secondary {
581      margin-top: 6px;
582      padding: 9px 16px;
583      border: 2px solid var(--popart-teal);
584      border-radius: 4px;
585      background: transparent;
586      color: var(--popart-teal-deep);
587      font-family: inherit;
588      font-weight: 800;
589      font-size: 14px;
590      cursor: pointer;
591    }
592    .rider-share-secondary:hover {
593      background: var(--popart-teal);
594      color: #fff;
595    }
596  `;return(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:e}})}e.s(["RiderContentShare",0,function(){let{submit:e,progress:s,reset:l}=(0,i.useRiderUpload)(),[p,d]=(0,t.useState)(""),[c,u]=(0,t.useState)(""),[h,f]=(0,t.useState)(!1),[m,g]=(0,t.useState)([]),[x,b]=(0,t.useState)("idle"),[y,w]=(0,t.useState)(null),v=(0,t.useRef)(null),j="uploading"===x;async function k(r){if(r.preventDefault(),w(null),!p.trim())return void w("Please add your name.");if(!n.test(c.trim()))return void w("Please add a valid email address.");
596if(0===m.length)return void w("Please attach at least one photo or video.");if(!h)return void w("Please check the box so we know we can share your content.");b("uploading");try{await e({name:p.trim(),email:c.trim(),consent:h,files:m}),b("success")}catch(e){w(e instanceof Error?e.message:"Something went wrong. Please try again."),b("error")}}return(0,r.jsxs)("section",{id:"share",className:"popart-section rider-share-section",children:[(0,r.jsx)(o,{}),(0,r.jsxs)("div",{className:"rider-share-grid",children:[(0,r.jsxs)("div",{className:"rider-share-pitch",children:[(0,r.jsxs)("h2",{className:"popart-section-title",children:["Got a good ",(0,r.jsx)("em",{children:"shot?"})]}),(0,r.jsx)("p",{className:"rider-share-copy",children:"Send us your photos and videos from the park. We might post them on our social channels and website, with credit."})]}),(0,r.jsx)("div",{className:"rider-share-card",children:"success"===x?(0,r.jsxs)("div",{className:"rider-share-success",role:"status",children:[(0,r.jsx)("span",{className:"rider-share-success-mark","aria-hidden":"true",children:"✶"}),(0,r.jsx)("h3",{children:"Thanks!"}),(0,r.jsx)("p",{children:"We got your photos. If we use any, we'll email you first."}),(0,r.jsx)("button",{type:"button",className:"rider-share-secondary",onClick:function(){d(""),u(""),f(!1),g([]),b("idle"),w(null),l()},children:"Send more"})]}):(0,r.jsxs)("form",{className:"rider-share-form",onSubmit:k,noValidate:!0,children:[(0,r.jsxs)("div",{className:"rider-share-field",children:[(0,r.jsx)("label",{htmlFor:"rider-name",children:"Your name"}),(0,r.jsx)("input",{id:"rider-name",type:"text",value:p,onChange:e=>d(e.target.value),placeholder:"First & last",autoComplete:"name",maxLength:120,disabled:j,required:!0})]}),(0,r.jsxs)("div",{className:"rider-share-field",children:[(0,r.jsx)("label",{htmlFor:"rider-email",children:"Email"}),(0,r.jsx)("input",{id:"rider-email",type:"email",value:c,onChange:e=>u(e.target.value),placeholder:"[email protected]",autoComplete:"email",maxLength:200,disabled:j,required:!0})]}),(0,r.jsxs)("div",{className:"rider-share-field",children:[(0,r.jsx)("span",{className:"rider-share-label",children:"Photos & videos"}),(0,r.jsxs)("button",{type:"button",className:"rider-share-drop",onClick:()=>v.current?.click(),disabled:j||m.length>=i.RIDER_MAX_FILES,children:[(0,r.jsx)("span",{className:"rider-share-drop-plus","aria-hidden":"true",children:"+"}),(0,r.jsx)("span",{children:m.length>=i.RIDER_MAX_FILES?`Max ${i.RIDER_MAX_FILES} files`:"Add photos or videos"}),(0,r.jsxs)("span",{className:"rider-share-drop-hint",children:["up to ",a," each"]})]}),(0,r.jsx)("input",{ref:v,type:"file",accept:"image/*,video/*",multiple:!0,className:"rider-share-file-input",onChange:e=>(function(e){if(!e)return;w(null);let r=[...m];for(let t of Array.from(e)){if(r.length>=i.RIDER_MAX_FILES){w(`You can share up to ${i.RIDER_MAX_FILES} files at a time.`);break}if(!(t.type.startsWith("image/")||t.type.startsWith("video/"))){w("Only photos and videos can be shared.");continue}if(t.size>i.RIDER_MAX_FILE_BYTES){w(`Each file must be ${a} or smaller.`);continue}r.some(e=>e.name===t.name&&e.size===t.size)||r.push(t)}g(r),v.current&&(v.current.value="")}
596)(e.target.files),disabled:j}),m.length>0&&(0,r.jsx)("ul",{className:"rider-share-files",children:m.map((e,t)=>{var i;return(0,r.jsxs)("li",{className:"rider-share-file",children:[(0,r.jsx)("span",{className:"rider-share-file-name",children:e.name}),(0,r.jsx)("span",{className:"rider-share-file-size",children:(i=e.size)>=0x40000000?`${(i/0x40000000).toFixed(2)} GB`:i<1048576?`${Math.max(1,Math.round(i/1024))} KB`:`${(i/1048576).toFixed(1)} MB`}),(0,r.jsx)("button",{type:"button",className:"rider-share-file-remove",onClick:()=>{g(e=>e.filter((e,r)=>r!==t))},"aria-label":`Remove ${e.name}`,disabled:j,children:"×"})]},`${e.name}-${t}`)})})]}),(0,r.jsxs)("label",{className:"rider-share-consent",children:[(0,r.jsx)("input",{type:"checkbox",checked:h,onChange:e=>f(e.target.checked),disabled:j}),(0,r.jsx)("span",{children:"OZ Trails can post these on our social channels and website, with credit."})]}),y&&(0,r.jsx)("p",{className:"rider-share-error",role:"alert",children:y}),(0,r.jsx)("button",{type:"submit",className:"rider-share-submit",disabled:j,children:j?`Uploading ${Math.round(s)}%…`:"Send"})]})})]})]})}])}]);

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.