PageSourceSearch

https://certifiedmixtapez.com/js/manage.js

js certifiedmixtapez.com collected 2026-10-02 12:05:08 UTC 3,610 bytes, 1 lines download raw bytes

1Manage=function(){function t(t){var i=this,r=t.KeyWords?t.KeyWords.split(","):"",u=new n(t);return i={id:ko.observable(t.id),refId:ko.observable(t.refId),title:ko.observable(t.title),artist:ko.observable(t.artists),genre:ko.observable(t.genre),tags:ko.observableArray([]),djName:ko.observable(t.djName),description:ko.observable(t.description),coverImageUrl:ko.observable(t.coverImageUrl),keyWords:ko.observable(t.keyWords),totalDownloads:ko.observable(t.totalDownloads),affiliateLink:ko.observable(t.affiliateLink),twitterLink:ko.observable(t.twitterLink),instagramLink:ko.observable(t.instagramLink),recordLabel:ko.observable(t.recordLabel),totalViews:ko.observable(t.totalViews),currentTracks:ko.observableArray(u.tracks()),approved:ko.observable(albumStatus(t.albumStatus)),editVisible:ko.observable(!1)},i.editDetails=function(n){i.editVisible(n)},i.saveDetails=function(){i.editVisible(!1);toastr.info("","Saving...");var n={Id:i.id(),Artists:i.artist(),DJName:i.djName(),Title:i.title(),Description:i.description(),AffiliateLink:i.affiliateLink(),TwitterLink:i.twitterLink(),InstagramLink:i.instagramLink(),RecordLabel:i.recordLabel(),Genre:i.genre(),Tags:i.tags(),KeyWords:i.keyWords()},t={url:urls().saveMixtapeChanges,type:"POST",data:n};http(t,function(){toastr.success("","Changes Saved");i.approved(!0)})},i.approve=function(){var n={url:urls().approveUnapproveAlbum,type:"POST",data:{albumId:i.refId(),approved:!0}};http(n,function(){toastr.success("","Approved");i.approved(!0)})},i.unapprove=function(){var n={url:urls().approveUnapproveAlbum,type:"POST",data:{albumId:i.refId(),approved:!1}};http(n,function(){toastr.info("","Unapproved");i.approved(!1)})},$.each(r,function(n,t){i.tags.push(t)}),i.deleteMixtape=function(){if(confirm("Are you sure?")){var n={url:urls().deleteMixtape,type:"POST",data:{albumId:i.refId()}};toastr.info("Deleting Mixtape","Please Wait...");http(n,function(n){toastr.success("Mixtape Successfully Deleted","Deleted Mixtape");var t=window.location.origin;window.location.replace(t+n.newUrl)})}},i}function n(n){var t={tracks:ko.observableArray([])};return $.each(n.tracks,function(n,i){t.tracks.push({id:i.id,refId:i.trackRefId,artist:i.artists,title:ko.observable(i.trackTitle),order:i.order,editVisible:ko.observable(!1)})}),t}function i(t){var i=this,r=new n(t);return i={refId:ko.observable(t.albumRefId),tracks:ko.observableArray(r.tracks()),editVisible:ko.observable(!1)},i.edit=function(n){n.editVisible(!0)},i.saveTrackName=function(n){toastr.info("","Saving");var t={TrackTitle:n.title(),RefId:i.refId(),Id:n.id},r={url:urls().saveTrackName,type:"POST",data:t};http(r,function(){toastr.success("","Changes Saved");n.editVisible(!1)})},i.deleteTrack=function(n){if(confirm("Are you sure?")){var t={url:urls().deleteTrack,type:"POST",data:{trackId:n.refId}};toastr.info("Deleting Track","Please Wait...");http(t,function(){toastr.success("Track Removed")})}},i.submit=function(){$.ajax({url:"/Albums/ManageTracks/",data:{items:$("#sortable").sortable("toArray")},type:"post",traditional:!0,success:function(){window.location.href="/Manage/ManageDetails?albumId="+i.refId()},statusCode:{404:function(n){alert("cannot find resource"+n)},505:function(){alert("internal server error")}},error:function(n,t,i){var r=n.status+"\r\n"+t+"\r\n"+i;alert(r)}})},i}var r=function(){var n=new t(model);ko.applyBindings(n)},u=function(){var n=new i(model);ko.applyBindings(n)},f=function(n){var t=new SeeAllViewModel(n);ko.applyBindings(t)},e=function(){var n=new LoadSinglesViewModel;ko.applyBindings(n)};return{initMain:r,initTrackManage:u,viewAll:f,viewAllSingles:e}}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.