It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://gwiremusic.com/joovitorgonalv

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- Title -->
  5. <title>joovitorgonalv</title>
  6.  
  7. <!-- Required Meta Tags Always Come First -->
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  9. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  10. <!-- Favicon -->
  11. <link rel="shortcut icon" href="https://gwiremusic.com/themes/volcano/img/icon.png" />
  12.  
  13. <meta name="title" content="joovitorgonalv">
  14. <meta name="description" content="DeepSound is a PHP Audio Sharing Script, DeepSound is the best way to start your own audiosharing script!">
  15. <meta name="keywords" content="deepsound,video sharing">
  16.  
  17.  
  18. <link rel="canonical" href="https://gwiremusic.com" /><link rel="home" href="https://gwiremusic.com" /><link rel="alternate" href="https://gwiremusic.com?lang=arabic" hreflang="ar" /><link rel="alternate" href="https://gwiremusic.com?lang=bengali" hreflang="bn" /><link rel="alternate" href="https://gwiremusic.com?lang=chinese" hreflang="zh" /><link rel="alternate" href="https://gwiremusic.com?lang=croatian" hreflang="sh" /><link rel="alternate" href="https://gwiremusic.com?lang=danish" hreflang="da" /><link rel="alternate" href="https://gwiremusic.com?lang=dutch" hreflang="nl" /><link rel="alternate" href="https://gwiremusic.com?lang=english" hreflang="en" /><link rel="alternate" href="https://gwiremusic.com?lang=filipino" hreflang="fil" /><link rel="alternate" href="https://gwiremusic.com?lang=french" hreflang="fr" /><link rel="alternate" href="https://gwiremusic.com?lang=german" hreflang="de" /><link rel="alternate" href="https://gwiremusic.com?lang=hebrew" hreflang="he" /><link rel="alternate" href="https://gwiremusic.com?lang=hindi" hreflang="hi" /><link rel="alternate" href="https://gwiremusic.com?lang=indonesian" hreflang="id" /><link rel="alternate" href="https://gwiremusic.com?lang=japanese" hreflang="ja" /><link rel="alternate" href="https://gwiremusic.com?lang=korean" hreflang="ko" /><link rel="alternate" href="https://gwiremusic.com?lang=persian" hreflang="fa" /><link rel="alternate" href="https://gwiremusic.com?lang=russian" hreflang="ru" /><link rel="alternate" href="https://gwiremusic.com?lang=spanish" hreflang="es" /><link rel="alternate" href="https://gwiremusic.com?lang=swedish" hreflang="sv" /><link rel="alternate" href="https://gwiremusic.com?lang=turkish" hreflang="tr" /><link rel="alternate" href="https://gwiremusic.com?lang=urdu" hreflang="ur" /><link rel="alternate" href="https://gwiremusic.com?lang=vietnamese" hreflang="vi" /><meta property="og:title" content="joovitorgonalv"><meta property="og:image" content="https://gwiremusic.com/upload/photos/d-avatar.jpg"><meta property="og:image:width" content="500"><meta property="og:image:height" content="500"><meta property="og:description" content="Adoro estar sempre por dentro das últimas tendências de moda infantil. Gosto de escrever sobre minhas descobertas e experiências no blog, fornecendo dicas práticas para outras mães."><meta property="og:url" content="https://gwiremusic.com/joovitorgonalv" />
  19. <!-- Google Fonts -->
  20. <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;800;900&display=swap" rel="stylesheet">
  21. <link href="https://gwiremusic.com/themes/volcano/fonts/Roboto.css" rel="stylesheet">
  22. <link href="https://gwiremusic.com/themes/volcano/fonts/Muli.css" rel="stylesheet">
  23.  
  24. <script src="https://gwiremusic.com/themes/volcano/js/jquery.min.js?v=1.5.2"></script>
  25. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/jquery-ui.css?v=1.5.2">
  26. <script src="https://gwiremusic.com/themes/volcano/js/jquery-ui.min.js?v=1.5.2"></script>
  27. <!-- CSS -->
  28. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/bootstrap.min.css?v=1.5.2">
  29. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/owl.carousel.min.css?v=1.5.2">
  30. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/style.css?v=1.5.2">
  31. <script src="https://gwiremusic.com/themes/volcano/js/wavesurfer.min.js?v=1.5.2"></script>
  32.  
  33. <style media="screen">
  34.  
  35. </style>
  36.  
  37.  
  38. <script type="text/javascript" src="https://gwiremusic.com/themes/volcano/js/tag-it.min.js?v=1.5.2"></script>
  39. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/jquery.tagit.css?v=1.5.2">
  40. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/bootstrap-colorpicker.min.css?v=1.5.2" />
  41. <script src="https://gwiremusic.com/themes/volcano/js/bootstrap-colorpicker.min.js?v=1.5.2"></script>
  42.  
  43. <script type="text/javascript" src="https://gwiremusic.com/themes/volcano/js/fastclick.js?v=1.5.2"></script>
  44. <!--  Scripts-->
  45. <script>
  46. function ajaxUrl() {
  47. return 'https://gwiremusic.com/endpoints';
  48. }
  49. function siteUrl() {
  50. return 'https://gwiremusic.com/';
  51. }
  52. </script>
  53. <!-- <script src="https://unpkg.com/wavesurfer.js"></script> -->
  54. <script src="https://gwiremusic.com/themes/volcano/js/emojionearea.min.js?v=1.5.2"></script>
  55. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/emojionearea.min.css?v=1.5.2">
  56.              
  57. <script>
  58.            window.run_station = null;
  59.            $(document).ready(function() {
  60.                // $(".emoji_comment_btn").emojioneArea({
  61.                //     standalone: true,
  62.                //     autocomplete: false,
  63.                //     pickerPosition: "bottom",
  64.                //     emojiPlaceholder: "",
  65.                //     inline: true,
  66.                //     dir            : "ltr",
  67.                //     placement : 'absright'
  68.                // // container: "#container",
  69.                // // hideSource: false,
  70.                // // useSprite: false
  71.                // });
  72.                window.init_emojioneArea = function() {
  73.                    $(".comment_input").emojioneArea({
  74.                        useInternalCDN: true,
  75.                        events: {
  76.                            keyup: function (editor, event) {
  77.                                let emojioneArea = this; //this is instance of EmojioneArea
  78.                                                                id = $( $(this)[0].source[0]).attr('data-audio-id');
  79.                                $($(".comment_input")).limit("640", '#charsLeft_'+id);
  80.                                c_id = $( $(this)[0].source[0]).attr('data-comment-id');
  81.                                if ($('#write_comment_'+c_id).length) {
  82.                                 $($('#write_comment_'+c_id)).limit("640", '#charsLeft_r_'+c_id);
  83.                                }
  84.                                                                if (event.which === 13 && !event.shiftKey) {
  85.                                    // $scope.onPressKeyTextarea(event);
  86. var audioid = $( $(this)[0].source[0]).attr('data-audio-id');
  87. var commentid = $( $(this)[0].source[0]).attr('data-comment-id');
  88. if(typeof commentid !== 'undefined'){
  89. registerCommentreplay(emojioneArea.getText(), audioid, commentid, event, $(this));
  90. }else{
  91. registerComment(emojioneArea.getText(), audioid, event, $(this));
  92. }
  93.                                    emojioneArea.setText('');
  94.                                    emojioneArea.hidePicker();
  95.                                    emojioneArea.editor.focus();
  96.                                    event.preventDefault();
  97.                                }
  98.                            }
  99.                        },
  100.                        search: false,
  101.                        recentEmojis: false,
  102.                        filtersPosition: "bottom",
  103.                        tones: false,
  104.                        autocomplete: true,
  105.                        filters: {animals_nature: false, food_drink: false, activity: false, travel_places: false, objects: false, symbols: false, flags: false}
  106.                    });
  107.                }
  108. window.init_emojioneArea();
  109.  
  110. window.init_emojioneArea_replay = function(id) {
  111. $('#write_comment_'+id).emojioneArea({
  112. useInternalCDN: true,
  113. events: {
  114. keyup: function (editor, event) {
  115. let _emojioneArea = this; //this is instance of EmojioneArea
  116. if (event.which === 13 && !event.shiftKey) {
  117. var _audioid = $( $(this)[0].source[0]).attr('data-audio-id');
  118. var _commentid = $( $(this)[0].source[0]).attr('data-comment-id');
  119. registerCommentreplay(_emojioneArea.getText(), _audioid, _commentid, event, $(this));
  120. _emojioneArea.setText('');
  121. _emojioneArea.hidePicker();
  122. _emojioneArea.editor.focus();
  123. event.preventDefault();
  124. }
  125. }
  126. },
  127. search: false,
  128. recentEmojis: false,
  129. filtersPosition: "bottom",
  130. tones: false,
  131. autocomplete: false,
  132. filters: {animals_nature: false, food_drink: false, activity: false, travel_places: false, objects: false, symbols: false, flags: false}
  133. });
  134. }
  135.  
  136. window.init_blogemojioneArea = function() {
  137.                    $(".blog_comment_input").emojioneArea({
  138.                        useInternalCDN: true,
  139.                        events: {
  140.                            keyup: function (editor, event) {
  141.                                let emojioneArea = this; //this is instance of EmojioneArea
  142.                                if (event.which === 13 && !event.shiftKey) {
  143.                                    // $scope.onPressKeyTextarea(event);
  144. var audioid = $( $(this)[0].source[0]).attr('data-article-id');
  145.                                    registerBlogComment(emojioneArea.getText(), audioid, event, $(this));
  146.                                    emojioneArea.setText('');
  147.                                    emojioneArea.hidePicker();
  148.                                    emojioneArea.editor.focus();
  149.                                    event.preventDefault();
  150.                                }
  151.                            }
  152.                        },
  153.                        search: false,
  154.                        recentEmojis: false,
  155.                        filtersPosition: "bottom",
  156.                        tones: false,
  157.                        autocomplete: true,
  158.                        filters: {animals_nature: false, food_drink: false, activity: false, travel_places: false, objects: false, symbols: false, flags: false}
  159.                    });
  160.                }
  161.                window.init_blogemojioneArea();
  162.            });
  163. </script>
  164.  
  165. <script>
  166. $(document).ready(function() {
  167.  $.ajaxSetup({
  168.    data: {
  169.        hash_id: getHashID()
  170.    },
  171.    cache: false
  172.  });
  173. });
  174. window.addEventListener("popstate", function(e) {
  175.            window.location.href = location.href;
  176.        });
  177.        window.search_url = 'https://gwiremusic.com/search/songs/';
  178.        window.chatfetch = false;
  179.        window.UpdateChatU = 0;
  180. $(document).on('click', '[data-load]', function(event) {
  181. if ($('.ma_container').attr('data-page') == 'home') {
  182. window.location.href = siteUrl() + $(this).attr('data-load');
  183. return false;
  184. }
  185. $('.xzoom-source').remove();
  186. $('#buy_ticket_modal').modal('hide');
  187. if ($(this).attr('data-load') == '') {window.open($(this).attr('href'), '_blank');
  188. if (parseInt($('.ss_track_play_pause').attr('data_is_ad')) > 0) {
  189. is_sent = 1;
  190. song_id = $('#current-track').attr('value');
  191. onTimesUp(song_id);
  192. return false;
  193. }
  194. return false;
  195. }
  196.  //$('.sections li').removeClass('active');
  197.      $('#bar_loading').show().animate({width:20 + 80 * Math.random() + "%"}, 200);
  198.      event.preventDefault();
  199.      var url = $(this).attr('data-load');
  200.      $.ajax({
  201.        url: siteUrl() + '/ajax-load.php?path=' + url,
  202.        type: 'GET',
  203.        dataType: 'html'
  204.      })
  205.      .done(function(data_html, textStatus, request) {
  206.       if (request.status == 201) {
  207.       $('#login_box').modal('show');
  208.       } else {
  209.                        if(window.run_station !== null){
  210.                            window.run_station.pause();
  211.                        }
  212.  
  213.       data = JSON.parse($(data_html).filter('#json-data').val());
  214.        window.history.pushState({state:'new', ajax_url: url},'', data.url);
  215.  
  216.                        if(data.page_name == 'messages'){
  217.                            window.chatfetch = true;
  218. }else{
  219.                            window.chatfetch = false;
  220. }
  221.  
  222.        if(data.page_name !== 'search'){
  223.            $('#search_keyword').val('');
  224. }
  225.  
  226.        $('#container_content').html(data_html);
  227.        $('meta[name=title]').attr('content', data.site_title);
  228.        $('#page').attr('data-page', data.page_name);
  229.        $('meta[name=description]').attr('content', data.description);
  230.        $('meta[name=keywords]').attr('content', data.keyword);
  231.        $('title').html(data.site_title);
  232.        if (data.page_name) {
  233.         setTimeout(function () {
  234.         updateWaves = false;
  235.         if ($('#current-track').val()) {
  236.         if (Amplitude.getActiveSongMetadata().id == $('#current-track').val()) {
  237.         updateWaves = true;
  238.         } else {
  239.         $('body').removeClass('player_running');
  240.         }
  241.         } else {
  242.         updateWaves = true;
  243.         }
  244.         if (updateWaves == true) {
  245.         var getCurrentPlaying = Number($('.amplitude-song-played-progress').attr('value')) * 100;
  246.         $('#light-wave, #light-waves').width(getCurrentPlaying + '%');
  247.         updateWaveForm();
  248.         }
  249.         }, 100);
  250.                            if( data.page_name == 'blogs' ){
  251.                                window.search_url = 'https://gwiremusic.com/blogs/tag/';
  252.                            }
  253.        }
  254.        if (Amplitude.getActiveSongMetadata().id && $('#page').attr('data-page') == 'track') {
  255.         if (Amplitude.getActiveSongMetadata().id == $('#current-track').val()) {
  256.         $('body').addClass('player_running');
  257.         }
  258.        }
  259.        if (Amplitude.getActiveSongMetadata().u_id && $('#page').attr('data-page') != 'track') {
  260.         $('.playlist-list-song[data-id=' + Amplitude.getActiveSongMetadata().u_id + ']').addClass('playing');
  261.         $('.list-recommended[data-id=' + Amplitude.getActiveSongMetadata().u_id + ']').addClass('playlist-list-song playing');
  262.         if ($('.feed_post[data-id="' + Amplitude.getActiveSongMetadata().u_id + '"]').length > 0) {
  263.         $.get('https://gwiremusic.com/endpoints/get-song-info', {id: Amplitude.getActiveSongMetadata().id}, function(data) {
  264.         if (data.status == 200) {
  265.         $('body').attr('song-duration', data.duration);
  266.         if (data.songWaves.length > 0) {
  267. $('.feed_post[data-id="' + data.songID + '"]:first').find('.waveform-small').html(data.songWaves);
  268. $('#light-wave img').width($('#dark-wave').width() + 'px');
  269. $('#light-waves img').width($('#dark-wavez').width() + 'px');
  270. $('.feed_post[data-id="' + data.songID + '"]:first').find('.post-actions').removeClass('hidden');
  271. $('.feed_post[data-id="' + data.songID + '"]:first').find('.ssong_comments').removeClass('hidden');
  272. $('.feed_post[data-id="' + data.songID + '"]:first').find('.mus_feeds_bodycoms').removeClass('hidden');
  273. $('.feed_post[data-id="' + data.songID + '"]:first').find('.art-info').removeClass('hidden');
  274.     $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment_list').html(data.comments);
  275.     $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment-waves').html(data.waves);
  276.     var getCurrentPlaying = Number($('.amplitude-song-played-progress').attr('value')) * 100;
  277.                $('#light-wave, #light-waves').width(getCurrentPlaying + '%');
  278.     updateWaveForm();
  279. }
  280.         }
  281.         });
  282.         }
  283.        }
  284.                        $('#music-user-ads-table').find('[type="checkbox"]').each(function(index, el) {
  285.                            $(el).bootstrapToggle();
  286.                        });
  287.                        if( data.page_name === 'station'){
  288.                            setTimeout(function () {
  289.                                $('body').addClass('player_running');
  290.                            }, 100);
  291.                        }
  292.       }
  293.  
  294.      })
  295.      .fail(function() {
  296.         window.location.href = siteUrl()+'/404';
  297.      })
  298.      .always(function() {
  299.       if (typeof data !== 'undefined') {
  300.       if (data.page_name == 'user' && data.scroll == true) {
  301.         $('html,body').animate({
  302.        scrollTop: $('#myTab').offset().top - 350
  303.    });
  304.        } else {
  305.         $('html,body').animate({
  306.        scrollTop: $('body').offset().top
  307.    });
  308.        }
  309.                        window.init_emojioneArea();
  310.       }
  311.        $('#bar_loading').animate({width:"100%"}, 200).fadeOut(300, function() {
  312.           $(this).width("0");
  313.        });
  314.      });
  315.  });
  316. window.artist_sell = 'on';
  317. var video_player;
  318. </script>
  319.  
  320. <style>
  321. :root {
  322. --main-color: #f98f1d;
  323. --second-color: #ea8e48;
  324. }
  325.  
  326. .sidebar .sidebar_innr .sections li a:before {
  327.     background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='15.866' viewBox='0 0 11 15.866'%3e%3cg id='Hover:_Sound_bar' data-name='Hover: Sound bar' transform='translate(-1502 -129.5)'%3e%3cline id='Line_8' data-name='Line 8' y2='15.866' transform='translate(1511.5 129.5)' fill='none' stroke='%23ea8e48' stroke-width='3'/%3e%3cline id='Line_9' data-name='Line 9' y2='14.254' transform='translate(1503.5 130.306)' fill='none' stroke='%23ea8e48' stroke-width='3'/%3e%3c/g%3e%3c/svg%3e");
  328. }
  329. header .head_search .search_dropdown .see_all a:before {
  330. background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='%23f98f1d' d='M13,9L15.5,6.5L16.92,7.92L12,12.84L7.08,7.92L8.5,6.5L11,9V3H13V9M3,15H21V17H3V15M3,19H13V21H3V19Z' /%3e%3c/svg%3e");
  331. }
  332. .see_all a:before {
  333. background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='%23f98f1d' d='M13,9L15.5,6.5L16.92,7.92L12,12.84L7.08,7.92L8.5,6.5L11,9V3H13V9M3,15H21V17H3V15M3,19H13V21H3V19Z' /%3e%3c/svg%3e");
  334. }
  335. .sq_music_tracks .track .track_info .play_btn {
  336. background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='42.505' height='42.5' viewBox='0 0 42.505 42.5'%3e%3cpath id='Path_7225' data-name='Path 7225' d='M8827,2861.251a21.252,21.252,0,1,1,21.251,21.249A21.276,21.276,0,0,1,8827,2861.251Zm14.1-17.34a18.2,18.2,0,0,0-6.086,4.009,18.976,18.976,0,0,0,0,26.66,18.218,18.218,0,0,0,6.086,4.013,19.327,19.327,0,0,0,14.311,0,18.159,18.159,0,0,0,6.084-4.013,18.968,18.968,0,0,0,0-26.66,18.18,18.18,0,0,0-6.084-4.009,19.327,19.327,0,0,0-14.311,0Zm2.277,24.14c-.106,0-.214-.178-.267-.178a2.321,2.321,0,0,1-.107-.358v-11.8a2.33,2.33,0,0,1,.107-.358c.053,0,.16-.178.267-.178.125,0,.252-.18.376-.18a.369.369,0,0,0,.356.18l8.726,5.9c.107,0,.178.176.231.176.054.18.089.18.089.358s-.035.176-.089.358c-.054,0-.124.178-.231.178l-8.726,5.9a.37.37,0,0,0-.356.178C8843.627,2868.229,8843.5,2868.051,8843.375,2868.051Z' transform='translate(-8827.001 -2840)' fill='%23f98f1d'/%3e%3c/svg%3e");
  337.  
  338. }
  339.  
  340. </style>
  341.  
  342. <script src="https://gwiremusic.com/themes/volcano/js/header.js?3705"></script>
  343.  
  344. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/custom.style.css?3184" id="custom.style.css">
  345.  
  346. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/js/lib/sweetalert2/dist/sweetalert2.min.css?v=1.5.2">
  347. <link rel="stylesheet" type="text/css" href="https://gwiremusic.com/themes/volcano/css/dataTables.bootstrap4.min.css?v=1.5.2">
  348. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/bootstrap-select.min.css?v=1.5.2">
  349.  
  350. <script src="https://js.stripe.com/v3/"></script>
  351. <script type="text/javascript" src="https://gwiremusic.com/themes/volcano/js/xzoom.min.js"></script>
  352. <script src="https://gwiremusic.com/themes/volcano/js/html2pdf.bundle.js?v=1.5.2"></script>
  353. <script src="https://gwiremusic.com/themes/volcano/js/qrcode.js?v=1.5.2"></script>
  354. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/lightbox.min.css?v=1.5.2">
  355. <script src="https://gwiremusic.com/themes/volcano/js/lightbox.min.js?v=1.5.2"></script>
  356. <link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/flatpickr.min.css?v=1.5.2">
  357. <script src="https://gwiremusic.com/themes/volcano/js/flatpickr.js?v=1.5.2"></script>
  358. </head>
  359.  
  360. <body class=" side_open" data-lang="ltr">
  361. <div class="music_app">
  362. <div class="ma_container" id="page" data-page="user">
  363. <!-- Start Sidebar  -->
  364. <div class="ma_sidebar">
  365. <div class="sidebar">
  366. <div class="sidebar_innr" data-simplebar>
  367. <ul class="sections">
  368. <h3>Browse Music</h3>
  369. <li class="" >
  370. <a href="https://gwiremusic.com/discover" data-load="discover">
  371. <svg xmlns="http://www.w3.org/2000/svg" width="25" height="24.997" viewBox="0 0 25 24.997"> <path id="Subtraction_4" data-name="Subtraction 4" d="M8853.4,2866.4h-10.287v-10.285H8853.4V2866.4Zm-8.828-8.826v7.369h7.366v-7.369Zm-5.885,8.826H8828.4v-10.285h10.287V2866.4Zm-8.828-8.826v7.369h7.37v-7.369Zm23.541-5.884h-10.287V2841.4H8853.4v10.286Zm-8.828-8.828v7.369h7.366v-7.369Zm-5.885,8.828H8828.4V2841.4h10.287v10.286Zm-8.828-8.828v7.369h7.37v-7.369Z" transform="translate(-8828.399 -2841.4)" fill="currentColor"/> </svg> Discover
  372. </a>
  373. </li>
  374. <li class="  hidden">
  375. <a href="https://gwiremusic.com/feed" data-load="feed">
  376. <svg enable-background="new 0 0 24 24" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m20.5 24h-12c-1.378 0-2.5-1.121-2.5-2.5v-15c0-1.379 1.122-2.5 2.5-2.5h12c1.378 0 2.5 1.121 2.5 2.5v15c0 1.379-1.122 2.5-2.5 2.5zm-12-19c-.827 0-1.5.673-1.5 1.5v15c0 .827.673 1.5 1.5 1.5h12c.827 0 1.5-.673 1.5-1.5v-15c0-.827-.673-1.5-1.5-1.5z"/><path fill="currentColor" d="m4.5 21h-1c-1.378 0-2.5-1.121-2.5-2.5v-16c0-1.379 1.122-2.5 2.5-2.5h12c1.378 0 2.5 1.121 2.5 2.5 0 .276-.224.5-.5.5s-.5-.224-.5-.5c0-.827-.673-1.5-1.5-1.5h-12c-.827 0-1.5.673-1.5 1.5v16c0 .827.673 1.5 1.5 1.5h1c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 17h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 21h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 13h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/><path fill="currentColor" d="m18.5 9h-8c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h8c.276 0 .5.224.5.5s-.224.5-.5.5z"/></svg> Feed
  377. </a>
  378. </li>
  379. <li class="">
  380. <a href="https://gwiremusic.com/new_music" data-load="new_music">
  381. <svg xmlns="http://www.w3.org/2000/svg" width="17.533" height="25" viewBox="0 0 17.533 25"> <path id="Subtraction_5" data-name="Subtraction 5" d="M8833.326,2865.7a5.626,5.626,0,1,1,3.574-9.967l.59.484v-14.786a.732.732,0,0,1,1.464,0v.046a2.538,2.538,0,0,0,1.479,1.985,8.266,8.266,0,0,0,4.07.982.732.732,0,0,1,0,1.464,9.4,9.4,0,0,1-5-1.3l-.553-.354v15.764a.055.055,0,0,1,0,.013v.017a.017.017,0,0,0,0,.007v.006a.055.055,0,0,1,0,.012A5.636,5.636,0,0,1,8833.326,2865.7Zm0-9.789a4.164,4.164,0,1,0,4.164,4.164A4.168,4.168,0,0,0,8833.326,2855.911Z" transform="translate(-8827.701 -2840.7)" fill="currentColor"/> </svg> New Music
  382. </a>
  383. </li>
  384. <li class="">
  385. <a href="https://gwiremusic.com/top_music" data-load="top_music">
  386. <svg xmlns="http://www.w3.org/2000/svg" width="24.699" height="25" viewBox="0 0 24.699 25"> <path id="Path_7218" data-name="Path 7218" d="M8843.883,2857.355a3.644,3.644,0,0,1,5.96-2.812l.082.069v-8.76a.624.624,0,1,1,1.247,0v.029a1.414,1.414,0,0,0,.828,1.076,4.939,4.939,0,0,0,2.425.583.623.623,0,1,1,0,1.247,5.98,5.98,0,0,1-3.175-.83l-.078-.049v9.448a3.645,3.645,0,1,1-7.289,0Zm1.248,0a2.4,2.4,0,1,0,2.4-2.4A2.4,2.4,0,0,0,8845.131,2857.355Zm-14.779-3.431a5.2,5.2,0,0,1,8.511-4.017l.545.447v-13.677a.677.677,0,0,1,1.354,0v.042a2.347,2.347,0,0,0,1.367,1.835,7.667,7.667,0,0,0,3.768.908.677.677,0,0,1,0,1.354,8.718,8.718,0,0,1-4.623-1.2l-.512-.33v14.583a.023.023,0,0,1,0,.013v.027a.016.016,0,0,1,0,.011,5.205,5.205,0,1,1-10.41,0Zm1.351,0a3.853,3.853,0,1,0,3.853-3.853A3.855,3.855,0,0,0,8831.7,2853.924Z" transform="translate(-8830.352 -2836)" fill="currentColor"/> </svg> Top Music
  387. </a>
  388. </li>
  389. <li class="">
  390. <a href="https://gwiremusic.com/albums" data-load="albums">
  391. <svg xmlns="http://www.w3.org/2000/svg" width="25" height="24.899" viewBox="0 0 25 24.899"> <path id="Subtraction_7" data-name="Subtraction 7" d="M8840.7,2866.271a12.482,12.482,0,0,1-9.5-20.6,12.858,12.858,0,0,1,7.555-4.3v1.47a10.64,10.64,0,0,0-6.635,3.837,11.324,11.324,0,0,0-2.529,7.79,11.224,11.224,0,0,0,11.106,10.437,11.009,11.009,0,0,0,7.088-2.511,11.145,11.145,0,0,0,3.851-6.535,10.987,10.987,0,0,0-1.144-7.384,11.373,11.373,0,0,0-5.617-5l-.868-.352v10.651a3.474,3.474,0,0,1-.633,1.981,3.556,3.556,0,0,1-1.678,1.228,2.367,2.367,0,0,1-.74.112,4.252,4.252,0,0,1-1.321-.243,3.423,3.423,0,0,1-1.646-1.22,3.183,3.183,0,0,1-.6-1.979,3.126,3.126,0,0,1,.67-1.853l0-.007a3.554,3.554,0,0,1,1.7-1.228,2.424,2.424,0,0,1,.739-.112,4.152,4.152,0,0,1,1.31.242l.829.275v-9.6a12.856,12.856,0,0,1,7.553,4.3,12.482,12.482,0,0,1-9.5,20.6Z" transform="translate(-8828.199 -2841.371)" fill="currentColor"/> </svg> Albums
  392. </a>
  393. </li>
  394. <li class="">
  395. <a href="https://gwiremusic.com/spotlight" data-load="spotlight">
  396. <svg xmlns="http://www.w3.org/2000/svg" width="20.631" height="24.9" viewBox="0 0 20.631 24.9"> <path id="Path_7233" data-name="Path 7233" d="M8838.615,2866.2h0l-7.295-7.285a10.323,10.323,0,1,1,14.594,0l-7.3,7.287Zm0-23.534a8.946,8.946,0,0,0-8.264,5.517,8.753,8.753,0,0,0-.508,5.178,8.9,8.9,0,0,0,2.445,4.579l6.326,6.34,6.326-6.34a8.911,8.911,0,0,0,2.445-4.576,8.946,8.946,0,0,0-3.8-9.191A8.886,8.886,0,0,0,8838.615,2842.665Z" transform="translate(-8828.301 -2841.3)" fill="currentColor"/> </svg> Spotlight
  397. </a>
  398. </li>
  399. <li class="">
  400. <a href="https://gwiremusic.com/genres" data-load="genres">
  401. <svg xmlns="http://www.w3.org/2000/svg" width="19.093" height="23.901" viewBox="0 0 19.093 23.901"> <path id="Subtraction_34" data-name="Subtraction 34" d="M8837.182,2863.9h-1.264v-4.6l-.45-.044a9.68,9.68,0,0,1-5.761-2.684,10.215,10.215,0,0,1-2.707-5.26h1.283a8.426,8.426,0,0,0,16.535,0h1.274a10.15,10.15,0,0,1-2.7,5.26,9.682,9.682,0,0,1-5.761,2.684l-.453.044v4.6Zm-.631-9.056a4.925,4.925,0,0,1-3.641-1.543l-.018-.016a5.1,5.1,0,0,1-1.5-3.6V2847.7h1.266v1.985a3.9,3.9,0,0,0,7.79,0V2847.7h1.264v1.985a5.109,5.109,0,0,1-1.5,3.6l-.02.016A4.934,4.934,0,0,1,8836.551,2854.846Zm-3.894-8.142h-1.266v-1.545a5.1,5.1,0,0,1,1.5-3.6l.018-.015a4.932,4.932,0,0,1,3.641-1.541,4.2,4.2,0,0,1,1.937.4l.033.016.037.011a3.967,3.967,0,0,1,1.635,1.112l.037.033a4.466,4.466,0,0,1,1.088,1.625,4.909,4.909,0,0,1,.394,1.958v1.544h-1.264v-1.545a3.9,3.9,0,0,0-7.79,0v1.545Z" transform="translate(-8827 -2840)" fill="currentColor"/> </svg> Genres
  402. </a>
  403. </li>
  404. <li class="">
  405. <a href="https://gwiremusic.com/playlists" data-load="playlists">
  406. <svg xmlns="http://www.w3.org/2000/svg" width="23.707" height="19.162" viewBox="0 0 23.707 19.162"> <g id="Group_9318" data-name="Group 9318" transform="translate(-2.51 -457.207)"> <path id="Path_6453" data-name="Path 6453" d="M3469,13930.909h11.364v2.272H3469Zm0-7.955h15.909v2.273H3469Zm0-7.954h22.727v2.272H3469Z" transform="translate(-3466 -13457.303)" fill="currentColor" class="icon_stroke" stroke-width="0.98"/> <path id="Path_7235" data-name="Path 7235" d="M82.656,1.8a3.89,3.89,0,0,1-1.892-.448c-.4-.234-.634-.527-.634-.8V.524a.531.531,0,0,0-1.063,0V7.255A2.865,2.865,0,1,0,80.13,9.472c0-.005,0-.01,0-.016s0-.005,0-.008V2.193a4.8,4.8,0,0,0,2.526.652.524.524,0,1,0,0-1.048Zm-5.44,9.5a1.826,1.826,0,1,1,1.851-1.826A1.84,1.84,0,0,1,77.217,11.3Z" transform="translate(-57.46 463.533)" fill="currentColor"/> </g> </svg> Playlists
  407. </a>
  408. </li>
  409. <li class="">
  410. <a href="https://gwiremusic.com/fame" data-load="fame">
  411. <svg xmlns="http://www.w3.org/2000/svg" width="26" height="23.728" viewBox="0 0 26 23.728"> <path id="Path_6305" data-name="Path 6305" d="M3584.546,13078.682h2.272v11.363h-2.272Zm-4.546,3.409h2.272v4.545H3580Zm9.091-9.091h2.273v20.454h-2.273Zm4.545,2.271h2.273v20.456h-2.273Zm4.546,3.41h2.272v11.363h-2.272Zm4.546,3.409H3605v4.545h-2.272Z" transform="translate(-3579.5 -13072.5)" fill="currentColor" class="icon_stroke" stroke-width="1"/> </svg>
  412. Hall of fame
  413. </a>
  414. </li>
  415. <li class="">
  416. <a href="https://gwiremusic.com/point-system" data-load="point-system">
  417. <svg xmlns="http://www.w3.org/2000/svg" width="24.659" height="22.655" viewBox="0 0 24.659 22.655"> <g id="Group_9322" data-name="Group 9322" transform="translate(-7.751 -625.474)"> <path id="Path_7236" data-name="Path 7236" d="M8820.372,2870.056a15.79,15.79,0,0,1-7.756-1.818l-.677-.375-.253.729a.493.493,0,0,1-.187.233l-.014.009a.422.422,0,0,1-.261.077h-3.432a.481.481,0,0,1-.492-.494v-10.291a.484.484,0,0,1,.492-.494h3.432a.53.53,0,0,1,.35.142.535.535,0,0,1,.143.352v.65h.649a7.381,7.381,0,0,1,4.549,1.576l.177.14h2.707a4.485,4.485,0,0,1,3.346,1.5l.194.217h3.894a5.1,5.1,0,0,1,2.7.78,5.168,5.168,0,0,1,1.691,1.76,14.286,14.286,0,0,1-4.992,3.9A14.773,14.773,0,0,1,8820.372,2870.056Zm-8.654-10.291v6.759l.316.188.038.022a14.183,14.183,0,0,0,8.3,2.334,13.654,13.654,0,0,0,5.136-.993,13.157,13.157,0,0,0,4.264-2.764l.7-.645-.705-.59-.016-.011a4.084,4.084,0,0,0-2.246-.858l-.239-.013h-3.252l.173.789a4.665,4.665,0,0,1,.111,1v.494H8815.3v-.989h8.055l-.333-.878-.044-.124-.016-.029a3.6,3.6,0,0,0-1.2-1.379,3.471,3.471,0,0,0-1.737-.6l-3.308,0a6.347,6.347,0,0,0-4.352-1.714Zm-3.43-1.144v9.3h2.442v-9.3Z" transform="translate(-8799.4 -2222.076)" fill="currentColor" class="icon_stroke" stroke-width="0.3"/> <path id="Path_6605" data-name="Path 6605" d="M3366.446,7177.582l-3.682,2.248,1-4.2-3.276-2.806,4.3-.345,1.659-3.983,1.653,3.983,4.3.345-3.275,2.806,1,4.2Z" transform="translate(-3344.385 -6543.025)" fill="currentColor"/> </g> </svg> Earn Points
  418. </a>
  419. </li>
  420. </ul>
  421.  
  422. <ul class="sections">
  423. <h3>Store</h3>
  424. <li class="">
  425. <a href="https://gwiremusic.com/store/songs" data-load="store/songs">
  426. <svg xmlns="http://www.w3.org/2000/svg" width="28.05" height="28.05" viewBox="0 0 28.05 28.05"> <g id="Group_9324" data-name="Group 9324" transform="translate(-2.94 -712.3)"> <path id="Path_6772" data-name="Path 6772" d="M3772.806,8082.976l5.555,5.554-1.83,1.83-5.555-5.555a11.672,11.672,0,1,1,1.83-1.829Zm-2.609-.962a9.053,9.053,0,1,0-.182.183Z" transform="translate(-3748.36 -7351)" fill="currentColor" class="icon_stroke" stroke-width="1.4"/> <g id="Icon_feather-globe" data-name="Icon feather-globe" transform="translate(9.476 718.914)"> <path id="Path_7238" data-name="Path 7238" d="M14.747,8.873A5.873,5.873,0,1,1,8.873,3,5.873,5.873,0,0,1,14.747,8.873Z" transform="translate(-3 -3)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.9"/> <path id="Path_7239" data-name="Path 7239" d="M3,18H14.747" transform="translate(-3 -12.127)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.9"/> <path id="Path_7240" data-name="Path 7240" d="M14.349,3A8.986,8.986,0,0,1,16.7,8.873a8.986,8.986,0,0,1-2.349,5.873A8.986,8.986,0,0,1,12,8.873,8.986,8.986,0,0,1,14.349,3Z" transform="translate(-8.476 -3)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0.9"/> </g> </g> </svg> Browse
  427. </a>
  428. </li>
  429. <li class="">
  430. <a href="https://gwiremusic.com/purchased" data-load="purchased">
  431. <svg xmlns="http://www.w3.org/2000/svg" width="24.999" height="25.196" viewBox="0 0 24.999 25.196"> <path id="Union_6" data-name="Union 6" d="M8827.667,2865.2a.66.66,0,0,1-.667-.667v-.083l1.126-14.553a.634.634,0,0,1,.206-.425l.015-.01a.641.641,0,0,1,.446-.178h2.082v-.659a8.666,8.666,0,0,1,2.524-6.1,8.63,8.63,0,0,1,12.2,0,8.659,8.659,0,0,1,2.528,6.1v.659h2.078a.646.646,0,0,1,.448.178l.015.01a.631.631,0,0,1,.207.422l1.127,14.581a.694.694,0,0,1-.163.493.7.7,0,0,1-.432.232Zm.719-1.332h22.225l-1.02-13.254H8829.4Zm6.067-20.509a7.208,7.208,0,0,0-2.234,4.941l-.043.982h14.611v-.659a7.274,7.274,0,0,0-6.967-7.277l-.292-.012-.028,0A7.267,7.267,0,0,0,8834.453,2843.356Zm2.395,13.218v-2.653h5.306v2.653Z" transform="translate(-8827 -2840)" fill="currentColor"/> </svg> Purchased
  432. </a>
  433. </li>
  434. </ul>
  435. <ul class="sections">
  436. <h3>Your Music</h3>
  437. <li  class="">
  438. <a href="https://gwiremusic.com/recently_played" data-load="recently_played">
  439. <svg xmlns="http://www.w3.org/2000/svg" width="26.1" height="23.654" viewBox="0 0 26.1 23.654"> <g id="Group_9328" data-name="Group 9328" transform="translate(-37.95 -889.95)"> <path id="Path_6433" data-name="Path 6433" d="M3477.775,13807.426l6.1,4.123c.075,0,.125.125.162.125.038.125.063.125.063.25s-.025.123-.062.25c-.037,0-.087.123-.162.123l-6.1,4.125a.259.259,0,0,0-.25.125c-.087,0-.175-.125-.262-.125s-.15-.125-.187-.125a1.658,1.658,0,0,1-.075-.25v-8.246a1.646,1.646,0,0,1,.075-.252c.038,0,.112-.123.188-.123s.175-.127.262-.127A.257.257,0,0,0,3477.775,13807.426Z" transform="translate(-3429.128 -12910.147)" fill="currentColor"/> <path id="Path_7243" data-name="Path 7243" d="M3468.993,13802h24.914l.086,21.242v1.309l-24.992-.176v-1.133Zm2.508,2.5v17.494h19.993V13804.5Z" transform="translate(-3430.493 -12911.5)" fill="currentColor" class="icon_stroke" stroke-width="1.1"/> </g> </svg> Recently Played
  440. </a>
  441. </li>
  442. <li  class="">
  443. <a href="https://gwiremusic.com/my_playlists" data-load="my_playlists">
  444. <svg xmlns="http://www.w3.org/2000/svg" width="23.707" height="19.162" viewBox="0 0 23.707 19.162"> <g id="Group_9318" data-name="Group 9318" transform="translate(-2.51 -457.207)"> <path id="Path_6453" data-name="Path 6453" d="M3469,13930.909h11.364v2.272H3469Zm0-7.955h15.909v2.273H3469Zm0-7.954h22.727v2.272H3469Z" transform="translate(-3466 -13457.303)" fill="currentColor" class="icon_stroke" stroke-width="0.98"/> <path id="Path_7235" data-name="Path 7235" d="M82.656,1.8a3.89,3.89,0,0,1-1.892-.448c-.4-.234-.634-.527-.634-.8V.524a.531.531,0,0,0-1.063,0V7.255A2.865,2.865,0,1,0,80.13,9.472c0-.005,0-.01,0-.016s0-.005,0-.008V2.193a4.8,4.8,0,0,0,2.526.652.524.524,0,1,0,0-1.048Zm-5.44,9.5a1.826,1.826,0,1,1,1.851-1.826A1.84,1.84,0,0,1,77.217,11.3Z" transform="translate(-57.46 463.533)" fill="currentColor"/> </g> </svg> My Playlists
  445. </a>
  446. </li>
  447. <li class="">
  448. <a href="https://gwiremusic.com/favourites" data-load="favourites">
  449. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.25" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"></path></svg> Favourites
  450. </a>
  451. </li>
  452. </ul>
  453. </div>
  454. </div>
  455. </div>
  456. <script>
  457. function OpenStoreMenu(self) {
  458. $(self).find('span').find('svg').remove();
  459. if ($(".mystore_menu").is(":visible")) {
  460. $(".mystore_menu").slideUp();
  461. $(self).find('span').append('<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>');
  462. }
  463. else{
  464. $(".mystore_menu").slideDown();
  465. $(self).find('span').append('<svg style="float: right;width: 15px !important;height: 15px !important;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="15" height="15" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1024 1024"><path d="M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" fill="currentColor"/></svg>');
  466. }
  467. }
  468.  
  469. current_width = $(window).width();
  470.  
  471. if(current_width < 1190) {
  472. $(document).on('click', '.sidebar .sidebar_innr a', function() {
  473. $('body').removeClass('side_open');
  474. });
  475. }
  476. </script>
  477.  
  478. <!-- End Sidebar  -->
  479.  
  480. <!-- Header  -->
  481. <div id="main-header">
  482. <header class="vlc_no_usr_hdr">
  483. <div class="head_menu" id="open_slide" onclick="SlideSetCookie('open_slide')">
  484. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.25" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><line x1="4" y1="6" x2="20" y2="6"></line><line x1="4" y1="12" x2="20" y2="12"></line><line x1="4" y1="18" x2="20" y2="18"></line></svg>
  485. </div>
  486. <div class="head_logo loggd_hd_logo">
  487. <a class="brans" href="https://gwiremusic.com/">
  488. <img src="https://gwiremusic.com/themes/volcano/img/logo.png?cache=753" alt="">
  489. </a>
  490. </div>
  491. <div class="mu_left_hdr_part">
  492. <div class="head_search">
  493. <form onSubmit="event.preventDefault(); goToAjaxLink('search/songs/' + $('#search_keyword').val());"><!--action="https://gwiremusic.com/search/songs" method="POST" >-->
  494. <div class="head_search_cont">
  495. <input name="search_keyword" id="search_keyword" value="" type="text" class="form-control" placeholder="Search for songs, artists, playlists and more.." onfocus="Ma_OpenTrending();" autocomplete="off"/>
  496. <svg xmlns="http://www.w3.org/2000/svg" width="24.6" height="24.599" viewBox="0 0 24.6 24.599"><g id="Group_9414" data-name="Group 9414" transform="translate(0.6 0.6)"><path id="Path_6571" data-name="Path 6571" d="M3706.635,6944A10.635,10.635,0,1,1,3696,6954.635,10.636,10.636,0,0,1,3706.635,6944Zm0,18.906a8.271,8.271,0,1,0-8.271-8.271A8.265,8.265,0,0,0,3706.635,6962.907Z" transform="translate(-3696 -6944)" fill="currentColor" class="icon_stroke" stroke-width="1.2"/><path id="Path_215773" data-name="Path 215773" d="M3716.667,6962.989l3.333,3.345-1.667,1.666-3.344-3.332Z" transform="translate(-3696 -6944)" fill="currentColor"/>  </g></svg>
  497. <div class="head_search_mobi_close" id="close_search">
  498. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>
  499. </div>
  500. <div class="search_dropdown hidden">
  501. <div class="trend_head"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16,6L18.29,8.29L13.41,13.17L9.41,9.17L2,16.59L3.41,18L9.41,12L13.41,16L19.71,9.71L22,12V6H16Z" /></svg> Trending Now</div>
  502. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/the" data-load="search/songs/the"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;the</a></div>
  503. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/50" data-load="search/songs/50"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;50</a></div>
  504. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/bob" data-load="search/songs/bob"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;bob</a></div>
  505. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/theame" data-load="search/songs/theame"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;theame</a></div>
  506. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/50cent" data-load="search/songs/50cent"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;50cent</a></div>
  507. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/bobmarley" data-load="search/songs/bobmarley"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;bobmarley</a></div>
  508. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/bob marley" data-load="search/songs/bob marley"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;bob marley</a></div>
  509. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/the ame" data-load="search/songs/the ame"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;the ame</a></div>
  510. <div class="serach_trend"><a href="https://gwiremusic.com/search/songs/50 cent" data-load="search/songs/50 cent"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.031 16.617l4.283 4.282-1.415 1.415-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9 9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617zm-2.006-.742A6.977 6.977 0 0 0 18 11c0-3.868-3.133-7-7-7-3.868 0-7 3.132-7 7 0 3.867 3.132 7 7 7a6.977 6.977 0 0 0 4.875-1.975l.15-.15z"/></svg>&nbsp;&nbsp;50 cent</a></div>
  511. <div class="text-center see_all">
  512. <a href="https://gwiremusic.com/search/songs" data-load="search/songs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"></path></svg> Advanced Search</a>
  513. </div>
  514. </div>
  515. </div>
  516. </form>
  517. </div>
  518. </div>
  519.  
  520. <div class="mu_right_hdr_part head_user not_loggd_hdrr">
  521. <!--<a href="#" data-toggle="modal" data-target="#login_box" class="btn login hide_hd_btn">Login</a>
  522. <a href="#" data-toggle="modal" data-target="#signup_box" class="btn btn-primary btn-mat hide_hd_btn">Register</a>
  523. -->
  524. <span class="opts_account opts_head_acc dropdown">
  525. <div class="ds_hdr_top_btns" data-display="static" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  526. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"></path></svg>
  527. </div>
  528. <div class="dropdown-menu dropdown-menu-right mat-dropdown acct">
  529. <ul class="list-unstyled mb-0">
  530. <li><a href="#" data-toggle="modal" data-target="#login_box"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M10 11V8l5 4-5 4v-3H1v-2h9zm-7.542 4h2.124A8.003 8.003 0 0 0 20 12 8 8 0 0 0 4.582 9H2.458C3.732 4.943 7.522 2 12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10c-4.478 0-8.268-2.943-9.542-7z"/></svg>&nbsp;&nbsp;Login</a></li>
  531. <li><a href="#" data-toggle="modal" data-target="#signup_box"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M14 14.252v2.09A6 6 0 0 0 6 22l-2-.001a8 8 0 0 1 10-7.748zM12 13c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm6 6v-3h2v3h3v2h-3v3h-2v-3h-3v-2h3z"/></svg>&nbsp;&nbsp;Register</a></li>
  532. <li class="divider"></li>
  533. <li class="toggle-mode top-header">
  534. <label class="switch">
  535. <span class="txt">Night mode</span>
  536. <input type="checkbox" id="night_mode_toggle" data-mode='day'>
  537. <span class="slider nigh_day_ico">
  538. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"></path><path fill="currentColor" d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"></path></svg>
  539. </span>
  540. </label>
  541. </li>
  542. </ul>
  543. </div>
  544. </span>
  545. </div>
  546. </header>
  547. </div>
  548. <div id="bar_loading"></div>
  549. <!-- End Header  -->
  550.  
  551. <!-- Content  -->
  552. <div id="container_content">
  553. <div class="ma_page_content">
  554. <div class="ma_pc_inner">
  555. <div class="user_profile">
  556. <div class="page_padding">
  557. <!-- User Profile -->
  558. <div class="content user_header">
  559. <div class="user_cover">
  560. <div class="artist_profile_cover">
  561. <img src="https://gwiremusic.com/upload/photos/d-cover.jpg" alt="User Cover" id="cover">
  562. </div>
  563. </div>
  564. <div class="user_info_cont">
  565. <div class="mus_usr_prof_hd">
  566. <div class="user_avatar">
  567. <img src="https://gwiremusic.com/upload/photos/d-avatar.jpg" alt="User Avatar" id="avatar">
  568. </div>
  569. <div class="personal_info">
  570. <div class="name">
  571. <h2>
  572. <a href="https://gwiremusic.com/joovitorgonalv" data-load="joovitorgonalv">joovitorgonalv</a>
  573. </h2>
  574. <p>@joovitorgonalv</p>
  575. </div>
  576. <div class="links_btns mus_usr_prof_links">
  577. <div class="opts_btn">
  578. </div>
  579. </div>
  580. </div>
  581. </div>
  582. </div>
  583. <div class="ma_tabs mus_user_tabs">
  584. <ul class="list-unstyled mb-0">
  585. <li class="active">
  586. <a href="https://gwiremusic.com/joovitorgonalv" data-load="joovitorgonalv">Activities</a>
  587. </li>
  588. <li class="">
  589. <a href="https://gwiremusic.com/joovitorgonalv/songs" data-load="joovitorgonalv/songs">Songs</a>
  590. </li>
  591. <li class="">
  592. <a href="https://gwiremusic.com/joovitorgonalv/albums" data-load="joovitorgonalv/albums">Albums</a>
  593. </li>
  594. <li class="">
  595. <a href="https://gwiremusic.com/joovitorgonalv/playlists" data-load="joovitorgonalv/playlists">Playlists</a>
  596. </li>
  597. <li class="">
  598. <a href="https://gwiremusic.com/joovitorgonalv/liked" data-load="joovitorgonalv/liked">Liked</a>
  599. </li>
  600. </ul>
  601. </div>
  602. </div>
  603.  
  604. <div class="row">
  605. <div class="col-lg-8">
  606. <div class="feed_post_block store_songs">
  607. <div id="user-feed-data">
  608. <div class="no-track-found bg_light"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3,7H9V13H3V7M3,3H21V5H3V3M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>No activties found</div>
  609. </div>
  610.  
  611. </div>
  612. </div>
  613. <!-- SIDEBAR -->
  614. <div class="col-lg-4">
  615. <div class="content mt-0">
  616. <div class="sidebar_widget">
  617. <ul class="list-unstyled user_side_info_list">
  618. <ul class="user_side_info_list_innr">
  619. <li>
  620. Tracks
  621. <span>0</span>
  622. </li>
  623. <li>
  624. <a href="https://gwiremusic.com/joovitorgonalv/followers" data-load="joovitorgonalv/followers">Followers<span class="followers">3</span></a>
  625. </li>
  626. <li>
  627. <a href="https://gwiremusic.com/joovitorgonalv/following" data-load="joovitorgonalv/following">Following<span class="following">2</span></a>
  628. </li>
  629. </ul>
  630. <li>
  631. <svg xmlns="http://www.w3.org/2000/svg" width="14.277" height="21.615" viewBox="0 0 14.277 21.615"> <path id="Path_6888" data-name="Path 6888" d="M3701.467,14457.68a6.588,6.588,0,0,1-4.406-2.479,6.688,6.688,0,0,1-1.542-4.775,6.942,6.942,0,0,1,2.166-4.59,6.946,6.946,0,0,1,9.41,0,6.942,6.942,0,0,1,2.166,4.59,6.908,6.908,0,0,1-5.957,7.254v1.926h4.59v1.838h-4.59v3.672h-1.836v-3.672h-4.59v-1.838h4.59Zm.918-1.744a5.17,5.17,0,0,0,3.571-1.469,5.076,5.076,0,0,0,0-7.16,5.07,5.07,0,0,0-7.142,0,5.074,5.074,0,0,0,0,7.16A5.168,5.168,0,0,0,3702.386,14455.936Z" transform="translate(-3695.252 -14443.75)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> Male
  632. </li>
  633. <li>
  634. <svg xmlns="http://www.w3.org/2000/svg" width="21.147" height="18.048" viewBox="0 0 21.147 18.048"> <path id="Path_6595" data-name="Path 6595" d="M3371,7124h-2a8.993,8.993,0,0,0-7.97,4.81q-.03-.405-.03-.81a10,10,0,0,1,10-10v-5.5l10.5,8.5-10.5,8.5Zm-2-2h4v3.31l5.32-4.31-5.32-4.31V7120h-2a8.1,8.1,0,0,0-3.33.72,7.988,7.988,0,0,0-2.73,2.05A11.046,11.046,0,0,1,3369,7122Z" transform="translate(-3360.75 -7111.976)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> Social Links
  635. </li>
  636. <li class="user_social_links">
  637. </li>
  638. <li>
  639. <svg xmlns="http://www.w3.org/2000/svg" width="22.5" height="21.825" viewBox="0 0 22.5 21.825"> <path id="Path_6840" data-name="Path 6840" d="M3244,14241a8.138,8.138,0,0,1,2.34-5.7,8.115,8.115,0,0,1,11.32,0,8.138,8.138,0,0,1,2.34,5.7h-2a5.828,5.828,0,0,0-1.76-4.2,5.894,5.894,0,0,0-8.48,0,5.828,5.828,0,0,0-1.76,4.2Zm8-9a6,6,0,1,1,6-6A6,6,0,0,1,3252,14232Zm0-2a4,4,0,1,0-4-4A4.005,4.005,0,0,0,3252,14230Zm12.55-10.2a13.661,13.661,0,0,1,1.45,6.2,14.06,14.06,0,0,1-1.45,6.2l-1.65-1.2a12.031,12.031,0,0,0,1.1-5,11.663,11.663,0,0,0-1.1-5Zm-3.3,2.4a10,10,0,0,1,0,7.6l-1.68-1.2a8.074,8.074,0,0,0,0-5.2Z" transform="translate(-3243.75 -14219.425)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> Bio
  640. </li>
  641. <li class="user_bio">
  642. Adoro estar sempre por dentro das últimas tendências de moda infantil. Gosto de escrever sobre minhas descobertas e experiências no blog, fornecendo dicas práticas para outras mães.
  643. </li>
  644. <li class="webs">
  645. <svg xmlns="http://www.w3.org/2000/svg" width="20.16" height="20.16" viewBox="0 0 20.16 20.16"> <path id="Path_4926" data-name="Path 4926" d="M3483.06,1761.11l1.42,1.41a6.975,6.975,0,0,1,1.51,7.63,6.943,6.943,0,0,1-1.51,2.27l-.36.36a7,7,0,0,1-9.9-9.9l1.42,1.41a5.155,5.155,0,0,0-1.1,1.63,4.969,4.969,0,0,0-.38,1.91,4.863,4.863,0,0,0,.37,1.92,5.035,5.035,0,0,0,2.72,2.72,4.863,4.863,0,0,0,1.92.37,4.969,4.969,0,0,0,1.91-.38,5.156,5.156,0,0,0,1.63-1.1l.35-.35a5.01,5.01,0,0,0,0-7.07l-1.41-1.42,1.41-1.41Zm6.72,6.01-1.42-1.41a5.155,5.155,0,0,0,1.1-1.63,4.969,4.969,0,0,0,.38-1.91,4.863,4.863,0,0,0-.37-1.92,5.035,5.035,0,0,0-2.72-2.72,4.863,4.863,0,0,0-1.92-.37,4.969,4.969,0,0,0-1.91.38,5.156,5.156,0,0,0-1.63,1.1l-.35.35a5.01,5.01,0,0,0,0,7.07l1.41,1.41-1.41,1.42-1.41-1.42a6.816,6.816,0,0,1-1.52-2.27,6.9,6.9,0,0,1,0-5.35,6.961,6.961,0,0,1,1.52-2.28l.35-.35a7,7,0,0,1,9.9,9.9Z" transform="translate(-3471.92 -1754.92)" fill="currentColor" stroke="#fff" stroke-width="0.5"/> </svg> <a class="text-white" href="https://www.pililimodainfantil.Com.br/bermuda-infantil/masculina" target="_blank">https://www.pililimodainfantil.Com.br/bermuda-infantil/masculina</a>
  646. </li>
  647. </ul>
  648.  
  649. </div>
  650. </div>
  651. <div class="content">
  652. <div class="sidebar_widget">
  653. <h2 class="home_widget_title home_big_title mt-2 mb-3">Artists to Follow</h2>
  654. <div class="feed_sidebar_artist">
  655. <div class="artist_list">
  656. <a href="https://gwiremusic.com//gwire"  class="artist_list_innr">
  657. <svg xmlns="http://www.w3.org/2000/svg" width="83.396" height="83.396" viewBox="0 0 83.396 83.396"> <path id="ic_play_circle_filled_24px" d="M43.7,2A41.7,41.7,0,1,0,85.4,43.7,41.713,41.713,0,0,0,43.7,2Zm-8.34,60.462V24.934L60.378,43.7Z" transform="translate(-2 -2)" fill="#fff"/> </svg>
  658. <div class="cover_art">
  659. <img src="https://gwiremusic.com/upload/photos/d-avatar.jpg">
  660. </div>
  661. <div class="track_info">
  662. <span class="artist">gwire</span>
  663. </div>
  664. </a>
  665. </div> </div>
  666. </div> <div class="sidebar_widget mt-4 mb-0 feed_sidebar_song">
  667. <h2 class="home_widget_title home_big_title mt-2 mb-3">Weekly Top Tracks</h2>
  668. </div> </div>
  669. </div>
  670. </div>
  671. <!-- End User Profile -->
  672. </div>
  673. </div>
  674. </div>
  675. <input type="hidden" id="user-id" name="user-id" value="17">
  676. </div>
  677.  
  678. <script>
  679. $(function () {
  680. $('[data-toggle="tooltip"]').tooltip()
  681. })
  682.  
  683. $('svg .verified_ico').tooltip({
  684. title: 'Verified',
  685. placement: 'top',
  686. container: 'body'
  687. });
  688.  
  689. var loading_icon = '<svg width="24px"  height="24px"  xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-dual-ring" style="background: none;"><circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.stroke}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="40" stroke-width="8" stroke="#28292f" stroke-dasharray="62.83185307179586 62.83185307179586" transform="rotate(308.458 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="0.7s" begin="0s" repeatCount="indefinite"></animateTransform></circle></svg>';
  690. var camera_icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z"></path></svg>';
  691. var video_icon = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512"><path fill="currentColor" d="M450.6 153.6c-3.3 0-6.5.9-9.3 2.7l-86.5 54.6c-2.5 1.6-4 4.3-4 7.2v76c0 2.9 1.5 5.6 4 7.2l86.5 54.6c2.8 1.7 6 2.7 9.3 2.7h20.8c4.8 0 8.6-3.8 8.6-8.5v-188c0-4.7-3.9-8.5-8.6-8.5h-20.8zM273.5 384h-190C55.2 384 32 360.8 32 332.6V179.4c0-28.3 23.2-51.4 51.4-51.4h190c28.3 0 51.4 23.2 51.4 51.4v153.1c.1 28.3-23 51.5-51.3 51.5z"></path></svg>';
  692.  
  693. $(document).ready(function() {
  694.    $('#user-change-avatar-form').ajaxForm({
  695.     url: "https://gwiremusic.com/endpoints/user/update-profile-picture?hash_id=" + getHashID(),
  696.        beforeSubmit:  function () {
  697.         $('#change-avatar-icon .icon').html(loading_icon);
  698.        },
  699.        success: function (data) {
  700.         if (data.status == 200) {
  701.         $('#avatar').attr('src', data.img);
  702.         }
  703.         $('#change-avatar-icon .icon').html(camera_icon);
  704.        }
  705.    });
  706.  
  707.    $('#user-change-cover-form').ajaxForm({
  708.     url: "https://gwiremusic.com/endpoints/user/update-profile-cover?hash_id=" + getHashID(),
  709.        beforeSubmit:  function (arr, form, options) {
  710.         if (arr[0].value != '') {
  711.         $('#change-cover-icon .icon').html(loading_icon);
  712.         }
  713.         else{
  714.         $('#change-cover-icon .videoicon').html(loading_icon);
  715.         }
  716.        },
  717.        success: function (data) {
  718.         if (data.status == 200) {
  719.         if (data.img) {
  720.         $('.artist_profile_cover').html('<img src="'+data.img+'" alt="User Cover" id="cover">');
  721.         }
  722.         else{
  723.         $('.artist_profile_cover').html('<video autoplay muted loop id="myVideo"><source src="'+data.video+'" type="video/mp4">Your browser does not support HTML5 video.</video>');
  724.         }
  725.         }
  726.         else{
  727.         $('#ShowAlert').find('.ShowAlertText').html('<div class="alert alert-danger">'+data.message+'</div>');
  728.         $('#ShowAlert').modal('show');
  729.         }
  730.         $('#change-cover-icon .icon').html(camera_icon);
  731.         $('#change-cover-icon .videoicon').html(video_icon);
  732.        }
  733.    });
  734. });
  735.  
  736. $(document).on('change', '#user-avatar', function(event) {
  737. $("#user-change-avatar-form").submit();
  738. });
  739. $(document).on('change', '#user-cover', function(event) {
  740. $("#user-change-cover-form").submit();
  741. });
  742. $(document).on('change', '#user-video', function(event) {
  743. $("#user-change-cover-form").submit();
  744. });
  745. $(document).on('click', '.artist_profile_cover', function(event) {
  746. var video = document.getElementById("myVideo");
  747. if (video.paused) {
  748.    video.play();
  749.    btn.innerHTML = "Pause";
  750.  } else {
  751.    video.pause();
  752.    btn.innerHTML = "Play";
  753.  }
  754. });
  755.  
  756. </script>
  757. </div>
  758. <!-- End Content  -->
  759.  
  760. <!-- Footer -->
  761. <div class="ma_footer">
  762. <div class="ma_footer_cright">
  763. <div class="ma_footer_links">
  764. <div class="lang_select dropup">
  765. <button type="button" class="btn dropdown-toggle" data-toggle="modal" data-target="#select-language"><svg xmlns="http://www.w3.org/2000/svg" width="16.66" height="16.66" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg> English</button>
  766. </div>
  767. </div>
  768. <div class="ma_footer_links">
  769. <a href="https://gwiremusic.com/blogs" data-load="blogs">Blogs</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  770. <a href="https://gwiremusic.com/terms/dmca" data-load="terms/dmca">DMCA</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  771. <a href="https://gwiremusic.com/terms/about" data-load="terms/about">About Us</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  772. <a href="https://gwiremusic.com/terms/terms" data-load="terms/terms">Terms</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  773. <a href="https://gwiremusic.com/contact" data-load="contact">Contact</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  774. <a href="https://gwiremusic.com/terms/privacy" data-load="terms/privacy">Privacy Policy</a>&nbsp;&nbsp;•&nbsp;&nbsp;
  775. <a href="https://gwiremusic.com/terms/faqs" data-load="terms/faqs">Faqs</a>
  776.  
  777. </div>
  778. <div class="ma_footer_links">
  779. © 2024 GwireMusic </div>
  780. </div> </div>
  781. <!-- End Footer -->
  782. </div>
  783. <!-- Player  -->
  784. <div class="ma_player closed">
  785. <div class="player">
  786. <div class="player-video-preview" id="my_video_player_container">
  787. <div class="y_player_cover"></div>
  788. <div class="plyr__video-embed" id="my_video_player_">
  789.  <iframe
  790.    src="https://www.youtube.com/watch?v=rMHx_iUAGd0?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1"
  791.    allowfullscreen
  792.    allowtransparency
  793.    allow="autoplay"
  794.  ></iframe>
  795. </div>
  796. </div>
  797. <div class="song_details">
  798. <div class="song_details_inner player-song-url" data-load="">
  799. <div class="song_art">
  800. <a href="#" class="player-song-url" data-load=""><img amplitude-song-info="cover_art_url" amplitude-main-song-info="true"/></a>
  801. </div>
  802. <div class="song_title">
  803. <a href="#" class="player-song-url" data-load="">
  804. <h3 amplitude-song-info="name" amplitude-main-song-info="true" class="song_name"></h3>
  805. </a>
  806. <div class="song_fav" title="Favorite" id="song-fav-button"></div>
  807. <div class="song_time_sec">
  808. <span class="current_time">
  809. <span class="amplitude-current-hours" amplitude-main-current-hours="true"></span>:<span class="amplitude-current-minutes" amplitude-main-current-minutes="true"></span>:<span class="amplitude-current-seconds" amplitude-main-current-seconds="true"></span>
  810. </span>
  811. <span class="duration_seperate">/</span>
  812. <span class="duration_time">
  813. <span class="amplitude-duration-hours" amplitude-main-duration-hours="true"></span>:<span class="amplitude-duration-minutes" amplitude-main-duration-minutes="true"></span>:<span class="amplitude-duration-seconds" amplitude-main-duration-seconds="true"></span>
  814. </span>
  815. </div>
  816. </div>
  817. </div>
  818. </div>
  819. <div class="song_progress">
  820. <div class="song_time">
  821. <span class="current_time">
  822. <span class="amplitude-current-hours" amplitude-main-current-hours="true"></span>:<span class="amplitude-current-minutes" amplitude-main-current-minutes="true"></span>:<span class="amplitude-current-seconds" amplitude-main-current-seconds="true"></span>
  823. </span>
  824. <div class="song_prog_mobi">
  825. <div class="progress_container">
  826. <input type="range" class="amplitude-song-slider" amplitude-main-song-slider="true"/>
  827. <progress id="song-played-progress" class="amplitude-song-played-progress" amplitude-main-song-played-progress="true"></progress>
  828. <progress id="song-buffered-progress" class="amplitude-buffered-progress" value="0"></progress>
  829. </div>
  830. </div>
  831. <span class="duration_seperate">/</span>
  832. <span class="duration_time">
  833. <span class="amplitude-duration-hours" amplitude-main-duration-hours="true"></span>:<span class="amplitude-duration-minutes" amplitude-main-duration-minutes="true"></span>:<span class="amplitude-duration-seconds" amplitude-main-duration-seconds="true"></span>
  834. </span>
  835. </div>
  836. <div class="song_controls">
  837. <div class="amplitude-shuffle amplitude-shuffle-off" id="shuffle" title="Shuffle">
  838. <svg xmlns="http://www.w3.org/2000/svg" width="23.062" height="23.601" viewBox="0 0 23.062 23.601"> <g id="music-suffle" transform="translate(-4.723 -4.567)"> <path id="Path_215762" data-name="Path 215762" d="M27.548,5.354l-1.039,7.023-2.5-2.5L6,27.885l-1-1L23.015,8.88l-2.5-2.5ZM20.135,18.863,24.07,22.8l2.439-2.439L27.54,27.39l-7.023-1.037,2.558-2.558L19.136,19.86l1-1ZM6.008,4.85l8.157,8.159-1,1L5.009,5.849Z" transform="translate(0 0)" fill="currentColor" class="icon_stroke" stroke-width="0.4" fill-rule="evenodd"/> </g> </svg>
  839. </div>
  840. <div class="amplitude-prev" id="previous">
  841. <svg xmlns="http://www.w3.org/2000/svg" width="14.182" height="23.035" viewBox="0 0 14.182 23.035"> <path id="Subtraction_40" data-name="Subtraction 40" d="M8828.667,2864.033a.622.622,0,0,1-.461-.189.648.648,0,0,1-.207-.479v-21.7a.647.647,0,0,1,.207-.477.653.653,0,0,1,.923,0,.637.637,0,0,1,.206.477v21.7a.638.638,0,0,1-.206.479A.624.624,0,0,1,8828.667,2864.033Zm13.407-3.185h0a.7.7,0,0,0-.1-.042l-11.855-7.888-.6-.4,12.459-8.289a.814.814,0,0,0,.1-.044.658.658,0,0,0,.08.036c.006.013.012.024.018.034l0,.007h0l.006.01v16.494a.237.237,0,0,1-.015.03l-.01.019a.832.832,0,0,0-.082.035Zm-1.228-14.291h0l-8.859,5.957,8.859,5.961v-11.918Z" transform="translate(-8827.999 -2840.999)" fill="currentColor"/> </svg>
  842. </div>
  843. <div class="amplitude-play-pause" amplitude-main-play-pause="true" id="play-pause"></div>
  844. <div class="amplitude-next" id="next">
  845. <svg xmlns="http://www.w3.org/2000/svg" width="14.182" height="23.035" viewBox="0 0 14.182 23.035"> <path id="Subtraction_42" data-name="Subtraction 42" d="M.668,0A.622.622,0,0,0,.207.189.648.648,0,0,0,0,.668v21.7a.647.647,0,0,0,.207.477.618.618,0,0,0,.461.191.62.62,0,0,0,.462-.191.637.637,0,0,0,.206-.477V.668A.638.638,0,0,0,1.13.189.624.624,0,0,0,.668,0ZM14.075,3.185h0a.7.7,0,0,1-.1.042L2.115,11.115l-.6.4,12.459,8.289a.814.814,0,0,1,.1.044.658.658,0,0,1,.08-.036c.006-.013.012-.024.018-.034l0-.007h0l.006-.01V3.269a.237.237,0,0,0-.015-.03l-.01-.019a.832.832,0,0,1-.082-.035ZM12.848,17.475h0L3.988,11.518l8.859-5.961V17.475Z" transform="translate(14.182 23.035) rotate(180)" fill="currentColor"/> </svg>
  846. </div>
  847. <div class="amplitude-repeat amplitude-repeat-on" id="repeat" title="Repeat">
  848. <svg xmlns="http://www.w3.org/2000/svg" width="26.435" height="26.914" viewBox="0 0 26.435 26.914"> <path id="Path_6414" data-name="Path 6414" d="M3529.644,13691.386h16.932a1.081,1.081,0,0,1,.8.339,1.1,1.1,0,0,1,.327.79v7.9h-2.258v-6.771h-15.8v3.386l-5.644-4.516,5.644-4.516Zm13.546,18.062h-16.932a1.083,1.083,0,0,1-.8-.339,1.1,1.1,0,0,1-.327-.79v-7.9h2.258v6.773h15.8v-3.387l5.644,4.516-5.644,4.515Z" transform="translate(-3523.2 -13686.959)" fill="currentColor" class="icon_stroke" stroke-width="1"/> </svg>
  849. </div>
  850. </div>
  851. </div>
  852. <div class="song_progress_right">
  853. <div class="song_volume">
  854. <div class="volume_controls">
  855. <div class="amplitude-mute amplitude-not-muted"></div>
  856. <div class="plyr_vol_mobi">
  857. <input type="range" class="amplitude-volume-slider"/>
  858. <div class="ms-range-fix"></div>
  859. </div>
  860. </div>
  861. </div>
  862. <div class="song_rs_controls">
  863. <div class="repeat_container">
  864. <div class="amplitude-playback-speed amplitude-playback-speed-10"></div>
  865. </div>
  866. </div>
  867. <div class="song_queue song_queued" onclick="Ma_ShowQueue();">
  868. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18 5v8.333c-.455-.216-.957-.346-1.493-.346-1.934 0-3.507 1.573-3.507 3.507S14.573 20 16.507 20s3.507-1.573 3.507-3.507c0-.177-.027-.347-.053-.517H20V6h2V4h-3C18.447 4 18 4.448 18 5zM2 5H16V7H2z"/><path fill="currentColor" d="M2 9H16V11H2zM2 13H11V15H2zM2 17H11V19H2z"/></svg>
  869. </div>
  870. <div class="song_queue" onclick="clearQueues();">
  871. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"/></svg>
  872. </div>
  873. </div>
  874. <div class="ma_player_playlist" data-simplebar>
  875. <div class="queue_head">
  876. <h4>Queue</h4>
  877. <span onclick="clearQueues();" title="Clear"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"/></svg></span>
  878. </div>
  879. <div id="queue-list">
  880. </div>
  881. </div>
  882. </div>
  883. </div>
  884. <!-- End Player  -->
  885. </div>
  886.  
  887. <!-- Login Modal  -->
  888. <!-- Modal -->
  889. <div class="modal fade auth_box_prnt" id="login_box" tabindex="-1" role="dialog" aria-labelledby="login_box" aria-hidden="true">
  890. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg></button>
  891. <div class="modal-dialog auth_box" role="document">
  892. <div class="modal-content">
  893. <div class="right_combo">
  894. <div class="navbar-brand">
  895. <img src="https://gwiremusic.com/themes/volcano/img/logo.png?cache=753" alt="">
  896. </div>
  897. <h2>Login</h2>
  898. <p>Get access to your music, playlists and account</p>
  899. <div class="alert alert-danger alert-empty" id="output-errors"></div>
  900. <form method="post" action="" method="POST" id="login-form">
  901. <div class="form-group mat_input">
  902. <input type="text" class="form-control" placeholder="Username" autofocus name="username">
  903. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z"/></svg>
  904. </div>
  905. <div class="form-group mat_input">
  906. <input type="password" class="form-control" placeholder="Password" name="password">
  907. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18 8h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2V7a6 6 0 1 1 12 0v1zM5 10v10h14V10H5zm6 4h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2zm1-6V7a4 4 0 1 0-8 0v1h8z"/></svg>
  908. </div>
  909. <div class="forgot_password">
  910. <a href="https://gwiremusic.com/forgot-password">Forgot your password?</a>
  911. </div>
  912. <input type="hidden" name="last_url" class="login_last_url">
  913. <button type="submit" class="btn btn-primary btn-mat" id="btn-submit">Login</button>
  914. </form>
  915. <div class="signup_">
  916. <span>Don&#039;t have an account?</span>
  917. <a href="#" data-dismiss="modal" data-toggle="modal" data-target="#signup_box">Sign Up</a>
  918. </div>
  919. <div class="ma_social_login">
  920. </div>
  921. </div>
  922. <div class="left_combo" style="background-image: url(https://gwiremusic.com/themes/volcano/img/auth/singing.jpg);">
  923. <h2>Live your Day with <span>Music</span> <img src="https://gwiremusic.com/themes/volcano/img/icon.png" /></h2>
  924. </div>
  925. </div>
  926. </div>
  927. </div>
  928.  
  929. <script>
  930. $(document).ready(function() {
  931.    var options = {
  932.     url: "https://gwiremusic.com/endpoints/auth/login?hash_id=" + getHashID(),
  933.        beforeSubmit:  function () {
  934.         $('#output-errors').empty();
  935.         $("#btn-submit").text("Please wait..");
  936.        },
  937.        success: function (data) {
  938.         $("#btn-submit").text("Login");
  939.         if (data.status == 200) {
  940.         if (data.last_url) {
  941.         window.location.href = data.last_url;
  942.         return false;
  943.         }
  944.         if ($('#page').attr('data-page') != 'home' && $('#page').attr('data-page') != 'forgot' && $('#page').attr('data-page') != 'reset') {
  945.         $('#main-header').html(data.header);
  946.         $('#login_box').modal('hide');
  947.         if (Amplitude.getActiveSongMetadata().price > 0) {
  948.         location.href = window.location.href;
  949.         } else {
  950.         location.href = window.location.href;
  951.         }
  952. $("[data-load='feed']").parent().removeClass("hidden");
  953.         } else {
  954.         location.href = window.location.href;
  955.         }
  956.         } else if (data.status == 400) {
  957.         var errros = data.errors.join("<br>");
  958.         $('#output-errors').html(errros);
  959.         } else if (data.status == 600) {
  960.                location.href = data.location;
  961.            }
  962.        }
  963.    };
  964.  
  965.    $('#login-form').ajaxForm(options);
  966. });
  967. </script>
  968. <!-- End Login Modal  -->
  969.  
  970. <!-- Signup Modal  -->
  971. <!-- Modal -->
  972. <div class="modal fade auth_box_prnt" id="signup_box" tabindex="-1" role="dialog" aria-labelledby="signup_box" aria-hidden="true">
  973. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg></button>
  974. <div class="modal-dialog auth_box" role="document">
  975. <div class="modal-content">
  976. <div class="right_combo">
  977. <div class="navbar-brand">
  978. <img src="https://gwiremusic.com/themes/volcano/img/logo.png?cache=753" alt="">
  979. </div>
  980. <h2>Signup</h2>
  981. <p>Get access to your music, playlists and account</p>
  982. <div class="alert alert-danger alert-empty" id="output-singup-errors"></div>
  983. <form method="post" action="POST" id="signup-form">
  984. <div class="form-group mat_input">
  985. <input type="text" name="name" class="form-control" placeholder="Full Name" autofocus>
  986. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z"/></svg>
  987. </div>
  988. <div class="form-group mat_input">
  989. <input type="text" name="username" class="form-control" placeholder="Username">
  990. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M4 22a8 8 0 1 1 16 0h-2a6 6 0 1 0-12 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6 6 2.685 6 6-2.685 6-6 6zm0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z"/></svg>
  991. </div>
  992. <div class="form-group mat_input">
  993. <input type="email" name="email" class="form-control" placeholder="Email address">
  994. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm17 4.238l-7.928 7.1L4 7.216V19h16V7.238zM4.511 5l7.55 6.662L19.502 5H4.511z"/></svg>
  995. </div>
  996. <div class="form-group mat_input">
  997. <input type="password" name="password" class="form-control" placeholder="Password" id="password">
  998. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18 8h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2V7a6 6 0 1 1 12 0v1zM5 10v10h14V10H5zm6 4h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2zm1-6V7a4 4 0 1 0-8 0v1h8z"/></svg>
  999. </div>
  1000. <div class="form-group mat_input">
  1001. <input type="password" name="c_password" class="form-control" placeholder="Confirm Password">
  1002. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path fill="currentColor" d="M18 8h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2V7a6 6 0 1 1 12 0v1zM5 10v10h14V10H5zm6 4h2v2h-2v-2zm-4 0h2v2H7v-2zm8 0h2v2h-2v-2zm1-6V7a4 4 0 1 0-8 0v1h8z"/></svg>
  1003. </div>
  1004. <div class="recaptcha">
  1005. </div>
  1006. <div class="terms_check">
  1007. <span>By signing up, you agree to our</span>
  1008. <a href="https://gwiremusic.com/terms/terms">Terms</a>
  1009. <span>and</span>
  1010. <a href="https://gwiremusic.com/terms/privacy">Privacy Policy</a>
  1011. </div>
  1012. <button type="submit" class="btn btn-primary btn-mat" id="btn-singup-submit">Signup</button>
  1013. </form>
  1014. <div class="signup_">
  1015. <span>Already have an account?</span>
  1016. <a href="#" data-dismiss="modal" data-toggle="modal" data-target="#login_box">Login</a>
  1017. </div>
  1018. </div>
  1019. <div class="left_combo register" style="background-image: url(https://gwiremusic.com/themes/volcano/img/auth/register.png);">
  1020. <h3>Over 30 million songs to suit every mood & occasion</h3>
  1021. <div class="row">
  1022. <div class="col-3">
  1023. <svg class="top" xmlns="http://www.w3.org/2000/svg" width="51.633" height="51.682" viewBox="0 0 51.633 51.682"> <g id="Group_9888" data-name="Group 9888" transform="translate(-1109 -695.318)"> <g transform="translate(10.051 -42.949)"> <g id="Rectangle_3432" data-name="Rectangle 3432" transform="translate(1098.949 749.949)" fill="none" stroke="#fff" stroke-width="1"> <rect width="40" height="40" rx="6" stroke="none"/> <rect x="0.5" y="0.5" width="39" height="39" rx="5.5" fill="none"/> </g> <g id="Group_9318" data-name="Group 9318" transform="translate(1108.972 761.968)"> <path id="Subtraction_45" data-name="Subtraction 45" d="M9.464,15.535H0V14.164H9.464v1.37Zm4.048-7.082H0V7.082H13.512v1.37Zm6.069-7.082H0V0H19.581V1.37Z" transform="translate(0 0)" fill="#fff"/> <path id="Path_7235" data-name="Path 7235" d="M81.74,1.6a3.463,3.463,0,0,1-1.685-.4C79.7.993,79.491.732,79.491.486V.467a.473.473,0,0,0-.946,0V6.459a2.551,2.551,0,1,0,.946,1.974s0-.009,0-.014,0,0,0-.007V1.953a4.27,4.27,0,0,0,2.249.58.467.467,0,1,0,0-.933ZM76.9,10.059a1.625,1.625,0,1,1,1.648-1.625A1.639,1.639,0,0,1,76.9,10.059Z" transform="translate(-62.306 4.869)" fill="#fff"/> </g> </g> <path id="Subtraction_46" data-name="Subtraction 46" d="M10856.77,1580.2h0a13.591,13.591,0,0,0-4.876-5.964l.494-1.774a15.166,15.166,0,0,1,6.233,7.628l-1.851.111Zm6.592-.363h0a19.572,19.572,0,0,0-3.637-6.947,19.283,19.283,0,0,0-6.1-4.976l.473-1.752a21.064,21.064,0,0,1,7.01,5.622,21.318,21.318,0,0,1,4.082,7.959l-1.824.1Z" transform="translate(-9704.555 -870.846)" fill="#fff"/> </g> </svg>
  1024. <p>Create your own playlist</p>
  1025. </div>
  1026. <div class="col-5">
  1027. <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"> <g transform="translate(-1098.949 -749.949)"> <g id="Rectangle_3432" data-name="Rectangle 3432" transform="translate(1098.949 749.949)" fill="none" stroke="#fff" stroke-width="1"> <rect width="40" height="40" rx="6" stroke="none"/> <rect x="0.5" y="0.5" width="39" height="39" rx="5.5" fill="none"/> </g> <path id="Subtraction_47" data-name="Subtraction 47" d="M10709.106,1626.985a3.671,3.671,0,0,1-1.342-.249,3.749,3.749,0,0,1-2.247-4.4l.085-.342-4.99-2.734-.238.257a3.647,3.647,0,0,1-1.892,1.091l0,0a3.753,3.753,0,0,1-.823.093,3.619,3.619,0,0,1-1.358-.264,3.659,3.659,0,0,1-1.708-1.372,3.765,3.765,0,0,1,0-4.2,3.646,3.646,0,0,1,1.708-1.372,3.75,3.75,0,0,1,1.373-.262,3.576,3.576,0,0,1,.808.091l.007,0a3.614,3.614,0,0,1,1.89,1.091l.238.257,4.99-2.734-.085-.342a3.745,3.745,0,0,1,2.247-4.4,3.679,3.679,0,0,1,1.342-.252,3.734,3.734,0,0,1,.01,7.468,3.353,3.353,0,0,1-.35-.017,3.72,3.72,0,0,1-2.359-1.169l-.238-.254-4.987,2.734.083.342a3.774,3.774,0,0,1,0,1.832l-.083.342,4.99,2.734.238-.257a3.651,3.651,0,0,1,2.356-1.166c.113-.011.229-.016.343-.016a3.749,3.749,0,0,1,2.184.706,3.73,3.73,0,0,1-2.187,6.759Zm.013-6.282a2.557,2.557,0,0,0-2.534,2.548,2.543,2.543,0,0,0,.747,1.8,2.512,2.512,0,0,0,3.577,0,2.541,2.541,0,0,0,0-3.6A2.513,2.513,0,0,0,10709.119,1620.7Zm-11.457-6.284a2.509,2.509,0,0,0-1.787.751,2.541,2.541,0,0,0,0,3.6,2.506,2.506,0,0,0,3.577,0,2.538,2.538,0,0,0,0-3.6A2.511,2.511,0,0,0,10697.662,1614.419Zm11.457-6.284a2.507,2.507,0,0,0-1.787.751,2.538,2.538,0,0,0,0,3.6,2.506,2.506,0,0,0,3.577,0,2.549,2.549,0,0,0-1.79-4.348Z" transform="translate(-9584.443 -847.019)" fill="#fff"/> </g> </svg>
  1028. <p>Share music with friends & family</p>
  1029. </div>
  1030. <div class="col-4">
  1031. <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"> <g transform="translate(-1098.949 -749.949)"> <g id="Rectangle_3432" data-name="Rectangle 3432" transform="translate(1098.949 749.949)" fill="none" stroke="#fff" stroke-width="1"> <rect width="40" height="40" rx="6" stroke="none"/> <rect x="0.5" y="0.5" width="39" height="39" rx="5.5" fill="none"/> </g> <path id="Path_6728" data-name="Path 6728" d="M3535.636,7856.374l-7.81-7.811.029-.059a5.6,5.6,0,0,1,4.3-8.935c.069,0,.138,0,.207,0a5.607,5.607,0,0,0,6.54,0c.069,0,.138,0,.207,0a5.6,5.6,0,0,1,4.312,8.924l.031.059Zm-6.5-8.184,6.5,6.5,6.5-6.5.132-.153a4.417,4.417,0,0,0-6.24-6.217l-.388.335-.388-.335a4.412,4.412,0,0,0-2.882-1.07c-.054,0-.109,0-.163,0a4.414,4.414,0,0,0-3.2,7.284Z" transform="translate(-2417.124 -7077.917)" fill="#fff"/> </g> </svg>
  1032. <p>Save your favourites</p>
  1033. </div>
  1034. </div>
  1035. </div>
  1036. </div>
  1037. </div>
  1038. </div>
  1039.  
  1040. <style>
  1041. </style>
  1042. <script>
  1043. $(document).ready(function() {
  1044.    var options = {
  1045.     url: "https://gwiremusic.com/endpoints/auth/signup?hash_id=" + getHashID() + '',
  1046.        beforeSubmit:  function () {
  1047.                 $('#output-singup-errors').removeClass("alert-success").addClass('alert-danger');
  1048.         $('#output-singup-errors').empty();
  1049.         $("#btn-singup-submit").text("Please wait..");
  1050.                },
  1051.        success: function (data) {
  1052.         $("#btn-singup-submit").text("Signup");
  1053.         if (data.status == 200) {
  1054.  
  1055.            if( typeof data.link !== "undefined" ){
  1056.                    location.href = 'https://gwiremusic.com';
  1057. }
  1058.  
  1059.         if ($('#page').attr('data-page') != 'home' && $('#page').attr('data-page') != 'forgot' && $('#page').attr('data-page') != 'reset') {
  1060.         $('#main-header').html(data.header);
  1061.         $('#signup_box').modal('hide');
  1062.  
  1063.         if (Amplitude.getActiveSongMetadata().price > 0) {
  1064.         location.href = 'https://gwiremusic.com/interest';//window.location.href;
  1065.         } else {
  1066.         ajaxRedirect('interest');
  1067.         }
  1068.         } else {
  1069.         location.href = 'https://gwiremusic.com/interest';//window.location.href;
  1070.         }
  1071.         } else if (data.status == 400) {
  1072.         var errros = data.errors.join("<br>");
  1073.         $('#output-singup-errors').html(errros);
  1074.         } else if (data.status == 403) {
  1075.         $('#output-singup-errors').removeClass("alert-danger").addClass('alert-success');
  1076.         $('#output-singup-errors').html(data.message);
  1077.            }
  1078.        }
  1079.    };
  1080.  
  1081.    $('#signup-form').ajaxForm(options);
  1082. });
  1083. </script>
  1084. <!-- End Signup Modal  -->
  1085.  
  1086. <!-- Modals -->
  1087. <div class="modal fade" id="delete-song" tabindex="-1" role="dialog" aria-labelledby="delete-song" aria-hidden="true" data-id="0">
  1088. <div class="modal-dialog mat_box" role="document">
  1089. <div class="modal-content">
  1090. <div class="modal-header">
  1091. <h5 class="modal-title">Delete your track</h5>
  1092. </div>
  1093. <div class="modal-body">
  1094. Are you sure you want to delete this track?
  1095. </div>
  1096. <div class="modal-footer">
  1097. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1098. <button type="button" class="btn btn-danger btn-mat" onclick="deleteSong();">Delete</button>
  1099. </div>
  1100. </div>
  1101. </div>
  1102. </div> <div class="modal fade" id="delete-comment" tabindex="-1" role="dialog" aria-labelledby="delete-comment" aria-hidden="true" data-id="0">
  1103. <div class="modal-dialog mat_box" role="document">
  1104. <div class="modal-content">
  1105. <div class="modal-header">
  1106. <h5 class="modal-title">Delete comment</h5>
  1107. </div>
  1108. <div class="modal-body">
  1109. Are you sure you want to delete this comment?
  1110. </div>
  1111. <div class="modal-footer">
  1112. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1113. <button type="button" class="btn btn-danger btn-mat" onclick="deleteComment();">Delete</button>
  1114. </div>
  1115. </div>
  1116. </div>
  1117. </div>
  1118.  
  1119.  
  1120. <div class="modal fade" id="delete-comment-replay" tabindex="-1" role="dialog" aria-labelledby="delete-comment-replay" aria-hidden="true" data-id="0">
  1121. <div class="modal-dialog mat_box" role="document">
  1122. <div class="modal-content">
  1123. <div class="modal-header">
  1124. <h5 class="modal-title">Delete comment</h5>
  1125. </div>
  1126. <div class="modal-body">
  1127. Are you sure you want to delete this comment?
  1128. </div>
  1129. <div class="modal-footer">
  1130. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1131. <button type="button" class="btn btn-danger btn-mat" onclick="deleteCommentReplay(this);">Delete</button>
  1132. </div>
  1133. </div>
  1134. </div>
  1135. </div> <div class="modal fade" id="delete-post" tabindex="-1" role="dialog" aria-labelledby="delete-post" aria-hidden="true" data-id="0">
  1136. <div class="modal-dialog mat_box" role="document">
  1137. <div class="modal-content">
  1138. <div class="modal-header">
  1139. <h5 class="modal-title">Delete your post</h5>
  1140. </div>
  1141. <div class="modal-body">
  1142. Are you sure you want to delete this post?
  1143. </div>
  1144.  
  1145. <div class="modal-footer">
  1146. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1147. <button type="button" class="btn btn-danger btn-mat" onclick="deletePost();">Delete</button>
  1148. </div>
  1149. </div>
  1150. </div>
  1151. </div> <div class="modal fade" id="reposted" tabindex="-1" role="dialog" aria-labelledby="reposted" aria-hidden="true" data-id="0">
  1152. <div class="modal-dialog mat_box" role="document">
  1153. <div class="modal-content">
  1154. <div class="modal-body">
  1155. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> The song was successfully shared on your timeline.</div>
  1156. </div>
  1157. </div>
  1158. </div>
  1159. </div> <div class="modal fade" id="purchase-song" role="dialog" aria-labelledby="purchase-song" aria-hidden="true" data-id="0">
  1160. <div class="modal-dialog mat_box" role="document">
  1161. <div class="modal-content">
  1162. <div class="modal-header">
  1163. <h5 class="modal-title">Purchase Required</h5>
  1164. </div>
  1165. <div class="modal-body">
  1166. To continue listening to this track, you need to purchase the song.
  1167. </div>
  1168. <div class="modal-footer">
  1169. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1170. <button type="button" class="btn btn-primary btn-mat" onclick="purchaseTrack($(this));">Purchase $<span class="price"></span></button>
  1171. </div>
  1172. </div>
  1173. </div>
  1174. </div> <div class="modal fade" id="age-restricted" role="dialog" aria-labelledby="age-restricted" aria-hidden="true" data-id="0">
  1175. <div class="modal-dialog mat_box" role="document">
  1176. <div class="modal-content">
  1177. <div class="modal-header">
  1178. <h5 class="modal-title">Age restricted track</h5>
  1179. </div>
  1180. <div class="modal-body">
  1181. This track is age restricted for viewers under 18, Create an account or login to confirm your age. </div>
  1182. <div class="modal-footer">
  1183. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  1184. </div>
  1185. </div>
  1186. </div>
  1187. </div> <div class="modal fade" id="create_copyright_box" tabindex="-1" role="dialog" aria-labelledby="create_copyright_box" aria-hidden="true">
  1188. <div class="modal-dialog mat_box create_playlist" role="document">
  1189. <div class="modal-content">
  1190. <div class="modal-header">
  1191. <h5 class="modal-title">Create DMCA take down notice</h5>
  1192. </div>
  1193. <form method="post" action="" id="copyright-form">
  1194. <div class="alert alert-danger alert-empty" id="output-copyright-errors"></div>
  1195. <div class="create_playlist_innr">
  1196. <div class="play_info">
  1197. <div class="form-group mat_input" style="text-align: initial;">
  1198. <textarea name="description" id="description" rows="6" style="width: 100%;"></textarea><br>
  1199. <small>Please describe your request carefully and as much as you can, note that false DMCA requests can lead to account termination.</small>
  1200. </div>
  1201. <hr>
  1202. <div class="custom-control custom-radio">
  1203. <input type="checkbox" id="confirm_1" name="confirm_1" class="custom-control-input">
  1204. <label class="custom-control-label" for="confirm_1">I have a good faith belief that use of the copyrighted work described above is not authorized by the copyright owner, its agent or the law</label>
  1205. </div>
  1206. <div class="custom-control custom-radio">
  1207. <input type="checkbox" id="confirm_2" name="confirm_2" class="custom-control-input">
  1208. <label class="custom-control-label" for="confirm_2">I confirm that I am the copyright owner or am authorised to act on behalf of the owner of an exclusive right that is allegedly infringed.</label>
  1209. </div>
  1210. </div>
  1211. </div>
  1212. <input type="hidden" id="song-copyright-id" name="id">
  1213. <div class="modal-footer">
  1214. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1215. <button type="submit" class="btn btn-primary btn-mat" id="btn-copyright-submit">Submit</button>
  1216. </div>
  1217. </form>
  1218. </div>
  1219. </div>
  1220. </div>
  1221. <script>
  1222. $(document).ready(function() {
  1223.    var options = {
  1224.     url: "https://gwiremusic.com/endpoints/copyright-create?hash_id=" + getHashID(),
  1225.        beforeSubmit:  function () {
  1226.         $('#output-copyright-errors').removeClass('alert-success').addClass('alert-danger');
  1227.         $('#output-copyright-errors').empty();
  1228.         $("#btn-copyright-submit").text("Please wait..");
  1229.        },
  1230.        success: function (data) {
  1231.         $("#btn-copyright-submit").text("Submit");
  1232.         if (data.status == 200) {
  1233.         $('#output-copyright-errors').addClass('alert-success').removeClass('alert-danger');
  1234.         $('#output-copyright-errors').text("Thanks for your submission, we will review your request shortly.");
  1235.         setTimeout(function () {
  1236.         $('#copyright-form')[0].reset();
  1237.         $('#create_copyright_box').modal('hide');
  1238.         closeModal();
  1239.         $('#output-copyright-errors').empty();
  1240.         }, 3000);
  1241.         } else if (data.status == 400) {
  1242.         var errros = data.errors.join("<br>");
  1243.         $('#output-copyright-errors').html(errros);
  1244.         }
  1245.        }
  1246.    };
  1247.  
  1248.    $('#copyright-form').ajaxForm(options);
  1249. });
  1250. </script> <div class="modal fade" id="comment_unreported" tabindex="-1" role="dialog" aria-labelledby="comment_unreported" aria-hidden="true" data-id="0">
  1251.    <div class="modal-dialog mat_box" role="document">
  1252.        <div class="modal-content">
  1253. <div class="modal-body">
  1254. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> The comment report was successfully deleted.</div>
  1255.            </div>
  1256.        </div>
  1257.    </div>
  1258. </div>
  1259. <div class="modal fade" id="report_comment" tabindex="-1" role="dialog" aria-labelledby="report_comment" aria-hidden="true">
  1260.    <div class="modal-dialog mat_box create_playlist" role="document">
  1261.        <div class="modal-content">
  1262.            <div class="modal-header">
  1263.                <h5 class="modal-title">Report comment.</h5>
  1264.            </div>
  1265.            <form method="post" action="" id="comment-report-form">
  1266.                <div class="alert alert-danger alert-empty" id="output-report-comment-errors"></div>
  1267.                <div class="create_playlist_innr">
  1268.                    <div class="play_info">
  1269.                        <div class="form-group mat_input" style="text-align: initial;">
  1270.                            <textarea name="comment_description" id="comment_description" rows="5" style="width: 100%;"></textarea><br>
  1271.                            <small>Please describe whey you want to report this comment.</small>
  1272.                        </div>
  1273.                    </div>
  1274.                </div>
  1275.                <input type="hidden" id="comment_id" name="id">
  1276.                <div class="modal-footer">
  1277.                    <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1278.                    <button type="submit" class="btn btn-primary btn-mat" id="btn-report-comment-submit">Submit</button>
  1279.                </div>
  1280.            </form>
  1281.        </div>
  1282.    </div>
  1283. </div>
  1284. <script>
  1285.    $(document).ready(function() {
  1286.        var options = {
  1287.            url: "https://gwiremusic.com/endpoints/report-comment?hash_id=" + getHashID(),
  1288.            beforeSubmit:  function () {
  1289.                $('#output-report-comment-errors').removeClass('alert-success').addClass('alert-danger');
  1290.                $('#output-report-comment-errors').empty();
  1291.                $("#btn-report-comment-submit").text("Please wait..");
  1292.            },
  1293.            success: function (data) {
  1294.                $("#bbtn-report-comment-submit").text("Submit");
  1295.                if (data.status == 200) {
  1296.                    $('#output-report-comment-errors').addClass('alert-success').removeClass('alert-danger');
  1297.                    $('#output-report-comment-errors').text("Thanks for your submission, we will review your request shortly.");
  1298.                    setTimeout(function () {
  1299.                        $('#comment-report-form')[0].reset();
  1300.                        $('#report_comment').modal('hide');
  1301.                        closeModal();
  1302.                        var comment_id = $('#comment_id').val();
  1303.                        $('.comment_report[data-comment-id="'+comment_id+'"]').hide();
  1304.                        $('.comment_unreport[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  1305.                        $('.comment_unreport[data-comment-id="'+comment_id+'"]').show();
  1306.  
  1307.                        $('#output-report-comment-errors').empty();
  1308.                    }, 3000);
  1309.                } else if (data.status == 400) {
  1310.                    var errros = data.errors.join("<br>");
  1311.                    $('#output-report-comment-errors').html(errros);
  1312.                }
  1313.            }
  1314.        };
  1315.  
  1316.        $('#comment-report-form').ajaxForm(options);
  1317.    });
  1318. </script> <div class="modal fade" id="blog_comment_unreported" tabindex="-1" role="dialog" aria-labelledby="comment_unreported" aria-hidden="true" data-id="0">
  1319.    <div class="modal-dialog mat_box" role="document">
  1320.        <div class="modal-content">
  1321. <div class="modal-body">
  1322. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> The comment report was successfully deleted.</div>
  1323.            </div>
  1324.        </div>
  1325.    </div>
  1326. </div>
  1327. <div class="modal fade" id="blog_report_comment" tabindex="-1" role="dialog" aria-labelledby="blog_report_comment" aria-hidden="true">
  1328.    <div class="modal-dialog mat_box create_playlist" role="document">
  1329.        <div class="modal-content">
  1330.            <div class="modal-header">
  1331.                <h5 class="modal-title">Report comment.</h5>
  1332.            </div>
  1333.            <form method="post" action="" id="blog-comment-report-form">
  1334.                <div class="alert alert-danger alert-empty" id="output-blog-report-comment-errors"></div>
  1335.                <div class="create_playlist_innr">
  1336.                    <div class="play_info">
  1337.                        <div class="form-group mat_input" style="text-align: initial;">
  1338.                            <textarea name="comment_description" id="blog_comment_description" rows="5" style="width: 100%;"></textarea><br>
  1339.                            <small>Please describe whey you want to report this comment.</small>
  1340.                        </div>
  1341.                    </div>
  1342.                </div>
  1343.                <input type="hidden" id="blog_comment_id" name="id">
  1344.                <div class="modal-footer">
  1345.                    <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1346.                    <button type="submit" class="btn btn-primary btn-mat" id="btn-blog-report-comment-submit">Submit</button>
  1347.                </div>
  1348.            </form>
  1349.        </div>
  1350.    </div>
  1351. </div>
  1352. <script>
  1353.    $(document).ready(function() {
  1354.        var options = {
  1355.            url: "https://gwiremusic.com/endpoints/blog-report-comment?hash_id=" + getHashID(),
  1356.            beforeSubmit:  function () {
  1357.                $('#output-blog-report-comment-errors').removeClass('alert-success').addClass('alert-danger');
  1358.                $('#output-blog-report-comment-errors').empty();
  1359.                $("#btn-blog-report-comment-submit").text("Please wait..");
  1360.            },
  1361.            success: function (data) {
  1362.                $("#btn-blog-report-comment-submit").text("Submit");
  1363.                if (data.status == 200) {
  1364.                    $('#output-blog-report-comment-errors').addClass('alert-success').removeClass('alert-danger');
  1365.                    $('#output-blog-report-comment-errors').text("Thanks for your submission, we will review your request shortly.");
  1366.                    setTimeout(function () {
  1367.                        $('#blog-comment-report-form')[0].reset();
  1368.                        $('#blog_report_comment').modal('hide');
  1369.                        closeModal();
  1370.                        var comment_id = $('#blog_comment_id').val();
  1371.                        $('.blog_comment_report[data-comment-id="'+comment_id+'"]').hide();
  1372.                        $('.blog_comment_unreport[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  1373.                        $('.blog_comment_unreport[data-comment-id="'+comment_id+'"]').show();
  1374.  
  1375.                        $('#output-blog-report-comment-errors').empty();
  1376.                    }, 3000);
  1377.                } else if (data.status == 400) {
  1378.                    var errros = data.errors.join("<br>");
  1379.                    $('#output-blog-report-comment-errors').html(errros);
  1380.                }
  1381.            }
  1382.        };
  1383.  
  1384.        $('#blog-comment-report-form').ajaxForm(options);
  1385.    });
  1386. </script> <div class="modal fade" id="track_unreported" tabindex="-1" role="dialog" aria-labelledby="track_unreported" aria-hidden="true" data-id="0">
  1387.    <div class="modal-dialog mat_box" role="document">
  1388.        <div class="modal-content">
  1389.            <div class="modal-body">
  1390. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> The track report was successfully deleted.</div>
  1391.            </div>
  1392.        </div>
  1393.    </div>
  1394. </div>
  1395. <div class="modal fade" id="report_track" tabindex="-1" role="dialog" aria-labelledby="report_track" aria-hidden="true">
  1396.    <div class="modal-dialog mat_box create_playlist" role="document">
  1397.        <div class="modal-content">
  1398.            <div class="modal-header">
  1399.                <h5 class="modal-title">Report track.</h5>
  1400.            </div>
  1401.            <form method="post" action="" id="track-report-form">
  1402.                <div class="alert alert-danger alert-empty" id="output-report-track-errors"></div>
  1403.                <div class="create_playlist_innr">
  1404.                    <div class="play_info">
  1405.                        <div class="form-group mat_input" style="text-align: initial;">
  1406.                            <textarea name="track_description" id="track_description" rows="5" style="width: 100%;"></textarea>
  1407.                            <small>Please describe whey you want to report this track.</small>
  1408.                        </div>
  1409.                    </div>
  1410.                </div>
  1411.                <input type="hidden" id="report_track_id" name="id">
  1412.                <div class="modal-footer">
  1413.                    <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1414.                    <button type="submit" class="btn btn-primary btn-mat" id="btn-report-track-submit">Submit</button>
  1415.                </div>
  1416.            </form>
  1417.        </div>
  1418.    </div>
  1419. </div>
  1420. <script>
  1421.    $(document).ready(function() {
  1422.        var options = {
  1423.            url: "https://gwiremusic.com/endpoints/report-track?hash_id=" + getHashID(),
  1424.            beforeSubmit:  function () {
  1425.                $('#output-report-track-errors').removeClass('alert-success').addClass('alert-danger');
  1426.                $('#output-report-track-errors').empty();
  1427.                $("#btn-report-track-submit").text("Please wait..");
  1428.            },
  1429.            success: function (data) {
  1430.                $("#btn-report-track-submit").text("Submit");
  1431.                if (data.status == 200) {
  1432.                    $('#output-report-track-errors').addClass('alert-success').removeClass('alert-danger');
  1433.                    $('#output-report-track-errors').text("Thanks for your submission, we will review your request shortly.");
  1434.                    setTimeout(function () {
  1435.                        $('#track-report-form')[0].reset();
  1436.                        $('#report_track').modal('hide');
  1437.                        closeModal();
  1438.                        var track_id = $('#report_track_id').val();
  1439.                        $('.track_report[data-track-id="'+track_id+'"]').hide();
  1440.                        $('.track_unreport[data-track-id="'+track_id+'"]').css({'visibility':'inherit'});
  1441.                        $('.track_unreport[data-track-id="'+track_id+'"]').show();
  1442.  
  1443.                        $('#output-report-track-errors').empty();
  1444.                    }, 3000);
  1445.                } else if (data.status == 400) {
  1446.                    var errros = data.errors.join("<br>");
  1447.                    $('#output-report-track-errors').html(errros);
  1448.                }
  1449.            }
  1450.        };
  1451.  
  1452.        $('#track-report-form').ajaxForm(options);
  1453.    });
  1454. </script> <link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css'>
  1455.  
  1456. <style>
  1457.    .success-box {
  1458.        margin:50px 0;
  1459.        padding:10px 10px;
  1460.        border:1px solid #eee;
  1461.        background:#f9f9f9;
  1462.    }
  1463.    .success-box img {
  1464.        margin-right:10px;
  1465.        display:inline-block;
  1466.        vertical-align:top;
  1467.    }
  1468.    .success-box > div {
  1469.        vertical-align:top;
  1470.        display:inline-block;
  1471.        color:#888;
  1472.    }
  1473.    /* Rating Star Widgets Style */
  1474.    .rating-stars ul {
  1475.        list-style-type:none;
  1476.        padding:0;
  1477.  
  1478.        -moz-user-select:none;
  1479.        -webkit-user-select:none;
  1480.    }
  1481.    .rating-stars ul > li.star {
  1482.        display:inline-block;
  1483.  
  1484.    }
  1485.    /* Idle State of the stars */
  1486.    .rating-stars ul > li.star > i.fa {
  1487.        font-size:2.5em; /* Change the size of the stars */
  1488.        color:#ccc; /* Color on idle state */
  1489.    }
  1490.    /* Hover state of the stars */
  1491.    .rating-stars ul > li.star.hover > i.fa {
  1492.        color:#FFCC36;
  1493.    }
  1494.    /* Selected state of the stars */
  1495.    .rating-stars ul > li.star.selected > i.fa {
  1496.        color:#FF912C;
  1497.    }
  1498. </style>
  1499.  
  1500. <div class="modal fade" id="track_unreported" tabindex="-1" role="dialog" aria-labelledby="track_unreported" aria-hidden="true" data-id="0">
  1501.    <div class="modal-dialog mat_box" role="document">
  1502.        <div class="modal-content">
  1503.            <div class="modal-body">
  1504. <div class="no-track-found" style="padding: 30px 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> The track report was successfully deleted.</div>
  1505.            </div>
  1506.        </div>
  1507.    </div>
  1508. </div>
  1509. <div class="modal fade" id="review_track" tabindex="-1" role="dialog" aria-labelledby="report_track" aria-hidden="true">
  1510.    <div class="modal-dialog mat_box create_playlist" role="document">
  1511.        <div class="modal-content">
  1512.            <div class="modal-header">
  1513.                <h5 class="modal-title">Review track.</h5>
  1514.            </div>
  1515.            <form method="post" action="" id="track-review-form">
  1516.                <div class="alert alert-danger alert-empty" id="output-review-track-errors"></div>
  1517.                <div class="create_playlist_innr">
  1518.                    <div class="play_info">
  1519.                        <div class="form-group mat_input" style="text-align: initial;">
  1520.                            <textarea name="track_review_description" id="track_review_description" rows="5" style="width: 100%;" placeholder="Please enter your review."></textarea>
  1521.                            <br><br>
  1522.  
  1523.                            <section class='rating-widget'>
  1524.                                <!-- Rating Stars Box -->
  1525.                                <div class='rating-stars text-center'>
  1526.                                    <ul id='stars'>
  1527.                                        <li class='star' title='Poor' data-value='1'>
  1528.                                            <i class='fa fa-star fa-fw'></i>
  1529.                                        </li>
  1530.                                        <li class='star' title='Fair' data-value='2'>
  1531.                                            <i class='fa fa-star fa-fw'></i>
  1532.                                        </li>
  1533.                                        <li class='star' title='Good' data-value='3'>
  1534.                                            <i class='fa fa-star fa-fw'></i>
  1535.                                        </li>
  1536.                                        <li class='star' title='Excellent' data-value='4'>
  1537.                                            <i class='fa fa-star fa-fw'></i>
  1538.                                        </li>
  1539.                                        <li class='star' title='WOW!!!' data-value='5'>
  1540.                                            <i class='fa fa-star fa-fw'></i>
  1541.                                        </li>
  1542.                                    </ul>
  1543.                                </div>
  1544.                            </section>
  1545.  
  1546.  
  1547.                        </div>
  1548.                    </div>
  1549.                </div>
  1550.                <input type="hidden" id="review_track_id" name="id">
  1551.                <input type="hidden" id="review_track_oid">
  1552.                <input type="hidden" id="track_stars" name="track_stars" value="0">
  1553.                <div class="modal-footer">
  1554.                    <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1555.                    <button type="submit" class="btn btn-primary btn-mat" disabled="disabled" id="btn-review-track-submit">Submit</button>
  1556.                </div>
  1557.            </form>
  1558.        </div>
  1559.    </div>
  1560. </div>
  1561. <script>
  1562.    $(document).ready(function(){
  1563.  
  1564.        /* 1. Visualizing things on Hover - See next part for action on click */
  1565.        $('#stars li').on('mouseover', function(){
  1566.            var onStar = parseInt($(this).data('value'), 10); // The star currently mouse on
  1567.  
  1568.            // Now highlight all the stars that's not after the current hovered star
  1569.            $(this).parent().children('li.star').each(function(e){
  1570.                if (e < onStar) {
  1571.                    $(this).addClass('hover');
  1572.                }
  1573.                else {
  1574.                    $(this).removeClass('hover');
  1575.                }
  1576.            });
  1577.  
  1578.        }).on('mouseout', function(){
  1579.            $(this).parent().children('li.star').each(function(e){
  1580.                $(this).removeClass('hover');
  1581.            });
  1582.        });
  1583.  
  1584.        $('#track_review_description').bind('input propertychange', function() {
  1585.            if(this.value.length){
  1586.                var ratingValue = parseInt($('#stars li.selected').last().data('value'), 10);
  1587.                if (ratingValue > 1) {
  1588.                    $('#btn-review-track-submit').removeAttr('disabled');
  1589.                }
  1590.            }
  1591.        });
  1592.  
  1593.        /* 2. Action to perform on click */
  1594.        $('#stars li').on('click', function(){
  1595.            var onStar = parseInt($(this).data('value'), 10); // The star currently selected
  1596.            var stars = $(this).parent().children('li.star');
  1597.  
  1598.            for (i = 0; i < stars.length; i++) {
  1599.                $(stars[i]).removeClass('selected');
  1600.            }
  1601.  
  1602.            for (i = 0; i < onStar; i++) {
  1603.                $(stars[i]).addClass('selected');
  1604.            }
  1605.  
  1606.            // JUST RESPONSE (Not needed)
  1607.            var ratingValue = parseInt($('#stars li.selected').last().data('value'), 10);
  1608.            var msg = "";
  1609.            if (ratingValue > 1) {
  1610.                $('#track_stars').val(ratingValue);
  1611.                if( $('#track_review_description').val() !== '' ) {
  1612.                    $('#btn-review-track-submit').removeAttr('disabled');
  1613.                }
  1614.                msg = "Thanks! You rated this " + ratingValue + " stars.";
  1615.            }
  1616.            else {
  1617.                msg = "We will improve ourselves. You rated this " + ratingValue + " stars.";
  1618.            }
  1619.  
  1620.        });
  1621.  
  1622.  
  1623.    });
  1624.  
  1625.    $(document).ready(function() {
  1626.        var options = {
  1627.            url: "https://gwiremusic.com/endpoints/review-track?hash_id=" + getHashID(),
  1628.            beforeSubmit:  function () {
  1629.                $('#output-review-track-errors').removeClass('alert-success').addClass('alert-danger');
  1630.                $('#output-review-track-errors').empty();
  1631.                $("#btn-review-track-submit").text("Please wait..");
  1632.            },
  1633.            success: function (data) {
  1634.                $("#btn-review-track-submit").text("Submit");
  1635.                if (data.status == 200) {
  1636.                    $('#output-review-track-errors').addClass('alert-success').removeClass('alert-danger');
  1637.                    $('#output-review-track-errors').text("Thanks for your submission.");
  1638.                    setTimeout(function () {
  1639.                        $('#track-review-form')[0].reset();
  1640.                        $('#review_track').modal('hide');
  1641.                        closeModal();
  1642.  
  1643.  
  1644.                        goToAjaxLink('track/'+$('#review_track_oid').val());
  1645.  
  1646.                        $('#output-review-track-errors').empty();
  1647.                    }, 3000);
  1648.                } else if (data.status == 400) {
  1649.                    var errros = data.errors.join("<br>");
  1650.                    $('#output-review-track-errors').html(errros);
  1651.                }
  1652.            }
  1653.        };
  1654.  
  1655.        $('#track-review-form').ajaxForm(options);
  1656.    });
  1657. </script> <div class="modal fade" id="bank_transfer_modal_response" tabindex="-1" role="dialog" aria-labelledby="bank_transfer_modal_response" aria-hidden="true" data-id="0">
  1658.    <div class="modal-dialog mat_box" role="document">
  1659.        <div class="modal-content">
  1660.            <div class="modal-body">
  1661.                <div class="no-track-found" style="padding: 30px 10px;">
  1662.                    <span id="bank_transfer_modal_response_txt"></span>
  1663.  
  1664.                </div>
  1665.            </div>
  1666.        </div>
  1667.    </div>
  1668. </div>
  1669.  
  1670.  
  1671. <div class="bank_transfer_modal modal fade modal-fixed-footer" tabindex="-1" role="dialog" aria-hidden="true" data-id="0">
  1672.    <div class="modal-dialog mat_box" role="document">
  1673.        <div class="modal-content dt_bank_trans_modal">
  1674.            <div class="modal-header">
  1675.                <h5 class="modal-title">Bank Transfer</h5>
  1676.            </div>
  1677.            <div class="modal-body">
  1678.                                <div class="bank_info"><div class="dt_settings_header bg_gradient">
  1679.    <div class="bank_info_innr">
  1680.        <h4 class="bank_name">Garanti Bank</h4>
  1681.        <div class="row">
  1682.            <div class="col-md-12">
  1683.                <div class="bank_account">
  1684.                    <p>4796824372433055</p>
  1685.                    <span class="help-block">Account number / IBAN</span>
  1686.                </div>
  1687.            </div>
  1688.            <div class="col-md-12">
  1689.                <div class="bank_account_holder">
  1690.                    <p>Antoian Kordiyal</p>
  1691.                    <span class="help-block">Account name</span>
  1692.                </div>
  1693.            </div>
  1694.            <div class="col-md-6">
  1695.                <div class="bank_account_code">
  1696.                    <p>TGBATRISXXX</p>
  1697.                    <span class="help-block">Routing code</span>
  1698.                </div>
  1699.            </div>
  1700.            <div class="col-md-6">
  1701.                <div class="bank_account_country">
  1702.                    <p>United States</p>
  1703.                    <span class="help-block">Country</span>
  1704.                </div>
  1705.            </div>
  1706.        </div>
  1707.    </div>
  1708. </div></div>
  1709.                                                <div class="dt_user_profile hide_alert_info_bank_trans">
  1710.                <span class="valign-wrapper">
  1711. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Note:
  1712.                </span>
  1713.                    <ul class="browser-default dt_prof_vrfy">
  1714.                        <li id="bank_note">In order to confirm the bank transfer, you will need to upload a receipt or take a screenshot of your transfer within 1 day from your payment date. If a bank transfer is made but no receipt is uploaded within this period, your order will be cancelled. We will verify and confirm your receipt within 3 working days from the date you upload it.</li>
  1715.                    </ul>
  1716.                </div>
  1717.                                <p class="dt_bank_trans_upl_rec">
  1718.                    <a href="javascript:void(0);" onclick="$('.bank_transfer_modal').addClass('up_rec_active'); return false">
  1719.                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  1720.                            <path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path>
  1721.                        </svg> Upload Receipt
  1722.                    </a>
  1723.                </p>
  1724.                <div class="upload_bank_receipts">
  1725.                    <div onclick="document.getElementById('receipt_img').click(); return false">
  1726.                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path></svg>
  1727.                        <p>Upload Receipt</p>
  1728.                        <img id="receipt_img_preview" src="">
  1729.                    </div>
  1730.                </div>
  1731.                <input type="file" id="receipt_img" class="hide" accept="image/x-png, image/gif, image/jpeg, image/webp" name="receipt_img">
  1732.            </div>
  1733.            <!--<span style="display: block;text-align: center;" id="receipt_img_path"></span>-->
  1734.            <div class="modal-footer">
  1735.                <div class="bank_transfr_progress hide" id="img_upload_progress">
  1736.                    <div class="progress">
  1737.                        <div id="img_upload_progress_bar" class="determinate progress-bar progress-bar-striped bg-success progress-bar-animated" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div>
  1738.                    </div>
  1739.                </div>
  1740.                <button class="btn btn-default" data-dismiss="modal">Close</button>
  1741.                <button class="btn btn-primary btn-mat" disabled id="btn-upload-receipt" data-selected="" data-mode="" data-id="" data-title="" data-price="">Confirm</button>
  1742.            </div>
  1743.        </div>
  1744.    </div>
  1745. </div>
  1746.  
  1747. <script>
  1748.    document.getElementById('receipt_img').removeEventListener("change", handleReceiptImgChange, true);
  1749.    document.getElementById('receipt_img').addEventListener('change', handleReceiptImgChange, { passive: false });
  1750.    function handleReceiptImgChange(){
  1751.        let imgPath = $(this)[0].files[0].name;
  1752.        if (typeof(FileReader) != "undefined") {
  1753.            let reader = new FileReader();
  1754.            reader.onload = function(e) {
  1755.                $('#receipt_img_preview').attr('src', e.target.result);
  1756.            };
  1757.            reader.readAsDataURL(this.files[0]);
  1758.        }
  1759.        $('#receipt_img_path').html(imgPath);
  1760.        $('.bank_transfer_modal').addClass('up_rec_img_ready');
  1761.        $('#btn-upload-receipt').removeAttr('disabled');
  1762.        $('#btn-upload-receipt').removeClass('btn-flat').addClass('btn-success');
  1763.    }
  1764.    document.getElementById('btn-upload-receipt').addEventListener('click', function(e) {
  1765.        e.preventDefault();
  1766.        let bar = $('#img_upload_progress');
  1767.        let percent = $('#img_upload_progress_bar');
  1768.  
  1769.        let id = $(this).attr("data-id");
  1770.        if (!id) {
  1771.            return false;
  1772.        }
  1773.        let title = $(this).attr("data-title");
  1774.        let price = $(this).attr("data-price");
  1775.        let mode = $(this).attr("data-mode");
  1776.  
  1777.        let formData = new FormData();
  1778.        formData.append("hash_id",'db8dc2b7a3bb754178d96fe9b4e434d0c017825b');
  1779.        formData.append("description",title);
  1780.        formData.append("price", price);
  1781.        formData.append("mode", mode);
  1782.        formData.append("track_id", id);
  1783.        formData.append("receipt_img", $("#receipt_img")[0].files[0], $("#receipt_img")[0].files[0].value);
  1784.        bar.removeClass('hide');
  1785.        $.ajax({
  1786.            xhr: function() {
  1787.                let xhr = new window.XMLHttpRequest();
  1788.                xhr.upload.addEventListener("progress", function(evt){
  1789.                    if (evt.lengthComputable) {
  1790.                        let percentComplete = evt.loaded / evt.total;
  1791.                        percentComplete = parseInt(percentComplete * 100);
  1792.                        //status.html( percentComplete + "%");
  1793.                        percent.width(percentComplete + '%');
  1794.                        percent.html(percentComplete + '%');
  1795.                        if (percentComplete === 100) {
  1796.                            bar.addClass('hide');
  1797.                            percent.width('0%');
  1798.                            percent.html('0%');
  1799.                        }
  1800.                    }
  1801.                }, false);
  1802.                return xhr;
  1803.            },
  1804.            url: ajaxUrl() + '/upload-receipt',
  1805.            type: "POST",
  1806.            async: true,
  1807.            enctype: 'multipart/form-data',
  1808.            processData: false,
  1809.            contentType: false,
  1810.            cache: false,
  1811.            timeout: 60000,
  1812.            dataType: false,
  1813.            data: formData,
  1814.            success: function(result) {
  1815.                if( result.status == 200 ){
  1816.                    $('#payment_modal').modal('hide');
  1817.                    $('#paymentpro_modal').modal('hide');
  1818.                    $('.bank_transfer_modal').modal('hide');
  1819.  
  1820.                    $('#bank_transfer_modal_response_txt').html('Your receipt  has been uploaded successfully.');
  1821.                    $('#bank_transfer_modal_response').modal('show');
  1822.  
  1823.                    setTimeout(function () {
  1824.                        $('#bank_transfer_modal_response').modal('hide');
  1825.                    },2000);
  1826.                    return false;
  1827.                }
  1828.            }
  1829.        });
  1830.    });
  1831. </script> <div class="modal fade mat_box" id="logged-out-modal" role="dialog" data-backdrop="static" data-keyboard="false">
  1832.    <div class="modal-dialog">
  1833.        <div class="modal-content">
  1834.            <div class="modal-header">
  1835.                <h4 class="modal-title"><i class="fa fa-exclamation-circle"></i> Session Expired</h4>
  1836.            </div>
  1837.            <div class="modal-body">
  1838.                <p>Your Session has been expired, please login again.</p>
  1839.            </div>
  1840.  
  1841.            <div class="modal-footer">
  1842.                <a href="https://gwiremusic.com/discover" class="btn btn-default">Login</a>
  1843.            </div>
  1844.        </div>
  1845.    </div>
  1846. </div> <div class="modal fade mat_box" id="verify_code" role="dialog">
  1847.    <div class="modal-dialog">
  1848.        <div class="modal-content">
  1849.            <div class="modal-header">
  1850.                <h5 class="modal-title" id="two_factor_title">
  1851.                    A confirmation email has been sent.                </h5>
  1852.            </div>
  1853.            <form id="confirmation_code_form" class="confirmation_code_form" method="POST">
  1854.                <div class="modal-body">
  1855.                    <div id="confirmation_code_form_alert"></div>
  1856.                    <span class="verfy_sett_email_phone_ico"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21,13.34C20.37,13.12 19.7,13 19,13A6,6 0 0,0 13,19C13,19.34 13.03,19.67 13.08,20H3A2,2 0 0,1 1,18V6C1,4.89 1.89,4 3,4H19A2,2 0 0,1 21,6V13.34M23.5,17L18.5,22L15,18.5L16.5,17L18.5,19L22,15.5L23.5,17M3,6V8L11,13L19,8V6L11,11L3,6Z" /></svg></span>
  1857.                    <p id="two_factor_desc">
  1858.                        We have sent an email that contains the confirmation code to enable Two-factor authentication.                    </p>
  1859.                    <div class="form-group mat_input float verfy_sett_email_phone mt-4">
  1860.                        <input type="text" class="form-control" name="code" placeholder=" ">
  1861. <label>Confirmation code</label>
  1862.                    </div>
  1863.                </div>
  1864.                <div class="modal-footer">
  1865.                    <button data-dismiss="modal" class="btn btn-default">Cancel</button>
  1866.                    <button id="confirmation_code_form_btn" type="submit" class="btn btn-primary btn-main">Send</button>
  1867.                </div>
  1868.                <input type="hidden" id="confirmation_code_form_user_id" name="user_id" value="">
  1869.            </form>
  1870.        </div>
  1871.    </div>
  1872. </div>
  1873.  
  1874. <div class="modal fade mat_box" id="verify_email_phone" role="dialog">
  1875.    <div class="modal-dialog">
  1876.        <div class="modal-content">
  1877.            <div class="modal-header">
  1878.                <h5 class="modal-title" id="verify_email_phone_title">
  1879.                                    </h5>
  1880.            </div>
  1881.            <form id="verify_email_phone_form" class="verify_email_phone_form" method="POST">
  1882.                <div class="modal-body">
  1883.                    <div id="verify_email_phone_form_alert"></div>
  1884.                    <span class="verfy_sett_email_phone_ico"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17,19V5H7V19H17M17,1A2,2 0 0,1 19,3V21A2,2 0 0,1 17,23H7C5.89,23 5,22.1 5,21V3C5,1.89 5.89,1 7,1H17M9,7H15V9H9V7M9,11H13V13H9V11Z" /></svg></span>
  1885.                    <p id="verify_email_phone_desc">
  1886.                                            </p>
  1887.                    <div class="form-group verfy_sett_email_phone">
  1888.                        <input type="text" class="form-control" name="code" placeholder="Confirmation code">
  1889.                    </div>
  1890.                </div>
  1891.                <div class="modal-footer">
  1892.                    <button data-dismiss="modal" class="btn btn-default">Cancel</button>
  1893.                    <button id="verify_email_phone_form_btn" type="submit" class="btn btn-main">Send</button>
  1894.                </div>
  1895.            </form>
  1896.        </div>
  1897.    </div>
  1898. </div> <div class="modal fade" id="refund_order" tabindex="-1" role="dialog" aria-labelledby="refund_order" aria-hidden="true" data-id="0">
  1899.  <div class="modal-dialog mat_box" role="document">
  1900.    <div class="modal-content">
  1901.      <div class="modal-header">
  1902.        <h5 class="modal-title">Request a Refund</h5>
  1903.      </div>
  1904.      <form class="refund_order_form" method="post">
  1905.        <div class="modal-body">
  1906.          <div class="modal_refund_order_modal_alert"></div>
  1907.          <div class="form-group mat_input">
  1908.        <div class="col-md-12">
  1909.          <textarea placeholder="Please explain the reason" name="message" id="refund_order_message"></textarea>
  1910.        </div>
  1911.      </div>
  1912.        </div>
  1913.        <div class="modal-footer">
  1914.          <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1915.          <button type="submit" class="btn btn-primary btn-mat">Request</button>
  1916.        </div>
  1917.      </form>
  1918.    </div>
  1919.  </div>
  1920. </div>
  1921. <div class="modal fade" id="add_address_modal" tabindex="-1" role="dialog" aria-labelledby="add_address_modal" aria-hidden="true" data-id="0">
  1922. <div class="modal-dialog mat_box" role="document">
  1923. <div class="modal-content">
  1924. <div class="modal-header">
  1925. <h5 class="modal-title">Add New Address</h5>
  1926. </div>
  1927. <form class="address_form" method="post">
  1928. <div class="modal-body">
  1929. <div class="modal_add_address_modal_alert"></div>
  1930. <div class="form-group mat_input float">
  1931. <input type="text" name="name" id="name" class="form-control" autofocus placeholder=" ">
  1932. <label>Name</label>
  1933. </div>
  1934. <div class="form-group mat_input float">
  1935. <input type="text" name="phone" id="phone" class="form-control" autofocus placeholder=" ">
  1936. <label>Phone</label>
  1937. </div>
  1938. <div class="form-group mat_input float">
  1939. <input type="text" name="country" id="country" class="form-control" autofocus placeholder=" ">
  1940. <label>Country</label>
  1941. </div>
  1942. <div class="form-group mat_input float">
  1943. <input type="text" name="city" id="city" class="form-control" autofocus placeholder=" ">
  1944. <label>City</label>
  1945. </div>
  1946. <div class="form-group mat_input float">
  1947. <input type="text" name="zip" id="zip" class="form-control" autofocus placeholder=" ">
  1948. <label>Postcode / Zip</label>
  1949. </div>
  1950. <div class="form-group mat_input float mb-0">
  1951. <textarea placeholder=" " class="form-control" name="address"></textarea>
  1952. <label>Address</label>
  1953. </div>
  1954. </div>
  1955. <div class="modal-footer">
  1956. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1957. <button type="submit" class="btn btn-primary btn-mat">Add</button>
  1958. </div>
  1959. </form>
  1960. </div>
  1961. </div>
  1962. </div> <div class="modal fade" id="delete-address" tabindex="-1" role="dialog" aria-labelledby="delete-address" aria-hidden="true" data-id="0">
  1963.  <div class="modal-dialog mat_box" role="document">
  1964.    <div class="modal-content">
  1965.      <div class="modal-header">
  1966.        <h5 class="modal-title">Delete your address</h5>
  1967.      </div>
  1968.      <div class="modal-body">
  1969.        Are you sure you want to delete this address?
  1970.      </div>
  1971.      <div class="modal-footer">
  1972.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1973.        <button type="button" class="btn btn-danger btn-mat" data-dismiss="modal">Delete</button>
  1974.      </div>
  1975.    </div>
  1976.  </div>
  1977. </div>
  1978.  
  1979. <div class="modal fade" id="buy_product_modal" tabindex="-1" role="dialog" aria-labelledby="buy_product" aria-hidden="true" data-id="0">
  1980.  <div class="modal-dialog mat_box" role="document">
  1981.    <div class="modal-content">
  1982.      <div class="modal-header">
  1983.        <h5 class="modal-title">Payment Alert</h5>
  1984.      </div>
  1985.      <div class="modal-body">
  1986.        <div class="modal_product_pay_alert"></div>
  1987.        You are about to purchase the items, do you want to proceed?
  1988.      </div>
  1989.      <div class="modal-footer">
  1990.        <input type="hidden" id="product_id">
  1991.        <input type="hidden" id="product_price">
  1992.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  1993.        <button type="button" class="btn btn-primary btn-mat">Pay</button>
  1994.      </div>
  1995.    </div>
  1996.  </div>
  1997. </div>
  1998. <div class="modal fade" id="delete-product" tabindex="-1" role="dialog" aria-labelledby="delete-product" aria-hidden="true" data-id="0">
  1999.  <div class="modal-dialog mat_box" role="document">
  2000.    <div class="modal-content">
  2001.      <div class="modal-header">
  2002.        <h5 class="modal-title">Delete your product</h5>
  2003.      </div>
  2004.      <div class="modal-body">
  2005.        Are you sure you want to delete this product?
  2006.      </div>
  2007.      <div class="modal-footer">
  2008.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  2009.        <button type="button" class="btn btn-danger btn-mat" data-dismiss="modal">Delete</button>
  2010.      </div>
  2011.    </div>
  2012.  </div>
  2013. </div>
  2014. <div class="modal fade" id="story_pay" tabindex="-1" role="dialog" aria-labelledby="story_pay" aria-hidden="true" data-id="0">
  2015.  <div class="modal-dialog mat_box" role="document">
  2016.    <div class="modal-content">
  2017.      <div class="modal-header">
  2018.        <h5 class="modal-title">Pay for story</h5>
  2019.      </div>
  2020.      <div class="modal-body">
  2021.        <div class="modal_story_pay_alert"></div>
  2022.        Are you sure you want to pay for create story?
  2023.      </div>
  2024.      <div class="modal-footer">
  2025.        <input type="hidden" id="story_pay_id">
  2026.        <input type="hidden" id="story_pay_file">
  2027.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  2028.        <button type="button" class="btn btn-primary btn-mat" onclick="PayForStory()">Pay $0</button>
  2029.      </div>
  2030.    </div>
  2031.  </div>
  2032. </div>
  2033.  
  2034. <div class="modal fade" id="wallet_to_pay" tabindex="-1" role="dialog" aria-labelledby="wallet_to_pay" aria-hidden="true" data-id="0">
  2035.  <div class="modal-dialog mat_box" role="document">
  2036.    <div class="modal-content">
  2037.      <div class="modal-header">
  2038.        <h5 class="modal-title">Pay from wallet</h5>
  2039.      </div>
  2040.      <div class="modal-body">
  2041.        <div class="modal_wallet_pay_alert"></div>
  2042.        <div id="wallet_to_pay_text"></div>
  2043.      </div>
  2044.      <div class="modal-footer">
  2045.        <input type="hidden" id="wallet_to_pay_price">
  2046.        <input type="hidden" id="wallet_to_pay_type">
  2047.        <input type="hidden" id="wallet_to_pay_id">
  2048.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  2049.        <button type="button" class="btn btn-primary btn-mat" onclick="PayFromWallet()">Pay $0</button>
  2050.      </div>
  2051.    </div>
  2052.  </div>
  2053. </div>
  2054. <div class="modal fade buy_event_ticket" id="buy_ticket_modal" tabindex="-1" role="dialog" aria-labelledby="buy_ticket_modal" aria-hidden="true" data-id="0">
  2055.  <div class="modal-dialog mat_box" role="document">
  2056.    <div class="modal-content">
  2057.      <div class="buy_event_ticket_top">
  2058.        <h5 class="modal-title">Buy a ticket</h5>
  2059.        <p class="subtitle">Are you sure you want to buy a ticket?</p>
  2060.        <div class="ticket-img"></div>
  2061.        <div class="d-flex justify-content-between buy_event_ticket_top_mid">
  2062.          <div class="avail_ticket">
  2063.            <b>Available Tickets</b>
  2064.            <p></p>
  2065.          </div>
  2066.          <div class="avail_ticket_price text-right">
  2067.            <b>Price</b>
  2068.            <p></p>
  2069.          </div>
  2070.        </div>
  2071.      </div>
  2072.      <div class="buy_event_ticket_mid"></div>
  2073.      <div class="buy_event_ticket_bottom">
  2074.        <div class="modal-body-alert"></div>
  2075.        <div class="row mx-0">
  2076.          <div class="col-6 px-1">
  2077.            <button type="button" class="btn btn-default btn-mat btn-block" data-dismiss="modal">Cancel</button>
  2078.          </div>
  2079.          <div class="col-6 px-1">
  2080.            <button type="button" class="btn btn-primary btn-mat btn-block">Buy</button>
  2081.          </div>
  2082.        </div>
  2083.      </div>
  2084.    </div>
  2085.  </div>
  2086. </div>
  2087. <div class="modal fade" id="unjoin-event" tabindex="-1" role="dialog" aria-labelledby="unjoin-event" aria-hidden="true" data-id="0">
  2088.  <div class="modal-dialog mat_box" role="document">
  2089.    <div class="modal-content">
  2090.      <div class="modal-header">
  2091.        <h5 class="modal-title">Leave event</h5>
  2092.      </div>
  2093.      <div class="modal-body">
  2094.        Are you sure you want to leave this event?
  2095.      </div>
  2096.      <div class="modal-footer">
  2097.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  2098.        <button type="button" class="btn btn-primary btn-mat" data-dismiss="modal">Leave</button>
  2099.      </div>
  2100.    </div>
  2101.  </div>
  2102. </div>
  2103.  
  2104. <div class="modal fade" id="delete-event" tabindex="-1" role="dialog" aria-labelledby="delete-event" aria-hidden="true" data-id="0">
  2105.  <div class="modal-dialog mat_box" role="document">
  2106.    <div class="modal-content">
  2107.      <div class="modal-header">
  2108.        <h5 class="modal-title">Delete your event</h5>
  2109.      </div>
  2110.      <div class="modal-body">
  2111.        Are you sure you want to delete this event?
  2112.      </div>
  2113.      <div class="modal-footer">
  2114.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  2115.        <button type="button" class="btn btn-danger btn-mat" data-dismiss="modal">Delete</button>
  2116.      </div>
  2117.    </div>
  2118.  </div>
  2119. </div>
  2120. <div class="modal fade" id="albums_success" role="dialog" aria-labelledby="albums" aria-hidden="true" data-id="{{t_id}}">
  2121.  <div class="modal-dialog mat_box" role="document">
  2122.    <div class="modal-content add_to_plist">
  2123.      <div class="modal-body" style="background: #1b711e;">
  2124.        <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
  2125.        <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  2126. viewBox="0 0 512 512" xml:space="preserve" width="50" height="50">
  2127. <g>
  2128. <g>
  2129. <path fill="currentColor" d="M449.716,239.842c-0.543-7.535-7.082-13.191-14.628-12.661c-7.536,0.543-13.204,7.092-12.662,14.628
  2130.  c0.337,4.655,0.506,9.431,0.506,14.191c0,109.061-88.726,197.787-197.786,197.787C116.086,453.787,27.36,365.06,27.36,256
  2131.  S116.086,58.214,225.147,58.214c43.191,0,84.21,13.668,118.62,39.525c6.041,4.538,14.615,3.321,19.154-2.718
  2132.  c4.54-6.04,3.323-14.616-2.717-19.154c-39.189-29.447-85.891-45.012-135.058-45.012C101.001,30.854,0,131.855,0,256
  2133.  s101.001,225.145,225.147,225.145S450.292,380.146,450.292,256C450.292,250.586,450.097,245.15,449.716,239.842z"/>
  2134. </g>
  2135. </g>
  2136. <g>
  2137. <g>
  2138. <path fill="currentColor" d="M496.395,61.77c-20.808-20.807-54.666-20.807-75.474,0l-197.11,197.108l-69.874-69.875
  2139.  c-20.808-20.807-54.666-20.807-75.474,0c-20.808,20.808-20.808,54.666,0,75.474l120.341,120.341
  2140.  c6.895,6.895,15.951,10.342,25.007,10.342c9.057,0,18.113-3.447,25.008-10.342l247.576-247.576
  2141.  C517.201,116.435,517.201,82.579,496.395,61.77z M477.049,117.897L229.472,365.475c-3.12,3.12-8.2,3.12-11.32,0L97.811,245.133
  2142.  c-10.141-10.141-10.141-26.64,0-36.781c5.07-5.072,11.729-7.606,18.39-7.606s13.321,2.535,18.39,7.606l71.882,71.882
  2143.  c4.632,4.631,10.791,7.181,17.339,7.181c6.551,0,12.71-2.551,17.341-7.182L440.268,81.116c10.138-10.141,26.64-10.141,36.781,0
  2144.  C487.189,91.257,487.189,107.756,477.049,117.897z"/>
  2145. </g>
  2146. </g>
  2147. <g>
  2148. </g>
  2149. <g>
  2150. </g>
  2151. <g>
  2152. </g>
  2153. <g>
  2154. </g>
  2155. <g>
  2156. </g>
  2157. <g>
  2158. </g>
  2159. <g>
  2160. </g>
  2161. <g>
  2162. </g>
  2163. <g>
  2164. </g>
  2165. <g>
  2166. </g>
  2167. <g>
  2168. </g>
  2169. <g>
  2170. </g>
  2171. <g>
  2172. </g>
  2173. <g>
  2174. </g>
  2175. <g>
  2176. </g>
  2177. </svg>
  2178.        <br><br>
  2179.        <b>The track has been moved to following album.</b>
  2180.      </div>
  2181.    </div>
  2182.  </div>
  2183. </div>
  2184. <div class="modal fade" id="ShowAlert" tabindex="-1" role="dialog" aria-labelledby="ShowAlert" aria-hidden="true" data-id="0">
  2185.  <div class="modal-dialog mat_box" role="document">
  2186.    <div class="modal-content">
  2187.      <div class="modal-header">
  2188.        <h5 class="modal-title"></h5>
  2189.      </div>
  2190.      <div class="modal-body ShowAlertText">
  2191.  
  2192.      </div>
  2193.      <div class="modal-footer">
  2194.        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  2195.      </div>
  2196.    </div>
  2197.  </div>
  2198. </div>
  2199. <div class="modal fade" id="select-language" tabindex="-1" role="dialog" aria-hidden="true">
  2200. <div class="modal-dialog modal-lg mat_box lang_select_modal" role="document">
  2201. <div class="modal-content">
  2202. <div class="modal-body">
  2203. <div class="row">
  2204. <div class="col-md-12">
  2205. <div class="language_info">
  2206. <h3>Language</h3>
  2207. <ul class="lang_modal">
  2208. <li class="language_select"><a href="?lang=arabic">Arabic</a></li>
  2209. <li class="language_select"><a href="?lang=bengali">Bengali</a></li>
  2210. <li class="language_select"><a href="?lang=chinese">Chinese</a></li>
  2211. <li class="language_select"><a href="?lang=croatian">Croatian</a></li>
  2212. <li class="language_select"><a href="?lang=danish">Danish</a></li>
  2213. <li class="language_select"><a href="?lang=dutch">Dutch</a></li>
  2214. <li class="language_select"><a href="?lang=english">English</a></li>
  2215. <li class="language_select"><a href="?lang=filipino">Filipino</a></li>
  2216. <li class="language_select"><a href="?lang=french">French</a></li>
  2217. <li class="language_select"><a href="?lang=german">German</a></li>
  2218. <li class="language_select"><a href="?lang=hebrew">Hebrew</a></li>
  2219. <li class="language_select"><a href="?lang=hindi">Hindi</a></li>
  2220. <li class="language_select"><a href="?lang=indonesian">Indonesian</a></li>
  2221. <li class="language_select"><a href="?lang=japanese">Japanese</a></li>
  2222. <li class="language_select"><a href="?lang=korean">Korean</a></li>
  2223. <li class="language_select"><a href="?lang=persian">Persian</a></li>
  2224. <li class="language_select"><a href="?lang=russian">Russian</a></li>
  2225. <li class="language_select"><a href="?lang=spanish">Spanish</a></li>
  2226. <li class="language_select"><a href="?lang=swedish">Swedish</a></li>
  2227. <li class="language_select"><a href="?lang=turkish">Turkish</a></li>
  2228. <li class="language_select"><a href="?lang=urdu">Urdu</a></li>
  2229. <li class="language_select"><a href="?lang=vietnamese">Vietnamese</a></li>
  2230. </ul>
  2231. <svg enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m164.061 1.765c89.491 0 164.061 30.492 164.061 123.688 0 39.307-13.272 67.453-35.329 86.867-4.005 3.525-5.715 8.976-4.326 14.127 3.903 14.48 9.536 29.7 17.262 43.91 5.927 10.9-2.075 24.048-14.477 23.702-30.009-.836-62.771-14.812-87.325-41.505-2.922-3.177-7.103-4.882-11.405-4.53-9.262.757-18.773 1.118-28.462 1.118-89.49 0-164.06-30.493-164.06-123.689s74.57-123.688 164.061-123.688z" fill="#b0da87"/><g><g fill="#fff"><ellipse cx="55.409" cy="104.463" rx="29.792" ry="23.725"/><ellipse cx="216.893" cy="104.463" rx="29.792" ry="23.725"/></g><g fill="#4e5660"><path d="m86.952 86.146c-4.143 0-7.5-3.357-7.5-7.5 0-3.684-2.996-6.681-6.68-6.681s-6.681 2.997-6.681 6.681c0 4.143-3.357 7.5-7.5 7.5s-7.5-3.357-7.5-7.5c0-11.955 9.726-21.681 21.681-21.681 11.954 0 21.68 9.726 21.68 21.681 0 4.143-3.357 7.5-7.5 7.5z"/><path d="m213.711 86.146c-4.143 0-7.5-3.357-7.5-7.5 0-3.684-2.997-6.681-6.681-6.681s-6.68 2.997-6.68 6.681c0 4.143-3.357 7.5-7.5 7.5s-7.5-3.357-7.5-7.5c0-11.955 9.726-21.681 21.68-21.681 11.955 0 21.681 9.726 21.681 21.681 0 4.143-3.357 7.5-7.5 7.5z"/><path d="m136.151 109.573c-7.933 0-15.476-3.436-20.696-9.425-2.722-3.123-2.396-7.86.727-10.582 3.122-2.721 7.859-2.396 10.582.727 2.37 2.72 5.792 4.28 9.388 4.28s7.018-1.561 9.388-4.28c2.722-3.123 7.459-3.447 10.582-.727 3.123 2.722 3.448 7.459.727 10.582-5.222 5.99-12.765 9.425-20.698 9.425z"/></g></g><path d="m347.939 96.356c89.491 0 164.061 30.492 164.061 123.688 0 39.308-13.272 67.453-35.329 86.867-4.005 3.525-5.715 8.976-4.326 14.127 3.903 14.48 9.536 29.7 17.262 43.91 5.927 10.9-2.075 24.048-14.477 23.702-30.009-.836-62.771-14.812-87.325-41.505-2.922-3.177-7.103-4.882-11.405-4.53-9.262.757-18.773 1.118-28.462 1.118-89.491 0-164.061-30.492-164.061-123.688.002-93.197 74.572-123.689 164.062-123.689z" fill="#8daee1"/><path d="m296.422 218.871c-27.969-18.07-64.598-28.515-109.1-31.162-2.253 9.825-3.443 20.58-3.443 32.335 0 93.196 74.57 123.688 164.061 123.688 3.718 0 7.401-.071 11.062-.179.006-.645.024-1.283.024-1.931 0-53.841-21.648-96.288-62.604-122.751z" fill="#6a95d6"/><path d="m401.315 262.7-43.695-115.784c-.025-.068-.053-.137-.08-.204-1.573-3.826-5.262-6.297-9.398-6.297h-.009c-4.141.004-7.829 2.482-9.396 6.314-.023.057-.046.113-.067.171l-44.098 115.78c-1.475 3.87.469 8.203 4.34 9.678 3.866 1.474 8.203-.468 9.678-4.34l9.142-24.004h60.498l9.051 23.983c1.133 3.003 3.987 4.853 7.017 4.853.88 0 1.775-.156 2.647-.485 3.876-1.462 5.832-5.789 4.37-9.665zm-77.87-33.686 24.675-64.786 24.449 64.786z" fill="#fff"/><path d="m164.061 217.934c-89.491 0-164.061 30.493-164.061 123.689 0 39.307 13.272 67.453 35.329 86.867 4.005 3.525 5.715 8.976 4.326 14.127-3.903 14.48-9.536 29.7-17.262 43.909-5.927 10.9 2.075 24.048 14.477 23.702 30.009-.836 62.771-14.812 87.325-41.505 2.922-3.177 7.103-4.882 11.405-4.53 9.262.757 18.773 1.118 28.462 1.118 89.491 0 164.061-30.492 164.061-123.688-.002-93.196-74.572-123.689-164.062-123.689z" fill="#fbf1cf"/><path d="m98.158 224.732c-57.403 13.375-98.158 47.997-98.158 116.891 0 39.307 13.272 67.453 35.329 86.867 4.005 3.525 5.715 8.976 4.326 14.127-3.903 14.48-9.536 29.7-17.262 43.909-5.927 10.9 2.075 24.048 14.477 23.702 30.009-.836 62.771-14.812 87.325-41.505 2.922-3.177 7.103-4.882 11.405-4.53 9.262.757 18.773 1.118 28.461 1.118 9.979 0 19.771-.382 29.296-1.185-109.038-33.437-126.653-188.039-95.199-239.394z" fill="#fae0bd"/><path d="m215.939 289.092h-44.267v-19.954c0-4.143-3.357-7.5-7.5-7.5s-7.5 3.357-7.5 7.5v19.954h-44.267c-4.143 0-7.5 3.357-7.5 7.5s3.357 7.5 7.5 7.5h73.205c-1.638 18.399-10.545 38.587-23.975 56.243-7.491-6.699-13.58-14.368-17.432-21.597-1.947-3.654-6.487-5.039-10.146-3.092-3.655 1.948-5.039 6.49-3.092 10.146 4.554 8.546 11.825 17.845 20.986 25.993-8.01 8.521-17.087 16.084-26.839 22.069-3.53 2.167-4.636 6.785-2.47 10.315 1.416 2.307 3.878 3.578 6.399 3.578 1.338 0 2.692-.357 3.916-1.108 11.003-6.753 21.527-15.56 30.892-25.717 8.934 5.854 18.992 10.334 29.679 12.277.453.083.905.122 1.351.122 3.555 0 6.712-2.537 7.37-6.159.741-4.075-1.962-7.979-6.037-8.721-7.906-1.438-15.595-4.733-22.631-9.119 2.391-3.137 4.675-6.357 6.821-9.658 12.049-18.525 18.971-37.605 20.252-55.574h15.285c4.143 0 7.5-3.357 7.5-7.5s-3.358-7.498-7.5-7.498z" fill="#4e5660"/></g></svg>
  2232. </div>
  2233. </div>
  2234. </div>
  2235. </div>
  2236. </div>
  2237. </div>
  2238. </div>
  2239.  
  2240. <div class="queue_overlay" onclick="javascript:$('body').removeClass('data-queue-open');"></div>
  2241. <div class="sidenav_overlay" onclick="javascript:$('body').removeClass('side_open');"></div>
  2242.  
  2243.  
  2244. <script>
  2245. $(document).on('click', '#follow-user', function(event) {
  2246. $(this).toggleClass('btn-primary btn-success');
  2247. $(this).text("Following");
  2248. $(this).attr("id", "unfollow-user");
  2249. $.post('https://gwiremusic.com/endpoints/follow-user/add', {id: $(this).attr('data-user-id')});
  2250. });
  2251.  
  2252. $(function () {
  2253. setTimeout(function () {
  2254.    Fingerprint2.get(function (components) {
  2255.      $.post(ajaxUrl() + '/set-finger-print', {components: components});
  2256.    })
  2257. }, 500);
  2258. });
  2259.  
  2260. $(document).on('click', '.comment_input', function(event){
  2261.    $('#login_box').modal('show');
  2262. });
  2263.  
  2264. // unfollow user
  2265. $(document).on('click', '#unfollow-user', function(event) {
  2266. $(this).toggleClass('btn-success btn-primary');
  2267. $(this).text("Follow");
  2268. $(this).attr("id", "follow-user");
  2269. $.post('https://gwiremusic.com/endpoints/follow-user/remove', {id: $(this).attr('data-user-id')});
  2270. });
  2271. function addToAlbum(id) {
  2272.    getID = $('#albums').attr('data-id');
  2273.    if (!getID) {
  2274.        return false;
  2275.    }
  2276.    var playlists = "";
  2277.    $(".select-albums-list").each(function (index, item) {
  2278.        if ($(this).hasClass('active')) {
  2279.            var albums = $(this).attr('data-id');
  2280.  
  2281.            $('#playlists').find('.btn-mat').text("Please wait..");
  2282.            $.get(ajaxUrl() + "/album/add-to-album", {album: albums, id: getID}, function (data) {
  2283.                if (data.status == 200) {
  2284.                    $('#albums_success').modal('show');
  2285.                    $('#albums').modal('hide');
  2286.                    setTimeout(function () {
  2287.                        $('#albums').remove();
  2288.                    }, 200);
  2289.                    setTimeout(function () {
  2290.                        $('#albums_success').modal('hide');
  2291.                    }, 3000);
  2292.                } else if (data.status == 300) {
  2293.                    alert("Please select which album you want to add this song to.")
  2294.                } else {
  2295.                    $('#albums').modal('hide');
  2296.                    setTimeout(function () {
  2297.                        $('#albums').remove();
  2298.                    }, 200);
  2299.                }
  2300.            });
  2301.  
  2302.        }
  2303.    });
  2304.  
  2305. }
  2306.  
  2307. function loadEventsByDate(thisData) {
  2308. var getThisID = $(thisData).attr('id');
  2309. if (!getThisID) {
  2310. return false;
  2311. }
  2312. $("#events_search_result").html('<svg class="event_spinner" viewBox="0 0 50 50"><circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle></svg>');
  2313.    // show the loadinfg icon code here,
  2314. $.post('https://gwiremusic.com/endpoints/event/filterByDate', {date: getThisID}, function (data) {
  2315.        if (data.status == 200) {
  2316.            $("#events_search_result").html(data.html);
  2317.        }
  2318.  
  2319.        // remove the icon here and show defaulr value.
  2320.    });
  2321. }
  2322.  
  2323. function checkForSongStatus(songID, form_id = false, local_id = false) {
  2324. $.post('https://gwiremusic.com/endpoints/check-track', {id: songID}, function(dataSecond, textStatus, xhr) {
  2325. if (dataSecond.status == 300) {
  2326. setTimeout(function() {
  2327. checkForSongStatus(songID, form_id, local_id);
  2328. }, 2000);
  2329. } else if (dataSecond.status == 200) {
  2330. if (local_id !== false && form_id)  {
  2331. $('#song-form-' + form_id + '-'+local_id).html('<div class="hidden submitted-song" data-id="' + songID + '"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M17,18H7V16H17V18M10.3,14L7,10.7L8.4,9.3L10.3,11.2L15.6,5.9L17,7.3L10.3,14Z"></path></svg> ' + $('#title-' + form_id + '-'+local_id).val() + ' Successfully uploaded');
  2332. $('#song-form-' + form_id + '-'+local_id).addClass('no-padding-form submitted');
  2333. publish();
  2334. $('#song-form-' + form_id + '-'+local_id+' .btn-save-songs').addClass('submitted');
  2335. } else if (form_id && local_id === false) {
  2336. $('#song-form-' + form_id).html('<div class="hidden submitted-song" data-id="' + songID + '"></div><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M17,18H7V16H17V18M10.3,14L7,10.7L8.4,9.3L10.3,11.2L15.6,5.9L17,7.3L10.3,14Z"></path></svg> ' + $('#title-' + form_id + '').val() + ' Successfully uploaded');
  2337. $('#song-form-' + form_id).addClass('no-padding-form submitted');
  2338. publish();
  2339. $('#song-form-' + form_id + ' .btn-save-songs').addClass('submitted');
  2340. } else {
  2341. goToAjaxLink('track/' + songID);
  2342. }
  2343. }
  2344. });
  2345. }
  2346.  
  2347. function likeSong(id, type, element) {
  2348. if (!id || !type) {
  2349. return false;
  2350. }
  2351. if (type == 'track-page') {
  2352. if (element.attr('liked')) {
  2353. element.removeClass('track-liked').removeAttr('liked', 'true');
  2354. element.find('svg path').attr('fill', '#333');
  2355. element.find('span').html("Like");
  2356.  
  2357.            $('#track_likes_count').attr('data-count',parseInt($('#track_likes_count').attr('data-count')) - 1);
  2358.            $('#track_likes_count').html(parseInt($('#track_likes_count').attr('data-count')));
  2359.  
  2360.            if( $('#dislike-track').hasClass('track-disliked') ){
  2361.                $('#dislike-track-text').html("Disliked");
  2362.                $('#dislike-track').addClass('track-disliked');
  2363.            }
  2364.            // $('#like-track').removeAttr('liked');
  2365.            // $('#dislike-track').attr('disliked', 'true');
  2366.  
  2367. } else {
  2368. element.addClass('track-liked').attr('liked', 'true');
  2369.            $('#dislike-track').removeAttr('disliked');
  2370. element.find('svg path').attr('fill', '#fff');
  2371. element.find('span').html("Liked");
  2372.  
  2373.            $('#track_likes_count').attr('data-count',parseInt($('#track_likes_count').attr('data-count')) + 1);
  2374.            $('#track_likes_count').html(parseInt($('#track_likes_count').attr('data-count')));
  2375.  
  2376.            if( $('#dislike-track').hasClass('track-disliked') ){
  2377.                $('#dislike-track').removeClass('track-disliked');
  2378.                $('#dislike-track-text').html("Dislike");
  2379.  
  2380.                $('#track_dislikes_count').attr('data-count',parseInt($('#track_dislikes_count').attr('data-count')) - 1);
  2381.                $('#track_dislikes_count').html(parseInt($('#track_dislikes_count').attr('data-count')));
  2382.            }
  2383.  
  2384. }
  2385. }
  2386. $.get('https://gwiremusic.com/endpoints/like-track', {id: id, type: type});
  2387. }
  2388.  
  2389. function dislikeSong(id, type, element) {
  2390.    if (!id || !type) {
  2391.        return false;
  2392.    }
  2393.    if (type == 'track-page') {
  2394.        if (element.attr('disliked')) {
  2395.            element.removeClass('track-disliked').removeAttr('disliked', 'true');
  2396.            element.find('span').html("Dislike");
  2397.  
  2398.            $('#track_dislikes_count').attr('data-count',parseInt($('#track_dislikes_count').attr('data-count')) - 1);
  2399.            $('#track_dislikes_count').html(parseInt($('#track_dislikes_count').attr('data-count')));
  2400.  
  2401.            if( $('#like-track').hasClass('track-liked') ){
  2402.                $('#like-track-text').html("Liked");
  2403.                $('#like-track').addClass('track-liked');
  2404.            }
  2405.            // $('#like-track').attr('liked', 'true');
  2406.            // $('#dislike-track').removeAttr('disliked');
  2407.  
  2408.        } else {
  2409.            element.addClass('track-disliked').attr('disliked', 'true');
  2410.            $('#like-track').removeAttr('liked');
  2411.  
  2412.            element.find('span').html("Disliked");
  2413.  
  2414.            $('#track_dislikes_count').attr('data-count',parseInt($('#track_dislikes_count').attr('data-count')) + 1);
  2415.            $('#track_dislikes_count').html(parseInt($('#track_dislikes_count').attr('data-count')));
  2416.  
  2417.            if( $('#like-track').hasClass('track-liked') ){
  2418.                $('#like-track').removeClass('track-liked');
  2419.                $('#like-track-text').html("Like");
  2420.                $('#like-track svg path').attr('fill','currentColor');
  2421.  
  2422.                $('#track_likes_count').attr('data-count',parseInt($('#track_likes_count').attr('data-count')) - 1);
  2423.                $('#track_likes_count').html(parseInt($('#track_likes_count').attr('data-count')));
  2424.            }
  2425.  
  2426.        }
  2427.    }
  2428.    $.get('https://gwiremusic.com/endpoints/dislike-track', {id: id, type: type});
  2429. }
  2430.  
  2431. function loadMore(type, get_data) {
  2432. element = $("#load-more-button");
  2433. $default_text = element.html();
  2434. $track_id = 0;
  2435.    views = 0;
  2436.    product_id = 0;
  2437.    let v_ids = [];
  2438. if (type == 'songs') {
  2439.        $last_id = $('.feed_post:last-child').attr('data-id');
  2440. $append_div = '#user-feed-data';
  2441. } else if (type == 'recently_played') {
  2442. $last_id = $('.track_list:last').attr('data-time');
  2443. $append_div = '#recently_played';
  2444. } else if (type == 'comments') {
  2445. $last_id = $('.comment_item:last').attr('comment-id');
  2446. $append_div = '.comment_list';
  2447. $track_id = $('.comment_item:last').attr('comment-song-id')
  2448.    } else if (type == 'blog_comments') {
  2449. $last_id = $('.comment_item:last').attr('comment-id');
  2450. $append_div = '.comment_list';
  2451. $track_id = $('.comment_item:last').attr('comment-song-id')
  2452.    } else if (type == 'latest_music' || type == 'top_music') {
  2453. $last_id = $('#new-music .track_list:last').attr('data-id');
  2454. $append_div = '#new-music';
  2455. } else if (type == 'categories') {
  2456. $last_id = $('.list-recommended:last').attr('data-id');
  2457. $append_div = 'ul.s_list_songs';
  2458. } else if (type == 'followers') {
  2459.        $last_id = $('.follower_list:last-child').attr('data-id');
  2460.        $append_div = '#followers';
  2461.    } else if (type == 'followings') {
  2462.        $last_id = $('.following_list:last-child').attr('data-id');
  2463.        $append_div = '#followings';
  2464.    } else if (type == 'songs_search') {
  2465.        $last_id = $('.song_search_list:last-child').attr('data-id');
  2466.        $append_div = '#songs_search_result';
  2467.    } else if (type == 'artists_search') {
  2468.        $last_id = $('.artist_list:last-child').attr('data-id');
  2469.        $append_div = '#artists_search_result';
  2470.    } else if (type == 'albums_search') {
  2471.        $last_id = $('.track_list:last-child').attr('data-id');
  2472.        $append_div = '#albums_search_result';
  2473.    } else if (type == 'playlists_search') {
  2474.        $last_id = $('.playlist-p-list:last-child').attr('data-id');
  2475.        $append_div = '#playlists_search_result';
  2476.    } else if (type == 'store_albums') {
  2477.        $last_id = $('#store_result .track_list:last-child').attr('data-id');
  2478.        $append_div = '#store_result';
  2479.    } else if (type == 'store_songs') {
  2480.        $last_id = $('.song_list:last-child').attr('data-id');
  2481.        $append_div = '.store_songs';
  2482.    } else if (type == 'blogs') {
  2483.        $last_id = $('.blog_list').last().attr('data-id');
  2484.        $append_div = '.blog_articles';
  2485.    } else if (type == 'stations') {
  2486.        $last_id = $('#new-music .track_list:last').attr('data-id');
  2487.        $append_div = '#new-music';
  2488.    }
  2489.    else if(type == 'fame_page'){
  2490.        $last_id = $('#fame_page_result .artist_lists:last').attr('data-id');
  2491.        views   = $('#fame_page_result .artist_lists:last').attr('data_views');
  2492.        $append_div = '#fame_page_result';
  2493.        $('.artist_lists').each(function(i, obj) {
  2494.            v_ids.push($(obj).attr('data_v_id'));
  2495.        });
  2496.    }
  2497.    else if(type == 'products_search'){
  2498.        $last_id = $('.events-list-wrapper:last').attr('data-product');
  2499.        $append_div = '#products_search_result';
  2500.  
  2501.    }
  2502.    else if(type == 'events_search'){
  2503.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2504.        $append_div = '#events_search_result';
  2505.  
  2506.    }
  2507.    else if(type == 'events'){
  2508.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2509.        $append_div = '#events_search_result';
  2510.  
  2511.    }
  2512.    else if(type == 'manage_events'){
  2513.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2514.        $append_div = '#manage_events_result';
  2515.  
  2516.    }
  2517.    else if(type == 'joined_events'){
  2518.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2519.        $append_div = '#events_search_result';
  2520.  
  2521.    }
  2522.    else if(type == 'purchased_events'){
  2523.        $last_id = $('.events-list-wrapper:last').attr('data-event');
  2524.        $append_div = '#events_search_result';
  2525.  
  2526.    }
  2527.    else if(type == 'products'){
  2528.        $last_id = $('.events-list-wrapper:last').attr('data-product');
  2529.        $append_div = '#store_result';
  2530.  
  2531.    }
  2532.    else if(type == 'manage_products'){
  2533.        $last_id = $('.events-list-wrapper:last').attr('data-product');
  2534.        $append_div = '#products_result';
  2535.  
  2536.    }
  2537.    else if(type == 'reviews'){
  2538.        $last_id = $('.review_list:last').attr('id');
  2539.        $append_div = '.reviews_section';
  2540.        product_id = $('#product_page_id').val();
  2541.  
  2542.    }
  2543.    else if(type == 'orders'){
  2544.        $last_id = $('.song_list:last').attr('data-order');
  2545.        $append_div = '.store_songs';
  2546.    }
  2547.  
  2548.  
  2549. if (get_data == 'all' || get_data == 'liked' || get_data == 'spotlight' || get_data == 'events') {
  2550. $last_id = $('.feed_post:last-child').attr('data-a-id');
  2551. type = 'activities';
  2552. }
  2553. if (get_data == 'playlists') {
  2554. $last_id = $('.playlist-p-list:last-child').attr('data-id');
  2555. type = 'playlists';
  2556. }
  2557. if (get_data == 'albums') {
  2558. $last_id = $('.album-p-list:last-child').attr('data-id');
  2559. type = 'albums';
  2560. }
  2561.  
  2562.    if (get_data == 'stations') {
  2563.        $last_id = $('.track_list:last-child').attr('data-id');
  2564.        type = 'stations';
  2565.    }
  2566.    if (get_data == 'store') {
  2567.        $last_id = $('.feed_post:last-child').attr('a_id');
  2568.    }
  2569.  
  2570.    if (get_data == 'albums' && type == 'albums') {
  2571.        $last_id = $('.track_list:last').attr('data-id');
  2572.        type = 'albums';
  2573.    }
  2574.  
  2575. element.text("Please wait..");
  2576.  
  2577.    let geners = [];
  2578.    let price = [];
  2579.    let filter_type = null;
  2580.    let current_tag = null;
  2581.    if($('#current_tag').length > 0){
  2582.        current_tag = $('#current_tag').val();
  2583.    }
  2584.    if($('#filter_search_tag').length > 0){
  2585.        current_tag = $('#filter_search_tag').val();
  2586.    }
  2587.    if($('#filter_type').length > 0){
  2588.        filter_type = $('#filter_type').val();
  2589.    }
  2590.    if($('.song_category').length > 0){
  2591.        $('.song_category').each(function(i, obj) {
  2592.            if(this.checked){
  2593.                geners.push($(obj).attr('data-category'));
  2594.            }
  2595.        });
  2596.    }
  2597.    if($( "#slider-range" ).length > 0){
  2598.        price = $("#slider-range").slider("option").values;
  2599.    }
  2600.    let params = {'geners': geners, 'filter_type': filter_type,'current_tag': current_tag, 'price': price};
  2601.  
  2602. $.get(ajaxUrl() + '/load-more/' + type, {id: $last_id, userID: $('#user-id').val(), track_id: $track_id, get_data: get_data,params: params,views:views,v_ids:v_ids,product_id:product_id}, function(data) {
  2603. if (data.status == 200 && data.html.length > 0) {
  2604. $($append_div).append(data.html);
  2605. } else {
  2606. $default_text = "No more tracks found";
  2607. if (type == 'comments' || type == 'blog_comments') {
  2608. $default_text = "No more comments found";
  2609. }
  2610. if (type == 'all') {
  2611. $default_text = "No more activities found";
  2612. }
  2613. if (type == 'playlists' || type == 'playlists_search') {
  2614. $default_text = "No more playlists found";
  2615. }
  2616.            if (type == 'followers') {
  2617.                $default_text = "No more followers found";
  2618.            }
  2619.            if (type == 'followings') {
  2620.                $default_text = "No more following found";
  2621.            }
  2622.            if (type == 'artists_search' || type == 'fame_page') {
  2623.                $default_text = "No more artists found";
  2624.            }
  2625.            if (type == 'albums_search' || type == 'store_albums') {
  2626.                $default_text = "No more albums found";
  2627.            }
  2628.            if (type == 'blogs_search' || type == 'blogs') {
  2629.                $default_text = "No more articles found";
  2630.            }
  2631.            if (type == 'stations' ) {
  2632.                $default_text = "No more stations found";
  2633.            }
  2634.            if (type == 'events_search' || type == 'events' || type == 'joined_events' || type == 'manage_events') {
  2635.                $default_text = "No more events found";
  2636.            }
  2637.            if (type == 'purchased_events') {
  2638.                $default_text = "No more tickets found";
  2639.            }
  2640.            if (type == 'products' || type == 'manage_products' || type == 'products_search') {
  2641.                $default_text = "No more products found";
  2642.            }
  2643.            if (type == 'reviews') {
  2644.                $default_text = "No more reviews found";
  2645.            }
  2646.            if (type == 'orders') {
  2647.                $default_text = "No more orders found";
  2648.            }
  2649.        }
  2650. element.html($default_text);
  2651. });
  2652. }
  2653.  
  2654. $(document).on('click', '.amplitude-next', function(event) {
  2655. console.log($('#current-track').val());
  2656.  
  2657. });
  2658. var is_sent = 0;
  2659. var is_video_checked = 0;
  2660. var is_paused = 0;
  2661. $(function () {
  2662. var songsObject = [{
  2663.        "name": "",
  2664.        "artist": "",
  2665.        "album": "",
  2666.        "url": "",
  2667.        "cover_art_url": "",
  2668.        "youtube_url": "",
  2669. }];
  2670. Amplitude.init({
  2671. "songs": songsObject,
  2672.    "callbacks": {
  2673.        'after_next': function(){
  2674.            setTimeout(function () {
  2675.                if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && !Amplitude.audio().paused && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2676.                        $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2677.                        $('#my_video_player_container').slideDown();
  2678.                        video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2679.                        video_player.on('ready', event => {
  2680.                            video_player.play();
  2681.                        });
  2682.                }
  2683.            },500);
  2684.         },
  2685.         'after_prev': function(){
  2686.            setTimeout(function () {
  2687.                if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && !Amplitude.audio().paused && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2688.                        $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2689.                        $('#my_video_player_container').slideDown();
  2690.                        video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2691.                        video_player.on('ready', event => {
  2692.                            video_player.play();
  2693.                        });
  2694.                }
  2695.            },500);
  2696.         },
  2697.         'time_update': function(songPlayedInSeconds){
  2698.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))))) {
  2699.                if ((Amplitude.audio().duration - Amplitude.audio().currentTime) > 1) {
  2700.                    video_player.currentTime = Amplitude.audio().currentTime;
  2701.                    // if (video_player.paused && !Amplitude.audio().paused) {
  2702.                        video_player.play();
  2703.                    // }
  2704.                }
  2705.                if (Amplitude.audio().paused) {
  2706.                    is_paused = 1;
  2707.                    video_player.pause();
  2708.                }
  2709.            }
  2710.         },
  2711. 'after_play': function(){
  2712.            var song_seconds = Amplitude.getSongDuration();
  2713.            if (song_seconds) {
  2714.                $('body').attr('song-duration', song_seconds);
  2715.            }
  2716.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && !$('#my_video_player_container').is(":visible") && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2717.                $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2718.                $('#my_video_player_container').slideDown();
  2719.                video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2720.                video_player.on('ready', event => {
  2721.                    video_player.play();
  2722.                });
  2723.            }
  2724.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && $('#my_video_player_container').is(":visible") && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2725.                video_player.play();
  2726.            }
  2727. setTimeout(function () {
  2728. $('body').addClass('audio_playing');
  2729. $('body').addClass('player_running');
  2730. $('#play-pause').addClass('amplitude-playing');
  2731. }, 100);
  2732. },
  2733. 'after_pause': function(){
  2734.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2735.                is_paused = 1;
  2736.                video_player.pause();
  2737.            }
  2738. $('body').removeClass('audio_playing');
  2739. $('#play-pause').removeClass('amplitude-playing');
  2740. $('body').removeClass('player_running');
  2741. },
  2742. 'after_stop': function(){
  2743.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2744.                $('#my_video_player_container').slideUp();
  2745.                $('#my_video_player_container').html('');
  2746.            }
  2747. if (parseInt($('.ss_track_play_pause').attr('data_is_ad')) > 0 && is_sent == 0) {
  2748. is_sent = 1;
  2749. song_id = $('#current-track').attr('value');
  2750. onTimesUp(song_id);
  2751. return false;
  2752. }
  2753. $('body').removeClass('audio_playing');
  2754. $('#play-pause').removeClass('amplitude-playing');
  2755. $('body').removeClass('player_running');
  2756. $('#light-wave').width('0px');
  2757. }
  2758. }
  2759. });
  2760.  
  2761. });
  2762.  
  2763. const FULL_DASH_ARRAY = 283;
  2764. const WARNING_THRESHOLD = 10;
  2765. const ALERT_THRESHOLD = 5;
  2766.  
  2767. const TIME_LIMIT = 10;
  2768. let timePassed = 0;
  2769. let timeLeft = TIME_LIMIT;
  2770. let timerInterval = null;
  2771.  
  2772. function onTimesUp(song_id) {
  2773. if (typeof wavesurfer != "undefined") {
  2774. wavesurfer.pause();
  2775. }
  2776. if (typeof Amplitude != "undefined") {
  2777. Amplitude.pause();
  2778. Amplitude.removeSong(0);
  2779. }
  2780. $('#queue-' + song_id).remove();
  2781. $(".song_controls").css("pointer-events","auto");
  2782.    $(".song_progress").css("pointer-events","auto");
  2783.    $(".song_progress_right").css("pointer-events","auto");
  2784.    $(".ma_player_playlist").css("pointer-events","auto");
  2785.    $("#waveform").css("pointer-events","auto");
  2786. playSong(song_id,0,'yes');
  2787. $('body').removeClass('player_running');
  2788.    clearInterval(timerInterval);
  2789.    goToAjaxLink('track/' + song_id);
  2790. }
  2791.  
  2792. function startTimer(song_id) {
  2793.  $(".song_controls").css("pointer-events","none");
  2794.  $(".song_progress").css("pointer-events","none");
  2795.  $(".song_progress_right").css("pointer-events","none");
  2796.  $(".ma_player_playlist").css("pointer-events","none");
  2797.  $("#waveform").css("pointer-events","none");
  2798.  timerInterval = setInterval(() => {
  2799.    timePassed = timePassed += 1;
  2800.    timeLeft = TIME_LIMIT - timePassed;
  2801.    if (timeLeft >= 0) {
  2802.     document.getElementById("base-timer-label").innerHTML = formatTime(
  2803.      timeLeft
  2804.    );
  2805.    setCircleDasharray();
  2806.    }
  2807.  
  2808.    if (timeLeft === 0) {
  2809.     song_id = "'"+song_id+"'";
  2810.     $(".pause_btn").replaceWith('<div class="pause_btn" onclick="onTimesUp('+song_id+')"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="var(--main-color)" d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8L13,12L8,16M14,8H16V16H14"/></svg></div>');
  2811.    }
  2812.  }, 1000);
  2813. }
  2814.  
  2815. function formatTime(time) {
  2816.  const minutes = Math.floor(time / 60);
  2817.  let seconds = time % 60;
  2818.  
  2819.  if (seconds < 10) {
  2820.    seconds = `0${seconds}`;
  2821.  }
  2822.  
  2823.  return `${minutes}:${seconds}`;
  2824. }
  2825.  
  2826. function calculateTimeFraction() {
  2827.  const rawTimeFraction = timeLeft / TIME_LIMIT;
  2828.  return rawTimeFraction - (1 / TIME_LIMIT) * (1 - rawTimeFraction);
  2829. }
  2830.  
  2831. function setCircleDasharray() {
  2832.  const circleDasharray = `${(
  2833.    calculateTimeFraction() * FULL_DASH_ARRAY
  2834.  ).toFixed(0)} 283`;
  2835.  document
  2836.    .getElementById("base-timer-path-remaining")
  2837.    .setAttribute("stroke-dasharray", circleDasharray);
  2838. }
  2839.  
  2840. var songIndex = [];
  2841. function playSong(id,audio_ad_id = 0,skip = '') {
  2842. if (typeof setPlayerInterval != 'undefined') {
  2843. clearInterval(setPlayerInterval);
  2844. }
  2845. if (!$('body').attr('first-play')) {
  2846. //Amplitude.removeSong(0);
  2847. $('body').attr('first-play', "true");
  2848. }
  2849.  
  2850. if (Amplitude.getActiveSongMetadata().id && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2851. if (Amplitude.getActiveSongMetadata().id == id) {
  2852. Amplitude.play();
  2853. if ($('#page').attr('data-page') != 'track') {
  2854. goToAjaxLink('track/' + Amplitude.getActiveSongMetadata().id);
  2855. }
  2856. // $('#container_content').append('<a href="#" id="redirect-user" data-load="track/' + Amplitude.getActiveSongMetadata().id + '"></a>');
  2857. // $('#redirect-user').trigger('click');
  2858.            if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && ($('#audio_ad_id').length == 0 || ($('#audio_ad_id').length != 0 && parseInt($('#audio_ad_id').val()) == 0))) {
  2859.                console.log(Amplitude)
  2860.                video_player.play();
  2861.                if (!$('#my_video_player_container').is(":visible")) {
  2862.                    $('#my_video_player_container').slideDown();
  2863.  
  2864.                }
  2865.            }
  2866. if ($('body').attr('first-play')) {
  2867. if (skip != 'yes') {
  2868. return false;
  2869. }
  2870. }
  2871. }
  2872. }
  2873.  
  2874. $('#bar_loading').show().animate({width:20 + 80 * Math.random() + "%"}, 200);
  2875. $.get('https://gwiremusic.com/endpoints/get-song-info', {id: id,audio_ad_id: audio_ad_id}, function(data) {
  2876. if (data.age == true) {
  2877. $('#age-restricted').modal('show');
  2878. $('#bar_loading').animate({width:"100%"}, 200).fadeOut(300, function() {
  2879.           $(this).width("0");
  2880.        });
  2881. return false;
  2882. }
  2883. $("#light-wave").stop(true);
  2884. $('.waveform-small').html("");
  2885. $('.ssong_comments.small-waves').addClass('hidden');
  2886. $('.mus_feeds_bodycoms').addClass('hidden');
  2887. $('.post-actions').addClass('hidden');
  2888. if (data.status == 200) {
  2889. $('body').attr('song-duration', data.duration);
  2890. if ($('.feed_post[data-id="' + data.songID + '"]:first').length > 0) {
  2891. if (data.songWaves.length > 0) {
  2892. $('.feed_post[data-id="' + data.songID + '"]:first').find('.waveform-small').html(data.songWaves);
  2893. $('#light-wave img').width($('#dark-wave').width() + 'px');
  2894. }
  2895. $('.feed_post[data-id="' + data.songID + '"]:first').find('.art-info').removeClass('hidden');
  2896. $('.feed_post[data-id="' + data.songID + '"]:first').find('.post-actions').removeClass('hidden');
  2897. $('.feed_post[data-id="' + data.songID + '"]:first').find('.ssong_comments').removeClass('hidden');
  2898. $('.feed_post[data-id="' + data.songID + '"]:first').find('.mus_feeds_bodycoms').removeClass('hidden');
  2899.    $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment_list').html(data.comments);
  2900.    $('.feed_post[data-id="' + data.songID + '"]:first').find('.comment-waves').html(data.waves);
  2901. $('html,body').animate({
  2902.        scrollTop: $('.feed_post[data-id="' + data.songID + '"]:first').offset().top
  2903.    }, 'slow');
  2904. }
  2905.  
  2906. $('body').addClass('player_running');
  2907.            if ($('.amplitude-song-container').length == 0) {
  2908.                Amplitude.removeSong(0)
  2909.            }
  2910.    if ($('#queue-' + id).length == 0 || data.is_ad == 'yes') {
  2911. var songObject = {
  2912.        "name": data.songTitle,
  2913.        "artist": data.artistName,
  2914.        "album": data.albumName,
  2915.        "url": data.songURL,
  2916.        "cover_art_url": data.coverURL,
  2917.                    "youtube_url": data.youtube_url,
  2918.        "id": id,
  2919.        "u_id": data.songID,
  2920.        "data_load": 'track/' + id,
  2921.        "href": data.songPageURL,
  2922.        "duration": data.songDuration,
  2923.        "purchase": data.purchase,
  2924.        'price': data.price,
  2925.        "is_favoriated": data.is_favoriated,
  2926.        "showDemo": data.showDemo
  2927. };
  2928.     var songIndex = Amplitude.addSong(songObject);
  2929. data.qID = songIndex;
  2930. songObject.qID = songIndex;
  2931. Amplitude.playSongAtIndex(songIndex);
  2932.                if (data.is_ad != 'yes') {
  2933.                    addToQueue(data, songObject, false);
  2934.                    addView(data.songID);
  2935.  
  2936.                }
  2937. $('.amplitude-song-container').removeClass('amplitude-playing');
  2938. //$('.amplitude-song-container[amplitude-song-index="' + songIndex + '"]').addClass('amplitude-playing');
  2939.                $('#queue-list').find('.amplitude-song-container').last().addClass('amplitude-playing');
  2940.    } else {
  2941.     songIndex = $('#queue-' + id).attr('amplitude-song-index');
  2942.     Amplitude.playSongAtIndex(songIndex);
  2943.    }
  2944.            setTimeout(function () {
  2945.                if (Amplitude.getActiveSongMetadata().youtube_url != '' && typeof Amplitude.getActiveSongMetadata().youtube_url !== 'undefined' && data.is_ad != 'yes') {
  2946.                        $('#my_video_player_container').html('<div class="y_player_cover"></div><span class="player_exit" onclick="HidePlayer()"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span><div class="plyr__video-embed" id="my_video_player_"><iframe src="'+Amplitude.getActiveSongMetadata().youtube_url+'?origin=https://plyr.io&amp;iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1" allowfullscreen allowtransparency ></iframe> </div>')
  2947.                        $('#my_video_player_container').slideDown();
  2948.                        video_player = new Plyr('#my_video_player_',{muted: true,controls: []});
  2949.                        video_player.on('ready', event => {
  2950.                            video_player.play();
  2951.                        });
  2952.                }
  2953.            },500);
  2954.    $('.player-song-url').attr('href', data.songPageURL);
  2955.  
  2956.    if (data.data_load != '') {
  2957.     Amplitude.getActiveSongMetadata().data_load = '';
  2958.     $('.player-song-url').attr('data-load', '');
  2959.    }
  2960.    else{
  2961.     $('.player-song-url').attr('data-load', 'track/' + id);
  2962.    }
  2963.  
  2964. $('#song-fav-button').html(data.favorite_button);
  2965. $('.ma_player').removeClass('closed');
  2966. if (data.is_ad == 'yes') {
  2967. document.querySelector(".pause_btn").innerHTML = `
  2968. <div class="base-timer">
  2969.  <svg class="base-timer__svg" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g class="base-timer__circle"><circle class="base-timer__path-elapsed" cx="50" cy="50" r="45"></circle><path id="base-timer-path-remaining" stroke-dasharray="283" class="base-timer__path-remaining" d="M 50, 50 m -45, 0 a 45,45 0 1,0 90,0 a 45,45 0 1,0 -90,0"></path></g></svg>
  2970.  <span id="base-timer-label" class="base-timer__label">${formatTime(
  2971.    timeLeft
  2972.  )}</span><p>to Skip Ad</p>
  2973. </div>
  2974. `;
  2975. startTimer(id);
  2976. $('.ss_track_play_pause').attr('data_is_ad', 1);
  2977. }
  2978. } else {
  2979. alert("Can't load the song, please try again later.")
  2980. }
  2981. $('#bar_loading').animate({width:"100%"}, 200).fadeOut(300, function() {
  2982.           $(this).width("0");
  2983.        });
  2984. });
  2985. }
  2986.  
  2987. function addToQueue(data, object, fetch) {
  2988.    if (fetch == false) {
  2989.        html = '<div class="song amplitude-song-container amplitude-play-pause" id="queue-' + object.id + '" onclick="playSong(\'' + object.id + '\')" amplitude-song-index="' + object.qID + '"><div class="song_icon_container"><img class="now-playing" src="'+ object.cover_art_url+'"/></div><span class="song_duration">' + object.duration + '</span><div class="song_meta_data"><span class="song_title">' + object.name + '</span><span class="song_artist">' + object.artist + '</span></div></div>';
  2990.        $('#queue-list').append(html);
  2991.    }
  2992.    setTimeout(function () {
  2993.        $.post('https://gwiremusic.com/endpoints/add-queue', {qdata: object});
  2994.    }, 2000);
  2995. }
  2996.  
  2997. function registerCommentreplay(value, id, commentid, event, element) {
  2998.    if (!value || !id || !commentid) {
  2999.        return false;
  3000.    }
  3001.    if(event.which == 13) {
  3002.        element.attr('disabled', "true");
  3003.        $.post('https://gwiremusic.com/endpoints/register-comment-replay', {id: id, value: value, cid:commentid}, function(data) {
  3004.            if (data.status == 300) {
  3005.                $('#login_box').modal('show');
  3006.            }
  3007.            if (data.status == 200) {
  3008.                $('.no-comments-found').remove();
  3009.                $('.no-track-found').remove();
  3010.                element.val("");
  3011.                $('.comment-replay-list-' + commentid).append(data.html);
  3012.                //window.init_emojioneArea();
  3013.            }
  3014.            element.removeAttr('disabled');
  3015.        });
  3016.    }
  3017.  
  3018. }
  3019.  
  3020. function deleteCommentReplay(element) {
  3021.    mainElement = $('#delete-comment-replay');
  3022.    comment_id = mainElement.attr('data-id');
  3023.    mode = mainElement.attr('data-mode');
  3024.    if (!comment_id) {
  3025.        return false;
  3026.    }
  3027.    $('#delete-comment-replay').modal('hide');
  3028.    $('.comment-replay-' + comment_id).slideUp('200', function () {
  3029.        $(this).remove();
  3030.    });
  3031.    $.get('https://gwiremusic.com/endpoints/delete-comment-replay', {id: comment_id});
  3032. }
  3033.  
  3034. function registerComment(value, id, event, element) {
  3035. if (!value || !id) {
  3036. return false;
  3037. }
  3038.    //fix
  3039. if(event.which == 13) {
  3040. element.attr('disabled', "true");
  3041. time = "";
  3042. timeSeconds = "";
  3043. if (Amplitude.getActiveSongMetadata().id == id) {
  3044. time = Amplitude.audio().currentTime;
  3045.    timeSeconds = $('.amplitude-song-played-progress').val();
  3046. }
  3047. wave = 0;
  3048. if ($('#light-wave').val()) {
  3049. wave = $('#light-wave').val();
  3050. }
  3051.        $.post('https://gwiremusic.com/endpoints/register-comment', {id: id, value: value, timePercentage: timeSeconds, time: time, wave: wave}, function(data) {
  3052.         if (data.status == 300) {
  3053.                $('#login_box').modal('show');
  3054.            }
  3055.         if (data.status == 200) {
  3056.         $('.no-comments-found').remove();
  3057.         $('.no-track-found').remove();
  3058.         element.val("");
  3059.         $('.comment-waves').append(data.comment_wave);
  3060.         $('.comment-list-' + id).prepend(data.html);
  3061.                //window.init_emojioneArea();
  3062.         }
  3063.         element.removeAttr('disabled');
  3064.        });
  3065.    }
  3066.  
  3067. }
  3068.  
  3069. $(document).on('mouseover', '.comment-on-wave', function(event) {
  3070. $(this).find('.comment-on-wave-data').css({
  3071. display: 'block',
  3072. });
  3073. });
  3074. $(document).on('mouseleave', '.comment-on-wave', function(event) {
  3075. $(this).find('.comment-on-wave-data').css({
  3076. display: 'none',
  3077. });
  3078. });
  3079.  
  3080. $('.comment-on-wave-data').on('hover', function(event) {
  3081.  
  3082. });
  3083.  
  3084. function goToWave(secnods) {
  3085. setTimeout(function () {
  3086. Amplitude.skipTo(secnods, Amplitude.getActiveSongMetadata().qID);
  3087. }, 200);
  3088. }
  3089.  
  3090. function goTo(element) {
  3091. mainElement = element.parents('li');
  3092.  
  3093. if (Amplitude.getActiveSongMetadata().id != mainElement.attr('comment-song-id')) {
  3094. playSong(mainElement.attr('song-id'));
  3095. }
  3096.  
  3097. setTimeout(function () {
  3098. Amplitude.skipTo(mainElement.attr('comment-seconds'), Amplitude.getActiveSongMetadata().qID);
  3099. }, 200);
  3100. }
  3101. function BloglikeComment(comment_id) {
  3102.    if (!comment_id) {
  3103.        return false;
  3104.    }
  3105.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3106.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('likeComment', 'UnlikeComment') );
  3107.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','#e62117');
  3108.    $.get('https://gwiremusic.com/endpoints/like-blog-comment', {id: comment_id});
  3109.    let c = parseInt($('#comment_like_'+comment_id).html());
  3110.    $('#comment_like_'+comment_id).html( c + 1);
  3111. }
  3112. function BlogUnlikeComment(comment_id) {
  3113.    if (!comment_id) {
  3114.        return false;
  3115.    }
  3116.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3117.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('UnlikeComment', 'likeComment') );
  3118.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','currentColor');
  3119.    $.get('https://gwiremusic.com/endpoints/unlike-blog-comment', {id: comment_id});
  3120.    let c = parseInt($('#comment_like_'+comment_id).html());
  3121.    $('#comment_like_'+comment_id).html( c - 1);
  3122. }
  3123. function BlogUnReportComment(comment_id,user_id) {
  3124.    if (!comment_id) {
  3125.        return false;
  3126.    }
  3127.    $('.blog_comment_report[data-comment-id="'+comment_id+'"]').show();
  3128.    $('.blog_comment_report[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  3129.    $('.blog_comment_unreport[data-comment-id="'+comment_id+'"]').hide();
  3130.    $.get(ajaxUrl() + '/blog-unreport-comment', {id: comment_id,uid: user_id}, function (data) {
  3131.        if (data.status == 200) {
  3132.            $('#blog_comment_unreported').modal('show');
  3133.            setTimeout(function () {
  3134.                $('#blog_comment_unreported').modal('hide');
  3135.            }, 3000);
  3136.        }
  3137.    });
  3138. }
  3139. function deleteComment(element) {
  3140. mainElement = $('#delete-comment');
  3141.    comment_id = mainElement.attr('data-id');
  3142.    mode = mainElement.attr('data-mode');
  3143. if (!comment_id) {
  3144. return false;
  3145. }
  3146. $('#delete-comment').modal('hide');
  3147. $('.comment-' + comment_id).slideUp('200', function () {
  3148. $(this).remove();
  3149. });
  3150. if(mode == 'blog'){
  3151.        $.get('https://gwiremusic.com/endpoints/delete-blog-comment', {id: comment_id});
  3152.    }else{
  3153.        $.get('https://gwiremusic.com/endpoints/delete-comment', {id: comment_id});
  3154.    }
  3155. }
  3156.  
  3157. function likeComment(comment_id) {
  3158.    if (!comment_id) {
  3159.        return false;
  3160.    }
  3161.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3162.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('likeComment', 'UnlikeComment') );
  3163.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','#e62117');
  3164.    $.get('https://gwiremusic.com/endpoints/like-comment', {id: comment_id});
  3165.    let c = parseInt($('#comment_like_'+comment_id).html());
  3166.    $('#comment_like_'+comment_id).html( c + 1);
  3167. }
  3168.  
  3169. function UnlikeComment(comment_id) {
  3170.    if (!comment_id) {
  3171.        return false;
  3172.    }
  3173.    var clickval = $('.comment_like[data-comment-id="'+comment_id+'"]').attr("onclick");
  3174.    $('.comment_like[data-comment-id="'+comment_id+'"]').attr('onclick',clickval.replace('UnlikeComment', 'likeComment') );
  3175.    $('.comment_like[data-comment-id="'+comment_id+'"] path').attr('fill','currentColor');
  3176.    $.get('https://gwiremusic.com/endpoints/unlike-comment', {id: comment_id});
  3177.  
  3178.    let c = parseInt($('#comment_like_'+comment_id).html());
  3179.    $('#comment_like_'+comment_id).html( c - 1);
  3180.  
  3181. }
  3182.  
  3183. function UnReportComment(comment_id,user_id) {
  3184.    if (!comment_id) {
  3185.        return false;
  3186.    }
  3187.    $('.comment_report[data-comment-id="'+comment_id+'"]').show();
  3188.    $('.comment_report[data-comment-id="'+comment_id+'"]').css({'visibility':'inherit'});
  3189.    $('.comment_unreport[data-comment-id="'+comment_id+'"]').hide();
  3190.  
  3191.    $.get(ajaxUrl() + '/unreport-comment', {id: comment_id,uid: user_id}, function (data) {
  3192.        if (data.status == 200) {
  3193.            $('#comment_unreported').modal('show');
  3194.            setTimeout(function () {
  3195.                $('#comment_unreported').modal('hide');
  3196.            }, 3000);
  3197.        }
  3198.    });
  3199.  
  3200. }
  3201.  
  3202. function UnReportTrack(track_id,user_id) {
  3203.    if (!track_id) {
  3204.        return false;
  3205.    }
  3206.    $('.track_report[data-track-id="'+track_id+'"]').show();
  3207.    $('.track_report[data-track-id="'+track_id+'"]').css({'visibility':'inherit'});
  3208.    $('.track_unreport[data-track-id="'+track_id+'"]').hide();
  3209.  
  3210.    $.get(ajaxUrl() + '/unreport-track', {'id': track_id,'uid': user_id}, function (data) {
  3211.        if (data.status == 200) {
  3212.            $('#track_unreported').modal('show');
  3213.            setTimeout(function () {
  3214.                $('#track_unreported').modal('hide');
  3215.            }, 3000);
  3216.        }
  3217.    });
  3218.  
  3219. }
  3220.  
  3221.  
  3222. function SlideSetCookie(cname, cvalue, exdays) {
  3223.    $('#open_slide').attr('onclick', "SlideEraseCookie('open_slide')");
  3224.    var d = new Date();
  3225.    d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
  3226.    var expires = "expires="+d.toUTCString();
  3227.    document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
  3228. }
  3229. function SlideEraseCookie(name) {
  3230.    $('#open_slide').attr('onclick', "SlideSetCookie('open_slide','yes',1)");
  3231.    document.cookie = name + '=;path=/;Max-Age=0'
  3232. }
  3233.  
  3234.  
  3235. function PayFromWallet() {
  3236.    $('#wallet_to_pay').find('.btn-mat').attr('disabled', 'true');
  3237.    $(".modal_story_pay_alert").html('');
  3238.    price = $('#wallet_to_pay_price').val();
  3239.    type = $('#wallet_to_pay_type').val();
  3240.    id = $('#wallet_to_pay_id').val();
  3241.    $.post('https://gwiremusic.com/endpoints/wallet/pay', {price: price,type: type,id: id}, function(data, textStatus, xhr) {
  3242.        $('#wallet_to_pay').find('.btn-mat').removeAttr('disabled');
  3243.        if (data.status == 200) {
  3244.            clearQueues(false);
  3245.            $(".modal_wallet_pay_alert").html('<div class="alert alert-success"><i class="fa fa-check"></i> payment successfully done</div>');
  3246.            setTimeout(function () {
  3247.                location.href = data.url;
  3248.            },2000);
  3249.        }
  3250.        else{
  3251.            $(".modal_wallet_pay_alert").html('<div class="alert alert-danger"><i class="fa fa-info-circle"></i> '+data.error+'</div>');
  3252.        }
  3253.    });
  3254. }
  3255.  
  3256. function purchaseTrack(id, element,type,price) {
  3257.            $('#login_box').modal('show');
  3258.    }
  3259.  
  3260.  
  3261.  
  3262. function registerBlogComment(value, id, event, element) {
  3263. if (!value || !id) {
  3264. return false;
  3265. }
  3266. if(event.which == 13) {
  3267. element.attr('disabled', "true");
  3268.        $.post('https://gwiremusic.com/endpoints/register-blog-comment', {id: id, value: value}, function(data) {
  3269.         if (data.status == 300) {
  3270.                $('#login_box').modal('show');
  3271.            }
  3272.         if (data.status == 200) {
  3273.         $('.no-comments-found').remove();
  3274.         $('.no-track-found').remove();
  3275.         element.val("");
  3276.         $('.comment-list-' + id).prepend(data.html);
  3277.         }
  3278.         element.removeAttr('disabled');
  3279.        });
  3280.    }
  3281.  
  3282. }
  3283. function TrackReadMore() {
  3284.    var dots = document.getElementById("dots");
  3285.    var moreText = document.getElementById("more");
  3286.    var btnText = document.getElementById("btn-track-load-more");
  3287.  
  3288.    if (dots.style.display === "none") {
  3289.        dots.style.display = "inline";
  3290.        btnText.innerHTML = "Read more";
  3291.        moreText.style.display = "none";
  3292.    } else {
  3293.        dots.style.display = "none";
  3294.        btnText.innerHTML = "Read less";
  3295.        moreText.style.display = "inline";
  3296.    }
  3297. }
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310.  
  3311.  
  3312.  
  3313.  
  3314. function getUrl() {
  3315. var url = window.location.href;
  3316. return url.replace("https://gwiremusic.com", "");
  3317. }
  3318.  
  3319. function ajaxRedirect(url) {
  3320. if (!url) {
  3321. url = getUrl();
  3322. }
  3323. goToAjaxLink(url);
  3324. }
  3325.  
  3326. function favorite(id, element) {
  3327. if (element.hasClass('is_favoriated')) {
  3328. element.html('<path fill="currentColor" d="M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z" />');
  3329. element.removeClass("is_favoriated");
  3330. if (Amplitude.getActiveSongMetadata()) {
  3331. Amplitude.getActiveSongMetadata().is_favoriated = false;
  3332. }
  3333. } else {
  3334. element.addClass("is_favoriated");
  3335. element.html('<path fill="#ff9900" d="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z" />');
  3336. if (Amplitude.getActiveSongMetadata()) {
  3337. Amplitude.getActiveSongMetadata().is_favoriated = true;
  3338. }
  3339. }
  3340.  
  3341. $.get('https://gwiremusic.com/endpoints/favorite-track', {id: id});
  3342. }
  3343.  
  3344. function addToLists(id) {
  3345. getID = $('#playlists').attr('data-id');
  3346. if (!getID) {
  3347. return false;
  3348. }
  3349. var playlists = "";
  3350. $(".select-playlist-list").each(function (index, item) {
  3351. if ($(this).hasClass('active')) {
  3352. playlists += $(this).attr('data-id') + ",";
  3353. }
  3354. });
  3355. if (playlists) {
  3356. $('#playlists').find('.btn-mat').text("Please wait..");
  3357. $.get(ajaxUrl() + "/playlist/add-to-playlist", {playlists: playlists, id: getID}, function (data) {
  3358. if (data.status == 200) {
  3359. $('#playlists').modal('hide');
  3360. setTimeout(function () {
  3361. $('#playlists').remove();
  3362. }, 200);
  3363. } else if (data.status == 300) {
  3364. alert("Please select which playlist you want to add this song to.")
  3365. } else {
  3366. $('#playlists').modal('hide');
  3367. setTimeout(function () {
  3368. $('#playlists').remove();
  3369. }, 200);
  3370. }
  3371. });
  3372. }
  3373. }
  3374.  
  3375. function blockUser(id, username, type) {
  3376. if (!id || !username) {
  3377. return false;
  3378. }
  3379. if (!confirm("Are you sure you want to block this user")) {
  3380. return false;
  3381. }
  3382. $.get('https://gwiremusic.com/endpoints/block-user/' + type, {id: id}, function (data) {
  3383. goToAjaxLink(username);
  3384. });
  3385. }
  3386.  
  3387. $(document).on('click', '#night_mode_toggle', function(event) {
  3388.    mode = $(this).attr('data-mode');
  3389.    $.post('https://gwiremusic.com/endpoints/?mode=' + mode, {}, function(data, textStatus, xhr) { /* pass */ });
  3390.    if (mode !== 'night') {
  3391.        $('body').append('<link rel="stylesheet" href="https://gwiremusic.com/themes/volcano/css/day.style.css" id="night-mode-css">');
  3392.        $('#night_mode_toggle').attr('data-mode', 'night');
  3393.        $('.switch .txt').text('Night mode');
  3394.        $('.head_logo img').attr('src', 'https://gwiremusic.com/themes/volcano/img/logo-white.png?cache=753');
  3395. $('.auth_box .right_combo > .navbar-brand img').attr('src', 'https://gwiremusic.com/themes/volcano/img/logo-white.png?cache=753');
  3396. $('.ma_home_nav nav .navbar-brand img').attr('src', 'https://gwiremusic.com/themes/volcano/img/logo-white.png?cache=753');
  3397. $('.nigh_day_ico').html('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"></path><path fill="currentColor" d="M10 6a8 8 0 0 0 11.955 6.956C21.474 18.03 17.2 22 12 22 6.477 22 2 17.523 2 12c0-5.2 3.97-9.474 9.044-9.955A7.963 7.963 0 0 0 10 6zm-6 6a8 8 0 0 0 8 8 8.006 8.006 0 0 0 6.957-4.045c-.316.03-.636.045-.957.045-5.523 0-10-4.477-10-10 0-.321.015-.64.045-.957A8.006 8.006 0 0 0 4 12zm14.164-9.709L19 2.5v1l-.836.209a2 2 0 0 0-1.455 1.455L16.5 6h-1l-.209-.836a2 2 0 0 0-1.455-1.455L13 3.5v-1l.836-.209A2 2 0 0 0 15.29.836L15.5 0h1l.209.836a2 2 0 0 0 1.455 1.455zm5 5L24 7.5v1l-.836.209a2 2 0 0 0-1.455 1.455L21.5 11h-1l-.209-.836a2 2 0 0 0-1.455-1.455L18 8.5v-1l.836-.209a2 2 0 0 0 1.455-1.455L20.5 5h1l.209.836a2 2 0 0 0 1.455 1.455z"></path></svg>');
  3398.                    $('#dark-wave').css({'opacity':'0.5'});
  3399.                $('#light-wave').css({'border-right':'1px solid rgb(191, 191, 191)'});
  3400.    } else {
  3401.        $('#night-mode-css').remove();
  3402.        $('#night_mode_toggle').attr('data-mode', 'day');
  3403.        $('.switch .txt').text('Day mode');
  3404.        $('.head_logo img').attr('src', 'https://gwiremusic.com/themes/volcano/img/logo.png?cache=753');
  3405. $('.auth_box .right_combo > .navbar-brand img').attr('src', 'https://gwiremusic.com/themes/volcano/img/logo.png?cache=753');
  3406. $('.ma_home_nav nav .navbar-brand img').attr('src', 'https://gwiremusic.com/themes/volcano/img/logo.png?cache=753');
  3407. $('.nigh_day_ico').html('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"></path><path fill="currentColor" d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"></path></svg>');
  3408.                    $('#dark-wave').css({'opacity':'inherit'});
  3409.                $('#light-wave').css({'border-right':'1px solid rgb(71, 71, 71)'});
  3410.    }
  3411.  
  3412.  
  3413. });
  3414.  
  3415. $(document).ready(function() {
  3416.    FastClick.attach(document.body);
  3417. });
  3418.  
  3419. function hide_announcement(id){
  3420.    if (!id) { return false; }
  3421.    $("#announcement-"+id).slideUp('fast',function(){
  3422.        $(this).remove();
  3423.        $.post('https://gwiremusic.com/endpoints/user/hide-announcement', {id: id}, function(data, textStatus, xhr) { /* pass */ });
  3424.    })
  3425. }
  3426. function AddEventInterested(id,self,type = 'interest') {
  3427.    if (type == 'interest') {
  3428.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z"></path></svg> <span class="button-text"> Interested</span>')
  3429.        $(self).attr('onclick', "AddEventInterested('"+id+"',this,'uninterest')");
  3430.    }
  3431.    else{
  3432.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16.5,5C15,5 13.58,5.91 13,7.2V17.74C17.25,13.87 20,11.2 20,8.5C20,6.5 18.5,5 16.5,5M16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3Z"></path></svg> <span class="button-text"> Interested</span>')
  3433.        $(self).attr('onclick', "AddEventInterested('"+id+"',this,'interest')");
  3434.    }
  3435.    $.post('https://gwiremusic.com/endpoints/event/interest', {id: id,type: type}, function(data, textStatus, xhr) {});
  3436. }
  3437. function JoinEvent(id,self,type = 'join') {
  3438.    if (type == 'join') {
  3439.        $('#going-'+id).find('button').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z"></path></svg> <span class="button-text"> Joined</span>')
  3440.        $('#going-'+id).find('button').attr('onclick', "JoinEvent('"+id+"',this,'unjoin')");
  3441.    }
  3442.    else{
  3443.        $('#going-'+id).find('button').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.74,11.72C11.21,12.95 11.16,14.23 9.75,14.74C6.85,15.81 6.2,13 6.16,12.86L10.74,11.72M5.71,10.91L10.03,9.84C9.84,8.79 10.13,7.74 10.13,6.5C10.13,4.82 8.8,1.53 6.68,2.06C4.26,2.66 3.91,5.35 4,6.65C4.12,7.95 5.64,10.73 5.71,10.91M17.85,19.85C17.82,20 17.16,22.8 14.26,21.74C12.86,21.22 12.8,19.94 13.27,18.71L17.85,19.85M20,13.65C20.1,12.35 19.76,9.65 17.33,9.05C15.22,8.5 13.89,11.81 13.89,13.5C13.89,14.73 14.17,15.78 14,16.83L18.3,17.9C18.38,17.72 19.89,14.94 20,13.65Z"></path></svg> <span class="button-text"> Join</span>')
  3444.        $('#going-'+id).find('button').attr('onclick', "JoinEvent('"+id+"',this,'join')");
  3445.    }
  3446.    $.post('https://gwiremusic.com/endpoints/event/join', {id: id,type: type}, function(data, textStatus, xhr) {});
  3447. }
  3448. function BuyTicket(id,self,type = 'join',price = 0,show_type = 'show',available_tickets = 0, image = '') {
  3449. $('#buy_ticket_modal').find('.modal-body-alert').html('');
  3450. $('#buy_ticket_modal').find('.btn-primary').removeAttr('disabled');
  3451.    $('#buy_ticket_modal').find('.btn-primary').text("Buy");
  3452. if (parseInt(price) > parseInt("{{ME org_wallet}}")) {
  3453. $('#buy_ticket_modal').find('.modal-body-alert').html(`<div class="alert alert-info"><a href="https://gwiremusic.com/settings/{{ME username/wallet}}" data-load="settings/{{ME username}}/wallet">Please top up your wallet.</a></div>`);
  3454. $('#buy_ticket_modal').find('.btn-primary').attr('disabled', 'true');
  3455. $('#buy_ticket_modal').modal('show');
  3456.        return false;
  3457. }
  3458. if(parseInt(price) > 0 && show_type == 'hide'){
  3459. $('#buy_ticket_modal').find('.btn-primary').attr('onclick', "BuyTicket('"+id+"',this,'"+type+"','"+price+"','show','"+available_tickets+"')");
  3460. $('#buy_ticket_modal').find('.avail_ticket p').html(""+available_tickets+"");
  3461. $('#buy_ticket_modal').find('.avail_ticket_price p').html("$"+price);
  3462. $('#buy_ticket_modal').find('.ticket-img').html("<img src='" + image + "' alt='Picture'>");
  3463.        $('#buy_ticket_modal').modal('show');
  3464.        return false;
  3465. }
  3466. $('#buy_ticket_modal').find('.btn-primary').attr('disabled', 'true');
  3467.    $('#buy_ticket_modal').find('.btn-primary').text("Please wait..");
  3468.    $.post('https://gwiremusic.com/endpoints/event/buy', {id: id,price: price}, function(data, textStatus, xhr) {
  3469.     $('#buy_ticket_modal').find('.btn-primary').removeAttr('disabled');
  3470.        $('#buy_ticket_modal').find('.btn-primary').text("Buy");
  3471.     if (data.status == 200) {
  3472.     $('#buy_ticket_modal').find('.modal-body-alert').html(`<div class="alert alert-success"><i class="fa fa-check"></i> ${data.message}</div>`);
  3473.            setTimeout(function () {
  3474.             $('#buy_ticket_modal').find('.modal-body-alert').html('');
  3475.             $('#buy_ticket_modal').modal('hide');
  3476.             location.href = 'https://gwiremusic.com/purchased';
  3477.            },2000);
  3478.     }
  3479.     else{
  3480.     $('#buy_ticket_modal').find('.modal-body-alert').html(`<div class="alert alert-danger"><i class="fa fa-check"></i> ${data.message}</div>`);
  3481.     }
  3482.    });
  3483. }
  3484. function DeleteEvent(id,type = 'show') {
  3485.    if (type == 'hide') {
  3486.      $('#delete-event').find('.btn-mat').attr('onclick', "DeleteEvent('"+id+"')");
  3487.      $('#delete-event').modal('show');
  3488.      return false;
  3489.    }
  3490.    $('[data-event="'+id+'"').slideUp();
  3491.    $('[data-event="'+id+'"').remove();
  3492.    $.post('https://gwiremusic.com/endpoints/event/delete', {id: id}, function(data, textStatus, xhr) {});
  3493. }
  3494. function StartStories(user_id,story_id) {
  3495.    $('#container_content').append('<div class="lightbox-container"><div class="lightbox-backgrond" onclick="Wo_CloseLightbox();"></div><div class="lb-preloader" style="display:block"><svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#676d76" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="1.5s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="1.5s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg></div></div>');
  3496.    $.post('https://gwiremusic.com/endpoints/story/start', {user_id: user_id,story_id:story_id}, function(data, textStatus, xhr) {
  3497.        if (data.status == 200) {
  3498.            if (!Amplitude.audio().paused) {
  3499.                Amplitude.pause();
  3500.                window.playAudio = 'yes';
  3501.            }
  3502.            else{
  3503.                window.playAudio = 'no';
  3504.            }
  3505.            $('.lightbox-container').html(data.html);
  3506.        }
  3507.        else{
  3508.            if (window.playAudio && window.playAudio == 'yes') {
  3509.                Amplitude.play();
  3510.                window.playAudio = 'no';
  3511.            }
  3512.            CloseLightbox();
  3513.        }
  3514.    });
  3515. }
  3516. function NextStory(user_id,story_id,next_user_id,next_story_id) {
  3517.    CloseLightbox();
  3518.    $('#container_content').append('<div class="lightbox-container"><div class="lightbox-backgrond" onclick="Wo_CloseLightbox();"></div><div class="lb-preloader" style="display:block"><svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#676d76" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="1.5s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="1.5s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg></div></div>');
  3519.    $.post('https://gwiremusic.com/endpoints/story/next', {user_id: user_id,story_id:story_id,next_user_id:next_user_id,next_story_id:next_story_id}, function(data, textStatus, xhr) {
  3520.        if (data.status == 200) {
  3521.            if (!Amplitude.audio().paused) {
  3522.                Amplitude.pause();
  3523.                window.playAudio = 'yes';
  3524.            }
  3525.            $('.lightbox-container').html(data.html);
  3526.        }
  3527.        else{
  3528.            if (window.playAudio && window.playAudio == 'yes') {
  3529.                Amplitude.play();
  3530.                window.playAudio = 'no';
  3531.            }
  3532.            CloseLightbox();
  3533.        }
  3534.    });
  3535. }
  3536. function PreviousStory(user_id,story_id,pre_user_id,pre_story_id) {
  3537.    CloseLightbox();
  3538.    $('#container_content').append('<div class="lightbox-container"><div class="lightbox-backgrond" onclick="Wo_CloseLightbox();"></div><div class="lb-preloader" style="display:block"><svg width="50px" height="50px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#676d76" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="1.5s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="1.5s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg></div></div>');
  3539.    $.post('https://gwiremusic.com/endpoints/story/previous', {user_id: user_id,story_id:story_id,pre_user_id:pre_user_id,pre_story_id:pre_story_id}, function(data, textStatus, xhr) {
  3540.        if (data.status == 200) {
  3541.            if (!Amplitude.audio().paused) {
  3542.                Amplitude.pause();
  3543.                window.playAudio = 'yes';
  3544.            }
  3545.            $('.lightbox-container').html(data.html);
  3546.        }
  3547.        else{
  3548.            if (window.playAudio && window.playAudio == 'yes') {
  3549.                Amplitude.play();
  3550.                window.playAudio = 'no';
  3551.            }
  3552.            CloseLightbox();
  3553.        }
  3554.    });
  3555. }
  3556. function CloseLightbox() {
  3557.  $('.lightbox-container').remove();
  3558.  document.body.style.overflow = 'auto';
  3559. }
  3560. function GetMoreStoryViews(story_id,self) {
  3561.  $('.lightpost-'+story_id).addClass('dont_close')
  3562.  last_view = $('.story_views_').last().attr('id');
  3563.  $(self).addClass('dont_close_story_'+story_id);
  3564.  $(self).find('span').html("please_wait");
  3565.  $.post('https://gwiremusic.com/endpoints/story/story_views', {last_view:last_view,story_id:story_id}, function(data, textStatus, xhr) {
  3566.    if (data.status == 200) {
  3567.      $(self).find('button').html('<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather"><polyline points="6 9 12 15 18 9"></polyline></svg> Load More');
  3568.  
  3569.      $('.views_container_').append(data.html);
  3570.    }
  3571.    else{
  3572.      $(self).find('button').html("No More Views");
  3573.  
  3574.    }
  3575.  });
  3576. }
  3577. function DeleteStory(id) {
  3578.    if (!id || !confirm("Are you sure you want to delete your story?")) {
  3579.    return false;
  3580.  }
  3581.  
  3582.  $.ajax({
  3583.    url: 'https://gwiremusic.com/endpoints/story/delete',
  3584.    type: 'POST',
  3585.    dataType: 'json',
  3586.    data: {id:id},
  3587.  })
  3588.  .done(function(data) {
  3589.    if (data.status == 200) {
  3590.      location.reload();
  3591.    }
  3592.  })
  3593.  .fail(function() {
  3594.    console.log("error");
  3595.  })
  3596. }
  3597. function DeleteProduct(id,type = 'show') {
  3598.    if (type == 'hide') {
  3599.      $('#delete-product').find('.btn-mat').attr('onclick', "DeleteProduct('"+id+"')");
  3600.      $('#delete-product').modal('show');
  3601.      return false;
  3602.    }
  3603.    $('[data-product="'+id+'"').slideUp();
  3604.    $('[data-product="'+id+'"').remove();
  3605.    $.post('https://gwiremusic.com/endpoints/product/delete', {id: id}, function(data, textStatus, xhr) {});
  3606. }
  3607. function AddProductToCart(self,id,type) {
  3608.    if (type == 'add') {
  3609.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="52" height="52" x="0" y="0" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><circle r="12" cx="12" cy="12" fill="var(--main-color)" shape="circle" transform="matrix(1,0,0,1,0,0)"></circle><g transform="matrix(0.5,0,0,0.5,6.0000000894069645,5.999999999999999)"><path d="m17.5 13c-3.584 0-6.5-2.916-6.5-6.5s2.916-6.5 6.5-6.5 6.5 2.916 6.5 6.5-2.916 6.5-6.5 6.5zm0-12c-3.032 0-5.5 2.467-5.5 5.5s2.468 5.5 5.5 5.5 5.5-2.467 5.5-5.5-2.468-5.5-5.5-5.5z" fill="#ffffff" data-original="#000000" class=""></path><path d="m15.379 9.121c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.242-4.242c.195-.195.512-.195.707 0s.195.512 0 .707l-4.242 4.242c-.097.097-.225.146-.353.146z" fill="#ffffff" data-original="#000000" class=""></path><path d="m19.621 9.121c-.128 0-.256-.049-.354-.146l-4.242-4.242c-.195-.195-.195-.512 0-.707s.512-.195.707 0l4.242 4.242c.195.195.195.512 0 .707-.097.097-.225.146-.353.146z" fill="#ffffff" data-original="#000000" class=""></path><path d="m19.5 17h-13c-.238 0-.443-.168-.49-.402l-2-10c-.03-.147.009-.299.103-.415s.238-.183.387-.183h4c.276 0 .5.224.5.5s-.224.5-.5.5h-3.39l1.8 9h12.18l.277-1.385c.055-.272.33-.445.588-.392.271.054.447.317.393.588l-.357 1.787c-.048.234-.253.402-.491.402z" fill="#ffffff" data-original="#000000" class=""></path><path d="m6.499 17c-.233 0-.441-.164-.489-.402l-2.479-12.394c-.139-.699-.759-1.206-1.471-1.206h-.001l-1.558.002c-.001 0-.001 0-.001 0-.276 0-.5-.224-.5-.5s.224-.5.499-.5l1.558-.002h.003c1.188 0 2.219.845 2.452 2.01l2.478 12.394c.055.271-.121.534-.393.588-.032.007-.065.01-.098.01z" fill="#ffffff" data-original="#000000" class=""></path><path d="m21.5 19h-17c-.827 0-1.5-.673-1.5-1.5s.673-1.5 1.5-1.5h2c.276 0 .5.224.5.5s-.224.5-.5.5h-2c-.275 0-.5.224-.5.5s.225.5.5.5h17c.276 0 .5.224.5.5s-.224.5-.5.5z" fill="#ffffff" data-original="#000000" class=""></path><path d="m8 24c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.552 0-1 .449-1 1s.448 1 1 1 1-.449 1-1-.448-1-1-1z" fill="#ffffff" data-original="#000000" class=""></path><path d="m17 24c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.552 0-1 .449-1 1s.448 1 1 1 1-.449 1-1-.448-1-1-1z" fill="#ffffff" data-original="#000000" class=""></path></g></svg>');
  3610.        $(self).attr('onclick', "AddProductToCart(this,'"+id+"','remove')");
  3611.    }
  3612.    else{
  3613.        $(self).html('<svg xmlns="http://www.w3.org/2000/svg" width="52" height="52" viewBox="0 0 58 58"> <g id="Group_9580" data-name="Group 9580" transform="translate(-833 -689)"> <rect id="Rectangle_3421" data-name="Rectangle 3421" width="58" height="58" rx="29" transform="translate(833 689)" fill="var(--main-color)"/> <path id="Union_12" data-name="Union 12" d="M.588,22.148a.61.61,0,0,1-.417-.17A.616.616,0,0,1,0,21.562v-.074L.992,8.7a.561.561,0,0,1,.183-.374l.013-.008a.561.561,0,0,1,.391-.157H3.415v-.58a7.6,7.6,0,0,1,15.192,0v.58h1.832a.566.566,0,0,1,.393.157l.013.008a.56.56,0,0,1,.183.371l.994,12.817a.619.619,0,0,1-.147.434.61.61,0,0,1-.379.2Zm.634-1.17H20.8l-.9-11.65H2.116ZM6.565,2.95A6.336,6.336,0,0,0,4.6,7.293l-.038.863H17.43v-.58a6.4,6.4,0,0,0-6.137-6.4l-.258-.011-.025,0A6.41,6.41,0,0,0,6.565,2.95ZM8.674,14.568V12.236h4.674v2.332Z" transform="translate(851 707)" fill="#fff"/> </g> </svg>');
  3614.        $(self).attr('onclick', "AddProductToCart(this,'"+id+"','add')");
  3615.    }
  3616.    qty = 1;
  3617.    if ($('#cart_product_qty').length > 0) {
  3618.        qty = $('#cart_product_qty').val();
  3619.    }
  3620.    $.post('https://gwiremusic.com/endpoints/product/add_cart', {product_id: id,qty:qty}, function(data, textStatus, xhr) {
  3621.        if (data.status == 200) {
  3622.            $('.unread_cart_count').html(data.count);
  3623.        }
  3624.    });
  3625. }
  3626. function GetCart() {
  3627.    $.post('https://gwiremusic.com/endpoints/product/get_cart', {param1: 'value1'}, function(data, textStatus, xhr) {
  3628.        if (data.status == 200 && data.html != '') {
  3629.            $('#cart-list').html(data.html);
  3630.        }
  3631.        else{
  3632.            $('#cart-list').html('<li class="empty_state"><svg class="feather" xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 24.605 24.799"> <path id="Path_7212" data-name="Path 7212" d="M8852.219,2866h-23.362a.649.649,0,0,1-.656-.656v-.08l1.109-14.326a.62.62,0,0,1,.2-.419l.016-.009a.628.628,0,0,1,.439-.176h2.047v-.649a8.532,8.532,0,0,1,2.485-6,8.493,8.493,0,0,1,12,0,8.535,8.535,0,0,1,2.487,6v.649h2.046a.63.63,0,0,1,.439.176l.015.009a.626.626,0,0,1,.2.416l1.109,14.353a.671.671,0,0,1-.161.483.68.68,0,0,1-.424.229Zm-21.654-14.355-1,13.044h21.874l-1-13.044Zm9.938-9.136a7.168,7.168,0,0,0-7.166,6.859l-.041.967h14.382v-.649a7.164,7.164,0,0,0-6.86-7.162l-.284-.012-.03,0Z" transform="translate(-8828.2 -2841.201)" fill="currentColor"></path> <path id="Path_7211" data-name="Path 7211" d="M3649.849,6635.26v2.61h-5.222v-2.61Z" transform="translate(-3634.937 -6621.557)" fill="currentColor"></path> </svg>Your cart is empty.</li>');
  3633.        }
  3634.    });
  3635. }
  3636. function RemoveProductFromCart(id) {
  3637.    $('#cart_product_'+id).remove();
  3638.    $('#checkout_product_'+id).remove();
  3639.    $.post('https://gwiremusic.com/endpoints/product/remove_cart', {product_id: id}, function(data, textStatus, xhr) {
  3640.        if (data.status == 200) {
  3641.            $('.unread_cart_count').html(data.count);
  3642.        }
  3643.    });
  3644. }
  3645. function LoadCheckout() {
  3646.    $('#load_checkout').click();
  3647. }
  3648. $(document).ready(function() {
  3649.    var options = {
  3650.        url: "https://gwiremusic.com/endpoints/address/add?hash_id=" + getHashID(),
  3651.        beforeSubmit:  function () {
  3652.            $('.modal_add_address_modal_alert').empty();
  3653.            $("#add_address_modal").find('.btn-mat').attr('disabled', 'true');
  3654.            $("#add_address_modal").find('.btn-mat').text("Please wait..");
  3655.        },
  3656.        success: function (data) {
  3657.            $("#add_address_modal").find('.btn-mat').text("Add");
  3658.            $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3659.            if (data.status == 200) {
  3660.                $('.modal_add_address_modal_alert').html('<div class="alert alert-success"><i class="fa fa-check"></i> '+
  3661.                data.message
  3662.                +'</div>');
  3663.                if (data.url && data.url != '') {
  3664.                    if ($('#load_checkout').length < 1) {
  3665.                        setTimeout(function () {
  3666.                            /*location.href = data.url;*/
  3667.                            $('.modal_add_address_modal_alert').empty();
  3668.                            $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3669.                            $("#add_address_modal").find('.btn-mat').text("Add");
  3670.                            $('#add_address_modal').modal('hide');
  3671.                            $('.address_form')[0].reset();
  3672.                            load_page = 'feed';
  3673.                            if ($('#json-data').length > 0) {
  3674.                                json_data = JSON.parse($('#json-data').val());
  3675.                                load_page = json_data.ajax_url;
  3676.                            }
  3677.                            else{
  3678.                                load_page = "feed";
  3679.                            }
  3680.                            goToAjaxLink(load_page);
  3681.                        },2000);
  3682.                    }
  3683.                    else{
  3684.                        setTimeout(function () {
  3685.                            $('.modal_add_address_modal_alert').empty();
  3686.                            $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3687.                            $("#add_address_modal").find('.btn-mat').text("Add");
  3688.                            $('#add_address_modal').modal('hide');
  3689.                            $('#load_checkout').click();
  3690.                        },2000);
  3691.                    }
  3692.                }
  3693.            } else {
  3694.                $('.modal_add_address_modal_alert').html('<div class="alert alert-danger"><i class="fa fa-check"></i> '+
  3695.            data.message
  3696.            +'</div>');
  3697.            }
  3698.        }
  3699.    };
  3700.    $('.address_form').ajaxForm(options);
  3701. });
  3702. function NewAddress() {
  3703.    $('.modal_add_address_modal_alert').empty();
  3704.    $("#add_address_modal").find('.btn-mat').removeAttr('disabled')
  3705.    $("#add_address_modal").find('.btn-mat').text("Add");
  3706.    $('#add_address_modal').modal('show');
  3707. }
  3708. function BuyProducts(type = 'show',price) {
  3709.    if ($('.payment_address').length < 1) {
  3710.        $('.checkout_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> Please add a new address</div>");
  3711.        return false;
  3712.    }
  3713.    if ($('input[name=choose-address]:checked').length < 1) {
  3714.        $('.checkout_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> Please select address</div>");
  3715.        return false;
  3716.    }
  3717.    address_id = $('input[name=choose-address]:checked').val();
  3718.    if (type == 'hide') {
  3719.        $('#buy_product_modal').find('.btn-mat').html("Pay $"+price);
  3720.        $('#buy_product_modal').find('.btn-mat').attr('onclick', "BuyProducts('show','"+price+"')");
  3721.        $('#buy_product_modal').modal('show');
  3722.        return false;
  3723.    }
  3724.    $('#buy_product_modal').find('.btn-mat').html("Please wait..");
  3725.    $('#buy_product_modal').find('.btn-mat').attr('disabled', "true");
  3726.    $.post('https://gwiremusic.com/endpoints/product/buy',{address_id: address_id}, function(data, textStatus, xhr) {
  3727.        $('#buy_product_modal').find('.btn-mat').removeAttr('disabled');
  3728.        $('#buy_product_modal').find('.btn-mat').text("Pay $"+price);
  3729.        if (data.status == 200) {
  3730.            $('#buy_product_modal').find('.modal_product_pay_alert').html("<div class='alert alert-success'><i class='fa fa-check'></i> "+data.message+"</div>");
  3731.            setTimeout(function () {
  3732.                $('#buy_product_modal').find('.modal_product_pay_alert').html("");
  3733.                location.href = "https://gwiremusic.com/purchased";
  3734.            },2000);
  3735.        }
  3736.        else{
  3737.            $('#buy_product_modal').find('.modal_product_pay_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> "+data.message+"</div>");
  3738.        }
  3739.    });
  3740. }
  3741. function ChangeQty(self,product_id) {
  3742.    qty = $(self).val();
  3743.    $.post('https://gwiremusic.com/endpoints/product/change_qty', {product_id: product_id,qty: qty}, function(data, textStatus, xhr) {
  3744.        LoadCheckout();
  3745.    });
  3746. }
  3747. function ChangeStatus(self,hash_id) {
  3748.    status = $(self).val();
  3749.    $.post('https://gwiremusic.com/endpoints/product/change_status', {hash_order: hash_id,status: status}, function(data, textStatus, xhr) {
  3750.        $('#load_order').click();
  3751.    });
  3752. }
  3753. function RefundOrder(hash_id,type = 'show') {
  3754.    if (type == 'hide') {
  3755.        $('#refund_order').find('.btn-mat').attr('onclick', "RefundOrder('"+hash_id+"')");
  3756.        $('#refund_order').modal('show');
  3757.        return false;
  3758.    }
  3759.    $('#refund_order').find('.btn-mat').html("Please wait..");
  3760.    $('#refund_order').find('.btn-mat').attr('disabled', "true");
  3761.    message = $('#refund_order_message').val();
  3762.    $.post('https://gwiremusic.com/endpoints/product/refund', {hash_order: hash_id,message: message}, function(data, textStatus, xhr) {
  3763.        $('#refund_order').find('.btn-mat').removeAttr('disabled');
  3764.        $('#refund_order').find('.btn-mat').text("Request");
  3765.        if (data.status == 200) {
  3766.            $('#refund_order').find('.modal_refund_order_modal_alert').html("<div class='alert alert-success'><i class='fa fa-check'></i> "+data.message+"</div>");
  3767.            setTimeout(function () {
  3768.                $('#refund_order').modal('hide');
  3769.                $('#refund_order').find('.modal_refund_order_modal_alert').html("");
  3770.                $('#load_order').click();
  3771.            },2000);
  3772.        }
  3773.        else{
  3774.            $('#refund_order').find('.modal_refund_order_modal_alert').html("<div class='alert alert-danger'><i class='fa fa-info-circle'></i> "+data.message+"</div>");
  3775.        }
  3776.    });
  3777. }
  3778. function DownloadPurchased(id,type = 'event') {
  3779.    url = 'event/download';
  3780.    if (type == 'order') {
  3781.        url = 'product/download';
  3782.    }
  3783.    $.post('https://gwiremusic.com/endpoints/'+url,{id,id}, function(data, textStatus, xhr) {
  3784.        $('.ma_page_content').append(data.html);
  3785.        setTimeout(function () {
  3786.            $('.ticket_card_'+id).remove();
  3787.        },10000);
  3788.    });
  3789. }
  3790. function HidePlayer() {
  3791.    $('#my_video_player_container').slideUp();
  3792. }
  3793. function OpenWriteReview(product_id) {
  3794.    $('#write_product_review_product_id').val(product_id)
  3795.    $('#write_product_review').modal('show');
  3796. }
  3797. function showResponseAlert(item,alert_class,message,time = 0) {
  3798.    $(item).html('<div class="alert alert-'+alert_class+'">'+message+'</div>');
  3799.    if (time > 0) {
  3800.        setTimeout(() => {
  3801.            $(item).html('');
  3802.        },time);
  3803.    }
  3804. }
  3805.  
  3806. function scrollToTop() {
  3807. verticalOffset = typeof (verticalOffset) != 'undefined' ? verticalOffset : 0;
  3808. element = $('html');
  3809. offset = element.offset();
  3810. offsetTop = offset.top;
  3811. $('html, body').animate({
  3812. scrollTop: offsetTop
  3813. }, 300, 'linear');
  3814. }
  3815. </script>
  3816. <script src="https://gwiremusic.com/themes/volcano/js/fingerprint2.min.js?v=1.5.2"></script>
  3817. <script src="https://gwiremusic.com/themes/volcano/js/jquery.form.min.js?v=1.5.2"></script>
  3818. <script src="https://gwiremusic.com/themes/volcano/js/popper.min.js?v=1.5.2"></script>
  3819. <script src="https://gwiremusic.com/themes/volcano/js/bootstrap.min.js?v=1.5.2"></script>
  3820. <script src="https://gwiremusic.com/themes/volcano/js/owl.carousel.min.js?v=1.5.2"></script>
  3821. <script src="https://gwiremusic.com/themes/volcano/js/simplebar.min.js?v=1.5.2"></script>
  3822. <script src="https://gwiremusic.com/themes/volcano/js/amplitude.min.js?v=1.5.2"></script>
  3823. <script src="https://gwiremusic.com/themes/volcano/js/script.js?v=1.5.2"></script>
  3824. <script src="https://gwiremusic.com/themes/volcano/js/Chart.min.js?v=1.5.2"></script>
  3825. <script src="https://gwiremusic.com/themes/volcano/js/highcharts/highcharts.js?v=1.5.2"></script>
  3826. <script src="https://gwiremusic.com/themes/volcano/js/footer.js?v=1.5.2"></script>
  3827. <script src="https://gwiremusic.com/themes/volcano/js/bootstrap-select.min.js?v=1.5.2"></script>
  3828. <script type="text/javascript" src="https://gwiremusic.com/themes/volcano/js/jquery.dataTables.min.js?v=1.5.2"></script>
  3829. <script type="text/javascript" src="https://gwiremusic.com/themes/volcano/js/dataTables.bootstrap4.min.js?v=1.5.2"></script>
  3830. <script src="https://gwiremusic.com/themes/volcano/js/lib/sweetalert2/dist/sweetalert2.js?v=1.5.2"></script>
  3831. <script src="https://gwiremusic.com/themes/volcano/js/bootstrap-toggle.min.js?v=1.5.2"></script>
  3832. <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
  3833. <input type="hidden" class="main_session" value="db5c69b3648ba7be49f589c259422579ee75684a">
  3834.    <script type="text/javascript">
  3835.    (function (factory) {
  3836.        if (typeof define === 'function' && define.amd) {
  3837.            // AMD. Register as an anonymous module.
  3838.            define(['jquery'], factory);
  3839.        } else {
  3840.            // Browser globals
  3841.            factory(jQuery);
  3842.        }
  3843.    }(function ($) {
  3844.        $.timeago = function(timestamp) {
  3845.            if (timestamp instanceof Date) {
  3846.                return inWords(timestamp);
  3847.            } else if (typeof timestamp === "string") {
  3848.                return inWords($.timeago.parse(timestamp));
  3849.            } else if (typeof timestamp === "number") {
  3850.                return inWords(new Date(timestamp));
  3851.            } else {
  3852.                return inWords($.timeago.datetime(timestamp));
  3853.            }
  3854.        };
  3855.        var $t = $.timeago;
  3856.  
  3857.        $.extend($.timeago, {
  3858.            settings: {
  3859.                refreshMillis: 60000,
  3860.                allowPast: true,
  3861.                allowFuture: false,
  3862.                localeTitle: false,
  3863.                cutoff: 0,
  3864.                strings: {
  3865.                    prefixAgo: null,
  3866.                    prefixFromNow: null,
  3867.                    suffixAgo: "ago",
  3868.                    suffixFromNow: "from now",
  3869.                    inPast: "any moment now",
  3870.                    seconds: "Just now",
  3871.                    minute: "about a minute ago",
  3872.                    minutes: "%d minutes ago",
  3873.                    hour: "about an hour ago",
  3874.                    hours: "%d hours ago",
  3875.                    day: "a day ago",
  3876.                    days: "%d days ago",
  3877.                    month: "about a month ago",
  3878.                    months: "%d months ago",
  3879.                    year: "about a year ago",
  3880.                    years: "%d years ago",
  3881.                    wordSeparator: " ",
  3882.                    numbers: []
  3883.                }
  3884.            },
  3885.  
  3886.            inWords: function(distanceMillis) {
  3887.                if(!this.settings.allowPast && ! this.settings.allowFuture) {
  3888.                    throw 'timeago allowPast and allowFuture settings can not both be set to false.';
  3889.                }
  3890.  
  3891.                var $l = this.settings.strings;
  3892.                var prefix = $l.prefixAgo;
  3893.                var suffix = $l.suffixAgo;
  3894.                if (this.settings.allowFuture) {
  3895.                    if (distanceMillis < 0) {
  3896.                        prefix = $l.prefixFromNow;
  3897.                        suffix = $l.suffixFromNow;
  3898.                    }
  3899.                }
  3900.  
  3901.                if(!this.settings.allowPast && distanceMillis >= 0) {
  3902.                    return this.settings.strings.inPast;
  3903.                }
  3904.  
  3905.                var seconds = Math.abs(distanceMillis) / 1000;
  3906.                var minutes = seconds / 60;
  3907.                var hours = minutes / 60;
  3908.                var days = hours / 24;
  3909.                var years = days / 365;
  3910.  
  3911.                function substitute(stringOrFunction, number) {
  3912.                    var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
  3913.                    var value = ($l.numbers && $l.numbers[number]) || number;
  3914.                    return string.replace(/%d/i, value);
  3915.                }
  3916.  
  3917.                var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
  3918.                    seconds < 90 && substitute($l.minute, 1) ||
  3919.                    minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
  3920.                    minutes < 90 && substitute($l.hour, 1) ||
  3921.                    hours < 24 && substitute($l.hours, Math.round(hours)) ||
  3922.                    hours < 42 && substitute($l.day, 1) ||
  3923.                    days < 30 && substitute($l.days, Math.round(days)) ||
  3924.                    days < 45 && substitute($l.month, 1) ||
  3925.                    days < 365 && substitute($l.months, Math.round(days / 30)) ||
  3926.                    years < 1.5 && substitute($l.year, 1) ||
  3927.                    substitute($l.years, Math.round(years));
  3928.  
  3929.                var separator = $l.wordSeparator || "";
  3930.                if ($l.wordSeparator === undefined) { separator = " "; }
  3931.  
  3932.                    return $.trim([prefix, words].join(separator));
  3933.  
  3934.  
  3935.            },
  3936.  
  3937.            parse: function(iso8601) {
  3938.                var s = $.trim(iso8601);
  3939.                s = s.replace(/\.\d+/,""); // remove milliseconds
  3940.                s = s.replace(/-/,"/").replace(/-/,"/");
  3941.                s = s.replace(/T/," ").replace(/Z/," UTC");
  3942.                s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
  3943.                s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
  3944.                return new Date(s);
  3945.            },
  3946.            datetime: function(elem) {
  3947.                var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title");
  3948.                return $t.parse(iso8601);
  3949.            },
  3950.            isTime: function(elem) {
  3951.                // jQuery's `is()` doesn't play well with HTML5 in IE
  3952.                return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
  3953.            }
  3954.        });
  3955.  
  3956.        // functions that can be called via $(el).timeago('action')
  3957.        // init is default when no action is given
  3958.        // functions are called with context of a single element
  3959.        var functions = {
  3960.            init: function(){
  3961.                var refresh_el = $.proxy(refresh, this);
  3962.                refresh_el();
  3963.                var $s = $t.settings;
  3964.                if ($s.refreshMillis > 0) {
  3965.                    this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
  3966.                }
  3967.            },
  3968.            update: function(time){
  3969.                var parsedTime = $t.parse(time);
  3970.                $(this).data('timeago', { datetime: parsedTime });
  3971.                if($t.settings.localeTitle) $(this).attr("title", parsedTime.toLocaleString());
  3972.                refresh.apply(this);
  3973.            },
  3974.            updateFromDOM: function(){
  3975.                $(this).data('timeago', { datetime: $t.parse( $t.isTime(this) ? $(this).attr("datetime") : $(this).attr("title") ) });
  3976.                refresh.apply(this);
  3977.            },
  3978.            dispose: function () {
  3979.                if (this._timeagoInterval) {
  3980.                    window.clearInterval(this._timeagoInterval);
  3981.                    this._timeagoInterval = null;
  3982.                }
  3983.            }
  3984.        };
  3985.  
  3986.        $.fn.timeago = function(action, options) {
  3987.            var fn = action ? functions[action] : functions.init;
  3988.            if(!fn){
  3989.                throw new Error("Unknown function name '"+ action +"' for timeago");
  3990.            }
  3991.            // each over objects here and call the requested function
  3992.            this.each(function(){
  3993.                fn.call(this, options);
  3994.            });
  3995.            return this;
  3996.        };
  3997.  
  3998.        function refresh() {
  3999.            var data = prepareData(this);
  4000.            var $s = $t.settings;
  4001.  
  4002.            if (!isNaN(data.datetime)) {
  4003.                if ( $s.cutoff == 0 || Math.abs(distance(data.datetime)) < $s.cutoff) {
  4004.                    $(this).text(inWords(data.datetime));
  4005.                }
  4006.            }
  4007.            return this;
  4008.        }
  4009.  
  4010.        function prepareData(element) {
  4011.            element = $(element);
  4012.            if (!element.data("timeago")) {
  4013.                element.data("timeago", { datetime: $t.datetime(element) });
  4014.                var text = $.trim(element.text());
  4015.                if ($t.settings.localeTitle) {
  4016.                    element.attr("title", element.data('timeago').datetime.toLocaleString());
  4017.                } else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
  4018.                    element.attr("title", text);
  4019.                }
  4020.            }
  4021.            return element.data("timeago");
  4022.        }
  4023.  
  4024.        function inWords(date) {
  4025.            return $t.inWords(distance(date));
  4026.        }
  4027.  
  4028.        function distance(date) {
  4029.            return (new Date().getTime() - date.getTime());
  4030.        }
  4031.  
  4032.        // fix for IE6 suckage
  4033.        document.createElement("abbr");
  4034.        document.createElement("time");
  4035.    }));
  4036.  
  4037.  
  4038.    $(function () {
  4039.        setInterval(function () {
  4040.  
  4041.                if ( $('.ajax-time').length > 0) {
  4042.                    $('.ajax-time').timeago()
  4043.                        .removeClass('.ajax-time');
  4044.                }
  4045.            },
  4046.            500);
  4047.    });
  4048. </script>
  4049. <script>
  4050.            $('#rmjs-1').readmore({
  4051.                speed: 75,
  4052.                collapsedHeight: 190,
  4053.                moreLink: '<a href="#" class="hash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" /></svg> Read more</a>',
  4054. lessLink: '<a href="#" class="hash"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" /></svg> Read less</a>',
  4055.                afterToggle: function(trigger, element, expanded) {
  4056.                    //if(! expanded) {
  4057.                        // The "Close" link was clicked
  4058.                        $('html, body').animate({scrollTop: element.offset().top}, {duration: 100});
  4059.                    //}
  4060.                }
  4061.            });
  4062.            var running = false;
  4063.            $( document ).on( 'change', '#chat_message_upload_media_file', function(e){
  4064.                if( running === true ){
  4065.                    running = false;
  4066.                    return false;
  4067.                }
  4068.                running = true;
  4069.                var countFiles = $(this)[0].files.length;
  4070.                var imgPath = $(this)[0].value;
  4071.                var extn = imgPath.substring(imgPath.lastIndexOf('.') + 1).toLowerCase();
  4072.  
  4073.                if(countFiles > 1) {
  4074.                    M.toast({html: 'Please select Four Images only.'});
  4075.                } else if (extn == "gif" || extn == "png" || extn == "jpg" || extn == "jpeg") {
  4076.  
  4077.                    let from = $( '#user-id' ).val();
  4078.                    let formData = new FormData();
  4079.                    formData.append( "media", $(this)[0].files[0],$(this)[0].files[0].value );
  4080.                    formData.append( 'to' , $('#user-id').val() );
  4081.                    formData.append( 'message_id' , window.message_id );
  4082.  
  4083.                    var img = $('<img style="width: 300px;border-radius: 20px;">');
  4084.                    //if (typeof(FileReader) != "undefined") {
  4085.                    let reader = new FileReader();
  4086.                    reader.onload = function(e) {
  4087.                        img.attr('src', e.target.result);
  4088.                    };
  4089.                    reader.readAsDataURL($(this)[0].files[0]);
  4090.                    //}
  4091.  
  4092.                    $('.lds-facebook').removeClass('hide');
  4093.                    $('#btn_chat_f_send').addClass('hide');
  4094.  
  4095.                    $( '.chat_message_upload_media_imgprogress' ).removeClass( 'hide' );
  4096.                    $( '.chat_message_upload_media_imgstatus' ).removeClass( 'hide' );
  4097.                    $.ajax({
  4098.                        xhr: function() {
  4099.                            let xhr = new window.XMLHttpRequest();
  4100.                            xhr.upload.addEventListener("progress", function(evt){
  4101.                                if (evt.lengthComputable) {
  4102.                                    let percentComplete = evt.loaded / evt.total;
  4103.                                    percentComplete = parseInt(percentComplete * 100);
  4104.                                    //console.log( 'prog: ' + percentComplete + '%');
  4105.                                    $( '#chat_message_upload_media_imgstatus' ).html( percentComplete + '%');
  4106.                                    $( '.chat_message_upload_media_imgdeterminate' ).css({'width': percentComplete + '%'});
  4107.                                    if (percentComplete === 100) {
  4108.                                        $( '.chat_message_upload_media_imgprogress' ).addClass( 'hide' );
  4109.                                        $( '.chat_message_upload_media_imgstatus' ).addClass( 'hide' );
  4110.                                        $( '#chat_message_upload_media_imgstatus' ).html( '' );
  4111.                                    }
  4112.                                }
  4113.                            }, false);
  4114.                            return xhr;
  4115.                        },
  4116.                        beforeSend: function() {
  4117.                            $('.messages').append('<div class="data_message" data-id="' + window.message_id + '"><div class="message to-user pull-right" data-id=""><div class="user-message"></div><div class="clear"></div></div><div class="clear"></div></div>');
  4118.                            img.appendTo($('.data_message[data-id="' + window.message_id + '"]').find('.user-message'));
  4119.                            $('.user-messages').scrollTop($('.user-messages')[0].scrollHeight);
  4120.                            window.message_id = makeid();
  4121.                        },
  4122.                        url: 'https://gwiremusic.com/endpoints/messages/upload_media?hash_id=' + $('.main_session').val(),
  4123.                        type: "POST",
  4124.                        async: true,
  4125.                        data: formData,
  4126.                        cache: false,
  4127.                        contentType: false,
  4128.                        processData: false,
  4129.                        timeout: 60000,
  4130.                        dataType: false,
  4131.                        success: function(data) {
  4132.                            $('.data_message[data-id="' + data.message_id + '"]').replaceWith(data.message);
  4133.                            running = false;
  4134.                        }
  4135.                    });
  4136.  
  4137.                }else{
  4138.                    M.toast({html: 'Please select only Images.'});
  4139.                }
  4140.            });
  4141.  
  4142.            // update user last seen
  4143.            function getRandomBetween(min, max) {
  4144.                return min + Math.random() * (max - min);
  4145.            }
  4146.            function UpdateLastSeen() {
  4147.                $.get('https://gwiremusic.com/endpoints/user/update_lastseen', { }, function () {
  4148.                    setTimeout(UpdateLastSeen, getRandomBetween(60000, 120000));
  4149.                });
  4150.            }
  4151.            setTimeout(UpdateLastSeen, getRandomBetween(60000, 120000));
  4152.            function GetArtist(key,form = '') {
  4153.             $.post('https://gwiremusic.com/endpoints/tag_artist/tag', {key: key}, function(data, textStatus, xhr) {
  4154.             if (data.html) {
  4155.             if (form != '') {
  4156.             $('#group_chat_mbr_list_'+form).html(data.html);
  4157.             }
  4158.             else{
  4159.             $('.group_chat_mbr_list').html(data.html);
  4160.             }
  4161.             }
  4162.             });
  4163.            }
  4164.            function ApproveRequest(id) {
  4165.             $.post('https://gwiremusic.com/endpoints/tag_artist/approve', {id: id}, function(data, textStatus, xhr) {});
  4166.            }
  4167.            function DeclineRequest(id) {
  4168.             $.post('https://gwiremusic.com/endpoints/tag_artist/decline', {id: id}, function(data, textStatus, xhr) {});
  4169.            }
  4170.            function count_char(self,id) {
  4171.    $(self).limit("640", id);
  4172. }
  4173. $('svg .verified_ico').tooltip({
  4174. title: 'Verified',
  4175. placement: 'top',
  4176. container: 'body'
  4177. });
  4178. </script>
  4179. <script src="https://gwiremusic.com/themes/volcano/js/footer.js?2577"></script>
  4180. </body>
  4181. </html>
  4182.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda