A TOUR

Choose music service

f.appendAmazonGroupToUrl)(n,i),n=(0,f.wrapUrlInImpact)(n,i),t&&(t=(0,f.appendAmazonGroupToUrl)(t,i))),Promise.race([a,(0,u.default)(s.RACING_INTERVAL)]).then(function(){t?(0,o.openApp)(t,n):(0,o.navigateTo)(n)})}catch(n){console.error(n)}}function d(n,t,e,r,i){var o=n.container,a=n.placement,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;try{o.classList.remove(\"visible\"),a.classList.remove(\"visible\"),window.linkfire.placements&&window.linkfire.placements.onePointFiveClick&&(window.linkfire.placements.onePointFiveClick.isShown=!1),l(r,i,t,c?\"1.5-overlay-redirect\":\"1.5-modal-close-redirect\",u)}catch(n){console.error(n)}}function v(n,t){try{return(0,a.trackClick)(r({},n,{buttonText:t}))}catch(n){console.error(n)}}},function(n,t,e){\"use strict\";var r=a(e(10)),i=e(11),o=a(e(3));function a(n){return n&&n.__esModule?n:{default:n}}n.exports={trackClick:function(n){var t=n||{},e=t.label,a=t.action,c=t.category,u=t.categoryType,f=t.appType,s=t.rank,l=t.showId,d=t.url,v=t.eventshowid,m=t.blockType,w=t.blockId,p=t.contentId,h=t.buttonText,b=t.blockRank,y=t.metaInformation,_=t.contentServiceId,g=t.additionalParams;return new Promise(function(n,t){try{e&&r.default.set(\"LF_prefPlayer\",e,{expires:90});var k=(0,i.b)(\"clickthrough\",f,{category:c,action:a,label:e,categoryType:u,rank:s,eventshowid:v,blockType:m,blockId:w,contentId:p,buttonText:h,blockRank:b,contentServiceId:_,metaInformation:y,additionalParams:g}),O=(0,i.y)(\"clickthrough\",\"click\",{category:c,action:\"click\",label:e}),C=(0,i.y)(\"ServiceClick\",null,{category:\"Landing page\",action:\"Service click\",label:e}),I=(0,i._)(\"clickthrough\",\"click\",{label:e,action:a,showId:l,categoryType:u,url:d,additionalParams:g});o.default.state.isConsentedToLevel?Promise.all([k,O,C,I]).then(function(){return n(\"track_all\")}).catch(function(n){return t(n)}):k.then(function(){return n(\"track_required\")}).catch(function(){return t(\"track_required\")})}catch(n){console.warn(\"Issues setting preferences and resolving tracking.\"),t(\"track_error\")}})}}},function(n,t,e){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){return function(n,t){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return function(n,t){var e=[],r=!0,i=!1,o=void 0;try{for(var a,c=n[Symbol.iterator]();!(r=(a=c.next()).done)&&(e.push(a.value),!t||e.length!==t);r=!0);}catch(n){i=!0,o=n}finally{try{!r&&c.return&&c.return()}finally{if(i)throw o}}return e}(n,t);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}}();function i(n){var t=n.split(\"adurl=\"),e=r(t,2),i=e[0],o=e[1],a=decodeURIComponent(o||i);return[new URL(a),i,o]}function o(n,t,e){var o=i(n),a=r(o,3),c=a[0],u=a[1],f=a[2];return c.searchParams.set(t,e),f?u+\"adurl=\"+encodeURIComponent(c.href):c.href}function a(n,t){if(n){var e=i(n);return r(e,1)[0].searchParams.get(t)}}t.appendVisitorTokenToUrl=function(n){return o(n,\"visitor_token\",window.linkfire.tracking.parameters.visitorToken)},t.appendAmazonGroupToUrl=function(n,t){var e=a(t,\"group\");if(e)return function(n,t){if(!n)return;var e=new URL(n),r={us_ios_none:\"A\",us_ios_small:\"B\",us_ios_large:\"C\",us_android_none:\"D\",us_android_small:\"E\",us_android_large:\"F\",uk_ios_none:\"G\",uk_ios_small:\"H\",uk_ios_large:\"I\",uk_android_none:\"J\",uk_android_small:\"K\",uk_android_large:\"L\",jp_ios_none:\"M\",jp_ios_small:\"N\",jp_ios_large:\"O\",jp_android_none:\"P\",jp_android_small:\"Q\",jp_android_large:\"R\"};if(void 0!==r[t]){var i=a(n,\"ref\");if(i){var o=e.searchParams.get(\"ref\");-1!==o.indexOf(\"lw_x\")&&e.searchParams.set(\"ref\",o.replace(\"lw_x\",\"lw_x_\"+r[t])),-1!==o.indexOf(\"lp_x\")&&e.searchParams.set(\"ref\",o.replace(\"lp_x\",\"lp_x_\"+r[t])),-1!==o.indexOf(\"up_opf\")&&e.searchParams.set(\"ref\",o.replace(\"up_opf\",\"up_opf_\"+r[t])),e.searchParams.delete(\"group\")}}return e.toString()}(n,e);return n},t.getParameterFromUrl=a,t.wrapUrlInImpact=function(n,t){return o(o(t,\"asset\",\"lw_x\"),\"u\",n)}}]);\r\n" ?>