')},onMouseMove:function(e){var t=e.pageY-this.startPageY,i=this.scrollpane.innerEl.get(0),o=this.el.height(),a=this.scrollpane.el.height(),s=a-2*this.scrollpane.options.padding,l=n(80).clamp(t,0,s-o);i.scrollTop=(i.scrollHeight-a)*l/(s-o)},onMouseWheel:function(e){if(this.scrollpane.options.scrollTrap){var t=this.scrollpane.innerEl.get(0),n=e.originalEvent.deltaY;if(n<0&&0===t.scrollTop||n>0&&t.scrollTop+this.scrollpane.el.height()===t.scrollHeight)return e.preventDefault(),!1}}}]);function r(e,t){var i=e[0];if(!this.isDOMMonitoringStarted){if(n(85).MutationObserver){var o=new window.MutationObserver(t);o.observe(i,{childList:!0,subtree:!0}),this._observer=o}else i.addEventListener("DOMNodeRemoved",t),i.addEventListener("DOMNodeInserted",t);this.isDOMMonitoringStarted=!0}}function c(e,t){if(e){var i=e[0];this.isDOMMonitoringStarted&&(n(85).MutationObserver?this._observer&&this._observer.disconnect():(i.removeEventListener("DOMNodeRemoved",t),i.removeEventListener("DOMNodeInserted",t)),this.isDOMMonitoringStarted=!1)}}function u(){return 0===n(359).getScrollbarSize()?30:0}function d(){return 0===n(359).getScrollbarSize()?30:n(359).getScrollbarSize()}}).call(this,n(17))},,,,,,function(e,t,n){e.exports=n(8).extend(n(116),n(277),n(326).withOptions({selector:".soundTitle__playButton"}),{template:n(2030),css:n(2038),className:"soundTitle sc-clearfix sc-hyphenate",ModelClass:n(52),requiredAttributes:{sound:["user","permalink","title","sharing","genre"],playlist:["user","permalink","title","sharing","genre"],"system-playlist":["user","made_for","permalink","title","is_public"]},events:{"click .soundTitle__username":"onUsernameClick","click a.soundTitle__title":"onTitleClick"},states:{playing:"m-playing",hiddenSound:"m-hiddenSound",visualSound:"m-visualSound",interactive:"m-interactive"},defaults:{is_link:!0,noFollow:!1,show_actor_user:!0,show_playbutton:!1,show_genre:!1,show_private:!1,show_promoted:!0,show_time:!1,show_visuals:!0,show_snippet_indicator:!0,playbutton_size:"small",truncate:!1,actorId:null,actionType:"post",is_promoted:!1,prefix:"",timestamp:null,viewContext:"",dialogType:"userBadge",dialogSelector:".soundTitle__usernameText"},setup:function(e){this.listenTo(this.model,"play",this.onPlay).listenTo(this.model,"pause",this.onPause).listenTo(this.model,"finished",this.onFinished),this.$el.addClass(e.viewContext)},dialogSubviewArgs:function(){var e;return{resource_id:null==(e=i.call(this))?void 0:e.id}},isVisual:function(){return!!(this.options.show_visuals&&this.model.hasVisuals&&this.model.hasVisuals())},onPlay:function(){this.toggleState("playing",!0)},onPause:function(){this.toggleState("playing",!1)},onFinished:function(){this.toggleState("playing",!1)},onUsernameClick:function(){var e,t=this.getContextData();n(79).trackEvent("userClickThrough",t),n(14).trackClickThrough({target:null==(e=i.call(this))?void 0:e.urn,context:t})},onTitleClick:function(){var e=this.getContextData();n(79).trackEvent("soundClickThrough",e),n(14).trackClickThrough({context:e})},renderDecorate:function(){this.toggleState("playing",this.model.isPlaying()).toggleState("hiddenSound",this.model.isDisabled()).toggleState("visualSound",this.isVisual()).toggleState("interactive",n(60).isSoundInteractive(this.model,this._product))},getTemplateData:function(e){var t=this.model,o=this.options,a=t.isPrivate(),s=t.isDisabled(),l=this.isVisual(),r=!!e.genre;r&&n(155).isGenreLabel(e.genre)?e.translatedGenre=n(155).getUnescapedTranslationFromEnglish(e.genre):e.translatedGenre=e.genre;var c=o.show_genre&&r,u=o.show_private&&a,d="sound"===e._resource_type,p="playlist"===e._resource_type,A="system-playlist"===e._resource_type,m=i.call(this),h=o.show_snippet_indicator&&d,g=n(60).shouldEnableSnippetUX(),f="listenContext"===o.viewContext;return n(0).assign(e,{isSound:d,isPlaylist:p,isSystemPlaylist:A,owner:m,isLink:o.is_link&&!s,noFollow:o.noFollow,isListenContext:f,showActorUser:o.actorId&&o.show_actor_user,showPlaybutton:o.show_playbutton,showPromotedInTitle:o.show_promoted&&l&&o.is_promoted&&"listenContext"!==o.viewContext,showPromotedOutsideTitle:o.show_promoted&&!l&&o.is_promoted&&"listenContext"!==o.viewContext,showReleaseData:"streamContext"===o.viewContext&&!d&&!A,hasLabels:c||u||h,isPrivate:a,isVisual:l,showSnippet:h,showGenre:c,showPrivate:u,isSnippetUXEnabled:g,playButtonSize:f?"stretch":this.options.playbutton_size})}});function i(){var e;return null!=(e=this.model.get("made_for"))?e:this.model.get("user")}},,,,,,,,,,,,,,,function(e,t,n){e.exports=new(n(19))({around:{validateOwnField:function(e){if(this.isControlValid)return e.call(this)}},setValid:function(e,t){this.isControlValid=e;var i=this.getMetaData();i&&(i.isValid=e,i.validity=n(58)[e?"VALID":"INVALID"]),this.getElement("validation").html(e?"":t.toString()),this.toggleState("invalid",!e)}})},function(e,t,n){var i={};e.exports=new(n(19))({_isPlayLocked:null,_playLockSelector:null,_playLockDim:null,_playLockFreeze:null,applyTo:function(e,t){e.css=[].concat(e.css,n(1642)).filter(Boolean),e._playLockDim=!t||!("dim"in t)||!!t.dim,e._playLockFreeze=!t||!("freeze"in t)||!!t.freeze,e._playLockSelector=(null==t?void 0:t.elName)||i},before:{setup:function(){this._isPlayLocked=!1,this.listenTo(n(16),"state:globalPlayLock",o)},renderDecorate:function(){o.call(this)}}});function o(e){var t;e="boolean"==typeof e?e:n(16).getState("globalPlayLock"),this._isPlayLocked!==e&&(t=this._playLockSelector===i?this.$el:this.getElement(this._playLockSelector),this._playLockDim&&t.toggleClass("playlock-dim",e),this._playLockFreeze&&t.toggleClass("playlock-freeze",e),this._isPlayLocked=e)}},function(e,t,n){var i=n(181).getConfig("barWidth")+n(181).getConfig("gapWidth");e.exports=new(n(19))(n(391),{override:{ModelClass:n(21)},merge:{requiredAttributes:["duration"],defaults:{waveformStyle:"default",waveformDims:null}},hasUnplayableArea:function(){return this.getPlayablePortion()<1},getPlayablePortion:function(){var e=this.model.getMediaDuration(),t=this.model.getFixedDuration();return t<=0?1:n(80).clamp(e/t,0,1)},getPlayableWidth:function(){var e=this.canvas.width,t=this.getPlayablePortion();return 1===t?e:a(e*t)},getUnplayableWidth:function(){return this.canvas.width-this.getPlayableWidth()},insideScrubbableArea:function(e,t){return this.insideTopArea(t)&&this.insidePlayableArea(e,"px")},roundToBar:function(e,t){return(t?o:a)(e)},getWholeBarWidth:function(){return i},insidePlayableArea:function(e,t){return!this.hasUnplayableArea()||("ms"===t&&(e=this.msToPx(e)),e<=this.getPlayableWidth())},insideTopArea:function(e){var t=this.options.waveformDims;return e=1}},{id:"create",name:function(){return n(2).Lingua.t("Create a playlist")},subview:n(2009)}]},setup:function(){this.playlists=this.addDataSource(new(n(744)))},hasData:function(){return this.playlists.isPopulated()},getTemplateData:function(e){var t=this;e.tabs=this.options.tabs.filter((function(e){return!e.filter||e.filter.call(t)})).map(n(0).clone);var i=n(0).findIndex(e.tabs,{id:this.options.startingTab});return e.activeTabIndex=-1===i?0:i,e.event_source=this.options.event_source,e},onContextRequest:function(e){e.data.event_source=this.options.event_source,e.data.trackingAttributes=this.options.trackingAttributes}})},,,,,,,,,function(e,t,n){e.exports=new(n(19))({override:{LoadingView:n(298)}})},,function(e,t,n){e.exports=n(8).extend({className:"relativeTime",tagName:"time",date:null,defaults:{timestamp:null,prefix:"Posted"},setup:function(){this.updateDisplay=i.bind(this),this.date=n(15).LinguaLib.dateTimeHelper.fromString(this.options.timestamp)},renderDecorate:function(){var e=this.options.prefix,t=n(15).LinguaLib.dateTimeHelper.nowAtServer()-this.date<2*n(32).MS_IN_DAY?"readable_time":"readable",i=n(15).LinguaLib.dateTimeHelper.format(this.date,t);this.$el.attr({title:o(e,i).toString(),datetime:this.date.toISOString()}),this.updateDisplay()},template:function(){return""}});function i(){var e=n(15).LinguaLib.dateTimeHelper.toRelativeTime(this.date,null,n(15).LinguaLib.dateTimeHelper.nowAtServer()),t=function(e,t){switch(e.toString()){case"Posted":return n(2).Lingua.t("Posted [[[relativeTime]]]",{relativeTime:t});case"Reposted":return n(2).Lingua.t("Reposted [[[relativeTime]]]",{relativeTime:t});case"Sent":return n(2).Lingua.t("Sent [[[relativeTime]]]",{relativeTime:t});case"Shared":return n(2).Lingua.t("Shared [[[relativeTime]]]",{relativeTime:t});case"Updated":return n(2).Lingua.t("Updated [[[relativeTime]]]",{relativeTime:t});case"":default:return t}}(this.options.prefix,e).toString();this.el.innerHTML=n(479).getAccessibleMarkup({visible:e,screenreader:t});var i=n(15).LinguaLib.dateTimeHelper.nowAtServer()-this.date,o=i0)&&this._shouldNavigate()){var o=this._getAudible();(function(e){return"sound"===e.resource_type})(o)&&(!o.isSnippetized()||o.isPlayable()||n(60).isSoundBlocked(o,this._product)||function(e){var t=n(92).getConsumerLink("t2485"),i=t.link,o=t.target;if(!window.open(i,o))return;a(e,{click_name:"clickthrough::snippet",click_object:e.urn,click_category:"engagement"}),a(e,{click_name:"clickthrough::consumer_sub_ad",click_object:"soundcloud:tcode:2485",click_category:"consumer_subs",click_target:i})}(this.getContextData()))}}function a(e,t){var o,a;n(14).trackV1Click(i({},t,{click_attributes:e.click_attributes,query_position:null==(o=e.attribution)?void 0:o.position,query_urn:null==(a=e.attribution)?void 0:a.queryUrn,context:e}))}}).call(this,n(17))},,,,,,,,function(e,t,n){e.exports=new(n(19))(n(73),{requires:["getModalArgs","requiresLogin"],defaults:{onModalOpen:n(0).noop,loginOptions:n(0).noop,modalEnabled:!0,ModalClass:n(50)},onClick:function(){this.modalEnabled&&(this._modal||(this._modal=new this.ModalClass(n(0).assign({togglerEl:this.el},this.getModalArgs(this.options)))),!n(22).isLoggedIn()&&this.requiresLogin()?n(22).login(this.loginOptions()).then(i).then(o.bind(this)):o.call(this))},closeModal:function(){this._modal&&this._modal.close()}});function i(){var e=n(9).defer();return n(11).once("layout:change",(function(){e.resolve()})),e.promise()}function o(){this._modal.open(),this.onModalOpen()}},function(e,t,n){(function(t){var i={warning:n(544),alert:n(701)};e.exports=n(8).extend(n(172),n(42).withOptions("soundBadge"),n(191).withOptions({getSound:function(){return this.model.getCurrentSound()}}),n(277),n(326).withOptions({selector:".soundBadge__playButton"}),{template:n(2011),css:n(2125),className:"soundBadge",ModelClass:n(52),requiredAttributes:{sound:["permalink","user","sharing","duration","display_date","policy"],playlist:["permalink","user","sharing","is_album","display_date"]},defaults:{CheckboxForm:null,compact:!1,is_promoted:!1,show_action_buttons:!1,show_owner_buttons:!1,expand_owner_buttons:!1,show_ministats:!0,show_private:!1,show_audible_attributes:!1,show_duration:!1,show_upload_time:!1,show_info_stats:!1,primary_actions:1,overflow_minimum:2,allowTrackFallback:!0,click_to_play:!1,click_to_navigate:!1,noFollow:!1},states:{active:"active",selected:"selected",clickable:"clickable",compact:"compact sc-media",hiddenActions:"hiddenActions",playlist:"playlist",hiddenSound:"hiddenSound",hasCheckbox:"hasCheckbox",hover:function(e){!e&&this._isOverlayOpened||this.$el.toggleClass("hover",e)},interactive:"m-interactive",playable:"m-playable"},element2selector:{removeButton:".soundBadge__remove"},events:{click:"onClick",mouseenter:"onHover",mouseleave:"onHover"},loadingTemplate:function(){return''},initialize:function(e){var t={};t[n(323).TOGGLE]="onOverlayButtonToggle",e.CheckboxForm&&(t["checkbox:checked"]="onCheckboxChecked"),this.bubbleEvents=n(0).assign(this.bubbleEvents||{},t),n(8).prototype.initialize.apply(this,arguments)},setup:function(e){this.toggleState("compact",e.compact).toggleState("hiddenActions",!o(this)&&!a(this)).toggleState("playlist",u(this.model)).toggleState("hasCheckbox",!!e.CheckboxForm),e.CheckboxForm&&(this.checkboxForm=new e.CheckboxForm),this.listenTo(this.model,"play pause",s)},dispose:function(){this.checkboxForm&&this.checkboxForm.release()},renderDecorate:function(){var e=this.options,t=e.click_to_play,n=e.click_to_navigate,i=e.CheckboxForm,o=c(this.model);l(this,this.model),this.toggleState("hiddenSound",!o).toggleState("clickable",t||n||i&&o)},onHover:function(e){this.toggleState("hover","mouseenter"===e.type)},onClick:function(e){var i=t(e.target),o=this.options,a=this.model.id;if(i.closest("a,button,input,label",".soundBadge").length)return!0;if(o.click_to_play)this.toggleAudible(this.model,{userInitiated:!0});else if(o.click_to_navigate)p.call(this),n(6).get("router").navigateToRoute("listen",[this.model],{trigger:!0});else if(o.CheckboxForm&&c(this.model)){var s=this.checkboxForm.hasId(a);this.checkboxForm[s?"removeId":"addId"](a),r(this.model)||this.checkboxForm[s?"removeUneditableId":"addUneditableId"](a)}},onCheckboxChecked:function(e){this.toggleState("selected",e.data.checked)},onOverlayButtonToggle:function(e){e.data.$el.closest(".soundBadge").is(this.el)&&(this._isOverlayOpened=e.data.isOpened,this.toggleState("hover",this._isOverlayOpened,!0))},getTemplateData:function(e){var t,s,l=this.options,p=this.model,m=u(p),h=a(this),g=o(this),f=l.show_private&&p.isPrivate(),_=l.show_audible_attributes&&!m,C=l.show_duration,b=l.show_upload_time,v=l.show_info_stats,y=l.allowTrackFallback,x=m&&e.is_album;C&&(s=n(2).Lingua.t("Duration: [[timeCodeInWords]]",{timeCodeInWords:n(15).LinguaLib.dateTimeHelper.timecode(e.duration,{inWords:!0})}),t=n(15).LinguaLib.dateTimeHelper.timecode(e.duration));var w,k=n(92).getCreatorLink("t252"),B=k.link,S=k.target,T=n(2).Lingua.t("This track has been hidden because you have exceeded your upload limit. [[[linkStart]]]Upgrade[[[linkEnd]]] to a Pro Unlimited plan to restore all hidden tracks and unlock unlimited uploads.",{linkStart:'',linkEnd:""}),P=p.isOverQuota()?i.warning:p.isBlacklisted()?i.alert:void 0,O=n(60).shouldEnableSnippetUX();return n(0).assign(e,{routeName:m?"playlist":"listen",show_hidden_info:p.isOverQuota(),hidden_info_text:T,show_checkbox:!!l.CheckboxForm,show_ministats:l.show_ministats,show_buttons:g||h,show_play:(g||h)&&(w=p,!w.isDisabled()&&!w.isProcessing()),show_owner_buttons:h,show_extra:f||C||b||_,show_duration:C,show_upload_time:b,show_audible_attributes:f||_,show_private_only:f&&!_,show_release_data:x,show_info_stats:v,stats_visible:v||l.show_ministats||x,isEditable:r(p),isDisabled:!c(p),isSound:d(p),is_blacklisted:p.isBlacklisted(),duration_in_words:s,duration:t,allowTrackFallback:y,noFollow:l.noFollow,icon:P,show_warning_icon:!!P,showHQLabel:n(6).get("features").has("v2_hq_file_storage_release"),isSnippetUXEnabled:O,statsVariant:A.call(this,p)})},onContextRequest:function(e){e.data.audibleModel=this.model}},{Events:{REMOVE_CLICK:"soundBadge:remove-click"}});function o(e){return e.options.show_action_buttons}function a(e){return e.options.show_owner_buttons}function s(e){l(this,e[this.model.resource_type])}function l(e,t){var i=e.model,o=i===t&&t.isPlaying();e.toggleState("active",o).toggleState("interactive",n(60).isSoundInteractive(i,e._product)).toggleState("playable",i.isPlayable())}function r(e){return c(e)&&!e.isManagedByFeeds()}function c(e){return!e.isDisabled()}function u(e){return"playlist"===e.resource_type}function d(e){return"sound"===e.resource_type}function p(){var e=this.getContextData();n(79).trackEvent("soundClickThrough",e),n(14).trackClickThrough({context:e})}function A(e){return n(60).isSoundInteractive(e,this._product)&&!e.isPlayable()?"light":""}}).call(this,n(17))},function(e,t,n){e.exports=n(8).extend(n(116),{tagName:"span",className:"promotedBadge",template:n(2031),events:{"click .promotedBadge__promoter":"onPromoterClick"},defaults:{size:"small",dialogType:"userBadge",dialogSelector:".promotedBadge__promoter"},getTemplateData:function(e){var t=this.getContextData();return e.promoted_by=t.promoted_by,e.promotedByAnchor=function(e){var t;if(!(null==(t=e.promoted_by)?void 0:t.username))return;var i=n(25).getRoute("user",e.promoted_by),o=e.promoted_by.username;return n(2).Lingua.t("Promoted by [[[anchorStart]]][[username]][[[anchorEnd]]]",{anchorStart:'',anchorEnd:"",username:o})}(e),e},dialogSubviewArgs:function(){return{resource_id:this.getContextData().promoted_by.id}},onPromoterClick:function(){var e=this.getContextData();n(79).trackEvent("sponsorClickThrough",e),n(14).trackClickThrough({context:e,target:e.promoted_by_urn})}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=new(n(19))({stateMachine:null,_stateHandlers:null,applyTo:function(e){this.merge(e,{defaults:{sound_id:null}})},before:{setup:function(e){this._stateHandlers={},this.sound=this.addDataSource(new(n(21))({id:e.sound_id,resource_id:e.resource_id}),{requiredAttributes:["duration"]})}},after:{setup:function(){var e=this.sound.get("secret_token");this.stateMachine=new(n(1781))(this.options.sound_id,this.options.resource_id,e),this.onState(n(54).INITIAL,this.onInitialState).onState(n(54).CURRENT_COMMENT,this.onCurrentCommentChange).onState(n(54).ACTIVE_TIMESTAMP,this.onActiveTimestamp).onState(n(54).CURRENT_TIMESTAMP,this.onCurrentTimestamp)},dispose:function(){this.sound=null;var e=this.stateMachine,t=this;n(0).each(this._stateHandlers,(function(n,i){n.forEach((function(n){e.off(i,n,t)}))})),this._stateHandlers=null,e&&e.release()}},getCurrentComment:function(){return this.stateMachine.currentComment},getCurrentCommentTimestamp:function(){var e=this.getCurrentComment();return e&&e.get("timestamp")},cachedDimensions:function(){return this._cachedDimensions||(this._cachedDimensions=this.$el.offset(),this._cachedDimensions.width=this.$el.width(),this._cachedDimensions.height=this.$el.height()),this._cachedDimensions},resetCachedDimensions:function(){this._cachedDimensions=null},getTimestampByMouseEvent:function(e){return Math.floor((e.clientX-this.cachedDimensions().left)/this.cachedDimensions().width*this.sound.duration())},getCurrentState:function(){return this.stateMachine.currentState},goToState:function(){var e=this.stateMachine;e.goToState.apply(e,arguments)},setInteracting:function(e){this.stateMachine.interactingWithComments=e},isInteracting:function(){return this.stateMachine.interactingWithComments},onState:function(e,t){return this._stateHandlers[e]=this._stateHandlers[e]||[],this.stateMachine.on(e,t,this),this._stateHandlers[e].push(t),this},isActiveTimestampState:function(){return!!this.stateMachine.activeTimestamp&&this.getCurrentState()===n(54).ACTIVE_TIMESTAMP},defaults:{onInitialState:n(0).noop,onActiveTimestamp:n(0).noop,onCurrentTimestamp:n(0).noop,onCurrentCommentChange:n(0).noop}})},,,,,,,function(e,t,n){var i=n(2).Lingua.t("The playlist is not saved yet. Are you sure you want to close it?");e.exports=n(50).extend({defaults:{Subview:n(304),transparentBackground:!0,width:550},_navigating:!1,_navBlockId:null,setup:function(e){o.call(this,e),n(50).prototype.setup.apply(this,arguments)},open:function(){var e=this;n(50).prototype.open.call(this),this._navigating=!1,this._navBlockId=n(6).get("router").addNavigationBlock(i,(function(t){if(t){if(window.confirm(i))return e._navigating=!0,l(),!0;s()}return!1}),a.bind(this))},close:function(){var e=this;if(this.isOpened){var t=function(){e.removeDataSource(e.model),e.model.release(),o.call(e,e.options),e.model.hold(),n(6).get("router").removeNavigationBlock(e._navBlockId),n(50).prototype.close.call(e)};!this._navigating&&a.call(this)?n(328).confirm(i).done(t).done(l).fail(s):t()}}});function o(e){this.model=new(n(204))({title:e.subviewArgs.defaultTitle||""},{startingSounds:n(0).map(e.subviewArgs.soundIds,(function(e){var t=new(n(21))({resource_id:e});return t.release(),t})),event_source:e.subviewArgs.event_source,trackingAttributes:e.subviewArgs.trackingAttributes}),e.subviewArgs=n(0).defaults({formId:this.model.resource_id},e.subviewArgs)}function a(){return this.model.get("sounds").length&&this.model.isDirty()}function s(){n(14).trackV0Click(["add_to_set","confirmation","cancel"])}function l(){n(14).trackV0Click(["add_to_set","confirmation","ok"])}},function(e,t,n){e.exports=n(8).extend({className:"sc-tag",tagName:"a",defaults:{label:null,kind:null,size:null,noFollow:!1},css:n(2036),template:function(){var e,t=(e=this.options.label)&&n(155).isGenreLabel(e)?n(155).getTranslationFromEnglish(e):e;return''+n(12).Utils.escapeExpression(t)+""},setup:function(e){this.options=e,this.$el.attr("href",n(25).getRoute("tags",this.options.label)),this.options.noFollow&&this.$el.attr("noFollow",this.options.noFollow),this.options.size&&this.$el.addClass("sc-tag-"+this.options.size)},events:{click:function(){n(14).trackV1Click({click_name:"tag_link",click_attributes:{source:this.options.kind}})}}})},,,,,,,,,,,,,,function(e,t,n){var i={User:"User",Caption:"Caption",Track:"Track"};e.exports=n(8).extend({className:"reportModalContent sc-py-1x sc-px-2x",template:n(2121),css:n(473),events:{"change input[type=radio]":function(e){o.call(this,e.currentTarget.value)}},defaults:{trackId:null,activityUuid:null},states:{reportTrack:"m-reportTrack",reportCaption:"m-reportCaption",reportUser:"m-reportUser"},setup:function(e){this.sound=this.addDataSource(new(n(21))({resource_id:e.trackId}),{requiredAttributes:["user"]}),this.activity=e.activityUuid?this.addDataSource(new(n(389))({uuid:e.activityUuid}),{requiredAttributes:["type","caption","user"]}):null,o.call(this,i.Track)},getTemplateData:function(e){var t=this.sound.get("user"),o=a.call(this);return e.canReportCaption=o,e.radioButtons=[{label:n(2).Lingua.t("Report the track"),value:i.Track},o&&{label:n(2).Lingua.t("Report caption"),value:i.Caption},{label:n(2).Lingua.t("Report [[username]]",{username:t.username}),value:i.User}].filter(Boolean),e.initialValue=i.Track,e.trackId=this.options.trackId,e.userId=t.id,e}});function o(e){this.toggleState("reportTrack",e===i.Track),this.toggleState("reportCaption",e===i.Caption),this.toggleState("reportUser",e===i.User)}function a(){return this.activity&&!!this.activity.getCaption()&&!(this.activity.get("user").id===n(6).get("me").get("id"))}},,,,,,,,,,,,,,,function(e,t,n){function i(){return(i=Object.assign||function(e){for(var t=1;t0&&d.push(c.call(this,n(333),{actions:u})),d}function l(e){return n(0).compact(e.map(r.bind(this)))}function r(e){var t=this,i=this.options,o=i.resource_id,a=i.resource_type,s=i.show_counts_actions,l=this.model.id,r=function(e,n){return c.call(t,e,n)};switch(e){case"like":return r(n(215),{show_counts:s});case"repost":return r(n(508),{show_counts:s});case"addToPlaylist":return r(n(433),{soundIds:[l]});case"addToNextUp":return r(n(337),{resource_id:o});case"edit":return r(n(510),{resource_id:o,resource_type:a,text:n(2).Lingua.t("Edit")});case"delete":return r(n(750),{disabled:this.model.isManagedByFeeds()});case"share":return r(n(421),{resource_id:o});case"copyLink":return r(n(760),{resource_id:o,resource_type:a});case"download":return r(n(369));case"startStation":return r(n(436),{stationType:"track",stationId:l});case"goToStats":return n(156).insightsSwitchedOn()?r(n(588),{isCTA:!1}):r(n(761),{resource_id:o,resource_type:a});case"report":return r(n(762),{resource_id:o,resource_type:a});default:return null}}function c(e,t){return{buttonArgs:n(0).assign({className:"sc-button-secondary",size:this.options.size,resource_id:this.model.id,resource_type:this.options.resource_type,icon_only:this.options.icon_only,transparent:this.options.transparent,lightFg:this.options.lightFg,responsive:this.options.responsive},t),ButtonView:e}}function u(e){var t=e.purchase_title,i=n(749).getStoreName(e),a="sound"===e._resource_type;return t||(t=i?o[i]||(a?n(2).Lingua.t("Buy on [[store]]",{store:i}):n(2).Lingua.t("Buy all on [[store]]",{store:i})):a?n(2).Lingua.t("Buy"):n(2).Lingua.t("Buy all")),t}},,,,,function(e,t,n){e.exports=n(8).extend(n(240),{template:n(1383),css:n(1442),className:"newMessageForm sc-clearfix",tagName:"div",defaults:{maxRecipients:1,formId:null,showSuccessMessage:!0,attachments:null,showTitle:!0,showRecipientField:!0,share_type:null},form:null,ModelClass:n(37),setup:function(e){e.formId&&(this.formId=e.formId),this.form=new(n(243))({id:this.formId}),e.attachments&&i.call(this,e.attachments),this.listenTo(this.form,"change:recipients",o)},dispose:function(){this.form.release()},renderDecorate:function(){this.model&&this.form.addRecipient(this.model),this.whenInserted().done(o.bind(this))}});function i(e){e.forEach((function(e){this.form.addAttachment(e,this.options.share_type)}),this)}function o(){var e=this.subviews;!this.options.showRecipientField||this.form.getRecipientIds().length>=this.options.maxRecipients?a.call(this,e.compose):a.call(this,e.recipients)}function a(e){e&&this.addDeferred(window.setTimeout((function(){e.focus()}),400))}},function(e,t,n){e.exports=new(n(19))({defaults:{slideInnerSelector:""},_firstRender:!0,_animating:!1,_queuedAnimation:null,slideDown:function(e){var t=this,a=this.$el,s=this.getElement("wrapper");return e=e||n(9).defer(),this._animating?(o.call(this,"slideDown",e),e):(this._animating=!0,e.always(i.bind(this)),s.addClass("slide-down-inner"),this.addDeferred(n(0).defer(s.addClass.bind(s,"g-opacity-transition"))),a.addClass("slide-down-outer").css({display:"",height:"0"}),this.whenInserted().done((function(){a.height(s.height()),t.addDeferred(n(0).delay((function(){s.addClass("finished"),t.addDeferred(n(0).delay(s.removeClass.bind(s,"slide-down-inner g-opacity-transition finished"),250)),a.css("height","").removeClass("slide-down-outer"),e.resolve()}),380))})),e)},slideUp:function(e){var t=this.$el,a=this.getElement("wrapper"),s=t.css("margin");return e=e||n(9).defer(),this._animating?(o.call(this,"slideUp",e),e):(this._animating=!0,e.always(i.bind(this)),t.height(a.height()),this.addDeferred(n(0).defer((function(){a.addClass("slide-up-inner g-opacity-transition finished"),t.addClass("slide-up-outer").css({margin:"0",height:"0"})}))),this.addDeferred(n(0).delay((function(){a.removeClass("slide-up-inner g-opacity-transition finished"),t.css({height:"",display:"none",margin:s}).removeClass("slide-up-outer"),e.resolve()}),380)),e)},after:{renderDecorate:function(){this._automaticSlide&&this._firstRender&&(this.slideDown(),this._firstRender=!1)}},applyTo:function(e,t){var i=n(0).assign({automatic:!0},t);e._automaticSlide=i.automatic,e.element2selector=n(0).assign({},e.element2selector,{wrapper:e.slideInnerSelector}),e.css?(Array.isArray(e.css)||(e.css=[e.css]),e.css.push(n(713))):e.css=n(713)}});function i(){this._animating=!1,a.call(this)}function o(e,t){var n=this._queuedAnimation,i=n?n.deferred:t;this._queuedAnimation={name:e,deferred:i}}function a(){var e=this._queuedAnimation;e&&this[e.name](e.deferred),this._queuedAnimation=null}},,,,,,,,,function(e,t,n){e.exports=new(n(19))({merge:{defaults:{cornerStyle:"square"},css:[n(671)],className:"moreActions sc-list-nostyle sc-border-box sc-pt-1x sc-pb-1x"},override:{template:n(1984)},after:{setup:function(e){this.$el.toggleClass("moreActionsRounded","round"===e.cornerStyle)}},around:{getTemplateData:function(e,t){return(t=e(t)||t).items.forEach(i),t}}});function i(e){e.forEach(o)}function o(e){e.View&&(e.isView=!0)}},function(e,t,n){var i={preview:n(2).Lingua.t("Preview",null,{context:"track"}).toString()},o={small:"sc-snippet-badge-small",medium:"sc-snippet-badge-medium"},a={light:"sc-snippet-badge-light",grey:"sc-snippet-badge-grey"},s={grey:"sc-snippet-grey-background",white:"sc-snippet-white-background"};e.exports=n(8).extend({tagName:"span",className:"sc-snippet-badge sc-selection-disabled",defaults:{label:null,size:null,color:null,background_color:null},states:{hidden:"sc-hidden"},ModelClass:n(21),requiredAttributes:["policy"],setup:function(e){e.label,e.resource_id;var t=e.size,n=e.color,i=e.background_color;this.$el.addClass(o[t]).addClass(a[n]).addClass(s[i])},renderDecorate:l,onModelChange:l,getModelData:n(0).noop,template:n(0).constant("")});function l(){if(!this.disposed){var e;this.options.label?e=this.options.label:this.model&&this.model.isSnippetized()&&(e="preview");var t=i[e],o=!!t&&!n(60).shouldEnableSnippetUX();this.toggleState("hidden",!o),this.$el.html(t)}}},,function(e,t,n){e.exports=n(8).extend({template:n(1370),css:n(473),className:"reportUser",defaults:{standalone:!0},events:{"click .reportUser__reportSpam":"onReportSpamButtonClick"},onReportSpamButtonClick:function(e){e.preventDefault(),new(n(50))({width:567,Subview:n(1372),subviewArgs:{resource_id:this.options.resource_id}}).open()}})},function(e,t,n){(function(t){e.exports=new(n(19))({_sortingEnabled:!1,_shouldEnableSorting:!1,_onDragOver:null,_stepAnimation:null,_debouncedReinitializeSorting:null,_sortableScrollParent:null,_sortableOffset:null,requires:["editableObject","listSelector","listItemSelector"],defaults:{onAddItem:n(0).noop,onRemoveItem:n(0).noop,onSortingUpdate:n(0).noop},applyTo:function(e){e.element2selector=n(0).assign({},{list:e.listSelector,"list-items":e.listItemSelector},e.element2selector),e._debouncedReinitializeSorting=n(0).debounce(e.reinitializeSorting,50)},after:{setup:function(){this.onSortUpdate=this.onSortUpdate.bind(this)},onAdd:function(){this._shouldBeSorting()&&this.reinitializeSorting(),this.onAddItem()},onRemove:function(){this.disposed||(this._shouldBeSorting()&&this.reinitializeSorting(),this.onRemoveItem())},onCollectionReset:function(){this.saveResetOrder()},addSubview:function(){this._shouldBeSorting()&&this._debouncedReinitializeSorting()},removeSubview:function(){this._shouldBeSorting()&&this._debouncedReinitializeSorting()}},enableSorting:function(){var e=this;if(this.resetElementCache(),this.getElement("list-items").length){this._sortingEnabled&&this.disableSorting();var t={forcePlaceholderSize:!0};this.dragHandleSelector&&(t.handle=this.dragHandleSelector),this.saveResetOrder(),this.getElement("list").sortable(t).sortable("enable").on("sortupdate",this.onSortUpdate),this.getElement("list-items").on("dragstart",r.bind(this)).on("dragend",u.bind(this)),this._sortingEnabled=!0,this._onDragOver=this._onDragOver||d.bind(this),this._stepAnimation=this._stepAnimation||p.bind(this),this.whenInserted().done((function(){e._sortableScrollParent=n(325).findScrollableContainer(e.$el)}))}else this._shouldEnableSorting=!0},disableSorting:function(){this.getElement("list").sortable("destroy").off("sortupdate"),this._sortingEnabled=!1,this._shouldEnableSorting=!1},reinitializeSorting:function(){this.resetElementCache(),this.disableSorting(),this.enableSorting()},onSortUpdate:function(e,t){var i=t.item.index(),o=t.item.data("order"),a=n(145).shiftItem(this.getResetOrder(),o,i);this.resetElementCache(),this.editableObject.reorder(a,{dragging:{from:o,to:i}}),this.saveResetOrder(),this.onSortingUpdate.apply(this,arguments)},resetOrder:function(){return this.addDeferred(this.editableObject.resetOrder())},saveOrder:function(){return this.addDeferred(this.editableObject.saveOrder().done(this.saveResetOrder.bind(this)).fail(this.resetOrder.bind(this)))},saveResetOrder:function(){this.disposed||(this.getElement("list-items").each((function(e){t(this).data("order",e)})),this.editableObject.saveResetOrder())},getResetOrder:function(){return this.editableObject.getResetOrder()},_shouldBeSorting:function(){return this._sortingEnabled||this._shouldEnableSorting}});var i=t(window.document),o=t(window),a=null,s=0,l=0;function r(){c.call(this,"on"),this._sortableOffset=this._sortableScrollParent.offset()}function c(e){i[e]("dragover",this._onDragOver)}function u(){l=0,c.call(this,"off")}function d(e){var t,n,a=e.originalEvent.pageY,s=(n=(t=this)._sortableScrollParent)[0]!==i[0]&&"HTML"!==n[0].tagName?m(t._sortableOffset.top,n[0].offsetHeight):m(i.scrollTop(),o.height()),r=s.top,c=s.bottom;l=.5*(Math.min(0,a-r-100)||Math.max(0,a-c+100)),A(this._stepAnimation)}function p(){if(a=null,this.disposed)s=l=0;else{var e=this._sortableScrollParent;s=s+.15*(l-s)|0,e.scrollTop(e.scrollTop()+s),A(this._stepAnimation)}}function A(e){!l&&!s||a||(a=window.requestAnimationFrame(e))}function m(e,t){return{top:e,bottom:e+t}}}).call(this,n(17))},,function(e,t,n){e.exports=n(8).extend(n(49).withOptions({names:["v2_ui_evolution"]}),{template:n(2018),ModelClass:n(52),className:"soundStats sc-ministats-group",tagName:"ul",requiredAttributes:{playlist:["likes_count","reposts_count"],sound:["playback_count","likes_count","reposts_count","download_count"]},observedAttributes:{sound:["comment_count","commentable"]},defaults:{size:"small",show_playback_count:!0,show_likes_count:!0,show_reposts_count:!0,show_comment_count:!0,show_download_count:!0,show_more_stats:!0,rightAligned:!1,variant:""},states:{rightAligned:"sc-ministats-group-right"},setup:function(e){var t=e.resource_type,i=e.rightAligned,o="sound"===t?n(2).Lingua.t("Track stats"):n(2).Lingua.t("Playlist stats");this.$el.attr("aria-label",o),this.toggleState("rightAligned",!!i)},getTemplateData:function(e){var t=this.options,o=t.resource_type,a="small"===t.size,s="sound"===o,l="playlist"===o,r=e.likes_count,c=e.playback_count,u=e.reposts_count,d=e.comment_count,p=e.download_count,A=t.variant&&"sc-ministats-"+t.variant;e.is_mine=n(6).get("me").owns("sound",e),e.is_small=a,e.network_type=l?"playlistNetwork":"listenNetwork",e.ministats_class="sc-ministats sc-ministats-"+t.size+" "+A,e.show_likes_count=r&&t.show_likes_count,e.show_playback_count=c&&t.show_playback_count,e.show_reposts_count=u&&t.show_reposts_count,e.show_comment_count=d&&t.show_comment_count,e.show_download_count=p&&t.show_download_count,e.show_more_stats=e.is_mine&&s&&t.show_more_stats,e.shortTexts={likes_count:i(r),playback_count:i(c),reposts_count:i(u),comment_count:i(d),download_count:i(p)};var m={style:{display:"inline-block",width:"16px",height:"16px","margin-right":n(178).Themes.DEFAULT_THEME.spacing["0_25x"],"vertical-align":"top"}};return e.icons={commentIcon:this.hasFeature("v2_ui_evolution")?new(n(12).SafeString)(n(23).reactSubview(n(27).Comment,{size:16},m)):"",playIcon:this.hasFeature("v2_ui_evolution")?new(n(12).SafeString)(n(23).reactSubview(n(27).Play,{size:16},m)):"",likesIcon:this.hasFeature("v2_ui_evolution")?new(n(12).SafeString)(n(23).reactSubview(n(27).Like,{size:16},m)):"",repostIcon:this.hasFeature("v2_ui_evolution")?new(n(12).SafeString)(n(23).reactSubview(n(27).Repost,{size:16},m)):"",downloadIcon:this.hasFeature("v2_ui_evolution")?new(n(12).SafeString)(n(23).reactSubview(n(27).Download,{},m)):""},e.fullTexts={likes_count:n(2).Lingua.tp("%d like","%d likes",r),playback_count:n(2).Lingua.tp("%d play","%d plays",c),reposts_count:n(2).Lingua.tp("%d repost","%d reposts",u),comment_count:n(2).Lingua.tp("%d comment","%d comments",d),download_count:n(2).Lingua.tp("%d download","%d downloads",p)},e}});function i(e){return n(157).render(e,{useSIUnits:!0})}},function(e,t,n){(function(t){var i=["user","sharing"];e.exports=n(8).extend(n(121),{template:n(2088),css:n(2089),className:"shareLink sc-clearfix",requiredAttributes:{sound:i,playlist:i},defaults:{share_type:null,showPositionOption:!0},states:{fromDisabled:"m-fromDisabled",fromChecked:"m-fromChecked",showPositionOption:"m-showPositionOption"},element2selector:{linkInput:".shareLink__field",fromInput:".shareLink__fromField"},events:{"click .shareLink__field":"onLinkFieldClick","copy .shareLink__field":"onLinkFieldCopy","keyup .shareLink__fromField":"onFromChange"},bubbleEvents:{"checkbox:change:share_from":"onFromCheck"},_listeningToModelEvents:!1,setup:function(e){var t=e.resource_type,n=e.showPositionOption,i="sound"===t;this.toggleState("fromDisabled",!i).toggleState("showPositionOption",n),s.call(this,!0)},renderDecorate:function(){var e=this;n(757).makeReadOnly(this.getElement("linkInput")),this.isAudible&&this.updateFromField(),this._logCopyOnce=n(0).once((function(){n(14).trackShareClick({click_target:"clipboard",click_object:e.model.getUrn(),context:e.getContextData()})})),this.whenInserted().done((function(){e.addTimeout((function(){e.$el&&e.getElement("linkInput").select()}),101)}))},updateFromField:n(0).throttle((function(){this.disposed||this.getState("fromDisabled")||(this.getElement("fromInput").val(n(15).LinguaLib.dateTimeHelper.timecode(this.model.currentTime())),this.onFromChange())}),500),onLinkFieldClick:function(e){t(e.target).select()},onLinkFieldCopy:function(e){this._logCopyOnce()},onFromCheck:function(e){var t,i,a=this.getElement("linkInput"),l=this.getElement("fromInput"),r=n(15).LinguaLib.dateTimeHelper.stringToTime(l.val()),c=e.data.checked;this.toggleState("fromChecked",c),s.call(this,c),c&&0===r?l.focus():c?this.onFromChange():((t=n(29).parse(a.val())).fragment=null,i=o.call(this,{permalinkUrl:n(29).stringify(t),time:null}),a.val(i))},onFromChange:function(){var e=this.getElement("fromInput"),t=this.getElement("linkInput"),i=n(15).LinguaLib.dateTimeHelper.stringToTime(e.val()),a={permalinkUrl:t.val(),time:e.val()};if(this.getState("fromChecked")&&0!==i){var s=t.is(":focus");t.val(o.call(this,a)),s&&t.select()}},getTemplateData:function(e){return e.share_url_link=o.call(this),e}});function o(e){void 0===e&&(e={});var t=new(n(379));return e.sharing_id=t.getCurrentUUID(),e.type=this.options.share_type,this.model.getShareURL(e)}function a(){this.getElement("linkInput").val(o.call(this))}function s(e){e!==this._listeningToModelEvents&&(this._listeningToModelEvents=e,e?this.listenTo(this.model,"time",this.updateFromField).listenTo(this.model,"seeked",this.updateFromField).listenTo(this.model,"change:secret_token",a):this.stopListening(this.model))}}).call(this,n(17))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var i=n(10),o=n(1371);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},,,,,,,,,,,,,,,,,,function(e,t,n){var i=n(10),o=n(1572);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){(function(t){var i="titleTextField__usernameHint",o=n(2).Lingua.t("You don’t have to put your name in the track title");e.exports=n(33).extend({states:n(0).defaults({usernameAtStart:function(e){this.$el.toggleClass("hint",e),this.$("."+i).toggleClass("g-input-message-hidden",!e).text(e?o:"")}},n(33).prototype.states),setup:function(){n(33).prototype.setup.apply(this,arguments),this.setUsername(n(6).get("me").get("username"))},renderDecorate:function(){n(33).prototype.renderDecorate.call(this),t(window.document.createElement("div")).addClass(i+" g-input-message g-input-message-hidden").css("cursor","pointer").on("click",s.bind(this)).insertAfter(this.getElement("control")),a.call(this)},onInputChange:function(){n(33).prototype.onInputChange.apply(this,arguments),this.toggleState("usernameAtStart",!1),a.call(this)},setUsername:function(e){this.re=new RegExp("^("+n(126).regexpEscape(e)+"\\s*(?:[-–]\\s*)?)+","i")}});function a(){this.toggleState("usernameAtStart",this.re.test(this.getValue()))}function s(){this.setFieldValue(this.getValue().replace(this.re,"")),this.toggleState("usernameAtStart",!1)}}).call(this,n(17))},,,,,,,,,,,,function(e,t,n){e.exports=new(n(19))({_fills:null,requires:["gradientName"],applyTo:function(e){this.merge(e,{defaults:{waveformStyle:null,scale:null}})},before:{onResize:function(){this._fills=null}},getFillStyle:function(e,t){var i;return null==e&&(e=1),t=t||this.gradientName,this._fills=this._fills||{},this._fills[e+"_"+t]||(this._fills[e+"_"+t]=n(181).gradient(this.context,t,this.options.waveformStyle,this.options.scale,e,null==(i=this.options.waveformDims)?void 0:i.height))}})},,,,,function(e,t,n){e.exports=n(8).extend({className:"releaseDateCompact sc-type-light sc-text-secondary sc-font-light",tagName:"span",css:n(2013),template:n(2015),ModelClass:n(57),requiredAttributes:["set_type","release_date"],defaults:{showYearOnly:!1},getTemplateData:function(e){var t=e.release_date,i=e.set_type,o=this.options.showYearOnly;if(i){var a=o?"":n(134).getReleaseLabel(i),s=t&&new Date(t).getFullYear();e.releaseData={title:a,year:s}}return e}})},,function(e,t,n){e.exports=n(168).extend({defaults:{popupSize:[450,450],serviceKey:"tumblr",serviceName:"Tumblr",icon_only:!0},icon:n(254).TumblrLogo,setup:function(){this.options.serviceBaseURL="https://www.tumblr.com/widgets/share/tool",n(168).prototype.setup.apply(this,arguments)},getHrefData:function(){var e=this.model.attributes,t=this.getShareURL(),o=["SoundCloud","music",i(e)].concat(n(213).extract(e).slice(0,4)).join(",");return this.isAudible?{canonicalUrl:this.getShareURL({ignoreContext:!0}),posttype:"audio",tags:o,caption:"("+n(12).Utils.escapeExpression(i(e))+")"}:{url:t,posttype:"link",title:n(2).Lingua.t("[[name]] on SoundCloud",{name:i(e)}).toString()}}});function i(e){var t,n;return e.username||(null==(t=null!=(n=e.made_for)?n:e.user)?void 0:t.username)||e.name}},,,,,,,,function(e,t,n){"use strict";n.r(t);var i=n(593),o=n(46),a=n(21),s=n.n(a),l=n(131),r=n.n(l);n(97),n(1994);function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}var h=function(e){var t=e.remainingLettersCount,n=e.isInvalid;return i.createElement("span",{role:"progressbar","aria-label":l.LinguaLib.t("Remaining letters"),"aria-valuenow":t,"aria-valuemin":140,"aria-valuemax":0,className:a()("repostOverlay__formRemainingLettersCount sc-font-light sc-text-light sc-text-secondary",{invalid:n})},t)},g=function(e){var t=e.initialCaption,n=e.isWide,o=void 0!==n&&n,l=e.isNew,p=void 0!==l&&l,A=e.isDisabled,m=void 0!==A&&A,g=e.onDeleteRepost,_=e.onSubmit,C=i.useState(t||""),b=C[0],v=C[1],y=Object(u.c)()===u.a.UIEvo,x=i.useCallback((function(e){v(e.target.value)}),[]),w=i.useCallback((function(e){e.preventDefault(),_({caption:b})}),[_,b]),k=i.useMemo((function(){return function(e){var t=e.initialCaption,n=e.caption,i=e.isNew,o=Object(c.countLetters)(n),a=140-o;return{isSubmitDisabled:function(e,t){return!(!e&&!t)&&e===t}(t,n)||o>140||!!i&&o<=0,remainingLettersCount:a,isInvalid:a<0}}({initialCaption:t,caption:b,isNew:p})}),[t,b,p]),B=k.isSubmitDisabled,S=k.remainingLettersCount,T=k.isInvalid,P=y?d.a:r.Button;return i.createElement("form",{className:"repostOverlay__form",onSubmit:w},i.createElement("div",{className:"repostOverlay__formInputContainer"},i.createElement(f,{value:b,onChange:x,isWide:o,isInvalid:T,isDisabled:m}),!m&&i.createElement(h,{remainingLettersCount:S,isInvalid:T})),i.createElement("div",{className:"repostOverlay__formButtonContainer"},i.createElement(P,{type:"submit","aria-disabled":m||B,disabled:m||B,size:r.ButtonSize.Medium,buttonStyle:r.ButtonStyle.Primary,className:a()("repostOverlay__formButton",{"repostOverlay__formButtonSubmit--isNew":p})},p?i.createElement(s.Lingua,{t:"Add caption"}):i.createElement(s.Lingua,{t:"Save changes"})),!p&&i.createElement(P,{size:r.ButtonSize.Medium,buttonStyle:r.ButtonStyle.NoStyle,className:"repostOverlay__formButton repostOverlay__formButtonDelete",onClick:g},i.createElement(s.Lingua,{t:"Delete repost"}))))},f=function(e){var t=e.isWide,n=e.isInvalid,o=e.isDisabled,s=m(e,["isWide","isInvalid","isDisabled"]),r=Object(u.c)()===u.a.UIEvo,c=a()(["repostOverlay__formInput",{invalid:n,"repostOverlay__formInput--isDisabled":o}]),d={placeholder:l.LinguaLib.t("Add a caption (optional)"),disabled:o,"aria-disabled":o,"aria-label":l.LinguaLib.t("caption text")};if(t){var h=r?p.a:_;return i.createElement(h,A({type:"text",className:c},d,s))}var g=r?p.b:C;return i.createElement(g,A({className:a()(c,"repostOverlay__formInput--isTextarea")},d,s))},_=function(e){var t=e.className,n=m(e,["className"]);return i.createElement("input",A({className:a()("sc-input","sc-input-medium",t)},n))},C=function(e){var t=e.className,n=m(e,["className"]);return i.createElement("textarea",A({className:a()("sc-input","sc-input-medium",t)},n))}},function(e,t,n){"use strict";function i(e,t){var n=t.x,i=t.y,o=t.width,a=t.height,s=t.color,l=t.marginTop,r=a-l;e.fillStyle=s,e.fillRect(n,i+l,o,r)}function o(e,t){var n=t.content.filter((function(e){return e.text})),i=function(e,t,n){var i=t.map((function(t){return e.font=t.style.font,e.textBaseline="top",e.measureText(t.text).width+t.style.paddingLeft+t.style.paddingRight}));e.textBaseline="top";var o=e.measureText("0123456789:ABCDEFLGIJKLMNOPQRSTUVWXYZabcdefgijklmnopqrstuvwxyz").actualBoundingBoxDescent,a=e.measureText(" ").width;return(function(e,t,n){var i=(t.length-1)*n;return t.reduce((function(e,t){return e+t}),0)+i=this.sidebarHeight){var t=this.options.targetOffsetTop,n=e>this.absoluteOffsetTop-t;this.applyFixedStyles(n,t)}else{var i=this.viewportHeight-this.sidebarHeight+(this.absoluteOffsetTop-this.relativeOffsetTop),o=i+e-this.absoluteOffsetTop>=0&&this.pageHeight>this.sidebarHeight+this.absoluteOffsetTop;this.applyFixedStyles(o,i)}this.scrolling=!1}},applyFixedStyles:function(e,t){this.scrollOffsetTop!==t&&(this.$el.css("top",t+"px"),this.scrollOffsetTop=t),this.isFixed!==e&&(this.$el.toggleClass(this.fixedClassName,e),this.isFixed=e)},storeHeight:function(){if(!this.disposed){var e=this.$el.parent();0!==e.length&&(this.relativeOffsetTop=e.position().top,this.absoluteOffsetTop=e.offset().top,this.sidebarHeight=this.$el.height(),this.pageHeight=t(window.document).height())}},getViewportHeight:function(){return t(window).height()-(this.absoluteOffsetTop-this.relativeOffsetTop)},getMaxViewportHeight:function(){return t(window).height()-this.options.targetOffsetTop}})}).call(this,n(17))},,,,,,function(e,t,n){e.exports=n(8).extend(n(42).withOptions("userBadge"),n(49).withOptions({names:["v2_ui_evolution"]}),{template:n(2281),css:n(2282),className:"userBadge",ModelClass:n(37),requiredAttributes:["permalink","username"],events:{"click .userBadge__usernameLink":"onUsernameClick"},states:{premium:"m-premium"},defaults:{noFollow:!1,show_actions:!0,follow_button_primary:!1,display_direction:"horizontal",classicSize:"medium",size:null,stretch:!1,avatar_width:null,avatar_height:null,follow_button_size:"small",dark:!1,showVerifiedBadgeOnAvatar:!1},setup:function(e){var t=e.display_direction;this.$el.addClass("m-"+t),this.showVerifiedBadgeOnAvatar||this.requiredAttributes.push("urn")},onUsernameClick:function(){var e=this.getContextData();n(79).trackEvent("userClickThrough",e),n(14).trackClickThrough({context:e})},renderDecorate:function(){this.toggleState("premium",this.model.isPremium())},getTemplateData:function(e){var t=this.options,i=t.noFollow,o=t.avatar_width,a=t.avatar_height,s=t.dark,l=t.follow_button_size;e.noFollow=i,e.dark=s,e.isMe=n(6).get("me").id===e.id;var r=o?"width: "+o+"px;":"",c=a?"height: "+a+"px;":"";return e.avatarStyles=""+r+c,e.followButtonTextOnly=this.hasFeature("v2_ui_evolution"),e.followButtonSize=this.hasFeature("v2_ui_evolution")?"medium":l,e.containerOptions={style:{display:"inline-block"}},e}})},,,,,function(e,t,n){var i;e.exports=n(8).extend({template:n(1744),className:"chooseFiles",events:{"change .chooseFiles__input":function(e){var t=this;if(this.options.onFilesSelected)return this.options.onFilesSelected(e.target.files);n(582).addFiles(e.target.files,n(0).pick(this.options,"toPlaylistUploadId","replaceSoundUploadId","ReplaceSoundUploadClass")),this.options.replaceSoundUploadId&&(n(14).trackV1Click({context:this.getContextData(),click_name:"track-replace::initiate"}),i.once("complete",(function(){n(14).trackV1Click({context:t.getContextData(),click_name:"track-replace::complete",click_attributes:{user_subscription:n(6).get("me").getCreatorSubscriptionIdentifier()}})})));this.disposed||this.getElement("input").val("")},"click .chooseFiles__button":function(e){this.getElement("input").click()}},element2selector:{input:".chooseFiles__input",button:".chooseFiles__button"},states:{disabled:function(e){this.getElement("button").attr("disabled",e)}},observedAttributes:["quota","primary_email_confirmed"],defaults:{callToAction:!0,size:"medium",allowMultiple:!0,minWidth:null,text:n(2).Lingua.t("Choose a file to upload"),toPlaylistUploadId:null,replaceSoundUploadId:null,ReplaceSoundUploadClass:null,onFilesSelected:null},setup:function(e){e.minWidth;this.model=n(6).get("me"),this.model.hold(),i||(i=new(n(192)))},getTemplateData:function(e){return e.buttonStyle=new(n(12).SafeString)('style="min-width: '+e._options.minWidth+'px"'),e.allowMultiple=this.options.allowMultiple&&!this.options.replaceSoundUploadId,e.hasMinWidth=n(0).isNumber(this.options.minWidth),e},renderDecorate:function(){this.syncUploadState()},syncUploadState:function(){var e=this.model,t=this.getElement("button"),n=this.options,o=n.size,a=n.replaceSoundUploadId,s=!!i.length;a?t.addClass("sc-button-upload sc-button-"+o):t.toggleClass("sc-button-"+o,!s).toggleClass("sc-button-medium",s),this.toggleState("disabled",!e.isUploadingEnabled())}})},,,,,function(e,t,n){var i=n(10),o=n(1364);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){e.exports=n(8).extend(n(240),{template:n(1366),css:n(1368),className:"blockUser sc-py-1x",ModelClass:n(37),requiredAttributes:["username"],onSubmit:function(e){var t=this,i=e.report.checked;n(40).block(this.model.id,!0,i,e.remove.checked).then((function(){return n(11).trigger("user:blocked",{report:i,userData:t.model.attributes})}))},getTemplateData:function(e){e.reportLabel=n(2).Lingua.t("Also report [[username]] for spam",{username:e.username}),e.removeLabel=n(2).Lingua.t("Also permanently remove this user's comments, reposts and likes of your tracks and playlists")}})},,function(e,t){e.exports={GE:!0,AT:!0,BE:!0,BG:!0,HR:!0,CY:!0,CZ:!0,DK:!0,EE:!0,FI:!0,FR:!0,DE:!0,GR:!0,HU:!0,IE:!0,IT:!0,LV:!0,LT:!0,LU:!0,MT:!0,NL:!0,PL:!0,PT:!0,RO:!0,SK:!0,SI:!0,ES:!0,SE:!0,GB:!0,CH:!0,UA:!0}},,,function(e,t,n){e.exports=n(8).extend({className:"waveformWrapper",css:n(2040),template:n(2042),_currentSoundId:null,defaults:n(0).clone(n(257).prototype.defaults),states:{empty:"m-empty"},element2selector:{waveform:".waveformWrapper__waveform"},setup:function(e){var t=e.resource_type,i=e.resource_id;switch(t){case"playlist":this.source=this.addDataSource(new(n(57))({resource_id:i}),{requiredAttributes:["tracks"]}),this.listenTo(this.source,"play",s);break;case"sound":this.source=this.addDataSource(new(n(21))({resource_id:i}));break;case"system-playlist":this.source=this.addDataSource(new(n(91))({resource_id:i})),this.listenTo(this.source,"play",s)}},shouldViewRerender:function(){return"playlist"!==this.options.resource_type||(e=this.source,t=this._currentSoundId,!(n=e.getCurrentSound())||n.id!==t);var e,t,n},getTemplateData:function(e){return e["is_"+this.options.resource_type]=!0,e},renderDecorate:function(){i.call(this)}});function i(){var e=this.source.getCurrentSound(),t=this.subviews.waveform;this.toggleState("empty",!e),!e||t&&e.id===this._currentSoundId||(o.call(this,e),this._currentSoundId=e.id)}function o(e){var t=n(0).defaults({resource_id:e.resource_id,resource_type:"sound"},n(0).pick(this.options,Object.keys(n(257).prototype.defaults)));a.call(this,n(257),t,"waveform",this.getElement("waveform"))}function a(e,t,n,i){var o=this.subviews[n];o&&(o._dispose(),this.removeSubview(o)),this.addSubview(new e(t),n).render().$el.appendTo(i)}function s(){i.call(this)}},,function(e,t,n){e.exports=n(8).extend({template:n(2081),className:"toggle sc-toggle",tagName:"label",defaults:{label:"",name:"",size:"",iconActive:"",iconInactive:"",checked:!1},element2selector:{input:".sc-toggle-input"},states:{on:"sc-toggle-active sc-toggle-on",off:"sc-toggle-off"},events:{"change .sc-toggle-input":"onInputChange"},setup:function(e){this.switchToggle(e.checked),e.size&&this.$el.addClass("sc-toggle-"+e.size)},getTemplateData:function(e){return e.showIcon=this.options.size&&this.options.iconActive&&this.options.iconInactive,e.checked=this.getState("on"),e},switchToggle:function(e){this.toggleState("on",e),this.toggleState("off",!this.getState("on"))},getChecked:function(){return this.getElement("input").prop("checked")},setChecked:function(e){this.getElement("input").prop("checked",!!e),this.switchToggle(e)},onInputChange:function(e){var t=this,n=e.target.checked,o=this.options.name;this.switchToggle(n),this.addDeferred(setTimeout((function(){t.bubble("checkbox:change",{name:o,checked:n}),o&&t.bubble("checkbox:change:"+o,{name:o,checked:n})}),i))}});var i=200},,function(e,t,n){e.exports=n(8).extend(n(49).withOptions({names:["v2_ui_evolution"]}),{template:n(2197),ModelClass:n(37),className:"userStats",attributes:{"aria-label":"User stats"},requiredAttributes:["track_count","followers_count","playlist_count"],defaults:{alwaysShow:!1,dark:!1,inverted:!1,isPromoted:!1,showFollowers:!0,linkStyle:null,textStyle:null,showSets:!1,showSounds:!0,size:"small"},getTemplateData:function(e){var t=this.options,i=t.alwaysShow,o=e.followers_count,a=e.track_count,s=e.playlist_count;return e.iconOptions={style:{display:"inline-block",width:"16px",height:"16px","vertical-align":"middle","margin-right":n(178).Themes.DEFAULT_THEME.spacing["0_25x"]}},e.ministats_class="sc-ministats sc-ministats-"+t.size,t.linkStyle&&(e.ministats_class+=" sc-link-"+t.linkStyle),t.textStyle&&(e.ministats_class+=" sc-text-"+t.textStyle),(t.inverted||t.dark)&&(e.ministats_class+=" sc-ministats-inverted"),e.showFollowers=o&&t.showFollowers||i,e.userIcon=this.hasFeature("v2_ui_evolution")&&e.showFollowers?n(27).User:null,e.showSounds=a&&t.showSounds||i,e.trackIcon=this.hasFeature("v2_ui_evolution")&&e.showSounds?n(27).Track:null,e.showSets=s&&t.showSets,e.showMiniStats=this.hasAnythingToDisplay()||this.options.alwaysShow,e.shortTexts={followers_count:n(157).render(o,{useSIUnits:!0}),track_count:n(157).render(a),playlist_count:n(157).render(s)},e.fullTexts={followers_count:n(2).Lingua.tp("%d follower","%d followers",o),track_count:n(2).Lingua.tp("%d track","%d tracks",a),playlist_count:n(2).Lingua.tp("%d playlist","%d playlists",s)},e},renderDecorate:function(){this.$el.toggleClass("g-type-shrinkwrap-block theme-dark g-type-shrinkwrap-secondary",this.options.inverted&&this.hasAnythingToDisplay())},hasAnythingToDisplay:function(){var e=this.options,t=this.model;return!!(e.showFollowers&&t.get("followers_count")||e.showSounds&&t.get("track_count")||e.showSets&&t.get("playlist_count"))}})},,,,,,,,,,function(e,t,n){e.exports=new(n(19))({_visibleCounter:0,_retryCounter:0,_impressionTracked:!1,_elSelector:null,_impressionTimeout:null,requires:["trackImpression"],applyTo:function(e,t){e._elSelector=t,t&&(e.element2selector=n(0).defaults(e.element2selector||{},{impression:t}))},defaults:{shouldTrackImpression:function(){return i.call(this).length}},after:{renderDecorate:function(){this.shouldTrackImpression()&&!this._impressionTimeout&&this.whenInserted().done(o.bind(this))}}});function i(){return this._elSelector?this.getElement("impression"):this.$el}function o(){this._retryCounter>=10?a.call(this):(i.call(this).is(":visible")?(this._visibleCounter++,this._visibleCounter>=2&&!this._impressionTracked?(this.trackImpression(),s.call(this)):l.call(this)):l.call(this),this._retryCounter++)}function a(){window.clearTimeout(this._impressionTimeout),this._impressionTimeout=null}function s(){a.call(this),this._impressionTracked=!0,this._retryCounter=0,this._visibleCounter=0}function l(){this._impressionTimeout=this.addDeferred(window.setTimeout(o.bind(this),2e3))}},,,,function(e,t,n){n(154),n(104),n(105),e.exports=n(8).extend({css:n(1568),className:"uploadAudibleAttributeIcons",defaults:{Form:null},setup:function(e){var t=e.Form,n=e.resource_id,i=e.resource_type;this.model=this.addDataSource(new t({},{resource_id:n,resource_type:i}),{observedAttributes:["sharing","geoblocking","monetizationEnabled","scheduledPublic"]})},template:function(){var e=this.model.toJSON();return[e.monetizationEnabled&&"monetizable",e.geoblocking&&"geoblocked",e.scheduledPublic&&"scheduled","private"===e.sharing&&"private"].filter(Boolean).map((function(e){return n(23).subview(n(528),{type:e,dialogEnabled:!1})})).join("")}})},,,,function(e,t,n){e.exports=n(8).extend({className:"radioGroup",template:n(1630),css:n(712),element2selector:{buttons:'input[type="radio"]',validation:".radioGroup__validation"},defaults:{name:"",direction:"horizontal",radioButtons:null,selectedValue:null,title:null},setup:function(e){var t=e.direction;this.groupName=n(0).uniqueId("radio"),this.$el.addClass(t)},getFocusableElement:function(){var e=this.getElement("buttons"),t=e.filter(":checked");return t.length?t:e.first()},getButtonsConfig:function(){return this.options.radioButtons},buildButtonSublabel:function(e){if(e.sublabel){var t=n(12).Utils.escapeExpression(e.sublabel);return new(n(12).SafeString)(''+t+"")}return""},getTemplateData:function(e){var t=this,i=this.groupName;return n(0).extend({},e,{buttons:this.getButtonsConfig().map((function(e){return n(0).assign({groupName:i},e,{sublabelSafeHtml:t.buildButtonSublabel(e)})}))})},setRadioValue:function(e){this.getElement("buttons").get().forEach((function(t){t.checked=String(t.value)===String(e)}))},renderDecorate:function(){var e=this;this.updateSelectedState(),this.getElement("buttons").on("change",(function(){e.onRadioChanged(this.value)}))},updateSelectedState:function(){this.options.selectedValue&&this.setRadioValue(this.options.selectedValue)},onRadioChanged:function(e){var t=this.options.name,n={name:t,value:i.call(this,e)};this.bubble("radioGroup:change",n),t&&this.bubble("radioGroup:change:"+t,n)}});function i(e){var t=this.getButtonsConfig(),i=n(0).find(t,(function(t){return String(t.value)===String(e)}));return i?i.value:null}},function(e,t,n){e.exports=n(6).get("features").has("v2_ui_evolution")?n(1641):n(1645)},,,,,,function(e,t,n){e.exports=new(n(19))({requirePrototype:n(8).prototype,defaults:{shouldListenToRestore:function(){return!0},restorableModel:function(){return this.model}},before:{setup:function(){this.restoreSoundStore=this.addDataSource(new(n(628)))}},after:{setup:function(){0},renderDecorate:function(){i.call(this),this.shouldListenToRestore()&&this.listenTo(this.restoreSoundStore,"restoreToSound",i)},teardown:function(){this.shouldListenToRestore()&&this.stopListening(this.restoreSoundStore,"restoreToSound")}}});function i(){var e=this.restoreSoundStore.get("restoreToSound"),t=this.restorableModel();e===t.resource_type+t.resource_id&&(this.restoreSoundStore.set("restoreToSound",null,{silent:!0}),this.whenInserted().done(this.scrollIntoView.bind(this,{position:"top"})))}},function(e,t,n){e.exports=n(8).extend(n(121),{template:n(2082),css:n(2083),className:"socialButtonsPanel",defaults:{share_type:null,maxButtonsToShow:null,buttons:n(751).defaultButtons},setup:function(){this.buttons=n(0).clone(this.options.buttons)},getTemplateData:function(e){var t=this.options.maxButtonsToShow,i=this.buttons[n(512).isUsedLanguage("zh")?"china":n(512).isUsedLanguage("ru")||n(512).isUsedLanguage("uk")?"russia":"global"].map((function(t){return{button:t,resource_id:e._resource_id,resource_type:e._resource_type,share_type:e._options.share_type}}));return e.buttons=t?n(0).first(i,t):i,e}})},,function(e,t,n){e.exports=n(8).extend({template:n(2120),css:n(473),className:"reportCopyright",ModelClass:n(21),requiredAttributes:["permalink","user"],defaults:{standalone:!0},getTemplateData:function(e){e.reportCopyrightUrl=n(25).getRoute("reportCopyright",this.model),e.ownsTrack=n(6).get("me").owns(this.model)}})},,,function(e,t,n){var i=n(42).withOptions("systemPlaylistTile"),o=n(191).withOptions({getSound:function(){var e=this.model.getSounds();return null==e?void 0:e[0]}});e.exports=n(8).extend(i,o,{template:n(2366),css:[n(776),n(2367)],className:"systemPlaylistTile playableTile sc-mb-6x sc-mt-1x",ModelClass:n(91),requiredAttributes:["playlist_type"],attributes:{"data-playButton":"hover","data-actions":"hover","data-test-id":"system-playlist-tile"},defaults:{lazyLoadImage:!1,isLike:!1,descriptionText:null,descriptionHref:null,showPlayButton:!0},events:{"click .playableTile__artworkLink":a,"click .playableTile__heading":a,mouseenter:function(){var e;null==(e=this.subviews.playButton)||null==e.prefetchTrackPolicies||e.prefetchTrackPolicies()}},states:{withOverlay:"m-with-overlay"},getTemplateData:function(e){var t=this;return e.getRestoreUrl=function(){return n(25).getRoute("systemPlaylist",t.model)},e.isLike=this.options.isLike,e.isSnippetUXEnabled=n(60).shouldEnableSnippetUX(),e.MoreActions=n(2369),e},onContextRequest:function(e){e.data.systemPlaylistModel=this.model},renderDecorate:function(){this.toggleState("withOverlay",this.model.isStation())}});function a(){var e=this.getContextData();n(14).trackV0Click(["systemPlaylistTile"],{click_name:"item_navigation",context:n(0).pick(e,["scope","attribution"]),click_attributes:e.click_attributes,click_object:e.urn})}},function(e,t,n){"use strict";n.r(t);var i=n(1),o=n.n(i),a=n(25),s=n(36),l=n.n(s),r=n(15),c=n(20),u=n(39),d=n(396),p=n(46),A=n(6),m=n.n(A),h=n(207),g=n.n(h),f=(n(1985),n(520));function _(){return(_=Object.assign||function(e){for(var t=1;tYou reposted [[[trackTitle]]]",comment:"Placeholder you is a formatted version of the word 'you'",values:{YouText:function(e){var t=e.children;return i.createElement("span",{className:"repostOverlay__youReposted"},t)},RepostIcon:v,trackTitle:o}})),i.createElement("div",{className:"repostOverlay__close"},i.createElement(y,{onClose:a}))),d&&i.createElement(x,null),i.createElement(C,{targetUrn:n,isWide:u,isNew:p,isDisabled:d,onSubmit:r,onDeleteRepost:s}))},function(){return i.createElement("span",{className:"sc-ministats sc-ministats-small sc-ministats-reposts repostOverlay__messageRepostIcon"})}),y=function(e){var t=e.onClose,n=i.useCallback((function(){return t()}),[t]);return i.createElement(u.Button,{type:"button",className:"repostOverlay__closeButton",buttonStyle:u.ButtonStyle.NoStyle,onClick:n},i.createElement(d.a,{screenreader:r.LinguaLib.t("Repost without caption")},i.createElement("span",{className:"repostOverlay__closeIcon"})))},x=function(){var e=a.getRoute("settings");return i.createElement("div",{className:"repostOverlay__confirmEmail sc-type-small sc-text-body"},i.createElement("a",{href:e,className:"repostOverlay__confirmEmailLink"},i.createElement(c.Lingua,{t:"Verify your email address to add a caption"})))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var i=n(10),o=n(1376);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},,function(e,t,n){var i=n(10),o=n(1387);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){e.exports=n(66).extend(n(296),{className:"suggestedUsers sc-list-nostyle",css:n(1388),Subview:n(1390),defaults:{query:"",maxDisplay:10},itemClassName:"suggestedUsers__listItem sc-type-light sc-text-secondary sc-px-2x sc-py-1x",itemSelector:".suggestedUsers__listItem",setup:function(e){var t=e.query;this.collection=new(n(475))(null,{query:t})},renderDecorate:function(){n(66).prototype.renderDecorate.call(this),this.highlightItem(this.options.defaultSelectedItemIndex)},onItemSelected:function(e){return this.collection.at(e)}})},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(50).extend(n(121),{defaults:{width:550},bubbleEvents:{"image-content:cancel":"close","image-content:save":"close"},setup:function(){n(50).prototype.setup.apply(this,arguments),this.listenTo(this,n(50).Events.CLOSED,i)}});function i(){this.model.hasNewImage()&&this.model.unsetImageFile({force:!0})}},function(e,t,n){e.exports=new(n(19))({defaults:{states:{newItems:"newItems__new",someItems:"newItems__some"},observedAttributes:["size"]},override:{defaults:{type:null}},before:{setup:function(e){var t=e.type;"messages"===t?(this.unreadConversations=new(n(1508)),this.unreadConversations.startPolling(),this.listenTo(this.unreadConversations,"anyUnreadMessages",i)):(this.model=new(n(669))({type:t}),o.call(this))},renderDecorate:function(){"messages"===this.options.type?i.call(this,this.unreadConversations.hasAnyUnreadMessages()):o.call(this)}},around:{getTemplateData:function(e,t){var i=e(t)||t,o=n(162)[this.options.type];return o&&(i.itemName=o.get("itemName"),i.itemNamePlural=o.get("itemNamePlural")),i.isStream="stream"===this.options.type,i}}});function i(e){this.toggleState("someItems",e)}function o(){var e=this.model.get("size");this.toggleState("newItems",e&&"number"==typeof e),this.toggleState("someItems",!!e)}},,,,,,function(e,t,n){var i={FormView:n(1566),Form:n(154),FORM_RESOURCE_TYPE:"playlist-edit"},o={FormView:n(1665),Form:n(104),FORM_RESOURCE_TYPE:"sound-upload-edit",formArgs:{isEdit:!0}},a={FormView:n(738),Form:n(376),FORM_RESOURCE_TYPE:"restricted-sound-edit"},s={FormView:n(738),Form:n(376),FORM_RESOURCE_TYPE:"restricted-playlist-edit"},l=function(e){if(e.isRestricted)switch(e.resource_type){case"sound":return a;case"playlist":return s;default:return o}else switch(e.resource_type){case"sound":return o;case"playlist":return i;default:return o}};e.exports=n(50).extend({defaults:{isRestricted:!1,activeTabIndex:0,subviewArgs:function(){var e=l(this),t=this.resource_id,i=this.activeTabIndex;return n(0).assign({resource_id:t,resource_type:e.FORM_RESOURCE_TYPE},e===o&&{activeTabIndex:i})},transparentBackground:!0,customElementsInside:[".calloutBackground",".callout__bubble"]},setup:function(e){var t=e.resource_id,i=l(e);e.Subview=i.FormView,e.width=e.isRestricted?600:850,n(50).prototype.setup.apply(this,arguments),this.form=new i.Form(null,n(0).assign({},{resource_id:t,resource_type:i.FORM_RESOURCE_TYPE},i.formArgs)),this.listenTo(this,n(50).Events.CLOSED,this.onClosed).listenTo(this.form,"saved",this.onSaved).listenTo(this.form,"canceled",this.onCanceled)},dispose:function(){n(50).prototype.dispose.apply(this,arguments),this.form.release(),this.form=null},canBeClosed:function(){return!this.form.hasUnsavedUpload||(!this.form.hasUnsavedUpload()||this.form.hasUnsavedUpload()&&window.confirm(n(2).Lingua.t("Are you sure you want to stop your upload? Any unsaved changes will be lost.")))},onClosed:function(){this.form.isDirty()&&this.form.cancel()},onCanceled:function(){this.close()},onSaved:function(){this.close()}})},function(e,t,n){e.exports=new(n(19))({after:{setup:function(){i.call(this,"on")},dispose:function(){i.call(this,"off")},renderDecorate:function(){this._tabs.forEach((function(e,t){e.isRendered||this.renderTab(t)}),this)}},defaults:{onFormValidation:function(){this.getTabInvalidity().forEach(this.toggleError,this)}},toggleError:function(e,t){this.getElement("tabItems").eq(t).toggleClass("error",e)},getFormControls:function(){return this._tabs.map((function(e){var t=e.subviewInstance;return t?t.getAncestorSubviews().filter(o):null}))},getTabInvalidity:function(){return this.getFormControls().map((function(e){return!!e&&e.some(a)}))}});function i(e){this.model[e]("validation",this.onFormValidation,this)}function o(e){return e.isFormControl}function a(e){return e&&e.isInvalid()}},,,,,,,function(e,t,n){var i=n(10),o=n(1631);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){var i=n(10),o=n(1632);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){var i=n(10),o=n(1633);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){var i=n(10),o=n(1644);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},,,,function(e,t,n){e.exports=n(8).extend({className:"sc-label sc-label-blue",ModelClass:n(21),states:{hidden:"sc-hidden"},defaults:{size:"medium"},observedAttributes:["upload"],setup:function(){this.$el.addClass("sc-label-"+this.options.size)},template:function(){return n(23).subview(n(954),{text:"HD",tooltipText:n(2).Lingua.t("This file was uploaded in a lossless HD format.")})},renderDecorate:function(){var e;n(224).isHQ(null==(e=this.model.get("upload"))?void 0:e.codec)||this.toggleState("hidden")}})},function(e,t,n){e.exports=n(8).extend(n(419).withOptions({automatic:!1}),{template:n(1747),css:[n(1752),n(717)],className:"uploadStatus editStatus",ModelClass:n(498),observedAttributes:["status","hasBeenSaved"],slideInnerSelector:".uploadStatus__inner",defaults:{showText:!0,showProgress:!0,size:"large",cancelText:n(2).Lingua.t("Cancel upload"),showCancelButton:!1},events:{"click .uploadStatus__cancel":"onCancelClick"},setup:function(e){a.call(this)&&this.listenTo(this.model.getUploadsCollection(),"add remove",s),this.listenTo(this.model,"destroy",i),this.$el.addClass(e.size)},onModelChange:function(e){e.get("status")===n(62).COMPLETE&&e.get("hasBeenSaved")||n(8).prototype.onModelChange.apply(this,arguments)},onCancelClick:function(){this.model.remove()},getTemplateData:function(e){var t=this.model,i=this.options,a=o.call(this);return Object.keys(n(62)).reduce((function(e,t){return e["is_"+t.toLowerCase()]=e.status===n(62)[t],e}),e),e.showInfo=i.showCancelButton||i.showText,e.showProgress=i.showProgress&&a,e.isSingle=a,e.completeButNotSaved=e.is_complete&&!e.hasBeenSaved,e.numSounds=!a&&t.getUploads().length,e.fileName=a&&n(126).truncateFileName(t.getFileName(),50),e}});function i(){this.slideUp()}function o(){return"single-audio-upload"===this.options.resource_type}function a(){return"aggregate-audio-upload"===this.options.resource_type}function s(e,t){t.length&&this.rerender()}},,function(e,t,n){e.exports=n(8).extend({className:"progressBar",template:n(1749),css:n(1750),ModelClass:n(498),defaults:{color:"orange",type:null},element2selector:{inner:".progressBar__inner"},states:{indeterminate:function(e){var t=this.getElement("inner");t.toggleClass("sc-pending",e),this.addDeferred(n(0).defer(t.toggleClass.bind(t,"g-transition-transform-linear",!e))),this.$el.toggleClass("indeterminate",e)}},setup:function(e){var t=o.call(this);this.listenTo(t,"data",this.onData).listenTo(t,"change:indeterminate",a),this.$el.addClass(e.color)},renderDecorate:function(){a.call(this)},onData:i});function i(){var e="scaleX("+o.call(this).getProgress()+")";this.getElement("inner").css({"-webkit-transform":e,"-moz-transform":e,"-o-transform":e,transform:e})}function o(){return this.model.get(this.options.type)}function a(){var e=o.call(this).isIndeterminate();e||i.call(this),this.toggleState("indeterminate",e)}},,,,,,function(e,t,n){e.exports=new(n(19))({lastPosition:0,after:{setup:function(){this.listenTo(this.model,"time",i).listenTo(this.model,"seeked",o)}},getPosition:function(){return Math.max(this.model.isPlaying()?1:0,Math.ceil(this.model.progress()*this.canvas.width/this.options.scale))},hasPositionChanged:function(){return this.lastPosition!==this.getPosition()},defaults:{shouldBeDirty:function(){return this.hasPositionChanged()}}});function i(){!this.isDirty&&this.shouldBeDirty()&&this.setDirty(!0)}function o(){this.setDirty(!0)}},function(e,t,n){"use strict";n(24),n(48)},,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(8).extend({template:n(2022),css:n(2066),className:"deleteTrackModal",ModelClass:n(21),defaults:{close:n(0).noop},events:{"click .deleteTrackModal__cancel":function(){this.options.close()},"click .deleteTrackModal__delete":function(){n(40).destroy(this.model),this.options.close()}},getTemplateData:function(e){var t=n(6).get("me");return e.proButtonText=n(2).Lingua.t("Learn more"),e.isPro=t.isPro(),e.isFree=t.isFree(),e.showUpsell=e.isPro||e.isFree,e}})},function(e,t,n){e.exports=n(8).extend(n(116),n(49).withOptions({names:["v2_ui_evolution"]}),{className:"soundContext g-flex-row-centered",css:n(2024),ModelClass:n(37),defaults:{actionType:"post",dialogSelector:".userAvatarBadge, .soundContext__usernameLink",dialogType:"userBadge",is_promoted:!1,soundType:"sound",target:null,time_to_show:null,caption:null},events:{click:"onClick"},dialogSubviewArgs:function(){return{resource_id:this.getUserAttributes().id||null}},onClick:function(){var e=this.getContextData();this.options.is_promoted&&n(79).trackEvent("sponsorClickThrough",e),n(14).trackClickThrough({target:this.model.getUrn(),context:e})},template:function(){var e=this.options,t=e.is_promoted,o=e.actionType,a=e.time_to_show,s=e.target,l=e.caption,r=this.getUserAttributes(),c=t?"promoted":"organic",u=this.hasFeature("v2_ui_evolution");return[r&&n(23).subview(n(278),{resource_id:r.id,classicSize:"xsmall",size:"4x",className:"soundContext__userAvatar"}),n(23).el("div",{className:"soundContext__textContainer"},[i(r,u,s,a,o,c),l&&n(23).el("div",{class:"soundContext__caption sc-font-light sc-text-captions"},n(23).subview(n(901),{content:l,usertext:!0,maxLength:140,splitWordsAtLength:12}))])].filter(Boolean).join("")},getUserAttributes:function(){return this.options.is_promoted?this.getContextData().promoted_by:this.model.attributes}});function i(e,t,i,l,r,c){var u,d,p,A,m=(d=(u=i).kind,p=u.is_album,A=u.set_type,"track"===d?"track":p?A:"playlist");if("promoted"===c&&e)return n(23).el("span",{class:"soundContext__line sc-font-body"},[s(m,"promotedWithUser",{username:o(e),relativeTime:"",actionTagStart:n(422).getMarkup("span",{class:"sc-promoted-icon sc-promoted-icon-medium"}),actionTagEnd:""})]);if("promoted"===c)return n(23).el("span",{class:"soundContext__line sc-font-body sc-promoted-icon sc-promoted-icon-medium"},[s(m,"promoted",{username:"",relativeTime:"",actionTagStart:"",actionTagEnd:""})]);if("repost"===r){var h=t?n(23).reactSubview(n(27).Repost,{size:16}):"";return n(23).el("span",{class:"soundContext__line sc-font-body"},[s(m,"repost",{username:o(e),relativeTime:a(r,l),repostIcon:h,actionTagStart:'',actionTagEnd:""})])}return n(23).el("span",{class:"soundContext__line sc-font-body"},[s(m,"post",{username:o(e),relativeTime:a(r,l),actionTagStart:"",actionTagEnd:""})])}function o(e){return n(123).usernameLinkForTemplate(e,"soundContext__usernameLink sc-link-dark sc-link-primary sc-text-h4")}function a(e,t){return t?n(23).subview(n(315),{timestamp:t,prefix:"repost"===e?"Reposted":"Posted"}):""}function s(e,t,i){var o=i.username,a=i.actionTagStart,s=i.repostIcon,l=i.actionTagEnd,r=i.relativeTime;switch(e+"-"+t){case"track-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a track [[[relativeTime]]]",{username:o,actionTagStart:a,repostIcon:s,actionTagEnd:l,relativeTime:r});case"track-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a track [[[relativeTime]]]",{username:o,actionTagStart:a,actionTagEnd:l,relativeTime:r});case"track-promoted":return n(2).Lingua.t("Promoted track");case"track-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] promoted[[[actionTagEnd]]] a track",{username:o,actionTagStart:a,repostIcon:s,actionTagEnd:l});case"playlist-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a playlist [[[relativeTime]]]",{username:o,actionTagStart:a,repostIcon:s,actionTagEnd:l,relativeTime:r});case"playlist-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a playlist [[[relativeTime]]]",{username:o,actionTagStart:a,actionTagEnd:l,relativeTime:r});case"playlist-promoted":return n(2).Lingua.t("Promoted playlist");case"playlist-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] promoted[[[actionTagEnd]]] a playlist",{username:o,actionTagStart:a,actionTagEnd:l});case"album-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] an album [[[relativeTime]]]",{username:o,actionTagStart:a,repostIcon:s,actionTagEnd:l,relativeTime:r});case"album-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] an album [[[relativeTime]]]",{username:o,actionTagStart:a,actionTagEnd:l,relativeTime:r});case"album-promoted":return n(2).Lingua.t("Promoted album");case"album-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] promoted[[[actionTagEnd]]] an album",{username:o,actionTagStart:a,actionTagEnd:l});case"ep-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] an EP [[[relativeTime]]]",{username:o,actionTagStart:a,repostIcon:s,actionTagEnd:l,relativeTime:r});case"ep-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] an EP [[[relativeTime]]]",{username:o,actionTagStart:a,actionTagEnd:l,relativeTime:r});case"ep-promoted":return n(2).Lingua.t("Promoted EP");case"ep-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] promoted[[[actionTagEnd]]] an EP",{username:o,actionTagStart:a,actionTagEnd:l});case"single-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a single [[[relativeTime]]]",{username:o,actionTagStart:a,repostIcon:s,actionTagEnd:l,relativeTime:r});case"single-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a single [[[relativeTime]]]",{username:o,actionTagStart:a,actionTagEnd:l,relativeTime:r});case"single-promoted":return n(2).Lingua.t("Promoted single");case"single-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] promoted[[[actionTagEnd]]] a single",{username:o,actionTagStart:a,actionTagEnd:l});case"compilation-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a compilation [[[relativeTime]]]",{username:o,actionTagStart:a,repostIcon:s,actionTagEnd:l,relativeTime:r});case"compilation-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a compilation [[[relativeTime]]]",{username:o,actionTagStart:a,actionTagEnd:l,relativeTime:r});case"compilation-promoted":return n(2).Lingua.t("Promoted compilation");case"compilation-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] promoted[[[actionTagEnd]]] a compilation",{username:o,actionTagStart:a,actionTagEnd:l})}}},,function(e,t,n){e.exports=n(8).extend(n(42).withOptions("soundVisuals"),{className:"visuals g-all-transitions-300 g-image-filter-darken-light",css:n(2056),template:n(2058),ModelClass:n(21),requiredAttributes:["visuals"],element2selector:{containers:".visuals__container"},states:{playing:"playing"},defaults:{viewContext:"streamContext"},_currentTransitionId:null,_loadAll:!1,setup:function(e){this.visuals=new(n(649))(null,{resource_id:this.model.id}),this.onCollectionChange=n(0).debounce(this.onCollectionChange,250),this.listenTo(this.model,"play",this.onPlay).listenTo(this.model,"pause",this.onPause).listenTo(this.model,"seeked",this.setImage).listenTo(this.model,"finish",this.onFinish).listenTo(this.model,"time",this.setImageThrottled).listenTo(this.visuals,"add remove reset",this.onCollectionChange),this.trackImpression=n(0).once(this.trackImpression),this.$el.addClass(e.viewContext)},dispose:function(){this.visuals.release(),this.visuals=null},setImage:i,setImageThrottled:n(0).throttle(i,250),getTemplateData:function(e){var t=this.model.currentTime(),i=t>0||this.model.isPlaying(),o=this._loadAll||i;if(0===this.visuals.length)return e;if(e.visuals=(o?this.visuals:[this.visuals.at(0)]).map((function(e){return{id:e.get("id"),entry_time:e.get("entry_time"),failMessage:e.get("failMessage"),background_url:e.get("visual_url").replace(/[()]/g,window.escape)}})),i&&this.visuals.length>1){var a=n(0).sortedIndex(e.visuals,{entry_time:t},(function(e){return e.entry_time}));a>0&&(e.visuals=e.visuals.slice(a).concat(e.visuals.slice(0,a)))}return e},onCollectionChange:function(){this.rerender()},onPlay:function(){this.toggleState("playing",!0),this.visuals.length>1&&!this._loadAll&&(this._loadAll=!0,this.rerender())},onPause:function(){this.toggleState("playing",!1)},onFinish:function(){this.toggleState("playing",!1)},renderDecorate:function(){this.trackImpression(),this._currentTransitionId=null,this.setImage(),this.toggleState("playing",this.model.isPlaying())},trackImpression:function(){n(79).trackEvent("impression",n(0).pick(this.model.get("visuals"),"tracking")),n(14).trackImpression({impression_name:"visuals",originView:this.contextName,context:this.getContextData(),urn:this.model.getUrn(),useAudioFinishHandler:"streamContext"===this.options.viewContext})}});function i(){if(!this.disposed&&this.visuals.length){var e,t,i,o,a=this.model.currentTime(),s=this.visuals;if(s.isLooping())t=Math.floor(a/s.getLoopInterval()%s.length),o=s.at(t).resource_id,i=s.at(t).get("entry_time");else{if(e=n(0).sortedIndex(s.models,{entry_time:a},(function(e){return null!=e.entry_time?e.entry_time:e.get("entry_time")})),t=Math.min(s.length-1,e),(i=s.at(t).get("entry_time"))>a){if((t=Math.min(s.length-1,--e))<0)return this.getElement("containers").filter(".visible").removeClass("visible"),void(this._currentTransitionId=null);i=s.at(t).get("entry_time")}o=s.at(t).resource_id}o!==this._currentTransitionId&&(this.getElement("containers").filter(".visible").removeClass("visible"),this.$(".timestamp-"+i).addClass("visible"),this._currentTransitionId=o)}}},,,function(e,t,n){e.exports={defaultButtons:{global:[n(260),n(261),n(511),n(754),n(262)],china:[n(260),n(261),n(511),n(755),n(262)],russia:[n(260),n(261),n(511),n(756),n(262)]},systemPlaylistButtons:{global:[n(260),n(261),n(754),n(262)],china:[n(260),n(261),n(755),n(262)],russia:[n(260),n(261),n(756),n(262)]}}},,,function(e,t,n){e.exports=n(168).extend({defaults:{popupSize:[665,300],serviceKey:"pinterest",serviceName:"Pinterest",serviceBaseURL:"http://pinterest.com/pin/create/button/",icon_only:!0},icon:n(254).PinterestLogo,getHrefData:function(){var e,t=this.model.get("title"),i=n(53).urlFrom(this.model.attributes,200);if(this.isAudible){var o,a,s=null==(o=null!=(a=this.model.get("made_for"))?a:this.model.get("user"))?void 0:o.username;e=n(2).Lingua.t("[[title]] by [[username]] on SoundCloud",{title:t,username:s})}else{var l=this.model.get("username")||this.model.get("name");e=n(2).Lingua.t("Visit [[username]] on SoundCloud",{username:l})}return{url:this.getShareURL(),media:i,description:e.toString(),is_video:"true"}}})},function(e,t,n){e.exports=n(168).extend({defaults:{popupSize:[450,450],serviceKey:"weibo",serviceName:"Weibo",serviceBaseURL:"http://service.weibo.com/share/share.php"},getHrefData:function(){return{url:this.getShareURL()}}})},function(e,t,n){e.exports=n(168).extend({defaults:{popupSize:[645,450],serviceKey:"vkontakte",serviceName:"VK",serviceBaseURL:"http://vkontakte.ru/share.php"},getHrefData:function(){return{url:this.getShareURL()}}})},,,,,,,,,function(e,t,n){var i=n(2).Lingua.t("Skip to previous"),o=n(2).Lingua.t("Skip to next");e.exports=n(8).extend({className:"skipControl sc-ir",css:n(2151),tagName:"button",defaults:{type:"previous"},states:{disabled:function(e){this.$el.toggleClass("disabled").attr("tabindex",e?"-1":"")}},events:{click:"onClick"},setup:function(e){var t=e.type;this.$el.addClass("skipControl__"+t),"next"===t&&this.listenTo(n(16),"state:hasNext",this.update),this.listenTo(n(16),"change:currentSound",this.update).listenTo(n(16),"state:globalPlayLock",this.update).listenTo(n(68),n(88).CHANGE_AD_SKIPPABILITY,this.update).listenTo(n(11),"audio:play",this.update)},template:function(){return"previous"===this.options.type?i:o},renderDecorate:function(){this.update()},onClick:function(){if(!this.getState("disabled")){var e={userInitiated:!0};"previous"===this.options.type?n(16).playPrev(e):n(16).playNext(e)}},update:function(){this.toggleState("disabled",a.call(this))}});function a(){return("next"!==this.options.type||!n(68).isAdBreakActive()||!n(68).isAllowedToSkipCurrentAd())&&(!!n(16).getState("globalPlayLock")||"next"===this.options.type&&!n(16).hasNextSound())}},function(e,t,n){e.exports=n(50).extend({defaults:{width:350,Subview:n(2184)}})},,function(e,t,n){(function(t){e.exports=n(8).extend({className:"spamWarning",ModelClass:n(210),css:n(2217),template:n(2219),events:{"click .spamWarning__acknowledge:not(.disabled)":function(e){e.preventDefault(),i.call(this)}},element2selector:{button:".spamWarning__acknowledge"},states:{waiting:function(e){this.getElement("button").toggleClass("disabled",e)}},getTemplateData:function(e){var t,i,o,a,s=e.spam_warning,l=s.action_type,r=s.expires_at,c=r&&n(15).LinguaLib.dateTimeHelper.toRelativeTime(new Date(r)).toLowerCase(),u=n(25).getRoute("pages","terms-of-use");switch(l){case"comment":case"comment_own_track":t=n(2).Lingua.t("We’ve noticed a high volume of commenting coming from your account and we would like to ask that you slow down."),i=n(2).Lingua.t('Please note if you keep getting these warnings, your commenting abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),o=n(2).Lingua.t("We have temporarily blocked your commenting facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue commenting again [[unblockTime]]",{unblockTime:c});break;case"message_initial":case"message_reply":t=n(2).Lingua.t("We’ve noticed a high volume of messaging coming from your account and we would like to ask that you slow down."),i=n(2).Lingua.t('Please note if you keep getting these warnings, your messaging abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),o=n(2).Lingua.t("We have temporarily blocked your messaging facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue messaging again [[unblockTime]]",{unblockTime:c});break;case"user_follow":t=n(2).Lingua.t("We’ve noticed a high volume of following coming from your account and we would like to ask that you slow down."),i=n(2).Lingua.t('Please note if you keep getting these warnings, your following abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),o=n(2).Lingua.t("We have temporarily blocked your following facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue following again [[unblockTime]]",{unblockTime:c});break;case"track_like":case"playlist_like":t=n(2).Lingua.t("We’ve noticed a high volume of liking coming from your account and we would like to ask that you slow down."),i=n(2).Lingua.t('Please note if you keep getting these warnings, your liking abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),o=n(2).Lingua.t("We have temporarily blocked your liking facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue liking again [[unblockTime]]",{unblockTime:c});break;case"track_repost":case"playlist_repost":t=n(2).Lingua.t("We’ve noticed a high volume of reposting coming from your account and we would like to ask that you slow down."),i=n(2).Lingua.t('Please note if you keep getting these warnings, your reposting abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),o=n(2).Lingua.t("We have temporarily blocked your reposting facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue reposting again [[unblockTime]]",{unblockTime:c});break;default:var d=l.replace(/_/," ");t=new(n(12).SafeString)("We’ve noticed a high volume of "+d+" coming from your account and we would like to ask that you slow down."),i=new(n(12).SafeString)("Please note if you keep getting these warnings, your "+d+' abilities will be blocked as outlined in our Terms of Use.'),o=new(n(12).SafeString)("We have temporarily blocked your "+d+" facility because your account has previously gotten this warning many times."),a=new(n(12).SafeString)("You can continue "+d+" again "+c)}e.notice_msg=t,e.warning_msg=i,e.blocked_msg=o,e.unblock_msg=a,e.can_ack=e.spam_warning.can_ack}});function i(){var e=this;this.toggleState("waiting",!0);var i=this.model.get("spam_warning").urn,o=n(45).getUrlForEndpoint("mySpamWarningsAck",{urn:i});t.ajax({type:"PUT",url:o}).then((function(){e.bubble("spam-warning:acknowledged")}),(function(){e.toggleState("waiting",!1)}))}}).call(this,n(17))},,,,,function(e,t,n){var i=n(10),o=n(2280);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},,,function(e,t,n){var i=n(10),o=n(2360);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){e.exports=new(n(19))({requires:["getHref"],defaults:{template:n(2362),css:n(2363),className:"readMoreTile"},applyTo:function(e){e.defaults=n(0).assign({alreadyShown:0,subviewArgs:null,Subview:null},e.defaults)},before:{getTemplateData:function(e){e.readMoreText=n(2).Lingua.t("View all"),e.href=this.getHref()}}})},,,,,,,function(e,t,n){"use strict";var i=n(1),o=n(46),a=n(518),s=n.n(a),l=(n(360),n(39)),r=n(402),c=n(25),u=n.n(c),d=n(169),p=n(149),A=n(59),m=n(20),h=n(36),g=n.n(h),f=n(128),_=n(403),C=n(892),b=n(404),v=n(137);function y(){return(y=Object.assign||function(e){for(var t=1;t tipped and commented ",values:{UserName:n,Tip:o,Comment:function(){return i.createElement(T,{content:a})}}})}return i.createElement(m.LinguaPending,{t:" tipped ",values:{UserName:n,Tip:o}})},T=function(e){var t=e.content,n=e.isShort,o=void 0!==n&&n,a=B.a.usertextOneline(t,{paragraphs:!1,links:!1,maxLength:o?30:100});return i.createElement("span",{className:"tipBadge__comment sc-text sc-text-primary",dangerouslySetInnerHTML:{__html:'"'+a+'"'}})},P=(n(1444),function(e){var t=e.artworkUrl;return i.createElement("span",{className:"tipBadge__artwork sc-artwork sc-artwork-placeholder-6",style:{backgroundImage:"url("+t+")"}})}),O=function(e){return e.comment?u.a.getRoute("listen",e.comment.track,e.comment.id):u.a.getRoute("user",e.tipper)},D=function(e){var t=e.tip,n=e.isUnread,o=e.hasInitiatorActions;return i.createElement(A.b,{title:t.tipper.username,href:O(t)},i.createElement(A.a,{className:"tipBadge",isUnread:n},i.createElement(A.e,null,i.createElement(d.a,{userUrn:t.tipper.urn,size:p.c.medium,showVerifiedBadge:!1,isLink:!0})),i.createElement(A.c,null,i.createElement("span",null,i.createElement(S,{tip:t}))),null!=t.track.artwork_url?i.createElement(P,{artworkUrl:t.track.artwork_url}):i.createElement(r.a,{userUrn:t.tipper.urn,size:l.ButtonSize.Small}),o&&i.createElement(A.e,{className:"tipBadge__sideInitiatorActions"},i.createElement(x,{tip:t}))))};function M(){return(M=Object.assign||function(e){for(var t=1;tt}));n<0&&(n=this.annotations.length),this.addSegment(t,n)},t.addSegment=function(e,t){var n=this.tracklist.createTrackSegment({startMs:e});this.tracklist.add(n,{at:t})},t.onPointerMove=function(e){this.isDragging?this.dragFromPixel(e):this.selectAnnotationWhenHovered(e)},t.selectAnnotationWhenHovered=function(e){var t=this.findAllHoveredAnnotations(e),n=this.selectedAnnotation&&t.includes(this.selectedAnnotation)?this.selectedAnnotation:t[0];n!==this.selectedAnnotation&&(n?this.selectAnnotation(n):this.deselectAnnotation(),this.createAnnotationsFromSegments())},t.deselectAnnotation=function(){this.setHovering(!1),this.selectedAnnotation=null},t.selectAnnotation=function(e){this.setHovering(!0),this.selectedAnnotation=e},t.findAllHoveredAnnotations=function(e){return this.annotations.filter((function(t){return e>=t.x-1&&e<=t.x+1}))},t.dragFromPixel=function(e){if(!this.selectedAnnotation)throw new Error("SelectedAnnotation may not be null or undefined when dragging");if(!this.dragContext)throw new Error("DragContext may not be null or undefined when dragging");var t=e>4?Math.abs(this.pxToMs(e)):0;this.selectedAnnotation.ms!==t&&(0===t?this.swapAnnotationAtPosition0(this.dragContext,this.selectedAnnotation):(this.unSwapAnnotationIfNeeded(this.dragContext),this.updateSegment(this.selectedAnnotation.segment,t)))},t.swapAnnotationAtPosition0=function(e,t){e.swappedAnnotation=this.getAnnotationAtPosition0(),e.swappedAnnotation&&this.updateSegment(e.swappedAnnotation.segment,this.pxToMs(50)),this.updateSegment(t.segment,0)},t.getAnnotationAtPosition0=function(){return this.annotations.find((function(e){return 0===e.ms}))||null},t.unSwapAnnotationIfNeeded=function(e){e.swappedAnnotation&&(this.updateSegment(e.swappedAnnotation.segment,0),e.swappedAnnotation=null)},t.onDragDone=function(){var e=this;if(!this.selectedAnnotation)throw new Error("SelectedAnnotation may not be null or undefined when dragging");var t=this.annotations.filter((function(t){return t!==e.selectedAnnotation}));this.placeSegmentsAtAnnotationMs(t),this.placeSegmentAt0msIfNeeded(this.selectedAnnotation,t)},t.placeSegmentAt0msIfNeeded=function(e,t){if(-1===o.a.findIndex(this.annotations,(function(e){return 0===e.ms}))){var n=o.a.isEmpty(t)?e:t[0];this.updateSegment(n.segment,0)}},t.placeSegmentsAtAnnotationMs=function(e){var t=this;e.forEach((function(e){t.updateSegment(e.segment,e.ms)}))},e}()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(8).extend(n(2029),n(42).withOptions("user_text"),{defaults:{dialogSelector:".g-link-user"},template:function(e){return n(123).updateSCLinks(e._options.content,e._options)}})},,,function(e,t,n){var i={geoblocked:"geoblockingDescription",monetizable:"monetizationDescription","monetizable-pending":"monetizationPendingDescription","monetizable-possible":"monetizableDescription","monetization-restriction":"monetizationRestrictionDescription",private:"sharingDescription",restricted:"managedByFeedsDescription",scheduled:"schedulingDescription",mastered:"masteredDescription"};e.exports=n(8).extend({className:"audibleAttributeDesc",ModelClass:n(52),defaults:{type:null},setup:function(e){0},getModelData:function(){return{}},template:function(){var e=i[this.options.type];return e&&n(0).isFunction(n(329)[e])?n(329)[e](this.model):""}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var i={hScroll:!1,scrollTrap:!0};e.exports=new(n(19))({applyTo:function(e){n(280).applyTo(e),function(e){return!!e.checkScrollPosition}(e)&&(this.around(e,s),this.override(e,a))},defaults:{getScrollableWrapper:function(){var e=this.createListElement();return e&&e.parent()},getScrollableOptions:function(){return{}}},around:{createListElement:function(e){if(this._listElement)return this._listElement;var t=e();return t&&t.wrap(""),t}},after:{renderDecorate:function(){var e=this.getScrollableWrapper();e&&this.setupScrollable(this.getListContainer(),e,n(0).assign({},i,this.getScrollableOptions()))},onAdd:function(){o.call(this)},onRemove:function(){o.call(this)}}});function o(){n(85).MutationObserver&&this.onDOMChanges()}var a={addThrobber:function(){if(this.options.showThrobber&&this.ThrobberView){var e=this.subviews.throbber||this.addSubview(new this.ThrobberView,"throbber").render();this.appendDOMElement(e.el)}},removeThrobber:function(){var e=this.subviews.throbber;e&&(e._dispose(),this.removeSubview(e))},appendDOMElement:function(e){(this.getScrollableWrapper()||this.$el)[this.options.inverted?"prepend":"append"](e)}},s={getScrollableContainer:function(e){return this.options.fullPageList?e():this._listElement&&this._listElement.parent()}}},,,,,,,function(e,t,n){var i=!0;e.exports=n(8).extend(n(94).withOptions({type:"pro",elSelector:".quotaMeter__link"}),{className:"sc-font",css:n(2293),template:n(2295),requiredAttributes:["quota"],defaults:{ref:null,stretchedVersion:!0},events:{"click .quotaMeter__dropdownButton":function(){this.toggleState("showMoreInfo",!this.getState("showMoreInfo"))}},states:{showMoreInfo:"showMoreInfo"},setup:function(){this.model=n(6).get("me")},getTemplateData:function(e){var t=this.model.getUploadMinutesUsed(),o=this.model.getTracksUploaded(),a=this.model.hasTrackLimit(),s=n(285).getQuotaInfo(this.model),l=s.percentageUsed,r=s.percentageTracks,c=s.percentageTime,u=s.limitInTracks,d=s.limitInMinutes,p=this.model.isOverQuota(),A=n(92).getCreatorLink(this.getUpsellRef()),m=A.link,h=A.target;a&&(e.trackPercentageInfo=n(2).Lingua.t("[[tracksUploaded]] of [[limitInTracks]] tracks ([[percentageTracks]]%) used.",{tracksUploaded:o,limitInTracks:u,percentageTracks:r})),e.upsell=n(2).Lingua.t("[[[linkStart]]]Try Pro Unlimited[[[linkEnd]]] for unlimited uploads.",{linkStart:'',linkEnd:""});var g=this.model.isFree();e.showExplanation=g&&a,e.usageInfo=p?n(2).Lingua.t("You have reached your plan’s upload limit"):g?n(2).Lingua.t("[[percentageUsed]]% of free uploads used",{percentageUsed:l}):n(2).Lingua.t("[[percentageUsed]]% of uploads used",{percentageUsed:l}),e.minutePercentageInfo=n(2).Lingua.t("[[minutesUsed]] of [[limitInMinutes]] minutes ([[percentageTime]]%) used.",{minutesUsed:t,limitInMinutes:d,percentageTime:c}),e.tracksClosestToQuota=r>c,e.timeClosestToQuota=c>r,e.reachedQuota=p,e.stretchedVersion=this.options.stretchedVersion,e.tcode=this.getUpsellRef();var f=n(71).isIE11,_=i?"0%":l+"%";return e.quotaMeterStyle=new(n(12).SafeString)(f?"width: "+_:"clip-path: polygon(0 0, "+_+" 0%, "+_+" 100%, 0% 100%)"),e},renderDecorate:function(){var e=this;i&&setTimeout((function(){if(!e.disposed){var t=n(285).getQuotaInfo(e.model).percentageUsed,i=e.$(".quotaMeter__minutesUsed"),o=t+"%";n(71).isIE11?i.width(o):i.css("clip-path","polygon(0 0, "+o+" 0%, "+o+" 100%, 0% 100%)")}}),2e3),i=!1},getUpsellRef:function(){return this.options.ref}})},,,,,,,,function(e,t,n){e.exports=n(130).extend(n(312),{css:n(2345),defaults:{Collection:null,collectionArgs:null,getRestoreUrl:null,highlight:!1,CheckboxForm:null,compact:!1,show_ministats:!0,show_action_buttons:!0,show_owner_buttons:!1,show_private:!1,show_audible_attributes:!1,show_duration:!1,show_upload_time:!1,allowTrackFallback:!0,primary_actions:1,overflow_minimum:2,noFollow:!1},states:{compact:"compact"},className:"soundBadgeList",listClassName:"sc-list-nostyle sc-clearfix",itemClassName:"soundBadgeList__item",Subview:n(335),setup:function(e){this.collection=new e.Collection(null,e.collectionArgs),e.getRestoreUrl&&(this.getRestoreUrl=e.getRestoreUrl),this.toggleState("compact",e.compact)},getSubviewArgs:function(e){var t=n(130).prototype.getSubviewArgs.apply(this,arguments),o=this.options,a=i(e),s=a.kind,l=a.id;return n(0).assign(t,{resource_id:l,resource_type:"track"===s?"sound":"playlist"},n(0).pick(o,"CheckboxForm","compact","show_ministats","show_action_buttons","show_owner_buttons","show_private","show_audible_attributes","show_duration","show_upload_time","allowTrackFallback","noFollow","primary_actions","overflow_minimum"))}});function i(e){var t=e.get("kind"),n=e.id;return t||(t="sound"===e.resource_type?"track":"playlist"),{id:n,kind:t}}},,,,function(e,t,n){e.exports=n(153).extend({className:"tokenInput tagInput",template:n(1619),css:[n(474),n(1620)],defaults:{allowFreeInputTokens:!0,placeholder:n(2).Lingua.t("Add tags"),tokenClassName:"tagInput__token"},autoCorrectTags:[{regex:/^\s*hip[\-\s]*hop\s*$/,correctTo:"Hip Hop"},{regex:/^\s*#*\s*/,correctTo:""}],events:n(0).defaults({"paste .tokenInput__input":"onPaste","click .tagInput__token":"onTokenRemoveClick"},n(153).prototype.events),MenuContentView:n(1622),menuContentViewArgs:function(){var e=this.form.getAudible&&this.form.getAudible();return{urn:e&&e.getUrn(),context:this.getFieldValue()}},menuOffset:"0 4",setup:function(){n(153).prototype.setup.apply(this,arguments),this.defaultSelectedItemIndex=0},addToken:function(e){var t,i;for(i=this.autoCorrectTags.length;i--;)t=this.autoCorrectTags[i],e=e.replace(t.regex,t.correctTo);e=e.substring(0,255),n(153).prototype.addToken.call(this,e)},getFieldValue:function(){var e=n(153).prototype.getFieldValue.call(this);return"string"==typeof e?n(213).parse(e,{includeMachineTags:!0}):e},getDisplayValue:n(0).identity,getRelativeElement:function(){return this.getElement("control")},cleanUserText:n(0).identity,getMenuWidth:function(){return"auto"},onPaste:function(e){var t;""===e.target.value&&(t=e.originalEvent.clipboardData.getData("Text"),n(213).parse(t).forEach(this.addToken,this),e.preventDefault())}})},,,,,,,function(e,t,n){var i=new(n(69))("already-seen");e.exports=n(138).extend(n(49).withOptions({names:["v2_ui_evolution"]}),{defaults:{userName:"",audibleName:""},Subview:n(2351),moduleClassName:"mobileApps",moreText:n(2).Lingua.t("Dismiss"),isDismissable:!0,dismissIcon:function(){return this.hasFeature("v2_ui_evolution")?n(23).reactSubview(n(27).Close,{size:16,className:"sidebarHeader__more"}):null},title:n(2).Lingua.t("Go mobile"),css:[n(773),n(2356)],events:{"click .mobileApps__dismiss":"onClickDismiss"},element2selector:n(0).defaults({dismiss:".sidebarHeader__more"},n(138).prototype.element2selector),viewLocation:null,setup:function(){this.viewLocation=this.options.userName?"user":this.options.audibleName?"audible":"stream",this.subviewArgs={abtest_identifier:this.title,view_location:this.viewLocation},i.get("mobile-apps-dismissed")&&this.hide()},renderDecorate:function(){n(138).prototype.renderDecorate.call(this),this.getElement("dismiss").addClass("mobileApps__dismiss sc-ir")},createSubview:function(){i.get("mobile-apps-dismissed")||n(138).prototype.createSubview.call(this)},onClickDismiss:function(){i.set("mobile-apps-dismissed",1),this.hide(),n(14).trackV0Click(["go_mobile","dismiss",this.viewLocation,this.title])}})},function(e,t,n){e.exports=n(8).extend(n(334),{defaults:{size:"medium"},className:"sc-button-addtoset",icon:n(27).AddToPlaylist,buttonLabels:{default:n(2).Lingua.t("Add to playlist",null,{context:"indefinite"})},ModelClass:n(91),ModalClass:n(377),getModalArgs:function(){return{subviewArgs:{soundIds:this.model.getSoundsCollection().pluck("id"),defaultTitle:this.model.get("title"),startingTab:"create"}}},requiresLogin:function(){return!0},onModalOpen:function(){n(14).trackV1Click({click_name:"track_to_playlist::prompt",query_urn:null})}})},,,,,,,,,,,,,function(e,t,n){e.exports=n(8).extend(n(295),n(240),{template:n(1425),css:n(1426),className:"userAudibleSearch sc-border-box",inputSelector:".userAudibleSearch__input",defaults:{publicOnly:!0,includePlaylists:!0,includeSystemPlaylists:!1,numOfSearchResults:5,customUserAudiblesFilter:null,onItemSelected:null,onClose:null,placeholder:n(2).Lingua.t("Select a track or playlist from your profile")},showAllItems:!0,MenuContentView:n(1428),setup:function(e){var t=e.numOfSearchResults,i=e.publicOnly,o=e.includePlaylists,a=e.includeSystemPlaylists,s=e.customUserAudiblesFilter,l=n(6).get("me").id;this.menuContentViewArgs={userId:l,numOfSearchResults:t,publicOnly:i,includePlaylists:o,includeSystemPlaylists:a,customUserAudiblesFilter:s}},onItemSelected:function(e){var t=this.options.onItemSelected;this.trigger("onItemSelected",e),this.emptyInput(),n(0).isFunction(t)&&t(e)},onClose:function(){var e=this.options.onClose;this.trigger("onClose"),n(0).isFunction(e)&&e()}})},,,,,,,,,,,,function(e,t,n){e.exports=n(33).extend({template:n(1593),css:n(1594),defaults:{validateOn:"blur",showLabel:!1,label:n(2).Lingua.t("Permalink"),permalinkType:"sound",size:"small"},states:n(0).defaults({generating:"generating",editing:function(e){var t=this.getElement("control");this.$el.toggleClass("editing",e),a.call(this),t.attr("disabled",!e),e&&t.select()}},n(33).prototype.states),element2selector:n(0).defaults({editButton:".permalinkTextfield__editButton",prefixText:".permalinkTextfield__prefixText"},n(33).prototype.element2selector),events:n(0).defaults({"click .permalinkTextfield__inputWrapper":"onWrapperClick","blur .permalinkTextfield__input":"onInputBlur","keydown .permalinkTextfield__input":"onInputKeydown"},n(33).prototype.events),className:"textfield permalinkTextfield",setup:function(){n(33).prototype.setup.apply(this,arguments),this.listenTo(n(84),"resize:x:debounced",a).listenTo(this.form,"generatingPermalink",o)},renderDecorate:function(){i.call(this,this.options.size),this.whenInserted().done(a.bind(this)),n(33).prototype.renderDecorate.apply(this,arguments)},getTemplateData:function(e){var t=n(6).get("me").get("permalink")+"/",i=this.options.permalinkType;return e=n(33).prototype.getTemplateData.call(this,e)||e,n(0).assign(e,{prefix:"sound"===i?t:"playlist"===i?t+"sets/":""})},onInputKeydown:function(e){e.keyCode===n(56).ESC&&(this.getElement("control").blur(),this.getElement("editButton").focus())},onInputBlur:function(){this.toggleState("editing",!this.isValid())},onValidationChange:function(e){n(33).prototype.onValidationChange.apply(this,arguments),this.toggleState("editing",!e.isValid)},onWrapperClick:function(){this.toggleState("editing",!0)}});function i(e){this.getElement("prefixText").toggleClass("sc-type-small sc-text-body","medium"===e),this.$el.addClass(e),this.getElement("editButton").addClass("sc-button-"+e),this.getElement("control").addClass("sc-input-"+e)}function o(e){this.toggleState("generating",e)}function a(){var e=this.getElement("prefixText").width(),t=this.$el.width()-e-5;this.getElement("validation").css("margin-left",e),this.getElement("control").width(t)}},,,,,,function(e,t,n){e.exports=n(8).extend(n(87),{tagName:"span",className:"sc-license-icon",defaults:{light:!1},template:function(){return""},renderDecorate:function(){i.call(this)},onFieldChange:function(){i.call(this)}});function i(){var e=this.getFieldValue();this.$el.removeClass(),e&&this.$el.addClass("sc-license-icon").toggleClass("sc-license-icon-white",this.options.light).addClass("sc-license-icon-"+e)}},,function(e,t,n){function i(){var e=this.model.get("fileUpload"),t=this.subviews.status;e&&(t&&a.call(this,t),o.call(this,e))}function o(e){var t=this.options,i=this.addSubview(new(n(720))(n(0).assign({},n(0).pick(t,Object.keys(this.defaults)),{resource_id:e.resource_id,resource_type:e.resource_type})),"status");this.$el.append(i.render().el)}function a(e){e._dispose(),this.removeSubview(e)}e.exports=n(8).extend({className:"uploadStatusWrapper",defaults:{showCancelButton:!1,showText:!0,showProgress:!0,cancelText:n(2).Lingua.t("Cancel upload")},ModelClass:n(105),template:function(){return""},setup:function(){this.listenTo(this.model,"change:fileUpload",i)},renderDecorate:function(){i.call(this)}})},,function(e,t,n){e.exports=n(66).extend(n(432),{className:"uploadTrackList",defaults:{maxDisplay:0,readOnly:!1},Subview:n(1769),listClassName:"uploadTrackList__list sc-list-nostyle",itemClassName:"uploadTrackList__item sc-border-light-bottom sc-clearfix",editableObject:null,listSelector:".uploadTrackList__list",listItemSelector:".uploadTrackList__item",dragHandleSelector:".compactUpload__dragHandle",setup:function(e){var t=n(364).hashFn({id:e.resource_id}),i=n(364).instances.get(t);this.editableObject=i,this.subviewArgs={readOnly:e.readOnly},this.collection=i.getSoundUploadsCollection(),this.collection.hold()},renderDecorate:function(){n(66).prototype.renderDecorate.apply(this,arguments),this.options.readOnly||this.reinitializeSorting()},onRemove:function(e){var t=this,n=this.getListItemView(e);n&&n.remove().done((function(){t.getSubviewWrapper(n).detach(),t.removeSubview(n)}))}})},,function(e,t,n){e.exports=n(8).extend({className:"monetizationReminder sc-type-small sc-text-body",template:function(){var e=n(23).el("strong",null,n(2).Lingua.t("Reminder:")),t=n(108).isPremierVIPMember()?n(2).Lingua.t("SoundCloud Premier monetization is only available for your own original music. Covers, remixes, mixes, DJ sets, audio recordings or podcasts are not monetizable at this time."):n(108).isPremierMonetizationMember()?n(2).Lingua.t("SoundCloud Premier monetization is only available for your own original music. Covers, remixes, mixes, DJ sets, audio recordings or podcasts are not monetizable at this time. If you attempt to monetize content that includes unlicensed samples, your track will be removed from SoundCloud."):null;return t?[e,t].join(" "):null}})},,function(e,t,n){function i(){return(i=Object.assign||function(e){for(var t=1;t0&&this.transitionToPanel(Math.max(0,this._panelOffset-this._config.panelsPerSlide))},"mouseenter .tileGallery__sliderPeekBackward":function(){this.runPeekAnimation("backward")}},element2selector:{sliderPanel:".tileGallery__sliderPanel"}},defaults:{template:n(2327),css:n(2328),_panelOffset:0,_currentPeekAnimation:null,_config:null,_lastSliderWidth:null,transitionToPanel:function(e){var t=this;if(!this.isPanelVisible(e,0)){var i=this._config.panelsPerSlide,o=e>this._panelOffset?1:-1,s=Math.abs(e-this._panelOffset),r=i*(1===o?Math.floor:Math.ceil)(s/i),c=this._panelOffset+r*o;this._panelOffset=n(80).clamp(c,0,this._tileModels.length-i),l.call(this),this.synchronizeStates(),a(this,(function(){return t.showPanel(t._panelOffset)}))}},runPeekAnimation:function(e){var t=this,n=i[e];a(this,(function(){t.getState(n.state)&&t._currentPeekAnimation!==n.animation?(t.toggleState(n.state,!1),t.runPeekAnimation(e)):null===t._currentPeekAnimation&&t.toggleState(n.state,!0)}))},synchronizeStates:function(){var e=this._panelOffset,t=this._tileModels.length,n=this._config.panelsPerSlide,i=t>n;this.toggleState("hasItemsForward",i&&t-n>e),this.toggleState("hasItemsBackward",i&&e>0),this.toggleState("transitions",!0)},showPanel:function(e){var t=function(e,t,n){var i=n.panelsPerSlide,o=n.unitsPerSlide,a=n.panelBuffer,s=t-i<=e;return 0===e?0:s?e*o-a:e*o-a/2}(e,this._tileModels.length,this._config),n=this.getElement("sliderPanel"),i=Math.round(t*this._lastSliderWidth*-.01)+"px";n.css({"-webkit-transform":"translate3d("+i+", 0, 0)",transform:"translate3d("+i+", 0, 0)"})},isPanelVisible:function(e,t){void 0===t&&(t=0);var n,i,o,a=e-this._panelOffset;return n=a,i=-t,o=this._config.panelsPerSlide+t,n>=i&&n
'+r((n(3)||t&&c(t,"$t")||l).call(s,"Blocking means that [[username]] will no longer be able to",{name:"$t",hash:{username:null!=t?c(t,"username"):t},data:a,loc:{start:{line:3,column:41},end:{line:3,column:136}}}))+'
"+r((n(3)||t&&c(t,"$t")||l).call(s,"like your tracks,",{name:"$t",hash:{},data:a,loc:{start:{line:6,column:6},end:{line:6,column:32}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"repost your tracks,",{name:"$t",hash:{},data:a,loc:{start:{line:7,column:6},end:{line:7,column:34}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"send you messages,",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:6},end:{line:8,column:33}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"share tracks with you,",{name:"$t",hash:{},data:a,loc:{start:{line:9,column:6},end:{line:9,column:37}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"post new comments on your tracks, or",{name:"$t",hash:{},data:a,loc:{start:{line:10,column:6},end:{line:10,column:51}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"send you new stream or email notifications.",{name:"$t",hash:{},data:a,loc:{start:{line:11,column:6},end:{line:11,column:58}}}))+'
\n \n'},3:function(e,t,n,i,o){return' Reported accounts are reviewed by a specialist team who take action if the account’s content or activity\n violates our Guidelines\n or Terms. Repeated violation or serious breaches\n can result in the permanent deletion of accounts.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(s=u(i,"if").call(l,null!=(s=null!=t?u(t,"_options"):t)?u(s,"standalone"):s,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:0},end:{line:4,column:7}}}))?s:"")+'\n
'+r((n(3)||t&&c(t,"$t")||l).call(s,"Reporting [[username]] for spam:",{name:"$t",hash:{username:null!=t?c(t,"username"):t},data:a,loc:{start:{line:3,column:41},end:{line:3,column:100}}}))+'
\n\n
\n
'+r((n(3)||t&&c(t,"$t")||l).call(s,"Removes their comments, reposts and likes from your tracks and playlists",{name:"$t",hash:{},data:a,loc:{start:{line:6,column:6},end:{line:6,column:87}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"Blocks them from interacting with you",{name:"$t",hash:{},data:a,loc:{start:{line:7,column:6},end:{line:7,column:52}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"Sends SoundCloud a spam report",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:6},end:{line:8,column:45}}}))+'
'+c((n(3)||t&&u(t,"$t")||r).call(l,"For best results, upload images of at least 1000x1000 pixels. 2MB file-size limit.",{name:"$t",hash:{},data:a,loc:{start:{line:2,column:29},end:{line:2,column:120}}}))+'
'+r((n(3)||t&&c(t,"$t")||l).call(s,"Pick a file version that you want to download. Only you can see this.",{name:"$t",hash:{},data:a,loc:{start:{line:1,column:90},end:{line:1,column:168}}}))+'
\n '+c((n(3)||t&&u(t,"$t")||r).call(l,"Are you sure? It would mean no money!",{name:"$t",hash:{},data:a,loc:{start:{line:16,column:10},end:{line:16,column:56}}}))+'\n
\n"},useData:!0})},function(e,t,n){var i=n(10),o=n(1954);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){"use strict";n.r(t);var i=n(4),o=n.n(i),a=n(5),s=n.n(a)()(o.a);s.push([e.i,'.sc-classic .trackMonetizationBanner{background:#fff8e6;padding:0 30px;font-size:15px}body:not(.sc-classic) .trackMonetizationBanner{background:#f3f3f3;background:var(--highlight-color);border:1px solid rgba(0,0,0,.15);border:1px solid rgba(var(--primary-rgb),.15);border-radius:4px}.trackMonetizationBanner.m-hidden{display:none}.trackMonetizationBanner__rowContent{-webkit-flex:1;flex:1}.sc-classic .trackMonetizationBanner__row{padding:20px 0}.trackMonetizationBanner__row{text-align:center}.trackMonetizationBanner.m-bye-visible .trackMonetizationBanner__hi,.trackMonetizationBanner:not(.m-bye-visible) .trackMonetizationBanner__bye{display:none}.trackMonetizationBanner__closeIcon{width:22px;height:22px;cursor:pointer;color:#666;color:var(--font-secondary-color)}.sc-classic .trackMonetizationBanner__closeIcon{color:#666}.trackMonetizationBanner__buyLinks{display:inline-block;padding:0;list-style:none;line-height:10px;margin:0 0 0 5px}.trackMonetizationBanner__buyLinks>li{float:left}.trackMonetizationBanner__buyLinks>li:not(:last-child):after{content:"•";margin:0 5px 0 0}.trackMonetizationBanner a{text-decoration:underline;font-weight:400}',"",{version:3,sources:["webpack://./app/views/track-monetization/banner.css"],names:[],mappings:"AAAA,qCAAqC,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,+CAA+C,kBAAkB,CAAC,iCAAiC,CAAC,gCAAgC,CAAC,6CAA6C,CAAC,iBAAiB,CAAC,kCAAkC,YAAY,CAAC,qCAAqC,cAAc,CAAC,MAAM,CAAC,0CAA0C,cAAc,CAAC,8BAA8B,iBAAiB,CAAC,+IAA+I,YAAY,CAAC,oCAAoC,UAAU,CAAC,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,iCAAiC,CAAC,gDAAgD,UAAU,CAAC,mCAAmC,oBAAoB,CAAC,SAAS,CAAC,eAAe,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,sCAAsC,UAAU,CAAC,6DAA6D,WAAW,CAAC,gBAAgB,CAAC,2BAA2B,yBAAyB,CAAC,eAAe",sourcesContent:['.sc-classic .trackMonetizationBanner{background:#fff8e6;padding:0 30px;font-size:15px}body:not(.sc-classic) .trackMonetizationBanner{background:#f3f3f3;background:var(--highlight-color);border:1px solid rgba(0,0,0,.15);border:1px solid rgba(var(--primary-rgb),.15);border-radius:4px}.trackMonetizationBanner.m-hidden{display:none}.trackMonetizationBanner__rowContent{-webkit-flex:1;flex:1}.sc-classic .trackMonetizationBanner__row{padding:20px 0}.trackMonetizationBanner__row{text-align:center}.trackMonetizationBanner.m-bye-visible .trackMonetizationBanner__hi,.trackMonetizationBanner:not(.m-bye-visible) .trackMonetizationBanner__bye{display:none}.trackMonetizationBanner__closeIcon{width:22px;height:22px;cursor:pointer;color:#666;color:var(--font-secondary-color)}.sc-classic .trackMonetizationBanner__closeIcon{color:#666}.trackMonetizationBanner__buyLinks{display:inline-block;padding:0;list-style:none;line-height:10px;margin:0 0 0 5px}.trackMonetizationBanner__buyLinks>li{float:left}.trackMonetizationBanner__buyLinks>li:not(:last-child):after{content:"•";margin:0 5px 0 0}.trackMonetizationBanner a{text-decoration:underline;font-weight:400}'],sourceRoot:""}]),t.default=s},function(e,t,n){var i=new(n(69))("has-dismissed");e.exports={viewClass:n(8).extend(n(42).withOptions("quota-upsell-banner"),n(94).withOptions({type:"pro",elSelector:".quotaUpsellBanner__link"}),{template:n(1956),setup:function(){this.model=n(6).get("me"),this.model.hold()},getTemplateData:function(e){var t=n(285).getQuotaInfo(this.model),i=t.percentageUsed,a=t.isOverQuota,s=n(92).getCreatorLink(this.getUpsellRef()),l=s.link,r=s.target,c=a?n(2).Lingua.t("You've reached your plan's upload limit."):n(2).Lingua.t("You've almost reached your plan's upload limit."),u=n(2).Lingua.t("[[[linkStart]]]Try Pro Unlimited[[[linkEnd]]] to get unlimited uploads.",{linkStart:'',linkEnd:""});return e.text=c+" "+u,e.onDismiss=function(){return o(i),void n(14).trackV1Click({click_name:"quota-upsell-banner::dismiss"})},e.onInteraction=function(){o(i)},e},getUpsellRef:function(){return this.model.isOverQuota()?"t959":"t958"}}),shouldShowBanner:function(){var e=n(6).get("me");return e.getOrFetch(["quota"]).then((function(){var t,a=n(285).getQuotaInfo(e),s=a.percentageUsed,l=a.isOverQuota;return(s>=90||l)&&function(e){var t,n=null==(t=i.get("quota-upsell-banner"))?void 0:t.percentage,a=n>0;n&&en}(s)&&(t=n(6).get("router").getLayoutInfo(),n(0).contains(["discover","stream","user"],null==t?void 0:t.layoutName))}))}};function o(e){i.set("quota-upsell-banner",{percentage:e})}},function(e,t,n){var i=n(12);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((n(7)||t&&s(t,"$view")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},n(217),{name:"$view",hash:{onInteraction:null!=t?s(t,"onInteraction"):t,onDismiss:null!=t?s(t,"onDismiss"):t,text:null!=t?s(t,"text"):t,kind:"warning"},data:a,loc:{start:{line:1,column:0},end:{line:1,column:102}}}))+"\n"},useData:!0})},function(e,t,n){(function(t){function i(){return(i=Object.assign||function(e){for(var t=1;t-1?(i=e.get("track").id,o="sound"):(i=e.get("playlist").id,o="playlist"),l=a.indexOf("repost")>-1?"repost":"like",n(40)[l](i,o,!0,s);break;case"affiliation":n(40).follow(r,!0,s)}}))},fetchNotification:function(e){var t=n(9).defer(),i=n(471).getNewInstance([],{limit:1,offset:null});return i.baseUrl=n(29).modify(i.baseUrl,{query:{cursor:e}}),i.fetch().always((function(){i.release()})).done((function(){t.resolve(i.at(0))})).fail(t.reject),t},displayActivity:function(e){var t,i=e.get("type"),o=e.get(i.replace(/-.*/,"")),a=e.get("user")||o.user||{},s=a.username,l=o.title,c={title:" ",image:a.avatar_url,url:a.permalink_url.replace(/^https?:\/\/.*?\//,"/")};switch(i){case"track-like":case"favoriting":case"playlist-like":c.text=n(2).Lingua.t("[[username]] liked [[objectTitle]]",{username:s,objectTitle:l});break;case"track-repost":case"playlist-repost":c.text=n(2).Lingua.t("[[username]] reposted [[objectTitle]]",{username:s,objectTitle:l});break;case"comment":c.text=n(2).Lingua.t("[[username]] commented on [[objectTitle]]",{username:s,objectTitle:o.track.title}),c.url=n(29).modify(o.track.permalink_url,{path:n(29).parse(o.track.permalink_url).path+="/comment-"+o.id}).replace(/^https?:\/\/.*?\//,"/");break;case"affiliation":c.text=n(2).Lingua.t("[[username]] followed you",{username:s});break;case"track":c.text=n(2).Lingua.t("[[username]] mentioned you on a track",{username:s});break;case"playlist":c.text=n(2).Lingua.t("[[username]] mentioned you on a playlist",{username:s})}c.text=c.text.substr(0,74)+(c.text.length>75?"…":""),r(c).on("click",(t=c.url,function(e){e.preventDefault(),n(6).get("router").navigate(t,!0)})).addClass("sc-selection-disabled")},displayError:function(e,t){var i,a,s,l,c,u=null==t?void 0:t.action;switch(e){case"action":if(429===(i=t.xhr.status))return;"follow"===u?403===i?a=n(2).Lingua.t("Something went wrong when trying to perform this action."):422===i&&(l="https://help.soundcloud.com/hc/articles/115003446787",c=n(2).Lingua.t("Learn more"),a=n(2).Lingua.t("You have reached the limit of accounts that you can follow.")):"upload_image"===u?a=n(2).Lingua.t("Error uploading image."):"switch_locale"===u&&(a=n(2).Lingua.t("Something went wrong when switching languages. Please try again later.")),u&&!a&&(a=n(2).Lingua.t("Something went wrong when trying to perform this action.")),s=u;break;case"upload":t.type===n(192).ErrorTypes.FILE_SIZE_TOO_SMALL?(a=n(2).Lingua.tp("%d of your files is too small.","%d of your files are too small.",t.count),l=o,c=n(2).Lingua.t("Read about our supported file sizes.")):t.type===n(192).ErrorTypes.FILE_SIZE_TOO_LARGE?(a=n(2).Lingua.tp("%d of your files is too large.","%d of your files are too large.",t.count),l=o,c=n(2).Lingua.t("Read about our supported file sizes.")):t.type===n(192).ErrorTypes.FILE_TYPE_UNSUPPORTED&&(a=n(2).Lingua.tp("%d of your files is not supported.","%d of your files are not supported.",t.count),l=o,c=n(2).Lingua.t("Read about our supported file types.")),s=t.type}a&&r({text:a+(c?' "+c+"":""),class_name:"error "+[e,s].join("-")})}});function a(){var e=n(6).get("router").getLayoutInfo();if("upload"!==(null==e?void 0:e.layoutName)){var t=n(92).getCreatorLink("t957"),i=t.link,o=t.target,a=n(2).Lingua.t('One or more uploads failed because you have exceeded your upload quota. Upgrade to increase your upload time',{link:i,target:o});u("overquota",{text:a,class_name:"error",time:1e4})}}var s=function(e){var t=e.find(".gritter-top")[0],i=e.find(".gritter-close")[0];n(148).render(n(1).createElement(n(27).Close,{size:16}),i),e.hasClass("big-success")&&n(148).render(n(1).createElement(n(27).Success,null),t),e.hasClass("error")&&n(148).render(n(1).createElement(n(27).Error,null),t)},l=function(e){var t=e.find(".gritter-top")[0],i=e.find(".gritter-close")[0];n(148).unmountComponentAtNode(i),(e.hasClass("big-success")||e.hasClass("error"))&&n(148).unmountComponentAtNode(t)};function r(e){var i=n(6).get("features").has("v2_ui_evolution");i&&(e.after_close=l);var o=t.gritter.add(e),a=t("#gritter-item-"+o);i&&s(a);var r=e.imageHref;if(r){var c='';a.find(".gritter-image").wrap(c)}return a}var c,u=(c=Object.create(null),function(e,i){var o=!function(e){return!!c[e]&&t("#gritter-item-"+c[e]).length>0}(e),a=n(6).get("features").has("v2_ui_evolution");o&&(a&&(i.after_close=l),c[e]=t.gritter.add(i));var r=t("#gritter-item-"+c[e]);return a&&s(r),o||function(e,t){var n=t.text,i=t.title;e.find(".gritter-title").html((i||"").toString()),e.find("p").html((n||"").toString())}(r,n(0).pick(i,"text","title")),r});function d(e){return r({text:e,image:n(6).get("me").get("avatar_url"),class_name:"no-title"})}function p(e){var t=e.debounceTime,i=e.groupBy,o=void 0===i?function(){return""}:i,a=e.reducer,s=e.onCreate,l=void 0===s?n(0).noop:s,c=[],u=n(0).debounce((function(){n(0).chain(c).groupBy(o).mapObject(a).map(r).forEach(l),c.length=0}),t);return function(e){c.push(e),u()}}function A(){var e=this.attr("id").replace(/^.*-(\d+)$/,"$1");t.gritter.remove(e)}function m(e){f(e,"like")}function h(e){f(e,"repost")}var g=function(e){return n(25).getRoute("youNetwork",null,e)};function f(e,t){var i,o;if(e.state){var a="repost"===t,s="sound"===e.targetType,l="playlist"===e.targetType,c="system-playlist"===e.targetType,u=null==(i=e.targetModel)||null==i.isAlbum?void 0:i.isAlbum(),d=null==(o=e.targetModel)||null==o.isStation?void 0:o.isStation(),p=a?n(25).getRoute("stream"):s?g("likes"):u?g("albums"):d?g("stations"):l||c?g("sets"):void 0,A=new(n(52))({id:e.target,resource_type:e.targetType});A.release();var m={repost:n(2).Lingua.t("was reposted to [[[linkStart]]]the stream[[[linkEnd]]].",{linkStart:'',linkEnd:""}),save:n(2).Lingua.t('was saved to your Library.',{href:p})};return r({title:X(A.get("title")),text:m[a?"repost":"save"],image:n(53).urlFrom(A.attributes,50),class_name:"oneLine"})}}function _(e){var t=new(n(52))({id:e.target,resource_type:e.targetType}),i=r({title:X(t.get("title")),text:n(2).Lingua.t("caption was added to your repost."),image:n(53).urlFrom(t.attributes,50),class_name:"oneLine"});return t.release(),i}function C(e){return this.displayError("action",i({action:"repost_caption:add"},e))}function b(){r({class_name:"big-success",text:n(2).Lingua.t("Link has been copied to the clipboard!")})}function v(){r({class_name:"error",text:n(2).Lingua.t("Failed to copy the link to the clipboard.")})}function y(e){var t=e.report,i=e.userData,o=i.username;return r({text:t?n(2).Lingua.t("You’ve blocked and reported [[username]] as spam.",{username:o}):n(2).Lingua.t("You’ve blocked [[username]].",{username:o}),image:n(53).urlFrom(i,50),class_name:"no-title"})}var x,w=(x=p({debounceTime:50,groupBy:"playlistId",reducer:function(e){var t=e[0],i=e.slice(1),o=!i.length,a=t.href,s=t.playlistTitle,l=o?n(2).Lingua.t('was added to [[playlistTitle]].',{href:a,playlistTitle:s}):n(2).Lingua.tp('and %d other track were added to [[playlistTitle]].','and %d other tracks were added to [[playlistTitle]].',i.length,{href:a,playlistTitle:s});return{title:t.soundTitle,text:l,image:t.image,class_name:o?"oneLine":""}}}),function(e){if(e.state&&e.target){var t=new(n(52))({id:e.target,resource_type:e.targetType}),i=e.object,o=n(25).getRoute("playlist",t);t.release(),x({playlistId:t.id,soundTitle:X(i.get("title")),playlistTitle:t.get("title"),href:o,image:n(53).urlFrom(i.attributes,50)})}}),k=function(){var e=p({debounceTime:50,reducer:function(e){var t=e[0],i=e.slice(1),o=!i.length,a=o?n(2).Lingua.t('was added to Next up.'):n(2).Lingua.tp('and %d other track were added to Next up.','and %d other tracks were added to Next up.',i.length);return{title:t.soundTitle,text:a,image:t.image,class_name:o?"oneLine":""}},onCreate:function(e){e.get(0).addEventListener("mouseup",(function(e){t(e.target).closest(".gritter-close").length||(e.preventDefault(),n(227).show())}))}});return function(t){t.explicit&&!n(227).isVisible()&&e({soundTitle:X(t.sound.get("title")||""),image:n(53).urlFrom(t.sound.attributes,50)})}}();function B(){return u("no-flash",{title:n(2).Lingua.t("You need Adobe Flash Player to play this track."),text:n(2).Lingua.t('Please install Flash and reload the page.',{href:"http://get.adobe.com/flashplayer"}),sticky:!0,class_name:"error"})}function S(){return u("no-streams",{text:n(2).Lingua.t("This track can’t be played right now. Please try again later."),class_name:"error"})}function T(){var e=u("no-network",{text:n(2).Lingua.t("Your network connection seems to be disabled. Please check and retry."),class_name:"error",sticky:!0});return this.listenToOnce(n(11),"error:audio_connection_recovered",A.bind(e)),e}function P(){return u("audio-problem",{text:n(2).Lingua.t("There was a problem playing this track."),class_name:"error"})}function O(){var e=u("flash-block",{text:n(2).Lingua.t("It looks like you have a Flash blocker enabled. Please disable the Flash blocker to hear this track."),class_name:"error",sticky:!0});this.listenToOnce(n(11),"audio:flash_unblock",A.bind(e))}function D(e){return r({title:"Oops!",text:e||"Something went wrong with that request.",class_name:"error"})}function M(e){return r({text:e,class_name:"error"})}function E(){r({text:n(2).Lingua.t("Unable to save comment."),class_name:"error"})}function I(e){u("geoblocked",{text:n(2).Lingua.t("Sorry, “[[trackTitle]]” is not available in your country.",{trackTitle:e.sound.get("title")}),class_name:"error",time:1e4})}function $(){r({text:n(2).Lingua.t('It looks like you have a browser extension installed to enable downloads for all tracks on SoundCloud. This is discouraged by the community, and we feel it’s up to the creator whether or not their track is available for download. Please switch off this extension to continue using our download feature. For more information about downloads, refer to the help center article.',{link:"https://help.soundcloud.com/hc/articles/115003448787"}),sticky:!0,class_name:"error"})}function L(){return d(n(2).Lingua.t("Your notifications preferences have been updated successfully."))}function U(){return d(n(2).Lingua.t("Your settings have been updated successfully."))}function z(){return d(n(2).Lingua.t("Your profile has been updated successfully."))}function q(e){return d(n(2).Lingua.t("An email to [[email]] was sent.",{email:e}))}function W(e){return r({text:n(2).Lingua.t("Your track has been updated successfully."),image:e.getImageUrl(50),imageHref:n(25).getRoute("listen",e),class_name:"no-title"})}function R(e){return r({text:n(2).Lingua.t("Your monetization request has been submitted and will be reviewed within 24 hours."),class_name:"big-success"})}function N(e){return r({text:n(2).Lingua.t("Your playlist has been updated successfully."),image:n(53).urlFrom(e,50),imageHref:n(25).getRoute("playlist",e),class_name:"no-title"})}function F(e){return r({image:n(53).urlFrom(e,50),text:"playlist"===e.resource_type?n(2).Lingua.t("Your playlist will be deleted shortly."):n(2).Lingua.t("Your track will be deleted shortly."),class_name:"no-title"})}function V(e){var t,i=e.soundSaves[0];if(!i)return null;var o=i.sound.get("title"),a=n(2).Lingua.tp("has been updated","have been updated",e.soundSaves.length);if(1===e.soundSaves.length)t=n(111).usertextOneline(o,{links:!1,maxLength:30});else{var s=e.soundSaves.length-1;t=n(2).Lingua.tp("[[[trackTitle]]] and %d more track","[[[trackTitle]]] and %d more tracks",s,{trackTitle:n(111).usertextOneline(o,{links:!1,maxLength:12})})}return r({title:t,text:a,class_name:"big-success"})}function H(e){(null==e?void 0:e.showSuccessMessage)&&r({text:n(2).Lingua.t("Your message to [[username]] was sent successfully",{username:e.recipient.username}),image:e.recipient.avatar_url,class_name:"no-title"})}function j(e){var t,i=null==(t=e.recipient)?void 0:t.username,o={default:n(2).Lingua.t("Unable to send message. Please retry."),forbidden:n(2).Lingua.t("Unable to send message to this user."),emailnotconfirmed:n(2).Lingua.t('You need to confirm your email address before sending messages. Check email settings.',{href:n(25).getRoute("settings")}),ratelimit:n(2).Lingua.t("Please wait a moment to send your message"),privacy:n(2).Lingua.t("Unable to send message, [[username]] only accepts messages from people that they follow.",{username:i}),receiverdoesntexist:n(2).Lingua.t("You cannot send this message. [[username]] has been deleted.",{username:i})}[e.errorCode];o&&r({text:o,class_name:"error"})}function G(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong. Please try again.")})}function Y(){return d(n(2).Lingua.t("You successfully saved your new payment method."))}function Q(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong. Please try again.")})}function K(){var e=u("trinity-stop",{class_name:"error",text:n(2).Lingua.t("Paused because you started playing on another device."),sticky:!0});return this.listenToOnce(n(11),"audio:play",A.bind(e)),e}function X(e){return n(12).Utils.escapeExpression(e)}function Z(){r({class_name:"error",text:n(2).Lingua.t("Promotional offer unavailable.")})}function J(){r({class_name:"error",text:n(2).Lingua.t("This promotion is available to new SoundCloud Go+ users only.")})}function ee(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong. Please try again.")})}var te={true:n(2).Lingua.t("This playlist is now public."),false:n(2).Lingua.t("This playlist is now private.")};function ne(e){return u("system-playlist:privacy",{title:X(e.get("title")),text:te[e.get("is_public")],image:n(53).urlFrom(e,50),imageHref:n(25).getRoute("systemPlaylist",e),class_name:"oneLine"})}}).call(this,n(17))},function(e,t,n){var i=n(10),o=n(1959);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){"use strict";n.r(t);var i=n(4),o=n.n(i),a=n(5),s=n.n(a),l=n(13),r=n.n(l),c=n(256),u=n.n(c),d=n(851),p=n.n(d),A=n(852),m=n.n(A),h=n(853),g=n.n(h),f=s()(o.a),_=r()(u.a),C=r()(p.a),b=r()(m.a),v=r()(g.a);f.push([e.i,"#gritter-notice-wrapper{position:fixed;top:60px;right:30px;width:301px;z-index:9999}#gritter-notice-wrapper.top-left{left:20px;right:auto}#gritter-notice-wrapper.bottom-right{top:auto;left:auto;bottom:20px;right:20px}#gritter-notice-wrapper.bottom-left{top:auto;right:auto;bottom:20px;left:20px}.gritter-item-wrapper{box-sizing:border-box;position:relative;margin:0 0 10px;width:300px;color:#000;color:var(--font-primary-color);background-color:#f3f3f3;background-color:var(--highlight-color);border-radius:4px;border:1px solid rgba(0,0,0,.15);border:1px solid rgba(var(--primary-rgb),.15);padding:8px;padding:var(--spacing-1x);display:-webkit-flex;display:flex}.sc-classic .gritter-item-wrapper{color:#333;box-shadow:0 0 4px rgba(0,0,0,.2),inset 0 0 2px #fff;background-color:#fff;padding:0;min-height:44px;border:1px solid #ccc}.gritter-item{overflow:hidden;cursor:pointer;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.sc-classic .gritter-item{padding:5px 30px 5px 50px;display:unset}.gritter-item p{margin:0}.oneLine .gritter-item p,.oneLine .gritter-title{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-height:23px}.gritter-title{font-weight:700}.sc-classic .gritter-image,.sc-classic .gritter-top{position:absolute;top:-1px;left:-1px;border-bottom-left-radius:4px;border-top-left-radius:4px}.gritter-image{width:48px;height:48px;border-radius:3px}.sc-classic .gritter-image{width:44px;height:44px;box-shadow:inset 0 0 1px rgba(0,0,0,.4),inset 0 2px 0 hsla(0,0%,100%,.1);border-radius:4px 0 0 4px}.gritter-with-image{margin-left:16px;margin-left:var(--spacing-2x);max-width:200px}.sc-classic .gritter-with-image{margin-left:0}.gritter-image-wrapper{display:block}.gritter-close{display:none;position:absolute;top:8px;top:var(--spacing-1x);right:8px;right:var(--spacing-1x);width:16px;height:16px;font-size:0;cursor:pointer;color:#666;color:var(--secondary-color)}.sc-classic .gritter-close{background:url("+_+") 50% no-repeat;top:0;right:7px;width:15px;height:100%}.sc-classic .error .gritter-top,.sc-classic .gritter-item-wrapper.big-success .gritter-top{width:40px;height:100%;background-position:50%,0 0;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);border:1px solid #cc3914}.gritter-item-wrapper.error{min-height:36px}.error .gritter-item{cursor:default}.error .gritter-item p,.no-title .gritter-item p{max-height:none}.sc-classic .error .gritter-top{background:#ff4d00 url("+C+") 50% no-repeat;background-image:url("+C+"),linear-gradient(#f60,#ff4d00 40%,#f30)}.sc-classic .gritter-item-wrapper.big-success .gritter-top{background:#ff4d00 url("+b+") 50% no-repeat;background-image:url("+b+"),linear-gradient(#f60,#ff4d00 40%,#f30);background-size:26px 26px,auto}body:not(.sc-classic) .error .gritter-top,body:not(.sc-classic) .gritter-item-wrapper.big-success .gritter-top{height:16px;width:16px;margin:2px 8px 0;margin:var(--spacing-0_25x) var(--spacing-1x) 0}body:not(.sc-classic) .big-success .gritter-item,body:not(.sc-classic) .error .gritter-item{margin-left:8px;margin-left:var(--spacing-1x)}body:not(.sc-classic) .gritter-without-image{max-width:224px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:2dppx),(min-resolution:192dpi){.sc-classic .gritter-item-wrapper.big-success .gritter-top{background:#ff4d00 url("+v+") 50% no-repeat;background-image:url("+v+"),linear-gradient(#f60,#ff4d00 40%,#f30);background-size:26px 26px,auto}}@media (max-width:1079px){#gritter-notice-wrapper{right:20px}}","",{version:3,sources:["webpack://./app/views/notifications/bubbles.css"],names:[],mappings:"AAAA,wBAAwB,cAAc,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,YAAY,CAAC,iCAAiC,SAAS,CAAC,UAAU,CAAC,qCAAqC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,UAAU,CAAC,oCAAoC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,sBAAsB,qBAAqB,CAAC,iBAAiB,CAAC,eAAe,CAAC,WAAW,CAAC,UAAU,CAAC,+BAA+B,CAAC,wBAAwB,CAAC,uCAAuC,CAAC,iBAAiB,CAAC,gCAAgC,CAAC,6CAA6C,CAAC,WAAW,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,YAAY,CAAC,kCAAkC,UAAU,CAAC,oDAAoD,CAAC,qBAAqB,CAAC,SAAS,CAAC,eAAe,CAAC,qBAAqB,CAAC,cAAc,eAAe,CAAC,cAAc,CAAC,oBAAoB,CAAC,YAAY,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,0BAA0B,yBAAyB,CAAC,aAAa,CAAC,gBAAgB,QAAQ,CAAC,iDAAiD,aAAa,CAAC,eAAe,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,eAAe,CAAC,eAAe,eAAe,CAAC,oDAAoD,iBAAiB,CAAC,QAAQ,CAAC,SAAS,CAAC,6BAA6B,CAAC,0BAA0B,CAAC,eAAe,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,2BAA2B,UAAU,CAAC,WAAW,CAAC,wEAAwE,CAAC,yBAAyB,CAAC,oBAAoB,gBAAgB,CAAC,6BAA6B,CAAC,eAAe,CAAC,gCAAgC,aAAa,CAAC,uBAAuB,aAAa,CAAC,eAAe,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,4BAA4B,CAAC,2BAA2B,gEAA4D,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,2FAA2F,UAAU,CAAC,WAAW,CAAC,2BAA2B,CAAC,2CAA2C,CAAC,wBAAwB,CAAC,4BAA4B,eAAe,CAAC,qBAAqB,cAAc,CAAC,iDAAiD,eAAe,CAAC,gCAAgC,wEAA4E,CAAC,+FAAmG,CAAC,2DAA2D,wEAA2E,CAAC,+FAAkG,CAAC,8BAA8B,CAAC,+GAA+G,WAAW,CAAC,UAAU,CAAC,gBAAgB,CAAC,+CAA+C,CAAC,4FAA4F,eAAe,CAAC,6BAA6B,CAAC,6CAA6C,eAAe,CAAC,yFAAyF,2DAA2D,wEAA8E,CAAC,+FAAqG,CAAC,8BAA8B,CAAC,CAAC,0BAA0B,wBAAwB,UAAU,CAAC",sourcesContent:["#gritter-notice-wrapper{position:fixed;top:60px;right:30px;width:301px;z-index:9999}#gritter-notice-wrapper.top-left{left:20px;right:auto}#gritter-notice-wrapper.bottom-right{top:auto;left:auto;bottom:20px;right:20px}#gritter-notice-wrapper.bottom-left{top:auto;right:auto;bottom:20px;left:20px}.gritter-item-wrapper{box-sizing:border-box;position:relative;margin:0 0 10px;width:300px;color:#000;color:var(--font-primary-color);background-color:#f3f3f3;background-color:var(--highlight-color);border-radius:4px;border:1px solid rgba(0,0,0,.15);border:1px solid rgba(var(--primary-rgb),.15);padding:8px;padding:var(--spacing-1x);display:-webkit-flex;display:flex}.sc-classic .gritter-item-wrapper{color:#333;box-shadow:0 0 4px rgba(0,0,0,.2),inset 0 0 2px #fff;background-color:#fff;padding:0;min-height:44px;border:1px solid #ccc}.gritter-item{overflow:hidden;cursor:pointer;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center}.sc-classic .gritter-item{padding:5px 30px 5px 50px;display:unset}.gritter-item p{margin:0}.oneLine .gritter-item p,.oneLine .gritter-title{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-height:23px}.gritter-title{font-weight:700}.sc-classic .gritter-image,.sc-classic .gritter-top{position:absolute;top:-1px;left:-1px;border-bottom-left-radius:4px;border-top-left-radius:4px}.gritter-image{width:48px;height:48px;border-radius:3px}.sc-classic .gritter-image{width:44px;height:44px;box-shadow:inset 0 0 1px rgba(0,0,0,.4),inset 0 2px 0 hsla(0,0%,100%,.1);border-radius:4px 0 0 4px}.gritter-with-image{margin-left:16px;margin-left:var(--spacing-2x);max-width:200px}.sc-classic .gritter-with-image{margin-left:0}.gritter-image-wrapper{display:block}.gritter-close{display:none;position:absolute;top:8px;top:var(--spacing-1x);right:8px;right:var(--spacing-1x);width:16px;height:16px;font-size:0;cursor:pointer;color:#666;color:var(--secondary-color)}.sc-classic .gritter-close{background:url(~assets/images/close-light.png) 50% no-repeat;top:0;right:7px;width:15px;height:100%}.sc-classic .error .gritter-top,.sc-classic .gritter-item-wrapper.big-success .gritter-top{width:40px;height:100%;background-position:50%,0 0;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);border:1px solid #cc3914}.gritter-item-wrapper.error{min-height:36px}.error .gritter-item{cursor:default}.error .gritter-item p,.no-title .gritter-item p{max-height:none}.sc-classic .error .gritter-top{background:#ff4d00 url(~assets/images/notifications/error.png) 50% no-repeat;background-image:url(~assets/images/notifications/error.png),linear-gradient(#f60,#ff4d00 40%,#f30)}.sc-classic .gritter-item-wrapper.big-success .gritter-top{background:#ff4d00 url(~assets/images/notifications/good.png) 50% no-repeat;background-image:url(~assets/images/notifications/good.png),linear-gradient(#f60,#ff4d00 40%,#f30);background-size:26px 26px,auto}body:not(.sc-classic) .error .gritter-top,body:not(.sc-classic) .gritter-item-wrapper.big-success .gritter-top{height:16px;width:16px;margin:2px 8px 0;margin:var(--spacing-0_25x) var(--spacing-1x) 0}body:not(.sc-classic) .big-success .gritter-item,body:not(.sc-classic) .error .gritter-item{margin-left:8px;margin-left:var(--spacing-1x)}body:not(.sc-classic) .gritter-without-image{max-width:224px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:2dppx),(min-resolution:192dpi){.sc-classic .gritter-item-wrapper.big-success .gritter-top{background:#ff4d00 url(~assets/images/notifications/good@2x.png) 50% no-repeat;background-image:url(~assets/images/notifications/good@2x.png),linear-gradient(#f60,#ff4d00 40%,#f30);background-size:26px 26px,auto}}@media (max-width:1079px){#gritter-notice-wrapper{right:20px}}"],sourceRoot:""}]),t.default=f},function(e,t,n){e.exports=n(8).extend(n(42).withOptions("playControls"),{template:n(1961),css:n(2188),className:"playControls g-z-index-control-bar",states:{visible:"m-visible",volumeInactive:"m-volumeInactive",queueVisible:"m-queueVisible",googleCastActive:function(e){this.$el.toggleClass("m-googleCastActive",e),this.subviews.timeline&&this.subviews.timeline.recalculateWidth()}},setup:function(){this.listenToOnce(n(11),"audio:play",o).listenTo(n(11),"queue:toggle",a).listenToOnce(n(68),n(88).CHANGE_CURRENT_AD_SOUND,i).listenTo(this,"state:visible",(function(e){return n(11).trigger("playControls:visible",e)}));var e=n(16).getQueue();this.toggleState("visible",e.length>0),this.listenToOnce(e,"add reset",s)},getTemplateData:function(e){e.showVolume=!n(71).ios,e.showQualityIndicator=n(6).get("features").has("show_quality")||n(6).get("features").has("internal_qa")},renderDecorate:function(){var e=this;n(132).getInstance().then((function(t){t.isAvailable()&&e.toggleState("googleCastActive",!0),e.listenTo(n(11),"googleCast:available",(function(){e.toggleState("googleCastActive",!0)})),e.listenTo(n(11),"googleCast:unavailable",(function(){e.toggleState("googleCastActive",!1)}))}))}});function i(){this.toggleState("visible",!0)}function o(){this.toggleState("visible",!0)}function a(e){this.toggleState("queueVisible",e)}function s(){this.toggleState("visible",!0)}},function(e,t,n){var i=n(12);e.exports=(i.default||i).template({1:function(e,t,i,o,a){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+c((n(3)||t&&u(t,"$t")||r).call(l,"Use shift and the arrow up and down keys to change the volume.",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:54},end:{line:8,column:125}}}))+'
\n '+c((n(3)||t&&u(t,"$t")||r).call(l,"Looking for more tracks?",{name:"$t",hash:{},data:a,loc:{start:{line:47,column:6},end:{line:47,column:39}}}))+"\n"+(null!=(s=u(i,"if").call(l,null!=t?u(t,"areAllSoundsMine"):t,{name:"if",hash:{},fn:e.program(6,a,0),inverse:e.program(8,a,0),data:a,loc:{start:{line:48,column:6},end:{line:52,column:13}}}))?s:"")+"
\n\n "+c((n(7)||t&&u(t,"$view")||r).call(l,n(2128),{name:"$view",hash:{field:"sounds",resource_id:null!=t?u(t,"_resource_id"):t,Form:n(204)},data:a,loc:{start:{line:55,column:4},end:{line:59,column:6}}}))+"\n \n"},6:function(e,t,i,o,a){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Add some of your own.",{name:"$t",hash:{},data:a,loc:{start:{line:49,column:8},end:{line:49,column:38}}}))+"\n"},8:function(e,t,i,o,a){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Add some from your likes.",{name:"$t",hash:{},data:a,loc:{start:{line:51,column:8},end:{line:51,column:42}}}))+"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n'+(null!=(s=r(i,"if").call(l,null!=t?r(t,"playlist"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(3,a,0),data:a,loc:{start:{line:2,column:2},end:{line:35,column:9}}}))?s:"")+" "+e.escapeExpression((n(7)||t&&r(t,"$view")||e.hooks.helperMissing).call(l,n(2135),{name:"$view",hash:{isSaved:null!=t?r(t,"isSaved"):t,field:"sounds",resource_id:null!=t?r(t,"_resource_id"):t,Form:n(204)},data:a,loc:{start:{line:36,column:2},end:{line:41,column:4}}}))+"\n\n\n"+(null!=(s=r(i,"if").call(l,null!=t?r(t,"showSuggestions"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.noop,data:a,loc:{start:{line:44,column:0},end:{line:61,column:7}}}))?s:"")},useData:!0})},function(e,t,n){var i=n(12);e.exports=(i.default||i).template({1:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n"},2:function(e,t,i,o,a){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Never have to delete a track again. Unlock limitless upload time and the ability to replace tracks with a Pro plan.",{name:"$t",hash:{},data:a,loc:{start:{line:21,column:12},end:{line:21,column:136}}}))+"\n"},4:function(e,t,i,o,a){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Never have to delete a track again. Unlock limitless upload time with a Pro Unlimited plan.",{name:"$t",hash:{},data:a,loc:{start:{line:24,column:12},end:{line:24,column:112}}}))+"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n '+c((n(7)||t&&u(t,"$view")||r).call(l,n(407),{name:"$view",hash:{hide_genre:!0,hide_actions:!0,resource_type:null!=t?u(t,"_resource_type"):t,resource_id:null!=t?u(t,"_resource_id"):t},data:a,loc:{start:{line:2,column:2},end:{line:2,column:119}}}))+'\n\n\n\n
'+c((n(3)||t&&u(t,"$t")||r).call(l,"Permanently delete this track?",{name:"$t",hash:{},data:a,loc:{start:{line:6,column:40},end:{line:6,column:79}}}))+'
\n\n
\n
\n
'+c((n(3)||t&&u(t,"$t")||r).call(l,"Removing this track is irreversible. You will lose all the plays, likes and comments for this track with no way to get them back.",{name:"$t",hash:{},data:a,loc:{start:{line:10,column:46},end:{line:10,column:184}}}))+'
'+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"This playlist has no tracks yet",{name:"$t",hash:{},data:a,loc:{start:{line:3,column:65},end:{line:3,column:105}}}))+"
\n '+r((n(3)||t&&c(t,"$t")||l).call(s,"Anyone will be able to find and view this playlist.",{name:"$t",hash:{},data:a,loc:{start:{line:5,column:6},end:{line:5,column:66}}}))+'\n
\n
\n
'+r((n(3)||t&&c(t,"$t")||l).call(s,"Share a public link",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:57},end:{line:8,column:85}}}))+"
'+r((n(3)||t&&c(t,"$t")||l).call(s,"This [[audibleType]] is set to private and can only be shared using the secret link above. You can reset the secret link if you want to revoke access.",{name:"$t",hash:{audibleType:null!=t?c(t,"audibleType"):t},data:a,loc:{start:{line:6,column:57},end:{line:6,column:244}}}))+'
\n
'+r((n(3)||t&&c(t,"$t")||l).call(s,"Are you sure you want to reset this link? It will not be possible to access this [[audibleType]] from any existing shares.",{name:"$t",hash:{audibleType:null!=t?c(t,"audibleType"):t},data:a,loc:{start:{line:7,column:88},end:{line:7,column:248}}}))+'
\n
'+r((n(3)||t&&c(t,"$t")||l).call(s,"There was a problem resetting the link. Please try again later.",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:74},end:{line:8,column:146}}}))+'
\n
\n \n
\n \n \n
\n
\n
'+r((n(3)||t&&c(t,"$t")||l).call(s,"The secret link has been successfully reset.",{name:"$t",hash:{},data:a,loc:{start:{line:16,column:40},end:{line:16,column:93}}}))+"
\n\n"},useData:!0})},function(e,t,n){var i=n(10),o=n(2096);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){"use strict";n.r(t);var i=n(4),o=n.n(i),a=n(5),s=n.n(a)()(o.a);s.push([e.i,".privateShare__link{margin-bottom:16px}.sc-classic .privateShare__hint{margin-bottom:15px}.privateShare__hint{margin-bottom:16px;margin-bottom:var(--spacing-2x)}.privateShare.confirmation .privateShare__hintHint,.privateShare.confirmation .privateShare__reset,.privateShare.successful .privateShare__buttons,.privateShare.successful .privateShare__hintHint,.privateShare__confirmButtons,.privateShare__confirmHint,.privateShare__failed,.privateShare__successful{display:none}.privateShare.confirmation .privateShare__confirmButtons,.privateShare.confirmation .privateShare__confirmHint,.privateShare.failed .privateShare__failed,.privateShare.successful .privateShare__successful{display:block}","",{version:3,sources:["webpack://./app/views/share/private-share.css"],names:[],mappings:"AAAA,oBAAoB,kBAAkB,CAAC,gCAAgC,kBAAkB,CAAC,oBAAoB,kBAAkB,CAAC,+BAA+B,CAAC,6SAA6S,YAAY,CAAC,6MAA6M,aAAa",sourcesContent:[".privateShare__link{margin-bottom:16px}.sc-classic .privateShare__hint{margin-bottom:15px}.privateShare__hint{margin-bottom:16px;margin-bottom:var(--spacing-2x)}.privateShare.confirmation .privateShare__hintHint,.privateShare.confirmation .privateShare__reset,.privateShare.successful .privateShare__buttons,.privateShare.successful .privateShare__hintHint,.privateShare__confirmButtons,.privateShare__confirmHint,.privateShare__failed,.privateShare__successful{display:none}.privateShare.confirmation .privateShare__confirmButtons,.privateShare.confirmation .privateShare__confirmHint,.privateShare.failed .privateShare__failed,.privateShare.successful .privateShare__successful{display:block}"],sourceRoot:""}]),t.default=s},function(e,t,n){e.exports=n(8).extend(n(121),{template:n(2098),css:n(2099),className:"publicShare",defaults:{share_type:null}})},function(e,t,n){var i=n(12);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n '+c((n(7)||t&&u(t,"$view")||r).call(l,n(587),{name:"$view",hash:{share_type:null!=(s=null!=t?u(t,"_options"):t)?u(s,"share_type"):s,resource_type:null!=t?u(t,"_resource_type"):t,resource_id:null!=t?u(t,"_resource_id"):t,className:"publicShare__socialButtons"},data:a,loc:{start:{line:2,column:2},end:{line:7,column:4}}}))+"\n "+c((n(7)||t&&u(t,"$view")||r).call(l,n(435),{name:"$view",hash:{share_type:null!=(s=null!=t?u(t,"_options"):t)?u(s,"share_type"):s,resource_type:null!=t?u(t,"_resource_type"):t,resource_id:null!=t?u(t,"_resource_id"):t,className:"publicShare__link sc-pt-2x"},data:a,loc:{start:{line:8,column:2},end:{line:13,column:4}}}))+"\n\n"},useData:!0})},function(e,t,n){var i=n(10),o=n(2100);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){"use strict";n.r(t);var i=n(4),o=n.n(i),a=n(5),s=n.n(a)()(o.a);s.push([e.i,".sc-classic .publicShare__link{padding-top:15px}","",{version:3,sources:["webpack://./app/views/share/public-share.css"],names:[],mappings:"AAAA,+BAA+B,gBAAgB",sourcesContent:[".sc-classic .publicShare__link{padding-top:15px}"],sourceRoot:""}]),t.default=s},function(e,t,n){(function(t){var i=new(n(69))("widget-preferences");e.exports=n(8).extend(n(121),n(116),{template:n(2102),css:n(2116),className:"embedPanel",requiredAttributes:{sound:["user","sharing"],playlist:["user","sharing"]},element2selector:{tabLinks:".embedPanel__tabLink"},events:{"click .embedPanel__tabLink":function(e){var n=t(e.currentTarget).data("type");e.preventDefault(),i.set("active-tab",n),o.call(this,n)}},defaults:{share_type:null,dialogType:"genericProUpsell",dialogSelector:".embedPanel__upsellTabLink"},dialogArgs:function(){var e=this.options.dialogSelector;return{togglerEl:this.$(e),subviewArgs:{text:n(2).Lingua.t("Keep it simple with our mini player available with Pro or Pro Unlimited."),buttonText:n(2).Lingua.t("Try Pro"),tcode:"t230"}}},getTemplateData:function(e){var t=this.isSound,i=n(6).get("features").has("widgets");return e.showMiniWidget=t&&i,e.showUpsell=t&&!i,e},renderDecorate:function(){var e=i.get("active-tab");"html5_mini"!==e||this.isSound||(e="visual"),e&&this.subviews.html5&&(this.subviews.html5.setWidgetType(e),o.call(this,e))}});function o(e){this.getElement("tabLinks").removeClass("active"),this.$("[data-type="+e+"]").addClass("active"),this.subviews.html5&&this.subviews.html5.setWidgetType(e)}}).call(this,n(17))},function(e,t,n){var i=n(12);e.exports=(i.default||i).template({1:function(e,t,i,o,a){var s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n '+e.escapeExpression((n(96)||t&&r(t,"$a11y")||l).call(s,{name:"$a11y",hash:{screenreader:(n(3)||t&&r(t,"$t")||l).call(s,"Mini Embed",{name:"$t",hash:{},data:a,loc:{start:{line:18,column:31},end:{line:18,column:48}}})},data:a,loc:{start:{line:18,column:10},end:{line:18,column:50}}}))+"\n \n"},3:function(e,t,n,i,o){var a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"showUpsell"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:20,column:6},end:{line:22,column:6}}}))?a:""},4:function(e,t,n,i,o){return' \n '},compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+c((n(3)||t&&u(t,"$t")||r).call(l,"Customize your player",{name:"$t",hash:{},data:a,loc:{start:{line:1,column:30},end:{line:1,column:60}}}))+'
\n"},useData:!0})},function(e,t,n){(function(t){var i=new(n(69))("widget-preferences"),o={color:"#ff5500",inverse:!1,auto_play:!1,hide_related:!1,show_comments:!0,show_user:!0,show_reposts:!1,show_teaser:!0,height:300},a=["300","450","600"],s=[{type:"light",text:n(2).Lingua.t("light")},{type:"dark",text:n(2).Lingua.t("dark")}],l=["visual","html5","html5_mini"];e.exports=n(8).extend(n(49).withOptions({names:["v2_ui_evolution"]}),n(121),n(116),{template:n(2104),css:n(2114),className:"widgetCustomization",element2selector:{options:".widgetCustomization__option",players:".widgetCustomization__player",playerContainer:".widgetCustomization__players","visual-player":'[data-sc-player-type="visual"]',"html5-player":'[data-sc-player-type="html5"]',"html5_mini-player":'[data-sc-player-type="html5_mini"]',"widget-code-input":".widgetCustomization__widgetCode"},events:{'click input[type="text"]':function(e){t(e.target).select()},"change .widgetCustomization__backgroundStyle":function(e){this.inverseWidgetColor(e.target.value)},"change .widgetCustomization__height":function(e){this.widgetParams.height=e.target.value,i.set("height",this.widgetParams.height),this.setDirty(!0),this.insertIframe()},"copy .widgetCustomization__widgetCode":function(){this.logCopyOnce()}},bubbleEvents:{"checkbox:change":function(e){var t=e.data,n=t.name;this.widgetParams[n]=t.checked,"auto_play"!==n&&this.setDirty(!0);"hide_related"===n&&(this.widgetParams[n]=!t.checked);i.set(n,this.widgetParams[n]),this.insertIframe()},"color:change":function(e){var t=e.data;this.widgetParams.color=t,i.set("color",t),this.setDirty(!0),this.insertIframe()}},defaults:{type:"visual",share_type:null,dialogType:"genericProUpsell",dialogSelector:".widgetCustomization__upsell .widgetCustomization__checkbox"},dialogArgs:function(){var e=this.options.dialogSelector;return{togglerEl:this.$(e),subviewArgs:{text:n(2).Lingua.t("Unlock more control with Pro Unlimited."),buttonText:n(2).Lingua.t("Try Pro Unlimited"),tcode:"t230"}}},setup:function(e){this.widgetType=e.type,this.isDirty={},l.forEach((function(e){this.isDirty[e]=!0}),this);var t=Object.keys(o).reduce((function(e,t){var o,a=i.get(t);return void 0!==a?n(0).assign(e,((o={})[t]=a,o)):e}),{});this.widgetParams=n(0).assign({},o,t),this.$el.addClass("type-"+e.resource_type),this.insertIframe=n(0).debounce(r,500)},setWidgetType:function(e){this.widgetType=e,this.togglePlayer(),this.toggleOptions(),this.insertIframe()},getTemplateData:function(e){var t=this;return e.heights=a.map((function(e){return{height:e,active:e===t.widgetParams.height,displayValue:e+"px"}})),e.backgrounds=s.map((function(e){return n(0).assign({},e,{active:t.widgetParams.inverse?"dark"===e.type:"light"===e.type})})),e.showUpsell=!n(6).get("features").has("widget_options"),e.disableExtraOptions=e.showUpsell,e.isUserWidget=this.isUser,e.isSoundWidget="sound"===this.options.resource_type,e.isPlaylistWidget="playlist"===this.options.resource_type,e.widgetParams=this.widgetParams,e.showRecommendations=!this.widgetParams.hide_related,e.showTeaser=this.widgetParams.show_teaser,e.artworkUrl=n(308).urlFrom(this.model,null,null,!0),e.cookieCopy=n(2).Lingua.t("This player uses cookies in accordance with our [[[linkStart]]]Cookies policy[[[linkEnd]]]. We may collect usage data for analytics purposes. It is your responsibility to disclose this to visitors of any site where you embed the player.",{linkStart:'',linkEnd:""}),e.uiEvoEnabled=this.hasFeature("v2_ui_evolution"),e},renderDecorate:function(){var e=this;this.togglePlayer(),this.toggleOptions(),this.insertIframe(),n(757).makeReadOnly(this.getElement("widget-code-input")),this.logCopyOnce=n(0).once((function(){n(14).trackShareClick({click_target:c(e.widgetType),context:{scope:[e.widgetType]}})}))},setDirty:function(e){e?n(0).each(this.isDirty,(function(e,t,n){n[t]=!0})):this.isDirty[this.widgetType]=!1},togglePlayer:function(){var e=this.widgetType;this.getElement("players").toggleClass("sc-hidden",!0),this.getElement(e+"-player").toggleClass("sc-hidden",!1),this.getElement("playerContainer").removeClass(l.join(" ")).addClass(e)},toggleOptions:function(){this.getElement("options").toggleClass("sc-hidden",!0).filter('[data-sc-available~="'+this.widgetType+'"]').toggleClass("sc-hidden",!1)},inverseWidgetColor:function(e){var t="dark"===e;this.widgetParams.inverse=t,i.set("inverse",t),this.setDirty(!0),this.insertIframe()}});function r(){if(!this.disposed){var e=this.model.getShareAttributes({type:this.options.share_type}),i=this.widgetType,o=this.widgetParams,a="visual"===i?o.height:void 0,s=this.getElement("widget-code-input"),l=this.getElement("html5_mini-player"),r={type:i,params:o,height:a},c=n(0).assign({},r);c.params=n(0).assign({},r.params,{auto_play:!1});var u=n(759)(e,r),d=t(n(759)(e,n(0).assign({},c)));this.isDirty[i]&&(this.getElement(i+"-player").html(d),this.setDirty(!1),"html5_mini"===i&&(l.removeClass("miniLoaded sc-background-darkgrey sc-background-light"),d.one("load",(function(){l.addClass("miniLoaded"),l.toggleClass("sc-background-darkgrey",o.inverse),l.toggleClass("sc-background-light",!o.inverse)})))),s.val(u)}}function c(e){switch(e){case"visual":return"visual_embed";case"html5":return"html5_embed";case"html5_mini":return"html5_mini_embed"}}}).call(this,n(17))},function(e,t,n){var i=n(12);e.exports=(i.default||i).template({1:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n"},3:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+u((n(3)||t&&d(t,"$t")||c).call(r,"Code",{name:"$t",hash:{_comment:"A code for the SoundCloud embed that you can share"},data:a,loc:{start:{line:1,column:49},end:{line:1,column:124}}}))+'
'+u((n(3)||t&&d(t,"$t")||c).call(r,"Options",{name:"$t",hash:{_comment:"Options for configuring the SoundCloud embed"},data:a,loc:{start:{line:7,column:58},end:{line:7,column:130}}}))+'
\n \n\n \n \x3c!-- The color picker library will automatically set the background color of an element in its container, so we add a hidden one since we do not need that behaviour --\x3e\n \n
\n '+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Report track for",{name:"$t",hash:{_comment:'This is a phrase that gets completed by other words like "Report track for Private violation"'},data:a,loc:{start:{line:3,column:4},end:{line:3,column:136}}}))+'\n
\n"},7:function(e,t,n,i,o){return' Reported tracks are reviewed by a specialist team who take action if the content violates our\n Guidelines\n or Terms. Repeated violation or serious breaches can result\n in the permanent deletion of accounts.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(s=c(i,"if").call(l,null!=(s=null!=t?c(t,"_options"):t)?c(s,"standalone"):s,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:0},end:{line:6,column:7}}}))?s:"")+"\n"+(null!=(s=c(i,"if").call(l,null!=t?c(t,"ownsTrack"):t,{name:"if",hash:{},fn:e.program(3,a,0),inverse:e.program(5,a,0),data:a,loc:{start:{line:8,column:0},end:{line:23,column:7}}}))?s:"")+'\n
\n '+c((n(7)||t&&u(t,"$view")||r).call(l,n(579),{name:"$view",hash:{title:(n(3)||t&&u(t,"$t")||r).call(l,"What do you want to report?",{name:"$t",hash:{},data:a,loc:{start:{line:11,column:10},end:{line:11,column:44}}}),direction:"vertical",selectedValue:null!=t?u(t,"initialValue"):t,radioButtons:null!=t?u(t,"radioButtons"):t,name:"report-type"},data:a,loc:{start:{line:6,column:2},end:{line:12,column:4}}}))+'\n
\n\n
\n
'+c((n(3)||t&&u(t,"$t")||r).call(l,"Reason for this report",{name:"$t",hash:{},data:a,loc:{start:{line:16,column:80},end:{line:16,column:111}}}))+'
\n '+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Report caption for",{name:"$t",hash:{_comment:'This is a phrase that gets completed by other words like "Report caption for Private violation"'},data:a,loc:{start:{line:3,column:4},end:{line:3,column:140}}}))+'\n
\n \n'},3:function(e,t,n,i,o){return' Reported captions are reviewed by a specialist team who take action if the content violates our\n Guidelines\n or Terms. Repeated violation or serious breaches can result\n in the permanent deletion of accounts.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(s=u(i,"if").call(l,null!=(s=null!=t?u(t,"_options"):t)?u(s,"standalone"):s,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:0},end:{line:6,column:7}}}))?s:"")+'\n
\n '+r((n(3)||t&&c(t,"$t")||l).call(s,"Hear related tracks based on what’s playing now.",{name:"$t",hash:{_comment:"Instead of a space, put ' ' between the last two words"},data:a,loc:{start:{line:8,column:8},end:{line:8,column:141}}}))+'\n
\n '+r((n(3)||t&&c(t,"$t")||l).call(s,"Casting to [[[castDeviceName]]]",{name:"$t",hash:{castDeviceName:null!=t?c(t,"castDeviceName"):t},data:a,loc:{start:{line:23,column:8},end:{line:23,column:78}}}))+'\n
\n
\n '+r((n(3)||t&&c(t,"$t")||l).call(s,"Hear related tracks based on what’s playing now.",{name:"$t",hash:{_comment:"Instead of a space, put ' ' between the last two words"},data:a,loc:{start:{line:26,column:8},end:{line:26,column:141}}}))+"\n
\n"},useData:!0})},function(e,t,n){var i=n(10),o=n(2212);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1},s=(i(o,a),o.locals?o.locals:{});e.exports=s},function(e,t,n){"use strict";n.r(t);var i=n(4),o=n.n(i),a=n(5),s=n.n(a)()(o.a);s.push([e.i,".confirmationModal__buttons{float:right}","",{version:3,sources:["webpack://./app/views/modals/confirmation.css"],names:[],mappings:"AAAA,4BAA4B,WAAW",sourcesContent:[".confirmationModal__buttons{float:right}"],sourceRoot:""}]),t.default=s},,function(e,t,n){e.exports=n(8).extend({template:n(2215),className:"deniedSignup"})},function(e,t,n){var i=n(12);e.exports=(i.default||i).template({1:function(e,t,n,i,o){return' Our robots think this signup looks too much like spam. If you believe this to be a mistake, refer to the help center article.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,i,o,a){var s,l=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+e.escapeExpression((n(3)||t&&c(t,"$t")||r).call(l,"We couldn’t sign you up",{name:"$t",hash:{},data:a,loc:{start:{line:1,column:29},end:{line:1,column:61}}}))+'
\n"},2:function(e,t,n,i,o){return' If your account is performing many more actions when compared to most others, it loses the human touch. You can\n find out more about this policy in our help center.\n'},4:function(e,t,n,i,o){return' Remember that there is a fine line between promoting yourself and bombarding other users with notifications. We\n want our community to remain a genuine, positive place for members to interact, so remember to stick to our\n Community Guidelines.\n'},6:function(e,t,i,o,a){var s,l,r,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]},p="
\n"},7:function(e,t,n,i,o){return" As mentioned in our Terms of use, a high volume of similar actions from an account in a short period of time will\n be considered a violation of our anti-spam policies. As these actions aim to unfairly boost popularity within the\n community, they are forbidden on our platform.\n"},9:function(e,t,n,i,o){return' If you want some tips on how to better promote yourself, and get heard, refer to the page about\n community building.\n If you have been blocked and want to understand more, refer to the page\n What have I been blocked for?.\n'},11:function(e,t,i,o,a){var s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n "+c("function"==typeof(s=null!=(s=u(i,"unblock_msg")||(null!=t?u(t,"unblock_msg"):t))?s:r)?s.call(l,{name:"unblock_msg",hash:{},data:a,loc:{start:{line:45,column:4},end:{line:45,column:19}}}):s)+"\n "+c((n(3)||t&&u(t,"$t")||r).call(l,"The more you hit these limits, the longer the block will last.",{name:"$t",hash:{},data:a,loc:{start:{line:46,column:4},end:{line:46,column:75}}}))+"\n
\n
"+c((n(3)||t&&u(t,"$t")||r).call(l,"We appreciate your understanding.",{name:"$t",hash:{},data:a,loc:{start:{line:48,column:5},end:{line:48,column:47}}}))+"
"+r((n(3)||t&&c(t,"$t")||l).call(s,"Only users [[requiredAge]] years and older are allowed to follow this profile.",{name:"$t",hash:{requiredAge:null!=t?c(t,"requiredAge"):t},data:a,loc:{start:{line:3,column:5},end:{line:3,column:116}}}))+'
'+r((n(3)||t&&c(t,"$t")||l).call(s,"Please verify your age",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:31},end:{line:8,column:62}}}))+"
\n\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,'[[username]] has determined that some of its content may be inappropriate for users under a certain age. To follow this profile, please confirm you’re of the required age.',{name:"$t",hash:{username:null!=t?c(t,"followeeUsername"):t},data:a,loc:{start:{line:10,column:5},end:{line:10,column:269}}}))+"
\n\n
"+r((n(3)||t&&c(t,"$t")||l).call(s,"This information will be saved on your profile.",{name:"$t",hash:{},data:a,loc:{start:{line:12,column:5},end:{line:12,column:61}}}))+'
'+c((n(3)||t&&u(t,"$t")||r).call(l,"Hear more – sign up for SoundCloud",{name:"$t",hash:{},data:a,loc:{start:{line:19,column:7},end:{line:19,column:56}}}))+"
\n
\n
"+c((n(3)||t&&u(t,"$t")||r).call(l,"Save and share this and other favorites",{name:"$t",hash:{},data:a,loc:{start:{line:21,column:10},end:{line:21,column:58}}}))+"
\n
"+c((n(3)||t&&u(t,"$t")||r).call(l,"Create and share playlists",{name:"$t",hash:{},data:a,loc:{start:{line:22,column:10},end:{line:22,column:45}}}))+"
\n
"+c((n(3)||t&&u(t,"$t")||r).call(l,"Be the first to hear what [[username]] posts next",{name:"$t",hash:{username:null!=(s=null!=t?u(t,"user"):t)?u(s,"username"):s},data:a,loc:{start:{line:23,column:10},end:{line:23,column:91}}}))+'
\n '+c((n(3)||t&&u(t,"$t")||r).call(l,"[[count]] plays in total",{name:"$t",hash:{count:(n(317)||t&&u(t,"$formatStatNumber")||r).call(l,null!=t?u(t,"total"):t,{name:"$formatStatNumber",hash:{},data:a,loc:{start:{line:13,column:57},end:{line:13,column:82}}})},data:a,loc:{start:{line:13,column:2},end:{line:13,column:84}}}))+"\n
\n '+e.escapeExpression((n(3)||t&&s(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Your plan has an upload limit of 3 hours or 15 tracks, whichever comes first.",{name:"$t",hash:{},data:a,loc:{start:{line:14,column:12},end:{line:14,column:98}}}))+"\n