!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a03bbf66-e150-42ef-99b0-f2cffa25160b",e._sentryDebugIdIdentifier="sentry-dbid-a03bbf66-e150-42ef-99b0-f2cffa25160b")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"4189dc7375695bc11f63b6c112a6f07023517adb"},(self.webpackChunkaudioboom_web=self.webpackChunkaudioboom_web||[]).push([[4327],{19146:function(e,n,t){t.d(n,{T:function(){return i}});let o="undefined"===typeof navigator?"node":navigator.userAgent;var r=function(e){e=e.toLowerCase();var n=/(chrome)[ /]([\w.]+)/.exec(e)||/(webkit)[ /]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ /]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:n[1]||"",version:n[2]||"0"}}(o);const i={chrome:!1,webkit:!1,safari:!1,mozilla:!1,ios:!1,android:!1,facebook:!1,version:""};if(r.browser&&(i[r.browser]=!0,i.version=r.version),i.chrome?i.webkit=!0:i.webkit&&(i.safari=!0),o.match(/iphone|ipad|ipod/i)&&(i.ios=!0),o.match(/android/i)&&(i.android=!0),"undefined"!==typeof window){let e=window.location&&window.location.href.split("?")[1];(e&&e.match("fbclid=")||o.match(/FBAN|FB_IAB/))&&(i.facebook=!0)}n.A=i},72405:function(e,n,t){n.A=function(){let e=document.querySelector("meta[name='csp-nonce']"),n=e&&(e.content||e.nonce)||"";return n||document.documentElement?.dataset.expectNoNoncence||(console.warn("Missing csp nonce"),t.e(8745).then(t.bind(t,98745)).then((({captureMessage:e})=>e("Missing CSP Nonce!")))),n}},82759:function(e,n,t){t.d(n,{$q:function(){return a},Fs:function(){return u},MP:function(){return l},Vx:function(){return d},qr:function(){return s},w6:function(){return i},wU:function(){return c}});var o=t(60029);let r=window;r.dataLayer=r.dataLayer||[],r.gtag=function(...e){r.dataLayer.push(e)},r.gtag("js",new Date);const i=r.gtag;function c(e,n){!function(e,n){(0,o.A)(`https://www.googletagmanager.com/gtag/js?id=${e}`).catch(n)}(e,(e=>{n(e),n=()=>null}))}function a(e){i("event","page_view",{page_location:e})}function s(e,{currentTime:n,duration:t}){i("event","video_start",{video_url:e,video_current_time:n,video_duration:t})}function u(e,{currentTime:n,duration:t}){n>.9*t&&i("event","video_complete",{video_url:e,video_current_time:n,video_duration:t})}function d(e,{percent:n}){i("event","video_progress",{video_url:e,video_percent:n})}function l(e,{text:n,classes:t}){const o=new URL(e,window.location.toString());i("event","click",{link_domain:o.hostname,link_url:e,outbound:o.hostname!==window.location.hostname,link_text:n,link_classes:t})}n.Ay={pageView:a,social:function(e,n,t){i("event","share",{method:e,content_type:"link",item_id:t})}}},60029:function(e,n,t){var o=t(72405);let r=new Map;n.A=async function(e,n={}){let{globalName:t}=n;if(await function(e){let n=r.get(e);if(n)return n;let t=new Promise((function(n,t){const i=document.createElement("script");i.addEventListener("load",(()=>n())),i.addEventListener("error",(()=>{console.warn("Failed to load",e),r.delete(e),t(new Error(`Failed to load ${e}`))})),i.nonce=(0,o.A)(),i.src=e;const c=document.head||document.body;if(!c)throw new Error("Couldn't find suitable place to inject script");c.appendChild(i)}));return r.set(e,t),t}(e),t){if(t in window){return window[t]}throw new Error(`Couldn't find ${t}`)}}},46218:function(e,n,t){t.d(n,{HT:function(){return s},S_:function(){return a},UO:function(){return c},aC:function(){return u},ni:function(){return l}});var o=t(79182),r=t(48811),i=t(51432);t(19146);function c(e,n){d?.addPageAction(e,n)}function a(e,n){d?.setCustomAttribute(e,n)}function s(e){d?.noticeError(e)}function u(){d?.setErrorHandler((e=>!0))}let d=null;function l(){if(d)return d;const e=window.ABNREUM;if(e)return d=new o.k({...e,features:[r.H,i.v]}),d;console.warn("NewRelic config not available")}},76872:function(e,n,t){t.r(n),t.d(n,{corePolyfillsLoaded:function(){return o.bE},default:function(){return m},domCleanup:function(){return o.zT},domReady:function(){return o.Qc},liveWatchFor:function(){return i},liveWatchForFirst:function(){return c},onFirstLoad:function(){return o.cS},pageCleanup:function(){return o.WR},reactTo:function(){return g},removeReadyListener:function(){return o.Go},watchFor:function(){return o.Hg},watchForFirst:function(){return o.VF}});var o=t(13010);const r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;async function i(...e){let[n,t,r]=a(e),i=t.asap?Promise.resolve():(0,o.Qc)();await i,document.querySelectorAll(n).forEach(r),f(n,r,!1)}async function c(...e){let[n,t,r]=a(e),i=t.asap?Promise.resolve():(0,o.Qc)();await i;document.querySelector(n)?r():f(n,r,!0)}function a(e){return 2===e.length?[e[0],{asap:!1},e[1]]:e}let s,u=[];function d(e){for(var n=[],t=0;t<u.length;t++){var o=u[t][0],r=e.matches(o),i=e.querySelectorAll(o);if(r||i.length){var c=u[t][1],a=u[t][2];r&&c(e),i.forEach(c),a&&n.push(t)}}if(n.length)for(;n.length;)u.splice(n.pop(),1)}function l(e){for(var n=0;n<e.length;n++)for(var t=e[n].addedNodes,o=0;o<t.length;o++){var r=t[o];r.nodeType===Node.ELEMENT_NODE&&d(r)}}function f(e,n,t){s||(window.MutationObserver?(s=new r(l),s.observe(document,{childList:!0,subtree:!0})):(console.warn("MutationObserver not supported"),s=setInterval((function(){document.body&&d(document.body)}),1e3))),u.push([e,n,t])}function w(e,n){let t=n.dataset.target;return{event:e,target:t?document.querySelectorAll(t):[]}}function g(e,n,t){let r="string"===typeof n?[n]:n;(0,o.Ay)((()=>{document.querySelectorAll(e).forEach((e=>{r.forEach((n=>{e.addEventListener(n,(n=>t(e,w(n,e))))})),t(e,w(null,e))}))}))}var m=o.Ay},13010:function(e,n,t){t.d(n,{Go:function(){return l},Hg:function(){return m},Qc:function(){return s},VF:function(){return p},WR:function(){return f},bE:function(){return a},cS:function(){return u},zT:function(){return w}});let o=!1,r=!1,i=[];function c(){if(!r||!o)return;i.slice().forEach((e=>e()))}function a(){o=!0,c()}function s(){return new Promise((e=>{"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(()=>e())):e()}))}async function u(e){await s(),e()}function d(e){i.push(e),r&&o&&setTimeout(e,0)}function l(e){document.removeEventListener("turbo:before-render",e),document.removeEventListener("DOMContentLoaded",e);let n=i.indexOf(e);n>=0&&i.splice(n,1)}function f(e){const n=t=>{document.removeEventListener("turbo:before-render",n),e(t)};document.addEventListener("turbo:before-render",n)}function w(e){const n=t=>{document.removeEventListener("turbo:before-cache",n),e(t)};document.addEventListener("turbo:before-cache",n)}function g(e,n){try{Object.defineProperty(e,"name",{value:n})}catch{}}function m(e,n){function t(){document.querySelectorAll(e).forEach(n)}g(t,`watchFor(${JSON.stringify(e)})`),d(t)}function p(e,n){function t(){document.querySelector(e)&&(n(),l(t))}g(t,`watchForFirst(${JSON.stringify(e)})`),d(t)}u((function(){r=!0,c()})),document.addEventListener("turbo:render",c),n.Ay=d},630:function(e,n,t){n.A=function(e){let n=e.match(/[-_A-z0-9]{40,}/);if(n){let t=n[0];t.match(/[A-Z]/)&&(e=e.replace(t,t.substring(0,10)+"*".repeat(t.length-10)))}return e.replace(/^.*3000/,"SAFE.com")}},59324:function(e,n,t){function o(e,n){if(navigator.sendBeacon)n?navigator.sendBeacon(e,n):navigator.sendBeacon(e);else{var t=new XMLHttpRequest;t.open("POST",e,!0),t.send(n)}}t.d(n,{A:function(){return o}})},65538:function(e,n,t){t.d(n,{i:function(){return o}});const o=Boolean},3511:function(e,n,t){t.r(n),t.d(n,{disableErrorHandling:function(){return c},preBootCheck:function(){return i},unrecoverableErrorOccurred:function(){return s},unsupportedBrowserFound:function(){return a}});var o=t(51243),r=t(46218);function i(){try{if(new class{static foo=1;bar=null;#e=1;async func(){this.bar??=1,await Promise.resolve(this.#e)}},!window.IntersectionObserver)throw new Error("Missing IntersectionObserver");try{String(navigator.sendBeacon)}catch(e){throw console.warn("sendBeacon is weird",e),e}return!0}catch(e){return window.console?.log("Preboot failed:",e),!1}}function c(){window.onerror=function(){},(0,o.disable)(),(0,r.aC)()}function a(){s("unsupported-browser")}function s(e){c();var n=document.getElementById("fallback-error-message");if(n){n.style.display="block";let t=n.querySelector("#"+e);if(t){let e=n.querySelectorAll(".reason-message");for(let n=0;n<e.length;n++)e[n].style.display="none";t.style.display="block"}let o=document.createElement("button");o.className="btn btn-close btn-close-white pos-abs right-0 pas",o.style.zIndex="1",n.prepend(o),o.addEventListener("click",(function(){n.remove()}))}else setTimeout((()=>s(e)),100)}},29745:function(e,n,t){var o=t(46218);t.p=window.boo?.PACKS_URL||t.p,(0,o.ni)(),document.addEventListener("securitypolicyviolation",(e=>console.error("CSP error",e.violatedDirective,e.blockedURI,e.originalPolicy))),window.addEventListener("unhandledrejection",(function(e){console.log("unhandledrejection",e,e.reason?.message)})),t(51243),t(11192),t(339);let{preBootCheck:r,unsupportedBrowserFound:i}=t(3511);if(r())t(66946);else{var c=new XMLHttpRequest,a=(window.boo?.HOST||"")+"/stats/metrics/UnsupportedBrowser";c.open("POST",a,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),c.send("value="+encodeURIComponent(navigator.userAgent)),i()}let s=document.documentElement;if(s){var u=s.className.replace(/\b(standalone|iframed)\b/,window.parent===window?"standalone":"iframed");s.className=u}document.domain||console.error("You seem to be using Audioboom in a sandboxed iframe, which won't work! Please add 'sandbox=\"allow-scripts allow-same-origin allow-popups\"' to fix this.")},38983:function(e,n,t){t.d(n,{z:function(){return r}});let{unsupportedBrowserFound:o}=t(3511);function r(e,n){try{if(!function(){try{return!!HTMLCollection.prototype[Symbol.iterator]&&!!FileList.prototype[Symbol.iterator]}catch(e){return console.debug(e),!1}}())return void o();let{corePolyfillsLoaded:e}=t(76872);e(),n()}catch(r){window.console?.log&&console.log("Boot failed: ",r),e.reportErrors&&function(e){(0,t(66946).default)(e)}(r),o()}}},59344:function(e,n,t){t.d(n,{CR:function(){return c},ii:function(){return i},lK:function(){return r}});let o=function(e){return e[e.essential=0]="essential",e[e.statistics=1]="statistics",e[e.performance=2]="performance",e[e.marketing=3]="marketing",e}({});function r(e){let n=Object.keys(e).map((n=>({type:n,status:e[n]?"on":"off"})));return JSON.stringify(n)}function i(){const e=document.documentElement.dataset.cookieReplicas;return e?(n=e,JSON.parse(n).reduce(((e,n)=>({...e,[n.type]:"on"===n.status})),{})):(console.debug("Cookie data wasn't added to the layout"),{essential:!1,statistics:!1,performance:!1,marketing:!1});var n}function c(e){const n=i();let t;return t="string"===typeof e?e:o[e],n[t]}},11192:function(e,n,t){t.r(n);var o=t(59344),r=t(82759),i=t(59324),c=t(630),a=boo.gaConfig;a?(0,r.wU)(a.ga4Profile,(function(e){console.warn(e),function e(){if(window.boo)(0,i.A)(boo.HOST+"/chicken/bbq/gafailed");else{if("complete"===document.readyState)throw new Error("missing boo");document.addEventListener("DOMContentLoaded",e,!1)}}()})):a={ga4Profile:"test",host:"test.host"};const s=(0,o.CR)("marketing"),u=(0,o.CR)("statistics");(0,r.w6)("consent","update",{ad_storage:s?"granted":"denied",analytics_storage:u?"granted":"denied"});const d=!1,{ga4Profile:l}=a;function f(){const e=document.body;if(!e)return;const n=(0,c.A)(window.location.href.split("#")[0]),t=document.referrer?(0,c.A)(document.referrer):null,{ga4:o,actions:i}=JSON.parse(e.dataset?.gaVars||"{}");if((0,r.w6)("config",l,{debug_mode:d,page_location:n,page_referrer:t,...o}),i){let{ga4:e}=i;e.forEach((([e,n])=>(0,r.w6)("event",e,n)))}}(0,r.w6)("config",l,{debug_mode:d,send_page_view:!1}),document.body?f():document.addEventListener("DOMContentLoaded",f,!1),document.addEventListener("turbo:load",f,!1)},66946:function(e,n,t){t.r(n);var o=t(46218),r=t(64251);"undefined"!==typeof window&&window.__webpack_require__&&(window.__webpack_require__.oe=function(e){a(e)});let i=0;const c=5;function a(e){var n,t;if((0,r.Cp)(e),(0,o.S_)("errorCount",++i),e instanceof Error?(n=e.toString(),t=e):(n="string"===typeof e?e:"error of type 'unknown'",t=new Error(n)),i<c)try{throw t}catch(a){(0,o.HT)(a)}console.error(t)}n.default=a},51243:function(e,n,t){t.r(n),t.d(n,{disable:function(){return w}});var o=t(43123),r=t(63091),i=t(19146),c=t(65538),a=t(630);const s=["Cannot read property 'jquery' of undefined","Cannot redefine property: BetterJsPop","GetScreenshotBoundingBox is not defined","Object Not Found Matching Id"],u=/Seekport Crawler/,d=window.boo&&window.boo.ENVIRONMENT||"unknown",l="development"===d||"test"===d||!1;let f=!1;function w(){f=!0}let g=0;window.addEventListener("storage",(function(e){"errorReported"===e.key&&(console.log("suppressing errors"),f=!0)}));let m=0;function p(e,n){try{const n=e.exception.values[0].value;if(n.match(/ResizeObserver loop limit exceeded/))return console.debug(n),!0}catch{}try{console.log("error occurred")}catch{return!0}if(console.log("skipEvent?",e,n),f)return console.log("skipEvent because disableReporting is set"),!0;if(m++>2)return console.log("skipEvent because too many errors in this window"),!0;if(function(){try{let e=Date.now()-1e4;if(g>e)return!0;let n=localStorage.getItem("errorReportTime");return n&&parseInt(n)>e}catch{return!1}}())return console.log("skipEvent because too many recent errors across all windows"),!0;if(!window.location.protocol.match(/^https?:/))return console.log("skipEvent because not an http page"),!0;if(window.location.search.match(/utm_campaign/))return console.log("skipEvent because looks like a mail campaign"),!0;"string"!==typeof document.createElement("div").style.grid&&console.log("skipEvent because browser doesn't support grid");let t=document.visibilityState;if("hidden"===t||"unloaded"===t)return console.log("skipEvent because window is",t),!0;if(i.A.facebook)return console.log("skipEvent because weird facebook UA"),!0;if(u.test(navigator.userAgent))return console.log("skipEvent because UA=",navigator.userAgent),!0;try{document.createEvent("Events")}catch{return console.warn("skipEvent because environment is crazy. Let us know at https://support.audioboom.com"),!0}let o=window.webkit;if(o?.messageHandlers)return console.log("skipEvent because inside WKWebView"),!0;let r=n?.originalException;const c=r instanceof Error?r.message:r;if(c&&"string"===typeof c){let e=!1;if("The string did not match the expected pattern."===c&&(e=!0),"require is not defined"===c&&/Android/.test(navigator.userAgent)&&(e=!0),c.match(/window.webkit.messageHandlers/)&&(e=!0),c.match(/Illegal invocation/)){try{console.warn(`Got an illegal invocation. ${String(navigator)} ${String(navigator.sendBeacon)}`)}catch(w){console.error("Couldn't even print the illegal invocation",w)}e=!0}if(c.match(/Object Not Found Matching Id:/)&&(console.warn("Object Not Found Matching Id error. Assuming Outlook Safelink?"),e=!0),e)return f=!0,console.warn("If you know how to reproduce this error, please let us know at support.audioboom.com",r,c),!0;if(c.match(/Loading chunk.*newrelic/s))return console.debug("Ignoring NewRelic ChunkLoadError"),!0}let a=window.location.toString();if(a.match(/dm_i=/))return console.debug("Ignoring dotmailer errors"),!0;if(a.match(/translate.goog/))return console.debug("Ignoring Google Translate errors"),!0;if(r&&s.indexOf(r.message)>=0)return console.debug("Ignoring error",r),!0;let d=document.body?.dataset;return d?.ignoreErrors?(console.log("skipEvent because ignoreErrors"),!0):d?.isEmbedded&&Math.random()>.1?(console.log("skipEvent because we're sampling embed errors"),!0):!!l&&(console.log("skipEvent because in dev environment"),!0)}!function e(){Object.assign&&window.Promise&&Number.isNaN?((0,o.Ts)({dsn:"https://b790a0fbd1f04e4b9950b43aa0af6d61@sentry.io/1523055",environment:d,denyUrls:[/^(moz|chrome|safari|ms-browser)-extension/],beforeBreadcrumb(e,n){if("fetch"===e.category&&n?.response){let{response:t}=n,o=t.headers.get("x-request-id");o&&(e.data||(e.data={}),e.data.requestId=o)}return e},beforeSend(e,n){try{if(p(e,n))return null;let t=n?.originalException;return e.request&&(e.request.url=(0,a.A)(e.request.url),e.request.headers?.Referer&&(e.request.headers.Referer=(0,a.A)(e.request.headers.Referer))),t instanceof Error&&"ChunkLoadError"===t.name&&(e.fingerprint=["ChunkLoadError"],w()),function(){try{g=Date.now(),localStorage.setItem("errorReportTime",String(g))}catch(e){console.warn(e)}}(),e}catch(t){try{e.contexts={...e.contexts,boom:{filterfail:t instanceof Error?t.message:t}},console.error("beforeSend failed: ",t)}catch{}return e}},integrations:[!1,(0,r.D)({iteratee:e=>{try{e.function.match(/nrWrapper/)&&(e.filename="/")}catch(n){console.error("Failed to massage frame",e,n)}return e}})].filter(c.i)}),window.catchBootErrors=0):setTimeout(e,10)}(),document.addEventListener("securitypolicyviolation",(e=>{console.log("securitypolicyviolation",e.blockedURI,e.violatedDirective,e.originalPolicy)}))},339:function(e,n,t){t.r(n)}}]);
//# sourceMappingURL=4327-1e0a52e555165b05acc2.js.map