PageSourceSearch

https://edu.garnishmusicproduction.com/_next/static/chunks/379q5eo…?dpl=dpl_8osWjFtPRCxKDkMky854qMAnLFyu

js garnishmusicproduction.com collected 2026-10-04 20:08:57 UTC 15,190 bytes, 103 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,808341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return a},requestIdleCallback:function(){return o}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o="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)},519083,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return a},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return c}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},a=/[&><\u2028\u2029]/g,l={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},s=/[&"'<>]/g;function c(e){return e.replace(a,e=>o[e])}function u(e){return e.replace(s,e=>l[e])}},479520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return y}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(555682),a=e.r(190809),l=e.r(843476),s=o._(e.r(174080)),c=a._(e.r(271645)),u=e.r(742732),d=e.r(922737),p=e.r(808341),f=e.r(519083),m=new Map,h=new Set,g=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:a="",strategy:l="afterInteractive",onError:c,stylesheets:u}=e,p=r||t;if(p&&h.has(p))return;if(m.has(t)){h.add(p),m.get(t).then(n,c);return}let f=()=>{i&&i(),h.add(p)},g=document.createElement("script"),x=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),f()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(g.innerHTML=o.__html||"",f()):a?(g.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",f()):t&&(g.src=t,m.set(t,x)),(0,d.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),u&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.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)})}})(u),document.body.appendChild(g)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>g(e))}):g(e)}function y(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function b(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:o="afterInteractive",onError:a,stylesheets:d,...m}=e,{updateScripts:x,scripts:y,getIsSsr:b,appDir:v,nonce:w}=(0,c.useContext)(u.HeadManagerContext);w=m.nonce||w;let _=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;_.current||(i&&e&&h.has(e)&&i(),_.current=!0)},[i,t,r]);let j=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!j.current){if("afterInteractive"===o)g(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,p.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>g(e))}));j.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(x?(y[o]=(y[o]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:a,...m,nonce:w}]),x(y)):b&&b()?h.add(t||r):b&&!b()&&g({...e,nonce:w})),v){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([0,{...m,id:t}]))})`}});else return s.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:w,crossOrigin:m.crossOrigin}:{as:"script",nonce:w,crossOrigin:m.crossOrigin}),(0,l.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([r,{...m,id:t}]))})`}});"afterInteractive"===o&&r&&s.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(b,"__nextScript",{value:!0});let v=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},84387,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n="consultation_popup_dismissed";e.s(["default",0,function(){let[e,i]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{if(document.cookie.split("; ").some(e=>e.startsWith(`${n}=`)))return;let e=setTimeout(()=>i(!0),15e3);return()=>clearTimeout(e)},[]),e)?(0,t.jsxs)("div",{className:"consultation-popup-overlay",children:[(0,t.jsxs)("div",{className:"consultation-popup",children:[(0,t.jsx)("button",{type:"button",className:"consultation-popup-close","aria-label":"Close this module",onClick:()=>{i(!1),document.cookie=`${n}=1; max-age=31536000; path=/`},children:"×"}),(0,t.jsx)("div",{className:"consultation-popup-image",children:(0,t.jsx)("img",{src:"https://s3.us-east-2.amazonaws.com/garnishmusic-media/53841454_410839762822247_6902924111610118144_n-3.jpg",alt:""})}),(0,t.jsxs)("div",{className:"consultation-popup-content",children:[(0,t.jsx)("h3",{className:"consultation-popup-title",children:"FREE 15-MINUTE CONSULTATION"}),(0,t.jsx)("p",{className:"consultation-popup-text",children:"Book a free 15-minute one-to-one phone consultation, with one of our friendly admissions specialists. Let's get your music moving!"}),(0,t.jsx)("a",{className:"consultation-popup-button",href:"https://edu.garnishmusicproduction.com/connect",target:"_blank",rel:"noopener noreferrer",children:"Click here"})]})]}),(0,t.jsx)("style",{children:`
2        .consultation-popup-overlay {
3          position: fixed;
4          bottom: 20px;
5          right: 20px;
6          z-index: 999991;
7          max-width: calc(100vw - 40px);
8        }
9        .consultation-popup {
10          position: relative;
11          display: flex;
12          width: 580px;
13          max-width: 100%;
14          background: #F1FAEE;
15          box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
16        }
17        .consultation-popup-close {
18          position: absolute;
19          top: 8px;
20          right: 8px;
21          width: 30px;
22          height: 30px;
23          display: flex;
24          align-items: center;
25          justify-content: center;
26          border: none;
27          border-radius: 50%;
28          background: rgba(0, 0, 0, 0.55);
29          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
30          color: #fff;
31          font-size: 20px;
32          line-height: 1;
33          cursor: pointer;
34          z-index: 1;
35        }
36        .consultation-popup-image {
37          flex: 0 0 232px;
38          max-width: 232px;
39        }
40        .consultation-popup-image img {
41          width: 100%;
42          height: 100%;
43          object-fit: cover;
44          display: block;
45        }
46        .consultation-popup-content {
47          padding: 32px 20px 20px;
48          flex: 1;
49        }
50        .consultation-popup-title {
51          color: #1D3557;
52          font-size: 20px;
53          font-weight: 500;
54          margin: 0 0 12px;
55        }
56        .consultation-popup-text {
57          color: #888;
58          font-size: 15px;
59          font-weight: 300;
60          line-height: 1.5;
61          margin: 0 0 16px;
62        }
63        .consultation-popup-button {
64          display: inline-block;
65          background: #E63946;
66          color: #fff;
67          font-size: 14px;
68          font-weight: 700;
69          text-transform: uppercase;
70          text-decoration: none;
71          padding: 9px 45px;
72        }
73        @media (max-width: 640px) {
74          .consultation-popup-overlay {
75            left: 12px;
76            right: 12px;
77            bottom: 12px;
78            max-width: calc(100vw - 24px);
79          }
80          .consultation-popup {
81            width: 100%;
82            flex-direction: column;
83          }
84          .consultation-popup-image {
85            display: none;
86          }
87          .consultation-popup-content {
88            padding: 24px 16px 16px;
89          }
90          .consultation-popup-title {
91            font-size: 16px;
92            margin: 0 0 8px;
93          }
94          .consultation-popup-text {
95            font-size: 13px;
96            margin: 0 0 12px;
97          }
98          .consultation-popup-button {
99            padding: 8px 28px;
100            font-size: 13px;
101          }
102        }
103      `})]}):null}])},835025,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n=(0,r.createContext)(void 0);e.s(["CartProvider",0,function({children:e}){let[i,o]=(0,r.useState)([]),[a,l]=(0,r.useState)(!1);(0,r.useEffect)(()=>
103{l(!0);let e=localStorage.getItem("gmp_cart");if(e)try{o(JSON.parse(e))}catch(e){console.error("Failed to parse cart from local storage",e)}},[]),(0,r.useEffect)(()=>{a&&localStorage.setItem("gmp_cart",JSON.stringify(i))},[i,a]);let s=(e,t)=>{o(r=>r.filter(r=>r.productId!==e||r.variationId!==t))},c=i.reduce((e,t)=>e+t.price*t.quantity,0),u=i.reduce((e,t)=>e+t.quantity,0);return(0,t.jsx)(n.Provider,{value:{items:i,addItem:e=>{o(t=>{let r=t.findIndex(t=>t.productId===e.productId&&t.variationId===e.variationId);if(r>=0){let n=[...t];return n[r].quantity+=e.quantity,n}return[...t,e]})},removeItem:s,updateQuantity:(e,t,r)=>{t<=0?s(e,r):o(n=>n.map(n=>n.productId===e&&n.variationId===r?{...n,quantity:t}:n))},clearCart:()=>{o([])},cartTotal:c,itemCount:u},children:e})},"useCart",0,function(){let e=(0,r.useContext)(n);if(void 0===e)throw Error("useCart must be used within a CartProvider");return e}])},579449,e=>{"use strict";var t=e.i(843476),r=e.i(271645);e.s(["Accordion",0,function({items:e,mode:n="single",defaultOpenIds:i,className:o,variant:a="light"}){let l=(0,r.useId)(),s=e.map((e,t)=>e.id??`${l}-${t}`),[c,u]=(0,r.useState)(new Set(i??[])),d=(0,r.useRef)([]),p=e=>{let t=d.current.length;d.current[(e+t)%t]?.focus()},f="onDark"===a,m="red"===a;return(0,t.jsx)("div",{className:`divide-y ${f?"divide-white/20":m?"divide-white/25":"divide-gray-200"} ${o??""}`,children:e.map((r,i)=>{let o=s[i],a=c.has(o),l=`${o}-panel`,h=`${o}-trigger`;return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"m-0",children:(0,t.jsxs)("button",{type:"button",id:h,ref:e=>{d.current[i]=e},className:`group flex w-full items-center justify-between gap-4 py-5 px-4 text-left font-semibold transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#cc0000] ${m?"bg-[#ce1713] text-white hover:bg-[#b31411]":f?"text-white hover:bg-white/10":"text-gray-900 hover:bg-gray-50"}`,"aria-expanded":a,"aria-controls":l,onClick:()=>{u(e=>{if("single"===n)return e.has(o)?new Set:new Set([o]);let t=new Set(e);return t.has(o)?t.delete(o):t.add(o),t})},onKeyDown:t=>((t,r)=>{switch(t.key){case"ArrowDown":t.preventDefault(),p(r+1);break;case"ArrowUp":t.preventDefault(),p(r-1);break;case"Home":t.preventDefault(),p(0);break;case"End":t.preventDefault(),p(e.length-1)}})(t,i),children:[(0,t.jsx)("span",{className:"text-base mkd-accordion-trigger-title",children:r.title}),(0,t.jsx)("svg",{"aria-hidden":"true",className:`h-5 w-5 flex-shrink-0 transition-transform duration-200 ${m?"text-white":f?"text-white/70":"text-gray-500"} ${a?m?"rotate-180":"rotate-180 text-[#cc0000]":m?"":"group-hover:text-[#cc0000]"}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})}),(0,t.jsx)("div",{id:l,role:"region","aria-labelledby":h,className:"grid transition-[grid-template-rows] duration-300 ease-in-out",style:{gridTemplateRows:a?"1fr":"0fr"},children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:"px-4 pb-6 pt-2 text-gray-700",children:r.content})})})]},o)})})}])},15713,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080),i=e.i(579449);e.s(["default",0,function(){let[e,o]=(0,r.useState)([]);return(0,r.useEffect)(()=>{let e=window.location.hash.replace(/^#/,""),r=new Set,n=null!==document.querySelector("[data-cohort-banner-html]"),i=Array.from(document.querySelectorAll(".mkd-accordion-holder")).map(i=>{let o=Array.from(i.querySelectorAll(":scope > .mkd-title-holder")),a=[],l=o.map(i=>{let o=i.nextElementSibling,l=i.querySelector(".mkd-tab-title-inner")?.textContent?.trim()??"",s=o?.querySelector(".mkd-accordion-content-inner")?.innerHTML??"",c=l.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"section";for(;r.has(c);)c=`${c}-2`;return r.add(c),c===e&&a.push(c),{id:c,title:n?(0,t.jsx)("span",{style:{fontFamily:"Rubik, sans-serif"},children:l}):l,content:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})}}),s=i.classList.contains("mkd-accordion-red")?"red":i.classList.contains("mkd-accordion-white")?"onDark":"light";return{container:i,items:l,variant:s,defaultOpenIds:a}});
103i.forEach(({container:e})=>{e.innerHTML="",e.className=""}),o(i)},[]),(0,r.useEffect)(()=>{let e=window.location.hash.replace(/^#/,"");if(!e)return;let t=document.getElementById(`${e}-trigger`);t?.scrollIntoView({block:"start"})},[e]),(0,t.jsx)(t.Fragment,{children:e.map(({container:e,items:r,variant:o,defaultOpenIds:a},l)=>r.length>0&&(0,n.createPortal)((0,t.jsx)(i.Accordion,{items:r,mode:"single",variant:o,defaultOpenIds:a},l),e))})}])},946548,e=>{"use strict";var t=e.i(271645);let r="12px";e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=window.matchMedia("(max-width: 767px)"),t=()=>(function(e){for(let t of document.querySelectorAll(".vc_row[style], .wpb_row[style]")){if(void 0===t.dataset.rrmTouched){let e=parseFloat(t.style.marginLeft)||0,r=parseFloat(t.style.marginRight)||0;if(e<24&&r<24){t.dataset.rrmTouched="0";continue}t.dataset.rrmTouched="1",t.dataset.rrmOrigLeft=t.style.marginLeft,t.dataset.rrmOrigRight=t.style.marginRight}"1"===t.dataset.rrmTouched&&(e?(t.style.setProperty("margin-left",r,"important"),t.style.setProperty("margin-right",r,"important")):(t.style.marginLeft=t.dataset.rrmOrigLeft??"",t.style.marginRight=t.dataset.rrmOrigRight??""))}})(e.matches);t(),e.addEventListener("change",t);let n=new MutationObserver(t);return n.observe(document.body,{childList:!0,subtree:!0}),()=>{e.removeEventListener("change",t),n.disconnect()}},[]),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.