1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:storefront-next":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4f33ee2f-694e-4cac-b8cc-c4630351a1f5",e._sentryDebugIdIdentifier="sentry-dbid-4f33ee2f-694e-4cac-b8cc-c4630351a1f5")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8705],{39834:e=>{function t(e){var t=(e=e||"local")+"Storage";return i(t)?window[t]:n()}function n(){let e={};return Object.defineProperties(e,{setItem:{get:()=>(t,n)=>{if(void 0===n)throw TypeError("Failed to execute `setItem` on `Storage`: 2 arguments required, but only 1 present.");e[String(t)]=String(n)}},getItem:{get:()=>t=>Object.hasOwn(e,String(t))?e[String(t)]:null},removeItem:{get:()=>t=>{Object.hasOwn(e,String(t))&&delete e[String(t)]}},clear:{get:()=>()=>{for(let t in e)delete e[String(t)]}},length:{get:()=>Object.keys(e).length},key:{value:t=>Object.keys(e)[String(t)]||null}}),e}function i(e){try{let t="__storage_test__";return window[e].setItem(t,t),window[e].removeItem(t),!0}catch(e){return!1}}e.exports={nativelySupported:i("localStorage"),local:t("local"),session:t("session"),generate:n}},48705:(e,t,n)=>{n.r(t),n.d(t,{CLICKIDS_COOKIE:()=>B,CLICKIDS_MAX_PERSISTED:()=>$,CLICKID_PARAMS:()=>z,CONSENT_COOKIE_NAME:()=>D,CONSENT_VERSION:()=>R,COOKIE_DOMAIN:()=>q,COOKIE_PREFIX:()=>N,ConsentMethod:()=>l,ConsentValue:()=>a,Journey:()=>A,SOURCE_DIRECT:()=>G,STORE_PREFIX:()=>U,Tracking:()=>K,UTM_EXPIRY_PARAM:()=>F,UTM_PARAMS:()=>V,cookieDomain:()=>H,decodeQuery:()=>S,default:()=>Y,encodeQuery:()=>O,getCookie:()=>W,getLocation:()=>x,inCA:()=>j,inEU:()=>L,setCookie:()=>J,storeGet:()=>X,storeUpdate:()=>Z});var i=n(39834),o=n(93569);function s(e,t){if(void 0===t&&(t=decodeURIComponent),"string"!=typeof e||!e)return null;var n=new RegExp("(?:^|; )".concat(e.replace(/[.*+?^$|[\](){}\\-]/g,"\\$&"),"(?:=([^;]*))?(?:;|$)")).exec(document.cookie);return null===n?null:"function"==typeof t?t(n[1]):n[1]}function r(e,t,n,i){void 0===n&&(n=encodeURIComponent),"object"==typeof n&&null!==n&&(i=n,n=encodeURIComponent);var o=function(e){for(var t="",n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];if(/^expires$/i.test(o)){var s=e[o],r=void 0;"object"==typeof s?r=s:(s+="number"==typeof s?"D":"",r=function(e){var t=e.charAt(e.length-1),n=parseInt(e,10),i=new Date;switch(t){case"Y":i.setFullYear(i.getFullYear()+n);break;case"M":i.setMonth(i.getMonth()+n);break;case"D":i.setDate(i.getDate()+n);break;case"h":i.setHours(i.getHours()+n);break;case"m":i.setMinutes(i.getMinutes()+n);break;case"s":i.setSeconds(i.getSeconds()+n);break;default:i=new Date(e)}return i}(String(s))),t+=";".concat(o,"=").concat(r.toUTCString())}else/^secure|partitioned$/.test(o)?e[o]&&(t+=";".concat(o)):t+=";".concat(o,"=").concat(e[o])}return Object.prototype.hasOwnProperty.call(e,"path")||(t+=";path=/"),t}(i||{}),s="function"==typeof n?n(t):t,r="".concat(e,"=").concat(s).concat(o);document.cookie=r}"function"==typeof SuppressedError&&SuppressedError;var a=function(e){return e[e.Required=1]="Required",e[e.Analytics=2]="Analytics",e[e.Marketing=3]="Marketing",e}({}),l=function(e){return e.Cookie="cookie",e.Implicit="implicit",e.Accept="accept",e.MultiChoice="multichoice",e.AcceptAll="acceptall",e.RejectAll="rejectall",e.Inherited="inherited",e}({});let c=/^https:\/\/www\.(?:soundtrackyourbrand\.com|soundtrack\.io)\/(?:[a-z]{2}\/)?legal\/(?:cookies\/?|privacy-policy\/?|cookies\/?#cookie-table)$/,u="animate animateMotion animateTransform circle clipPath defs desc ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter foreignObject g image line linearGradient marker mask metadata mpath path pattern polygon polyline radialGradient rect set stop svg switch symbol text textPath title tspan use view".split(" ").reduce((e,t)=>
1(e[t]=!0,e),Object.create(null)),d=function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];let s=!0===u[e]?"http://www.w3.org/2000/svg":void 0,r=s?document.createElementNS(s,e.replace(/^svg:/,"")):document.createElement(e);if(t){if(t.children&&(i.unshift(t.children),delete t.children),(t.class||t.className)&&(t.class=String(t.class||t.className),delete t.className),t.style&&"object"==typeof t.style){let e=[];for(let n in t.style){let i=t.style[n];if(null!=i){let t=n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase();e.push("".concat(t,": ").concat(i))}}t.style=e.join("; ")}for(let e in t){let n=t[e];"on"===e.substr(0,2)&&"function"==typeof n?r.addEventListener(e.substr(2).toLowerCase(),n):"boolean"==typeof n?n&&r.setAttribute(e,""):r.setAttribute(e,String(n))}}return function e(t,n){if(null!=n&&"boolean"!=typeof n)if(Array.isArray(n))for(let i of n)e(t,i);else"string"==typeof n?t.appendChild(document.createTextNode(n)):n instanceof Node?t.appendChild(n):t.appendChild(document.createTextNode(String(n)))}(r,i),r};"undefined"==typeof Element||Object.hasOwn(Element.prototype,"remove")||Object.defineProperty(Element.prototype,"remove",{configurable:!0,enumerable:!0,writable:!0,value(){this.parentNode.removeChild(this)}});let h=JSON.parse('{"headline":"Cookies on the Soundtrack website","description":"Cookies make this site work properly, helping us improve your browsing, understand how people use the site, provide relevant marketing content, and deliver personalized ads. Accepting means giving us your consent for these purposes, which you can always withdraw later. There are more details in our {{cookiePolicy|cookie policy}} and {{privacyPolicy|privacy policy}}.","help":"You can choose which cookies to accept by clicking the boxes for each category. Cookies may be shared with third parties for the purposes described below. You can learn more in {{cookiePolicy|our cookie policy}}.","preferences":"Preferences","rejectAll":"Reject all","acceptAll":"Accept all","save":"Save choices","required":{"name":"Necessary","description":"Required for our website to function properly and so cannot be disabled. Examples include cookies required to log in to the service, navigate from one part of the website to another, and to secure the website."},"analytics":{"name":"Analytics","description":"Helps us better understand how the service is used so that we can improve the user experience. They also let us know where users are coming from so that we can better suit different user needs."},"marketing":{"name":"Marketing","description":"Provides information about user activities on this and other websites. This helps us and our partners provide a personalized web experience with relevant marketing and advertising content. This information can be combined with additional user and traffic data for the same purposes."},"cookiePolicyUrl":"https://www.soundtrack.io/legal/cookies/","privacyPolicyUrl":"https://www.soundtrack.io/legal/privacy-policy/"}'),p=/(\{\{[a-z0-9_-]+(?:\|.+?)?}})/gi,m=/\{\{([a-z0-9_-]+)(?:\|(.+?))?}}/i;function f(e){return!!e&&"object"==typeof e&&"nodeType"in e}function g(e,t){if(!t)return;let n=e.split(".").reduce((e,t,n,i)=>{if(null!=e&&"object"==typeof e)return e[t]},t);if("string"==typeof n)return n}let y="tjscm",v=y+"-opt",b="\n#".concat(y," {\n container: responsive-layout / inline-size;\n}\n#").concat(y,"-modal {\n display: flex;\n flex-direction: column;\n flex-shrink: 1;\n max-height: calc(100vh - 10vw);\n width: 640px;\n}\n#").concat(y,"-modal label { cursor: pointer; }\n#").concat(y,"-modal a { text-decoration: underline; }\n#").concat(y,"-modal .icon { width: 1em; height: 1em; }\n#").concat(y,"-section {\n padding-top: 0;\n padding-bottom: 16px;\n max-height: none;
1\n overscroll-behavior: none;\n overflow-x: hidden;\n overflow-y: auto;\n}\n#").concat(y,"-options { display: none }\n.").concat(y,"-form--options-visible #").concat(y,"-options { display: block }\n.").concat(y,"-form--options-visible ~ #").concat(y,"-fade::after {\n display: block;\n position: absolute;\n bottom: 0;\n left: 20px;\n right: 20px;\n height: 32px;\n background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));\n z-index: 1;\n pointer-events: none;\n content: '';\n}\n.").concat(v,"-heading {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 4px;\n}\n.").concat(v,"-title {\n display: inline;\n margin: 0;\n}\n.").concat(v,"-input { /* remove once storefront uses latest ui */\n display: inline-flex;\n width: 1em;\n margin-right: 1em;\n}\n.").concat(v,"-toggler { display: none }\n@media screen and (max-width: 480px) {\n .").concat(y,"-main-buttons { flex-direction: column-reverse }\n .").concat(y,"-preferences-button { margin: 0 }\n .").concat(y,"-ctas { flex: 0 0 auto }\n}\n@media screen and (max-width: 720px) {\n .").concat(v," {\n border-bottom: 1px solid #f2f2f2;\n margin-bottom: 16px;\n }\n .").concat(v,"-toggle:not(:checked) ~ .").concat(v,"-desc { display: none }\n .").concat(v,"-toggler {\n flex-grow: 1;\n margin-right: -0.5em;\n padding: 0 0.5em;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n font-size: 1.25em;\n }\n .").concat(v,"-toggle:checked ~ .").concat(v,"-heading .icon {\n transform: scale(-1);\n }\n}\n");class w{classes(e){return"".concat(y," modal ")+("active overlay "+e).split(" ").filter(Boolean).map(e=>"modal--"+e).join(" ")}template(){let e=this.t;return this.element=d("div",{id:y,class:this.classes(""),style:"overflow-y: auto",children:this.form=d("form",{onsubmit:this.onFormSubmit,id:y+"-modal",class:"modal__content ".concat(y,"-form"),children:[d("section",{class:"section--no-bottom",children:d("h3",{children:e("headline")})}),this.section=d("section",{id:y+"-section",class:"section--scrolled section--padded",children:[this.subtitle=d("p",{class:"secondary label-text mb-0",children:e("description",{cookiePolicy:d("a",{href:e("cookiePolicyUrl",!1),class:"whitespace-nowrap",target:"_blank"}),privacyPolicy:d("a",{href:e("privacyPolicyUrl",!1),class:"whitespace-nowrap",target:"_blank"})})}),d("div",{id:y+"-options",children:this.options.map(e=>e.template())})]}),d("div",{id:y+"-fade",class:"relative"}),d("section",{class:"".concat(y,"-main-buttons inline-elements flex"),children:[this.preferencesButton=d("button",{onclick:this.showConsentLevels,id:"".concat(y,"-preferences-button"),class:"".concat(y,"-preferences-button btn"),children:e("preferences")}),this.submitButtons=d("div",{class:"".concat(y,"-ctas flex inline-elements"),children:[this.secondaryButton=d("button",{type:"submit",id:"".concat(y,"-secondary-button"),class:"btn btn--wide",children:e("rejectAll")}),this.acceptButton=d("button",{type:"submit",id:"".concat(y,"-accept-all-button"),class:"btn btn--primary btn--wide",children:e("acceptAll")})]})]})]})})}constructor(e){var t;this.className="modal modal--overlay",this.onFormSubmit=e=>{var t;switch(e.preventDefault(),e.stopPropagation(),null==(t=e.submitter)?void 0:t.id){case"".concat(y,"-accept-all-button"):this.acceptAll();break;case"".concat(y,"-secondary-button"):this.consentLevelsVisible()?this.saveConsentLevel():this.rejectAll();break;default:this.consentLevelsVisible()?this.saveConsentLevel():this.acceptAll()}},this.acceptAll=()=>{this.onSubmit(a.Marketing,l.AcceptAll),this.closeModal()},this.rejectAll=()=>{this.onSubmit(a.Required,l.RejectAll),this.closeModal()},this.showConsentLevels=()=>{var e;null==(e=this.preferencesButton)||e.remove(),this.secondaryButton.innerHTML=this.t("save",!1),this.secondaryButton.classList.add("btn--primary"),this.acceptButton.classList.remove("btn--primary"),this.form.classList.add("".concat(y,"-form--options-visible")),function(e,t){e.parentNode.replaceChild(t,e)}(this.subtitle,d("p",{class:"secondary label-text",children:this.t("help",{cookiePolicy:d("a",{href:this.t("cookiePolicyUrl",!1),class:"whitespace-nowrap",target:"_blank"})})}))},this.consentLevelsVisible=()=>
1this.form.classList.contains("".concat(y,"-form--options-visible")),this.saveConsentLevel=()=>{let e=this.options.length-1;for(;e>0&&!this.options[e].input.checked;e--);this.onSubmit(e+1,l.MultiChoice),this.closeModal()},this.closeModal=()=>{this.element.className=this.classes("exit exit-active"),setTimeout(()=>{var e,t;null==(e=this.element)||e.remove(),null==(t=this.styleElement)||t.remove(),["element","subtitle"].forEach(e=>{this[e]=null})},500)};let n=document.createElement("style");n.id=y+"-style",n.type="text/css",n.appendChild(document.createTextNode(b)),null==(t=document.getElementById(n.id))||t.remove(),document.head.appendChild(n),this.styleElement=n,this.onSubmit=e.onSubmit;let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h;return function(n,i,o){let s=g(n,e)||g(n,t);if(void 0===s)return"invalid key path: ".concat(n);if(!1===i||void 0===i)return s;let r=s.split(p).map(e=>{let t=e.match(m);if(t){let n=t[1],o=t[2],s=i[n];return f(s)?(s.innerText=o,s):"string"==typeof s||"number"==typeof s?void 0!==o?"Got string when HTMLElement was expected for interpolation ".concat(e):s:"No interpolation found with name ".concat(n,", have ").concat(Object.keys(i).join(","))}return e});return!1!==o?r:r.some(f)?"Cannot convert ".concat(s," to string as interpolations contain tags"):r.join("")}}(e.glossary);this.options=[new _(a.Required,i("required.name",!1),i("required.description",!1),!0),new _(a.Analytics,i("analytics.name",!1),i("analytics.description",!1),(e.initialConsent||0)>=a.Analytics),new _(a.Marketing,i("marketing.name",!1),i("marketing.description",!1),(e.initialConsent||0)>=a.Marketing)],this.t=i}}class _{template(){let e=v+this.id,t=e+"-toggle",n=this.id===a.Required;return this.element=d("div",{class:v,children:[d("input",{type:"checkbox",id:t,class:v+"-toggle",style:"display: none",value:String(this.id)}),d("div",{class:v+"-heading",children:[d("label",{class:"inline-label c-grow",children:[this.input=d("input",{type:"checkbox",name:String(this.id),id:e,class:v+"-input",checked:n||this.initiallyChecked,disabled:n,onchange:this.onChange}),d("h4",{class:v+"-title",children:this.title})]}),d("label",{for:t,title:"Toggle details",class:v+"-toggler",children:d("svg",{class:"icon",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:d("path",{"fill-rule":"evenodd",d:"M2.2928 7.707L12 17.414l9.707-9.707-1.4142-1.4143-8.2929 8.2929L3.707 6.2927 2.2928 7.707z"})})})]}),d("label",{for:e,class:v+"-desc",style:n?"cursor: default":void 0,children:d("p",{class:"subtle text3",children:this.description})})]})}constructor(e,t,n,i=!1){this.id=e,this.title=t,this.description=n,this.initiallyChecked=i,this.onChange=e=>{let t=e.target;if(this.id===a.Required){e.preventDefault(),e.stopPropagation(),t.checked=!0;return}let{checked:n}=t,i=n?this.id:a.Marketing;for(let e=n?2:this.id+1;e<=i;e++)document.getElementById(v+e).checked=n}}}function k(e){let t;return()=>t||(t=new Promise((t,n)=>{let i=document.createElement("script");i.async=!0,i.fetchpriority="low",i.src=e,i.onload=t;let o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(i,o)}))}function x(e){if("string"!=typeof e)return null;let t=e.match(/^(https?:)\/\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);return t&&{href:e,protocol:t[1],host:t[2],hostname:t[3],port:t[4],pathname:t[5],search:t[6],hash:t[7]}}let C=JSON.parse('{"google.":["google","q"],"yahoo.com":["yahoo","p"],"bing.com":["bing","q"],"msn.com":["msn","q"],"aol.com":["aol","q"],"yandex.com":["yandex","text"],"altavista.com":["altavista","q"],"search.netscape.com":["netscape","query"],"cnn.com":["cnn","query"],"daum.net":["daum","q"],"eniro.se":["eniro","search_word"],"baidu.com":["baidu","wd"],"naver.com":["naver","query"],"lycos.com":["lycos","q"],"ask.com":["ask","q"],"about.com":["about","terms"],"mamma.com":["mama","query"],"alltheweb.com":["alltheweb","q"],"voila.fr":["voila","rdata"],"search.virgilio.it":["virgilio","qs"],"alice.com":["alice","qs"],"najdi.org.mk":["najdi","q"],"seznam.cz":["seznam","q"],"search.com":["search","q"],"yam.com":["yam","k"],"pchome.com":["pchome","q"],"kvasir.no":["kvasir","q"],"sesam.no":["ses
1am","q"],"ozu.es":["ozu","q"],"terra.com":["terra","query"],"mynet.com":["mynet","q"],"ekolay.net":["ekolay","q"],"rambler.ru":["rambler","words"]}'),I=new Set(["Home","Create","Empty Search","Setup Guide","Messaging","Library","Locations"]);class A extends o.b{push(e){this.entries.includes(e)||(this.entries=[...this.entries.slice(-9),e])}commitPending(){if(this.pending){let e=this.pending;this.pending=null,this.push(e)}}visitPage(e){if(null===e||e!==this.pending){if(e&&I.has(e)){this.entries=[],this.pending=e,this.emitChange();return}this.commitPending(),this.pending=e,this.emitChange()}}append(e){I.has(e)?(this.entries=[],this.pending=null):this.commitPending(),this.push(e),this.emitChange()}reset(){this.entries=[],this.pending=null,this.emitChange()}toArray(){return[...this.entries]}emitChange(){this.emit("change",this.toArray())}constructor(...e){super(...e),this.entries=[],this.pending=null}}let E={ms:1,s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5,y:315576e5};function M(e){var t;if("number"==typeof e)return e;let n=/^(-?(?:\d+)?\.?\d+) *(ms|s|m|h|d|w|y)?$/i.exec(String(e));if(!n)return;let i=parseFloat(n[1]),o=null==(t=n[2])?void 0:t.toLowerCase();return o?E[o]?i*E[o]:void 0:i}function S(e,t){let n={};if(!e)return n;try{return("?"===e[0]?e.substring(1,e.length):e).replace(/\+/g," ").split("&").map(e=>e.split("=")).reduce((e,n)=>{let[i,o]=n;return(!t||t.indexOf(i)>=0)&&(e[i]=decodeURIComponent(o)),e},n)}catch(e){return n}}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(e);return e?t.reduce((t,n)=>(e[n]&&t.push(n+"="+encodeURIComponent(String(e[n]).replace(/ /g,"+"))),t),[]).join("&"):""}function T(){if(null!=T.forceResult)return T.forceResult;let e=new Date;return L(e)||j(e)||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=P();return t?"Asia/Kolkata"===t||"Asia/Calcutta"===t:.1>Math.abs(-(e.getTimezoneOffset()/60)+5.5)}(e)}function L(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;if(function(){let e=P();return"America/Nuuk"===e||"America/Godthab"===e}())return!1;let t=-(e.getTimezoneOffset()/60);return t>=-1&&t<=3}function j(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=P();if(!t){var n;let t=-(e.getTimezoneOffset()/60);return Math.max(new Date((n=e).getFullYear(),0,1).getTimezoneOffset(),new Date(n.getFullYear(),6,1).getTimezoneOffset())!==n.getTimezoneOffset()?-7===t:-8===t}return"America/Los_Angeles"===t}function P(){try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(!(null==e?void 0:e.includes("/")))return;return e}catch(e){return}}M.suffices=E,T.forceResult=null;let q=H(window.location.hostname),N="syb.",R=1,D=N+"consent1",U="tracking:",V=["source","medium","campaign","content"],F="utm_expiry",z="gclid fbclid msclkid dclid li_fat_id".split(" "),B="clids",$=5,G="(direct)";class K extends o.b{get consented(){return!!this.consentValue}processRequest(){if(this.location=this.options.url?x(this.options.url):window.location,!this.location)throw Error("Tracking: Invalid location URL");let e=S(this.location.search),t=function(e){void 0===e&&(e=decodeURIComponent);for(var t,n=/(?:^|; )([^=]+?)(?:=([^;]*))?(?:;|$)/g,i={};t=n.exec(document.cookie);)n.lastIndex=t.index+t.length-1,i[t[1]]="function"==typeof e?e(t[2]):t[2];return i}(),n=z.filter(t=>e[t]),i=!!e.utm_source,o=!!t[N+"source"];this.utm={},this.queryParams=e,V.forEach(n=>{let o=i?e["utm_"+n]:t[N+n];"string"==typeof o&&o.length>255&&(o=o.substring(0,255)),this.utm[n]=o});let s=!!e.partner_id,r=!!t[N+"partner_id"];if(this.partnerId=s?e.partner_id:t[N+"partner_id"],"string"==typeof this.partnerId&&this.partnerId.length>255&&(this.partnerId=this.partnerId.substring(0,255)),!i&&!o){let e=function(e){if(!e)return"";let t=x(e);if(!t)return"";for(let e in C)if(Object.hasOwn(C,e)&&0===t.hostname.indexOf(e))return C[e][0];return t.hostname}(document.referrer);(""===e||e===this.location.hostname)&&(e=G),this.utm.source=e,this.utm.medium=n.length?"cpc":e===G?"direct":"organic"}if(this.utmForMixpanel=this.utmToMixpanel(void 0),this.utmExpiry=M(e[F]||this.options.utmExpiry),("number"!=typeof this.utmExpiry||Number.isNaN(this.utmExpiry))&&(this.utmExpiry=180*M.suffices.d),Number(t[D])in a&&(this.consentValue=Number(t[D]),this.consentMethod=l.Cookie),this.consentValue||T()||(this.consentValue=a.Marketing,this.consentMethod=l.Implicit),this.consentValue&&this.gtagConsentUpdate(this.consentValue),this.clickIds=t[N+B]||"",n.length){let t=this.clickIds?this.clickIds.split("&"):[],i=t.length?t[t.length-1]:void 0;
1n.forEach(n=>{let o="".concat(n,"=").concat(encodeURIComponent(e[n]));o!==i&&t.push(o)}),t.length>$&&t.splice(0,t.length-$),this.clickIds=t.join("&")}let c=i||!o;if(this.persistValuesToCookies({utm:c,partnerId:s||!r}),c){var u;null==(u=this.mixpanel)||u.people.set(this.utmToMixpanel("unknown"))}this.applyConsent(),this.debug({consentValue:this.consentValue,consentMethod:this.consentMethod,utmPresent:i,utmStored:o,values:this.utm})}requestConsent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.clearOldConsentCookies(),this.consented)if(!e.evenIfConsented)return!1;else this.trackInternalEvent("Consent update intent"),this.debug("consent update intent");else if(!e.evenIfConsented&&window.location.href.match(c))return this.debug("consent request ignored since URL matches policy/table links"),!1;return(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return(function(e){let t=Promise.resolve({default:h});switch(e){case"sv":t=n.e(6683).then(n.t.bind(n,46683,19));break;case"nl":t=n.e(984).then(n.t.bind(n,40984,19));break;case"de":t=n.e(7937).then(n.t.bind(n,47937,19));break;case"fr":t=n.e(3118).then(n.t.bind(n,23118,19));break;case"es":t=n.e(1530).then(n.t.bind(n,81530,19))}return t.then(e=>(null==e?void 0:e.default)||h).catch(t=>(console.error("Unable to load consent modal localization for '".concat(e,"'"),t),h))})(i).then(n=>{let i=new w({onSubmit:e,glossary:n,initialConsent:t});return window.document.body.appendChild(i.template()),i})})(this.consent.bind(this),this.consentValue,e.locale||"en").then(e=>{this.emit("request",e)}),!0}clearOldConsentCookies(){for(let e=1;e<R;e++)r(N+"consent"+e,"a",{expires:-1})}consent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.Accept;if("number"!=typeof e||!(e in a))throw Error("tracking.consent: Invalid consentValue (got ".concat(e,")"));if(e===this.consentValue)return;this.consentValue=e,this.consentMethod=t,this.gtagConsentUpdate(this.consentValue);let n={consentValue:e,consentMethod:t};this.emit("consent",n),this.push({event:"tracking.consent",...n}),this.trackInternalEvent("Consented"),this.persistValuesToCookies({permanently:!0}),this.applyConsent()}pageView(e){this.emit("pageView",e),this.push({event:"virtualPageView",virtualPagePath:e})}push(e){var t;this.emit("push",e),this.debug(this.dataLayer?"push":"suppressed",e),null==(t=this.dataLayer)||t.push(e)}gtag(){for(var e,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];null==(e=this.dataLayer)||e.push(n)}gtagConsentUpdate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"update",n=e>=a.Required?"granted":"denied",i=e>=a.Analytics?"granted":"denied",o=e>=a.Marketing?"granted":"denied";this.gtag("consent",t,{functionality_storage:n,personalization_storage:n,security_storage:n,analytics_storage:i,ad_storage:o,ad_user_data:o,ad_personalization:o})}gtm(e,t,n,i,o){this.emit("gtm",{category:e,action:t,label:n,value:i,...o}),this.push({event:"ga",eventCategory:e,eventAction:t,eventLabel:n,eventValue:i,...o})}afEvent(e,t){var n;this.emit("afEvent",e,t),null==(n=this.appsflyer)||n.call(this,"pba","event",{eventType:"EVENT",eventName:e,eventValue:t})}afLink(){let{oneLinkUrl:e=this.options.appsflyerOneLinkUrl,source:t=this.utm.source,campaign:n=this.utm.campaign,medium:i=this.utm.medium,content:o=this.utm.content,params:s={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e||"string"!=typeof e)throw Error("Tracking: Must provide a oneLinkUrl");let r={pid:t,c:n,af_channel:i,af_sub1:this.queryParams.gclid,af_sub2:this.queryParams.fbclid,af_sub3:o};return Object.keys(r).forEach(e=>{let t=r[e];t&&void 0===s[e]&&(s[e]=t)}),this.emit("afLink",s),e+"?"+new URLSearchParams(s).toString()}track(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Object.assign({Client:this.options.clientId||"unknown"},this.utmForMixpanel,n);this.emit("track",e,i),this.debug('"'+e+'"',i),null==(t=this.mixpanel)||t.track(e,i)}timeNext(e){this.debug('timeNext "'+e+'"'),this.mixpanel&&this.mixpanel.time_event(e)}session(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"switch-account"!==e||!!(t.userId&&t.accountId)}
1(e,n))return void this.debug("session - invalid action",e,n);let i=null==n?void 0:n.userId,o=null==n||null==(t=n.accountPlan)?void 0:t.toUpperCase();if(this.emit("session",e,n),this.debug("session",e,n),this.gtm("session",e,void 0,void 0,n),this.mixpanel)if(i!==this.userId&&this.userId&&this.mixpanel.reset(),i&&(this.mixpanel.identify(i),this.mixpanel.people.set({$created:n.userCreatedAt})),null==n?void 0:n.accountId){this.mixpanel.register({account_id:[n.accountId]}),this.mixpanel.people.union("account_id",[n.accountId]);let e=this.mixpanel.get_group("account_id",n.accountId);e.set({"Account ID":n.accountId,$created:n.accountCreatedAt,$name:n.accountName,$country_code:n.accountCountry,"Business Type":n.businessType,Plan:[o]}),e.set_once({Tier:[n.accountTier]}),n.isNewAccount&&e.set({Trial:!0})}else this.mixpanel.unregister("account_id");("logout"===e||"switch-account"===e||this.userId&&i!==this.userId)&&this.journey.reset(),this.appsflyer&&this.onMixpanelIdUpdate(),this.userId=i,this.emit("sessionUpdated",e,n)}participate(e,t){e&&t&&this.track("$experiment_started",{"Experiment name":e,"Variant name":t})}timingStart(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=X(e+":start",t);return(n||null==i)&&(i=Z(e+":start",Date.now(),t),this.debug("Timing start: ".concat(e))),i}timingEnd(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=parseInt(X(e+":start",t),10);return i?(Z(e+":start",n.once?"":null,t),delete n.once,this.timing(e,i,new Date,n)):0}timing(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t instanceof Date&&(t=t.getTime()),n instanceof Date&&(n=n.getTime());let o=n-t,s=e.split(".");return this.push({event:"timing",eventCategory:s[0]||"duration",eventAction:s[1]||e,eventLabel:s[2],timingValue:o}),this.track(this.gtmEventToMixpanelName(e),{...i,$duration:o/1e3,Duration:o/1e3}),o}clearClickIds(){this.clickIds="",J(B,null,{prefix:!0})}inCA(){return j()}inEU(){return L()}gtmEventToMixpanelName(e){return e.replace(/-/g," ").replace(/\./g," - ").replace(/^.| ./g,e=>e.toUpperCase())}utmToMixpanel(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return V.forEach(n=>{if(this.utm[n]||void 0!==e){var i;let o=n[0].toUpperCase()+n.substr(1);t["Latest UTM ".concat(o," (syb)")]=null!=(i=this.utm[n])?i:e}}),t}applyConsent(){let{consentValue:e,consentMethod:t}=this,n=s(D)||null,i=e?String(e):null;if(n!==i&&J(D,i,{maxAge:"365d"}),e){if(e>=a.Analytics){var o,r,l,c,u,d;null==(r=this.dataLayer)||null==(o=r.__load)||o.call(r),null==(c=this.mixpanel)||null==(l=c.__load)||l.call(c).then(()=>{this.onMixpanelIdUpdate()}),null==(d=this.appsflyer)||null==(u=d.__load)||u.call(d)}this.push({event:"tracking.enabled",consentValue:e,consentMethod:t}),this.emit("enabled",{consentValue:e,consentMethod:t})}}persistValuesToCookies(e){let{permanently:t=this.consented,utm:n=!0,clickIds:i=!0,partnerId:o=!0}=e;this.debug("persisting ".concat(t?"permanently":"throughout session")),n&&Object.keys(this.utm).forEach(e=>{J(e,this.utm[e],{prefix:!0,maxAge:t?this.utmExpiry:0})}),i&&this.clickIds!==(W(N+B)||"")&&J(B,this.clickIds||null,{prefix:!0,maxAge:t?"180d":0}),o&&this.partnerId!==(W(N+"partner_id")||void 0)&&J("partner_id",this.partnerId||null,{prefix:!0,maxAge:t?this.utmExpiry:0}),this.emit("cookies",this.utm)}trackInternalEvent(e){return this.track("Tracking - "+e,{"Consent Value":this.consentValue,"Consent Method":this.consentMethod})}onMixpanelIdUpdate(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null==(e=this.mixpanel)?void 0:e.get_distinct_id();n!==this.mixpanelId&&(this.mixpanelId=n,n)&&(null==(t=this.appsflyer)||t.call(this,"pba","setCustomerUserId",n))}exposeWindowPropertyWithFallback(e,t,n,i){Object.defineProperty(this,e,{enumerable:!0,get:()=>{let e=window[t];return null==e||i&&typeof e!==i?n||void 0:e}})}constructor(e){if(super(),this.journey=new A,this.options=Object.assign({appsflyerOneLinkUrl:"https://click.soundtrackyourbrand.com/gwGL"},e),this.debug="function"==typeof e.debug?e.debug:e.debug?console.log.bind(console,"[tracking]"):()=>{},e.gtm&&("string"==typeof e.gtm?(this.dataLayer=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.dataLayer,n=t||[];return t||(n.__load||(n.__load=k("https://www.googletagmanager.com/gtm.js?id="+e)),n.push({"gtm.start":Date.now(),event:"gtm.js"})),window.dataLayer=n}(e.gtm),this.gtagConsentUpdate(a.Required,"default")):this.dataLayer=e.gtm,"function"!=typeof this.dataLayer.push))throw Error("Expected 'gtm' param to be a string or pushable array (got ".concat(Q(this.dataLayer),")"));if(e.mixpanel){let t="string"==typeof e.mixpanel?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.mixpanel;if(t)return t.__load||(t.__load=()=>Promise.resolve()),window.mixpanel=t;let n=[];window.mixpanel=n,n.__load||(n.__load=k("https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js")),n.get_distinct_id=()=>"";let i,o,s="mixpanel";return n._i=[],n.init=(e,t,r)=>{let a=n;for(void 0===r?r=s:a=n[r]=[],a.people=a.people||[],a.toString=e=>{let t=s;return r!==s&&(t+="."+r),e||(t+=" (stub)"),t},a.people.toString=()=>a.toString(1)+".people (stub)",o=0,i="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders start_session_recording stop_session_recording get_session_replay_url people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" ");o<i.length;o++)!function(e,t){let n=t.split(".");
12===n.length&&(e=e[n[0]],t=n[1]),e[t]=function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];e.push([t].concat(Array.prototype.slice.call(i,0)))}}(a,i[o]);let l="set set_once union unset remove delete".split(" ");a.get_group=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i={},o=["get_group"].concat(Array.prototype.slice.call(t,0));for(let e=0;e<l.length;e++)!function(e){i[e]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];let s=[e].concat(Array.prototype.slice.call(n,0));a.push([o,s])}}(l[e]);return i},n._i.push([e,t,r])},n.__SV=1.2,n.init(e,{persistence:"cookie",api_host:"https://api-eu.mixpanel.com",cross_subdomain_cookie:!0,persistence_name:"super",secure_cookie:"https:"===window.location.protocol,ignore_dnt:!0,save_referrer:!0,store_google:!0,record_mask_text_selector:"mp-mask",record_heatmap_data:!0}),n}(e.mixpanel):!0===e.mixpanel?null:e.mixpanel;if(t&&"function"!=typeof t.track)throw Error("Expected 'mixpanel' param to be a string, true, or define a track() function (got ".concat(Q(t),")"));this.exposeWindowPropertyWithFallback("mixpanel","mixpanel",t)}if(e.appsflyer){let t="string"==typeof e.appsflyer?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.AF,n=t;return n||(window.AppsFlyerSdkObject="AF",(n=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.AF.q=window.AF.q||[]).push([Date.now()].concat(Array.prototype.slice.call(t)))}).id={pba:{webAppId:e}},n.plugins={},n.__load=k("https://websdk.appsflyer.com?st=pba")),window.AF=n}(e.appsflyer):!0===e.appsflyer?null:e.appsflyer;if(t&&"function"!=typeof t)throw Error("Expected 'appsflyer' param to be a string or function (got ".concat(Q(t),")"));this.exposeWindowPropertyWithFallback("appsflyer","AF",t,"function")}this.journey.on("change",e=>{var t,n;0===e.length?null==(t=this.mixpanel)||t.unregister("Journey"):null==(n=this.mixpanel)||n.register({Journey:e})}),this.processRequest()}}let Y=K;function H(e){if("localhost"===e)return"";if(!e||/^\d{1,3}(?:\.\d{1,3}){3}$/.test(e))return e||"";let t=e.match(/(?:^|\.)(soundtrack[^.]*\..+)/);return t?"."+t[1]:e}function J(e,t){let{prefix:n=!1,maxAge:i="180d",path:o="/",samesite:s="Lax"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={domain:q,path:o,samesite:s,secure:"https:"===window.location.protocol};n&&(e=N+e),null==t?(a.expires="Thu, 01 Jan 1970 00:00:00 GMT",t=""):i&&(a["max-age"]=(M(i)||180*M.suffices.d)/1e3),r(e,t,a)}let W=s;function X(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t?i.local:i.session).getItem(U+e)}function Z(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=n?i.local:i.session;return null==t?o.removeItem(U+e):o.setItem(U+e,t)}function Q(e){return({}).toString.call(e).slice(8,-1)}},93569:(e,t,n)=>{n.d(t,{b:()=>i});var i=n(99898)},99898:e=>{var t=Object.prototype.hasOwnProperty,n="~";function i(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,i,s,r){if("function"!=typeof i)throw TypeError("The listener must be a function");var a=new o(i,s||e,r),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function r(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function a(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1)),a.prototype.eventNames=function(){var e,i,o=[];if(0===this._eventsCount)return o;for(i in e=this._events)t.call(e,i)&&o.push(n?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},a.prototype.listeners=function(e){var t=n?n+e:e,i=this._events[t];if(!i)return[];if(i.fn)return[i.fn];for(var o=0,s=i.length,r=Array(s);o<s;o++)r[o]=i[o].fn;return r},a.prototype.listenerCount=function(e){var t=n?n+e:e,i=this._events[t];return i?i.fn?1:i.length:0},a.prototype.emit=function(e,t,i,o,s,r){var a=n?n+e:e;if(!this._events[a])return!1;var l,c,u=this._events[a],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,i),!0;case 4:return u.fn.call(u.context,t,i,o),!0;case 5:return u.fn.call(u.context,t,i,o,s),!0;case 6:return u.fn.call(u.context,t,i,o,s,r),!0}for(c=1,l=Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,i);break;case 4:u[c].fn.call(u[c].context,t,i,o);break;default:if(!l)for(h=1,l=Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},a.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},a.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},a.prototype.removeListener=function(e,t,i,o){var s=n?n+e:e;if(!this._events[s])return this;if(!t)return r(this,s),this;var a=this._events[s];if(a.fn)a.fn!==t||o&&!a.once||i&&a.context!==i||r(this,s);else{for(var l=0,c=[],u=a.length;l<u;l++)(a[l].fn!==t||o&&!a[l].once||i&&a[l].context!==i)&&c.push(a[l]);c.length?this._events[s]=1===c.length?c[0]:c:r(this,s)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&r(this,t)):(this._events=new i,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a}}]);
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.