1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,982397,e=>{"use strict";e.s(["omit",0,function(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}])},635734,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({html:e,height:t=null,width:r=null,children:i,dataNtpc:a=""}){return(0,o.useEffect)(()=>{a&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${a}`}})},[a]),(0,n.jsxs)(n.Fragment,{children:[i,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":a,dangerouslySetInnerHTML:{__html:e}}):null]})};let n=e.r(608215),o=e.r(156637)},652915,(e,t,r)=>{"use strict";let n;var o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:o="dataLayer",nonce:u}=e;return void 0===n&&(n=o),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 2 window['${o}'] = window['${o}'] || []; 3 function gtag(){window['${o}'].push(arguments);} 4 gtag('js', new Date()); 5 6 gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:u}),(0,i.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:u})]})},r.sendGAEvent=function(){void 0===n?console.warn("@next/third-parties: GA has not been initialized"):window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)};let i=e.r(608215),a=e.r(156637),s=o(e.r(471585))},332614,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{apiKey:t,...r}=e,n={...r,key:t},{html:s}=(0,i.GoogleMapsEmbed)(n);return(0,o.jsx)(a.default,{height:n.height||null,width:n.width||null,html:s,dataNtpc:"GoogleMapsEmbed"})};let o=e.r(608215),i=e.r(508751),a=n(e.r(635734))},242926,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r,dataLayerName:n="dataLayer",auth:u,preview:l,dataLayer:c,nonce:d}=e;s=n;let p=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&p.searchParams.set("id",t),"dataLayer"!==n&&p.searchParams.set("l",n),u&&p.searchParams.set("gtm_auth",u),l&&(p.searchParams.set("gtm_preview",l),p.searchParams.set("gtm_cookies_win","x")),(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 7 (function(w,l){ 8 w[l]=w[l]||[]; 9 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 10 ${c?`w[l].push(${JSON.stringify(c)})`:""} 11 })(window,'${n}');`},nonce:d}),(0,o.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:p.href,nonce:d})]})};let o=e.r(608215),i=e.r(156637),a=n(e.r(471585)),s="dataLayer";r.sendGTMEvent=(e,t)=>{let r=t||s;window[r]=window[r]||[],window[r].push(e)}},468274,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGAEvent=r.GoogleAnalytics=r.sendGTMEvent=r.GoogleTagManager=r.YouTubeEmbed=r.GoogleMapsEmbed=void 0;var o=e.r(332614);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(o).default}});var i=e.r(819375);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return n(i).default}});var a=e.r(242926);Object.defineProperty(r,"GoogleTagManager",{enumerable:!0,get:function(){return a.GoogleTagManager}}),Object.defineProperty(r,"sendGTMEvent",{enumerable:!0,get:function(){return a.sendGTMEvent}});var s=e.r(652915);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(r,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})},819375,(e,t,r)=>{"use strict";
11var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,a.YouTubeEmbed)(e);return(0,o.jsx)(s.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,o.jsx)(i.default,{src:e.url,strategy:u[e.strategy],stylesheets:n},e.url))})};let o=e.r(608215),i=n(e.r(471585)),a=e.r(508751),s=n(e.r(635734)),u={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},88683,e=>{"use strict";var t=e.i(608215),r=e.i(156637),n=e.i(734804),o=e.i(703209),i=e.i(56450);function a(){return Promise.reject(Error("Please wrap your application in <AuthContextProvider>"))}let s=(0,r.createContext)({signedIn:!1,permissions:[],refreshUser:()=>a(),signIn:e=>a(),signOut:()=>a(),hasPermission:e=>!1,hasAllPermissions:e=>!1,hasAnyPermission:e=>!1});function u(){let e=n.default.get("sid");return e?(0,o.jwtDecode)(e):null}function l(e){return e?.scope?.split(/\s+/).filter(Boolean)??[]}e.s(["A",0,s,"a",0,function({children:e,initialAuth:n}){let o=n?null:u(),[,a]=(0,r.useState)(o),[c,d]=(0,r.useState)(()=>n?n.user:o?.user),[p,f]=(0,r.useState)(()=>n?n.permissions:l(o)),m=(0,i.useRouter)(),g=(0,r.useCallback)(async()=>{let e=await fetch("/api/auth/refresh-user",{method:"POST"});if(!e.ok)throw console.error("Error while trying to sign in. Status code "+e.status+". Message: "+e.statusText),Error(e.statusText);console.info("User info and JWT refreshed");let t=u();a(t),d(t?.user),f(()=>l(t))},[]),y=(0,r.useCallback)(async e=>{let t=await fetch("/api/auth/sign-in",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw console.error("Error while trying to sign in. Status code "+t.status+". Message: "+t.statusText),Error(t.statusText);let r=await t.json();r.redirectUri?(console.info("Redirect requested for sign-in flow."),window.location.href=r.redirectUri):(console.info("User signed in"),a(u()),d(r.user),f(r.permissions??[]),m.refresh())},[m]),b=(0,r.useCallback)(async e=>{"string"!=typeof e&&(e=void 0);let t=await fetch("/api/auth/sign-out",{method:"POST",body:JSON.stringify({redirectUri:e}),headers:{"Content-Type":"application/json"}});if(!t.ok)throw console.error("Error while trying to sign out. Status code "+t.status),Error("Cannot sign out: "+t.statusText);a(null),d(void 0),f([])},[]),v=(0,r.useCallback)(e=>p.includes(e),[p]),h=(0,r.useCallback)(e=>"string"==typeof e?v(e):p.filter(t=>e.includes(t)).length===e.length,[p,v]),_=(0,r.useCallback)(e=>"string"==typeof e?v(e):p.filter(t=>e.includes(t)).length>0,[v,p]),w=(0,r.useMemo)(()=>({signedIn:!!c,user:c,permissions:p,refreshUser:g,signIn:y,signOut:b,hasPermission:v,hasAllPermissions:h,hasAnyPermission:_}),[c,p,y,b,v,h,_,g]);return(0,t.jsx)(s.Provider,{value:w,children:e})}])},440154,e=>{"use strict";var t=(0,e.i(337207).createAnatomy)("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),r=t.build();e.s(["anatomy",0,t,"parts",0,r])},748663,e=>{"use strict";var t=(0,e.i(337207).createAnatomy)("collapsible").parts("root","trigger","content","indicator"),r=t.build();e.s(["anatomy",0,t,"parts",0,r])},905790,e=>{"use strict";var t=(0,e.i(337207).createAnatomy)("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner"),r=t.build();e.s(["anatomy",0,t,"parts",0,r])},734804,e=>{"use strict";function t(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}var r=function e(r,n){function o(e,o,i){if("u">typeof document){"number"==typeof(i=t({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=e+"="+r.write(o,e)+a}}return Object.create({set:o,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var i=t[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);
11if(s in n||(n[s]=r.read(a,s)),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,r){o(e,"",t({},r,{expires:-1}))},withAttributes:function(r){return e(this.converter,t({},this.attributes,r))},withConverter:function(r){return e(t({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});e.s(["default",0,r])},703209,e=>{"use strict";class t extends Error{}t.prototype.name="InvalidTokenError",e.s(["jwtDecode",0,function(e,r){let n;if("string"!=typeof e)throw new t("Invalid token specified: must be a string");r||(r={});let o=+(!0!==r.header),i=e.split(".")[o];if("string"!=typeof i)throw new t(`Invalid token specified: missing part #${o+1}`);try{n=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var r;
11return r=t,decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}catch(e){return atob(t)}}(i)}catch(e){throw new t(`Invalid token specified: invalid base64 for part #${o+1} (${e.message})`)}try{return JSON.parse(n)}catch(e){throw new t(`Invalid token specified: invalid json for part #${o+1} (${e.message})`)}}])},708560,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return a},requestIdleCallback:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},a="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},181229,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return a},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},a=/[&><\u2028\u2029]/g,s={"&":"&",'"':""","'":"'","<":"<",">":">"},u=/[&"'<>]/g;function l(e){return e.replace(a,e=>i[e])}function c(e){return e.replace(u,e=>s[e])}},352182,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return _},handleClientScriptLoad:function(){return b},initScriptLoader:function(){return v}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(836437),a=e.r(56421),s=e.r(608215),u=i._(e.r(859061)),l=a._(e.r(156637)),c=e.r(599703),d=e.r(598766),p=e.r(708560),f=e.r(181229),m=new Map,g=new Set,y=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:i,children:a="",strategy:s="afterInteractive",onError:l,stylesheets:c}=e,p=r||t;if(p&&g.has(p))return;if(m.has(t)){g.add(p),m.get(t).then(n,l);return}let f=()=>{o&&o(),g.add(p)},y=document.createElement("script"),b=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),n&&n.call(this,t),f()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});i?(y.innerHTML=i.__html||"",f()):a?(y.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",f()):t&&(y.src=t,m.set(t,b)),(0,d.setAttributesFromProps)(y,e),"worker"===s&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",s),c&&(e=>{if(u.default.preinit)return e.forEach(e=>{u.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(y)};function b(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>y(e))}):y(e)}function v(e){e.forEach(b),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");g.add(t)})}function h(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:i="afterInteractive",onError:a,stylesheets:d,...m}=e,{updateScripts:b,scripts:v,getIsSsr:h,appDir:_,nonce:w}=(0,l.useContext)(c.HeadManagerContext);w=m.nonce||w;let O=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let e=t||r;O.current||(o&&e&&g.has(e)&&o(),O.current=!0)},[o,t,r]);let j=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{if(!j.current){if("afterInteractive"===i)y(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,p.requestIdleCallback)(()=>y(e)):window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>y(e))}));j.current=!0}}
11,[e,i]),("beforeInteractive"===i||"worker"===i)&&(b?(v[i]=(v[i]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:a,...m,nonce:w}]),b(v)):h&&h()?g.add(t||r):h&&!h()&&y({...e,nonce:w})),_){if(d&&d.forEach(e=>{u.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([0,{...m,id:t}]))})`}});else return u.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:w,crossOrigin:m.crossOrigin}:{as:"script",nonce:w,crossOrigin:m.crossOrigin}),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([r,{...m,id:t}]))})`}});"afterInteractive"===i&&r&&u.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:w,crossOrigin:m.crossOrigin}:{as:"script",nonce:w,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(h,"__nextScript",{value:!0});let _=h;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56450,(e,t,r)=>{t.exports=e.r(636371)},471585,(e,t,r)=>{t.exports=e.r(352182)},418704,(e,t,r)=>{t.exports={id:"google-analytics",description:"Install a Google Analytics tag on your website",website:"https://analytics.google.com/analytics/web/",scripts:[{url:"https://www.googletagmanager.com/gtag/js",params:["id"],strategy:"worker",location:"head",action:"append"},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:"worker",location:"head",action:"append"}]}},6154,(e,t,r)=>{"use strict";function n(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function o(e,t,r,n){let o=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&o.searchParams.set(e,r[e])}),o.toString()}function i(e,t,r,n,i){var a;if(!t)return`<${e}></${e}>`;let s=(null==(a=t.src)?void 0:a.url)?Object.assign(Object.assign({},t),{src:o(t.src.url,t.src.params,n,i)}):t,u=Object.keys(Object.assign(Object.assign({},s),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],o=s[t],i=null!=n?n:o,a=!0===i?t:`${t}="${i}"`;return i?e+` ${a}`:e},"");return`<${e}${u}></${e}>`}Object.defineProperty(r,"__esModule",{value:!0}),r.formatData=r.createHtml=r.formatUrl=void 0,r.formatUrl=o,r.createHtml=i,r.formatData=function(e,t){var r,a,s,u,l;let c=n(t,null==(r=e.scripts)?void 0:r.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),d=n(t,null==(s=null==(a=e.html)?void 0:a.attributes.src)?void 0:s.params),p=n(t,[null==(l=null==(u=e.html)?void 0:u.attributes.src)?void 0:l.slugParam]),f=n(t,[...Object.keys(c),...Object.keys(d),...Object.keys(p)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,f,d,p):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:o(e.url,e.params,c)})):null})}},880092,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=void 0;let i=o(e.r(418704)),a=e.r(6154);r.GoogleAnalytics=e=>{var t=n(e,[]);return(0,a.formatData)(i.default,t)}},731292,(e,t,r)=>{t.exports={id:"google-maps-embed",description:"Embed a Google Maps embed on your webpage",website:"https://developers.google.com/maps/documentation/embed/get-started",html:{element:"iframe",attributes:{loading:"lazy",src:{url:"https://www.google.com/maps/embed/v1/place",slugParam
11:"mode",params:["key","q","center","zoom","maptype","language","region"]},referrerpolicy:"no-referrer-when-downgrade",frameborder:"0",style:"border:0",allowfullscreen:!0,width:null,height:null}}}},490057,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleMapsEmbed=void 0;let i=o(e.r(731292)),a=e.r(6154);r.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(i.default,t)}},447716,(e,t,r)=>{t.exports={id:"youtube-embed",description:"Embed a YouTube embed on your webpage.",website:"https://github.com/paulirish/lite-youtube-embed",html:{element:"lite-youtube",attributes:{videoid:null,playlabel:null}},stylesheets:["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],scripts:[{url:"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js",strategy:"idle",location:"head",action:"append"}]}},761564,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=void 0;let i=o(e.r(447716)),a=e.r(6154);r.YouTubeEmbed=e=>{var t=n(e,[]);return(0,a.formatData)(i.default,t)}},508751,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=r.GoogleMapsEmbed=r.GoogleAnalytics=void 0;var n=e.r(880092);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var o=e.r(490057);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return o.GoogleMapsEmbed}});var i=e.r(761564);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return i.YouTubeEmbed}})},816912,e=>{"use strict";let t,r,n;var o=e.i(468274);function i(){return"u">typeof window}function a(){return(i()?window.vam:"production")||"production"}function s(){return"production"===a()}function u(e,t,r){var n,o;if(!i()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(s())console.warn(e);else throw Error(e);return}if(!t){null==(n=window.va)||n.call(window,"event",{name:e,options:r});return}try{let n=function(e,t){if(!e)return;let r=e,n=[];for(let[o,i]of Object.entries(e))"object"==typeof i&&null!==i&&(t.strip?r=function(e,{[e]:t,...r}){return r}(o,r):n.push(o));if(n.length>0&&!t.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return r}(t,{strip:s()});null==(o=window.va)||o.call(window,"event",{name:e,data:n,options:r})}catch(e){e instanceof Error&&"development"===a()&&console.error(e)}}let l=(e,t=1,r)=>{let n,o;if(Array.isArray(e))throw Error("Expected a single product object, but received an array.");let{sku:i,name:a,domain:s,variantId:u,id:l,categories:c,rawPriceObj:d}=((e,t)=>{if(e&&"object"==typeof e&&"price"in e&&"product"in e&&"object"==typeof e.product&&e.product&&"sku"in e.product&&"name"in e.product){let t=e.product;return{sku:t.sku,name:t.name,domain:"domain"in e?e.domain:void 0,variantId:t.variantId,id:e.id||t.id,categories:t.categories,rawPriceObj:e.pricePerUnit||e.price||t.startPrice}}let r=((e,t=1)=>{if(!e||0===e.length)return;let r=[...e].sort((e,t)=>e.startingQuantity.value-t.startingQuantity.value);return r.filter(e=>t>=e.startingQuantity.value).pop()?.pricePerBaseQuantity??r[0]?.pricePerBaseQuantity})(e.pricing??void 0,t);return{sku:e.sku,name:e.name,domain:e.domain,variantId:e.variantId,id:e.id,categories:e.categories,rawPriceObj:r||e.pricePerUnit||e.pricePerBaseQuantity||e.startPrice||e.price}})(e,t),{price:p,currency:f}=("string"==typeof d?n=parseFloat(d):d&&(n=parseFloat(d.amount),o=d.currency),{price:n,currency:o}),m=(e=>{if(!e?.length)return{};let t={};return e.forEach((e,r)=>{e?.name&&(t[0===r?"item_category":`item_category${r+1}`]=e.name)}),t})(c);return{currency:f,value:p,items:[{item_id:i,item_name:a,affiliation:"NIC Industries Online Store",index:l,item_brand:s,item_variant:u,location_id:l?.toString(),price:p,quantity:t,...m,coupon:r?.coupon,discount:r?.discount,item_list_id:r?.listId,item_list_name:r?.listName}]}},c=!1,d=[],p=e=>{c?e():d.push(e)},f=()=>{(0,o.sendGTMEvent)({ecommerce:null})},m=(e,r,n=t)=>{f(),(0,o.sendGTMEvent)({event:e,user_id:n,ecommerce:r})},g=(e,t)=>e.flatMap(e=>l("product"in e?e.product:e,"quantity"in e?e.quantity?.value:1,t)?.items||[]);e.s(["GTM",0,{get isReady(){return c},userLogin(e){p(()=>{m("login",{},e??t),u("login")})},userLogout(){p(()=>m("logout",{},void 0))},viewProductList(e,t="shop_products",r="Shop products"){p(()=>{m("view_item_list",{item_list_id:t,item_list_name:r,items:g(e,{listId:t,listName:r})})})},viewProductDetail(e){p(()=>{let t=l(e);m("view_item",{currency:t?.currency,value:t?.value,items:t?.items??[]}),u("view_item",{currency:t?.currency??"",value:t?.value??0,sku:t?.items?.[0]?.item_id??""})})},selectProduct(e,t="shop_products",r="Shop products"){p(()=>{let n=l(e,1,{listId:t,listName:r});m("select_item",{item_list_id:t,item_list_name:r,items:n?.items??[]})})},viewCart(e=r){p(()=>{e&&m("view_cart",{currency:e.beforeDiscount.currency,value:e.beforeDiscount.amount,items:g(e.items)})})},addToCart(e,t=1){p(()=>{let r=l(e,t);m("add_to_cart",{currency:r?.currency,value:r?.value,items:r?.items??[]}),u("add_to_cart",{currency:r?.currency??"",value:r?.value??0,sku:r?.items?.[0]?.item_id??"",quantity:t})})},removeFromCart(e,t=1){p(()=>{let r=l(e,t);m("remove_from_cart",{currency:r?.currency,value:r?.value,items:r?.items??[]})})},clearCart(e){p(()=>{m("remove_from_cart",{currency:e.beforeDiscount.currency,value:e.beforeDiscount.amount,items:g(e.items)})})},beginCheckout(e){p(()=>{e&&(m("begin_checkout",{currency:e.beforeDiscount.currency,value:e.beforeDiscount.amount,coupon:e.couponCode,items:g(e.orderItems)}),u("begin_checkout",{currency:e.beforeDiscount.currency??"",value:e.beforeDiscount.amount??0,coupon:e.couponCode??"",item_count:e.orderItems?.length??0}))})},addShippingAddress(e){p(()=>{e&&m("add_shipping_address",{})})},addShippingInfo(e,t){p(()=>{e&&t&&m("add_shipping_info",{currency:e.beforeDiscount.currency,value:e.beforeDiscount.amount,shipping_tier:t.name,items:g(e.orderItems)})})},addPaymentInfo(e,t){p(()=>{e&&t&&m("add_payment_info",{currency:e.beforeDiscount.currency,value:e.beforeDiscount.amount,coupon:e.couponCode,payment_type:t.type,items:g(e.orderItems)})})},purchase(e){p(()=>
11{if(!e)return;let t=e[0];m("purchase",{transaction_id:t?.id,affiliation:"NIC Industries Online Store",value:t?.beforeDiscount.amount,tax:t?.tax.amount,shipping:t?.shipping.amount,currency:t?.beforeDiscount.currency,coupon:t?.appliedDiscounts?.[0]?.couponCode,items:t?.lineItems?g(t.lineItems):[]}),u("purchase",{transaction_id:t?.id??"",value:t?.beforeDiscount.amount??0,currency:t?.beforeDiscount.currency??"",coupon:t?.appliedDiscounts?.[0]?.couponCode??"",item_count:t?.lineItems?.length??0})})},orderTotal(e){p(()=>{e&&(0,o.sendGTMEvent)({event:"order_total",transaction_id:e.id,value:e.total.amount,currency:e.total.currency})})},addToWishlist(e){p(()=>{let t=l(e);m("add_to_wishlist",{currency:t?.currency,items:t?.items??[]})})},removeFromWishlist(e){p(()=>{let t=l(e);m("remove_from_wishlist",{currency:t?.currency,items:t?.items??[]})})},viewPromotion(e){p(()=>m("view_promotion",{creative_name:e.creative_name,creative_slot:e.creative_slot,promotion_id:e.promotion_id,promotion_name:e.promotion_name}))},selectPromotion(e,t="unknown"){p(()=>{if(!e)return;let r=e.appliedDiscounts.find(t=>t.couponCode.toUpperCase()===e.couponCode?.toUpperCase());r&&m("select_promotion",{creative_name:r.displayName,creative_slot:t,promotion_id:r.couponCode,promotion_name:r.displayName})})},interactApplicator(e,t,r){p(()=>{(0,o.sendGTMEvent)({event:"interact_applicator",applicator_customer_id:e?String(e):void 0,interaction_type:t,interaction_detail:r})})},pageView(e){p(()=>{e!==n&&(n=e,f(),(0,o.sendGTMEvent)({event:"page_view",page_path:e,page_location:window.location.href,page_title:document.title}))})}},"initGTM",0,(e,o)=>{let i=e?.user?.customer_id??void 0;for(let e of(void 0!==t&&void 0!==i&&i!==t&&(n=void 0),t=i,r=o,c=!0,d))e();d.length=0}],816912)}]);
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.