PageSourceSearch

https://www.nectarbrazil.com/login

html nectarbrazil.com collected 2026-10-04 12:27:39 UTC 103,263 bytes, 2,434 lines download raw bytes

1<!DOCTYPE html>
2<html id="html" lang="pt">
3   <head>
4      <meta charset="UTF-8">
5      <title>Login - Nectar Brazil - Vídeo Pornô &amp; Filmes de Sexo</title>
6      <meta name="title" content="Login - Nectar Brazil - Vídeo Pornô &amp;amp; Filmes de Sexo">
7      <meta name="description" content="Nectar Brazil ✓ tem os melhores vídeos pornô com trailer grátis com as melhores atrizes pornô, entre e confira Atrizes Nuas!">
8      <meta name="keywords" content="Nectar Brazil , videos pornô, atrizes pornô,putaria, baixaria, sexo, zap, vazou, porno, pormo, pornô, pornõ, pornó, sacanagem">
9            <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
10      <meta property="fb:app_id" content="1643990952546825" />
11      <meta name="format-detection" content="telephone=no" />
12      <meta name="mobile-web-app-capable" content="yes">
13      <link rel="alternate" href="https://www.nectarbrazil.com/login" hreflang="pt" />
14<link rel="alternate" href="https://en.nectarbrazil.com/login" hreflang="en" />
15<link rel="alternate" href="https://www.nectarbrazil.com/login" hreflang="x-default" />
16<link rel="canonical" href="https://www.nectarbrazil.com/login" />
17
18      <link rel="shortcut icon" type="image/png" href="https://www.nectarbrazil.com/themes/mcf/img/icon.png"/>
19      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/jquery-ui.min.css?version=1-20012024-1">
20      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/jquery.tagit.css?version=1-20012024-1">
21      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/font-awesome-4.7.0/css/font-awesome.min.css?version=1-20012024-1">
22      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/twemoji-awesome.css?version=1-20012024-1">
23      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/bootstrap-glyphicons.css?version=1-20012024-1">
24      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/bootstrap.min.css?version=1-20012024-1">
25      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/js/lib/sweetalert2/dist/sweetalert2.min.css?version=1-20012024-1">
26      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/js/lib/notifIt/notifIt/css/notifIt.min.css?version=1-20012024-1">
27      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/style.css?version=3-20012024-1" id="style-css">
28            <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/custom.style.css?version=1-20012024-1">
29      <link href="https://www.nectarbrazil.com/themes/mcf/css/material.css?version=1-20012024-1" rel="stylesheet" type="text/css">
30      <link href="https://www.nectarbrazil.com/themes/mcf/css/roboto.css?version=1-20012024-1" rel="stylesheet">
31      
31<script src="https://www.nectarbrazil.com/themes/mcf/js/jquery-3.min.js?version=1-20012024-1"></script>
31
32      
32<script src="https://www.nectarbrazil.com/themes/mcf/js/jquery-ui.min.js?version=1-20012024-1"></script>
32
33      
33<script type="text/javascript" src="https://www.nectarbrazil.com/themes/mcf/js/jquery.form.min.js?version=1-20012024-1"></script>
33
34      
34<script type="text/javascript" src="https://www.nectarbrazil.com/themes/mcf/js/tag-it.min.js?version=1-20012024-1"></script>
34
35            
35<script src="https://www.nectarbrazil.com/themes/mcf/js/plyr.polyfilled.js?version=1-20012024-1"></script>
35
36      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/css/plyr.css?version=1-20012024-1" />
37            <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/css/mediaelementplayer.min.css?version=1-20012024-1" />
38      
38<script src="https://www.nectarbrazil.com/themes/mcf/player/js/mediaelement-and-player.min.js?version=1-20012024-1"></script>
38
39      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/css/mejs-dark.css?version=1-20012024-1" />
40      
40<script src="https://www.nectarbrazil.com/themes/mcf/js/lib/sweetalert2/dist/sweetalert2.js?version=1-20012024-1"></script>
40
41      
41<script src="https://www.nectarbrazil.com/themes/mcf/js/lib/notifIt/notifIt/js/notifIt.min.js?version=1-20012024-1"></script>
41
42      <link href="https://www.nectarbrazil.com/themes/mcf/css/bootstrap-toggle.min.css?version=1-20012024-1" rel="stylesheet">
43      
43<script type="text/javascript" src="https://www.nectarbrazil.com/themes/mcf/js/bootstrap.min.js?version=1-20012024-1"></script>
43
44      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/bootstrap-select.min.css?version=1-20012024-1">
45      
45<script src="https://www.nectarbrazil.com/themes/mcf/js/bootstrap-select.min.js?version=1-20012024-1"></script>
45
46      
46<script src="https://www.nectarbrazil.com/themes/mcf/js/emoji/emojionearea/dist/emojionearea.js?version=1-20012024-1"></script>
46
47      <link rel="stylesheet" type="text/css" href="https://www.nectarbrazil.com/themes/mcf/js/emoji/emojionearea/dist/emojionearea.min.css?version=1-20012024-1"/>
48            
48<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/speed/speed.min.js?version=1-20012024-1"></script>
48
49      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/plugins/speed/speed.min.css?version=1-20012024-1" />
50      
50<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/speed/speed-i18n.js?version=1-20012024-1"></script>
50
51      
51<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/jump/jump-forward.min.js?version=1-20012024-1"></script>
51
52      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/plugins/jump/jump-forward.min.css?version=1-20012024-1" />
53      
53<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/ads/ads.min.js?version=1-20012024-1"></script>
53
54      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/plugins/ads/ads.min.css?version=1-20012024-1" />
55      
55<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/ads/ads-i18n.js?version=1-20012024-1"></script>
55
56      
56<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/vast/ads-vast-vpaid.js?version=1-20012024-1"></script>
56
57      
57<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/quality/quality.min.js?version=1-20012024-1"></script>
57
58      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/plugins/quality/quality.min.css?version=1-20012024-1" />
59      
59<script src="https://www.nectarbrazil.com/themes/mcf/js/facebook.min.js?version=1-20012024-1"></script>
59
60      
60<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/context-menu/context-menu.min.js?version=1-20012024-1"></script>
60
61      
61<script src="https://www.nectarbrazil.com/themes/mcf/player/plugins/context-menu/context-menu-i18n.js?version=1-20012024-1"></script>
61
62      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/player/plugins/context-menu/context-menu.min.css?version=1-20012024-1" />
63      
63<script src="https://www.nectarbrazil.com/themes/mcf/js/Fingerprintjs2/fingerprint2.js?version=1-20012024-1"></script>
63
64      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/bootstrap-colorpicker.min.css?version=1-20012024-1" />
65      
65<script src="https://www.nectarbrazil.com/themes/mcf/js/bootstrap-colorpicker.min.js?version=1-20012024-1"></script>
65
66            <!-- 
66<script src="https://www.nectarbrazil.com/themes/mcf/js/highcharts/highcharts.js?version=1-20012024-1"></script>
66
67         
67<script src="https://www.nectarbrazil.com/themes/mcf/js/highcharts/exporting.js?version=1-20012024-1"></script>
67 -->
68      
68<script src= "https://player.twitch.tv/js/embed/v1.js?version=1-20012024-1"></script>
vendor: 124 bytes, lines 68-70
68
69            <script src="https://www.google.com/recaptcha/api.js?version=1-20012024-1" async defer></script>
70            
70<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js?version=1-20012024-1"></script>
70
71      <link rel="stylesheet" href="https://www.nectarbrazil.com/themes/mcf/css/swiper-bundle.min.css?version=1-20012024-1" />
72      
72<script src="https://www.nectarbrazil.com/themes/mcf/js/swiper-bundle.min.js?version=1-20012024-1"></script>
vendor: 71 bytes, lines 72-73
72
73      <script async src="https://www.googletagmanager.com/gtag/js?id=
73G-L92YKCQ2H1
vendor: 11 bytes, line 73
73"></script>
73<script> 
vendor: 127 bytes, line 73
73window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
73G-L92YKCQ2H1
vendor: 3 bytes, line 73
73');
73</script>
73            
73<script src="https://www.nectarbrazil.com/themes/mcf/js/plupload.full.min.js?version=1-20012024-1"></script>
73
74      
74<script>
75         function RunLiveAgora(channelName,DIV_ID,token) {
76           var agoraAppId = 'fsdgsdgsdg';
77           var token = token;
78
79           var client = AgoraRTC.createClient({mode: 'live', codec: 'vp8'});
80           client.init(agoraAppId, function () {
81
82
83               client.setClientRole('audience', function() {
84             }, function(e) {
85             });
86
87             client.join(token, channelName, 0, function(uid) {
88             }, function(err) {
89             });
90             }, function (err) {
91             });
92
93             client.on('stream-added', function (evt) {
94             var stream = evt.stream;
95             var streamId = stream.getId();
96
97             client.subscribe(stream, function (err) {
98             });
99           });
100           client.on('stream-subscribed', function (evt) {
101             var video_id = $('#video-id').val();
102            if (!video_id) {
103               return false;
104            }
105             $('#'+DIV_ID).html('<div class="wow_liv_counter"><span id="live_word_'+video_id+'">Live</span> <span id="live_count_'+video_id+'"> 0</span></div><div id="live_post_comments_'+video_id+'" class="wow_liv_comments_feed user-comments"></div>');
106             var remoteStream = evt.stream;
107             remoteStream.play(DIV_ID);
108             $('#player_'+remoteStream.getId()).find('video').css('position', 'relative');
109           });
110         }
111                      var site_url = 'https://www.nectarbrazil.com';
112           function PT_Ajax_Requests_File() {
113             return site_url + '/';
114           }
115           function PT_Page_Loading_File() {
116             return site_url + '/page_loading.php';
117           }
118           function OpenShareWindow(url, windowName) {
119              newwindow = window.open(url, windowName, 'height=600,width=800');
120              if (window.focus) {
121                 newwindow.focus();
122              }
123              return false;
124           }
125           function getCookie(name) {
126             var value = "; " + document.cookie;
127             var parts = value.split("; " + name + "=");
128             if (parts.length == 2) return parts.pop().split(";").shift();
129           }
130      </script>
130
131      
131<script src="https://www.nectarbrazil.com/themes/mcf/js/header.js?version=1-20012024-1"></script>
131
132            
132<script src="https://imasdk.googleapis.com/js/sdkloader/ima3.js?version=1-20012024-1" type="text/javascript"></script>
132
133               </head>
134   
134<script type="text/javascript">
135        window.UpdateChatU = 0;
136      $(document).on('click', '#open_slide', function(event) {
137         setTimeout(function () {
138            window.dispatchEvent(new Event('resize'));
139            console.log("resize");
140         }, 300)
141      });
142        $(document).on('click', 'a[data-load]', function(event) {
143          if ($('#live_post_id').length > 0) {
144                DeleteLive();
145                window.location = $(this).attr('href');
146                return false;
147          }
148
149          if ($('video').length > 0) {
150              $('video')[0].pause();
151            }
152          $('#bar_loading').show();
153            event.preventDefault();
154            var url = $(this).attr('data-load');
155            $.ajax({
156              url: PT_Page_Loading_File()+url,
157              type: 'GET',
158              dataType: 'html'
159            })
160            .done(function(data_html) {
161              if ($(data_html).filter('#json-data').length > 0) {
162                  data = JSON.parse($(data_html).filter('#json-data').val());
163                  if (data.is_movie == true) {
164                    $('.toggle-mode').hide();
165                    $('.logo-img img').attr('src', 'https://www.nectarbrazil.com/themes/mcf/img/logo-light.png?cache=420');
166                  }
167                  else{
168                    if ($('#toggle-mode').prop( "checked" ) === true) {
169                      $('.logo-img img').attr('src', 'https://www.nectarbrazil.com/themes/mcf/img/logo-light.png?cache=420');
170                    }
171                    else{
172                      $('.logo-img img').attr('src', 'https://www.nectarbrazil.com/themes/mcf/img/logo.png?cache=420');
173                    }
174                    $('.toggle-mode').show();
175                  }
176
177                  (data.page == 'register' ||
178                  data.page == 'login' ||
179                  data.page == 'shorts' ||
180                  data.page == 'upload-video' ||
181                  data.page == 'import-video' ||
182                  data.page == 'messages') ? $('#header_ad_').addClass('hidden') : $('#header_ad_').removeClass('hidden');
183
184                  (data.page == 'home') ? $('#home_menu_').addClass('active') : $('#home_menu_').removeClass('active');
185                  (data.page == 'history') ? $('#history_menu_').addClass('active') : $('#history_menu_').removeClass('active');
186                  (data.page == 'articles') ? $('#articles_menu_').addClass('active') : $('#articles_menu_').removeClass('active');
187                  (data.page == 'latest') ? $('#latest_menu_').addClass('active') : $('#latest_menu_').removeClass('active');
188                  (data.page == 'trending') ? $('#trending_menu_').addClass('active') : $('#trending_menu_').removeClass('active');
189                  (data.page == 'paid-videos') ? $('#paid_videos_').addClass('active') : $('#paid_videos_').removeClass('active');
190                  (data.page == 'top') ? $('#top_menu_').addClass('active') : $('#top_menu_').removeClass('active');
191                  (data.page == 'movies') ? $('#movies_menu_').addClass('active') : $('#movies_menu_').removeClass('active');
192                  (data.page == 'stock') ? $('#stock_menu_').addClass('active') : $('#stock_menu_').removeClass('active');
193                  (data.page == 'popular_channels') ? $('#popular_channels_menu_').addClass('active') : $('#popular_channels_menu_').removeClass('active');
194                  (data.page == 'shorts') ? $('#shorts_menu_').addClass('active') : $('#shorts_menu_').removeClass('active');
195
196                  window.history.pushState({state:'new'},'', data.url);
197                  $('#container_content').html(data_html);
198                  $('meta[name=title]').attr('content', data.title);
199                  $('meta[name=description]').attr('content', data.description);
200                  $('meta[name=keywords]').attr('content', data.keyword);
201                  $('title').text(data.title);
202                  var main_container_class = 'main-content ';
203                  (data.page != 'login') ? main_container_class += ' container ' : main_container_class += ' welcome-page ';
204                  (data.page == 'home') ? main_container_class += ' container-full ' : main_container_class += ' ';
205               (data.page == 'timeline') ? main_container_class += ' container-full ' : main_container_class += ' ';
206               (data.page == 'search') ? main_container_class += ' container-full ' : main_container_class += ' ';
207               (data.page == 'import-video') ? main_container_class += ' container-full ' : main_container_class += ' ';
208               (data.page == 'trending') ? main_container_class += ' container-full ' : main_container_class += ' ';
209               (data.page == 'category') ? main_container_class += ' container-full ' : main_container_class += ' ';
210               (data.page == 'latest') ? main_container_class += ' container-full ' : main_container_class += ' ';
211               (data.page == 'top') ? main_container_class += ' container-full ' : main_container_class += ' ';
212               (data.page == 'live') ? main_container_class += ' container-full ' : main_container_class += ' ';
213               (data.page == 'stock') ? main_container_class += ' container-full ' : main_container_class += ' ';
214               (data.page == 'paid-videos') ? main_container_class += ' container-full ' : main_container_class += ' ';
215                  (data.page == 'watch') ? main_container_class += ' container-full ' : main_container_class += ' ';
216                  (data.page == 'messages') ? main_container_class += ' m_cont_full ' : main_container_class += ' ';
217                  $('#main-container').attr('class',main_container_class);
218
219
220                }
221                else{
222                  window.location.href = site_url+'/login';
223                }
224
225            })
226            .fail(function() {
227              if (typeof(getCookie('user_id')) == 'undefined') {
228                window.location.href = site_url+'/login';
229              }
230              else{
231                window.location.href = site_url+'/404';
232              }
233
234            })
235            .always(function() {
236              window.scrollTo(0,0);
237              $('#bar_loading').delay(300).fadeOut(300);
238              $(".video-player").hover(
239                  function(e){
240                    $('.watermark').css('display', 'block');
241                   },
242                  function(e){
243                    setTimeout(function () {
244                      if ($('.video-player:hover').length == 0) {
245                        $('.watermark').css('display', 'none');
246                      }
247                    }, 1000);
248                   }
249              );
250            });
251        });
252        function load_more_sub() {
253          var id = $('.subscribers_').last().attr('data_subscriber_id');
254          var user_id = '{{ME id}}';
255          $.post(PT_Ajax_Requests_File()+'aj/user/get_more_subscribers_', {id: id,user_id:user_id}, function(data, textStatus, xhr) {
256            if (data.status == 200) {
257              if (data.html != '') {
258                $('.user_subscribers_').append(data.html);
259              }
260              else{
261                $('#user_subscribers__load').text("No more subscriptions");
262              }
263
264            }
265
266          });
267        }
268   </script>
268
269   <body itemscope itemtype="http://schema.org/Organization" id="pt-body" >
270            <div id="pop_up_18" class="modal matdialog et_plus" data-backdrop="static" data-keyboard="false">
271         <div class="modal-dialog">
272            <div class="modal-content">
273               <div class="modal-body">
274                  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 328.863 328.863" height="120" width="120" xml:space="preserve">
275                     <g id="_x34_4-18Plus_movie">
276                        <g>
277                           <path fill="currentColor" d="M104.032,220.434V131.15H83.392V108.27h49.121v112.164H104.032z"/>
278                        </g>
279                        <g>
280                           <path fill="currentColor" d="M239.552,137.23c0,9.76-5.28,18.4-14.08,23.201c12.319,5.119,20,15.84,20,28.32c0,20.16-17.921,32.961-45.921,32.961 c-28.001,0-45.921-12.641-45.921-32.48c0-12.801,8.32-23.682,21.28-28.801c-9.44-5.281-15.52-14.24-15.52-24 c0-17.922,15.681-29.281,40.001-29.281C224.031,107.15,239.552,118.83,239.552,137.23z M180.51,186.352 c0,9.441,6.721,14.721,19.041,14.721c12.32,0,19.2-5.119,19.2-14.721c0-9.279-6.88-14.561-19.2-14.561 C187.23,171.791,180.51,177.072,180.51,186.352z M183.391,138.83c0,8.002,5.76,12.48,16.16,12.48c10.4,0,16.16-4.479,16.16-12.48 c0-8.318-5.76-12.959-16.16-12.959C189.15,125.871,183.391,130.512,183.391,138.83z"/>
281                        </g>
282                        <g>
283                           <path fill="currentColor" d="M292.864,120.932c4.735,13.975,7.137,28.592,7.137,43.5c0,74.752-60.816,135.568-135.569,135.568 S28.862,239.184,28.862,164.432c0-74.754,60.816-135.568,135.569-135.568c14.91,0,29.527,2.4,43.5,7.137V5.832 C193.817,1.963,179.24,0,164.432,0C73.765,0,0.001,73.764,0.001,164.432s73.764,164.432,164.431,164.432 S328.862,255.1,328.862,164.432c0-14.807-1.962-29.385-5.831-43.5H292.864z"/>
284                        </g>
285                        <g>
286                           <polygon fill="currentColor" points="284.659,44.111 284.659,12.582 261.987,12.582 261.987,44.111 230.647,44.111 230.647,66.781 261.987,66.781 261.987,98.309 284.659,98.309 284.659,66.781 316.186,66.781 316.186,44.111 "/>
287                        </g>
288                     </g>
289                  </svg>
290                  <h4>Please note that if you are under 18, you won't be able to access this site. </h4>
291                  <p>Are you 18 years old or above?</p>
292               </div>
293               <div class="modal-footer">
294                  <button class="btn btn-success matbtn" id="pop_up_18_yes">Yes</button>
295                  <button class="btn matbtn" id="pop_up_18_no">No</button>
296               </div>
297            </div>
298         </div>
299      </div>
300      <a href="" id="link_redirect_to_page"  data-load=""></a>
301      <div id="bar_loading"></div>
302            <input type="hidden" class="main_session" value="bac804d10b28074f81a616ae6f98ebc8ae2413be">
303            <header class="navbar-fixed-top">
304         <style>
305    @media (max-width: 485px){
306        .texto_lang{
307            display: none;
308        }
309        .pt_header_nav .right-part > li {
310			margin: 0 0px;
311		}
312    }
313</style>
314
315<nav class="navbar navbar-findcond pt_header_nav">
316	<div class="left-part">
317		
318		<a class="navbar-brand logo-img" href="https://www.nectarbrazil.com/" itemprop="url">
319							<img itemprop="logo" src="https://www.nectarbrazil.com/themes/mcf/img/logo.png" alt="Nectar Brazil - Vídeo Pornô &amp; Filmes de Sexo">
320					</a>
321	</div>
322
323	<form class="navbar-form search-header" role="search" action="https://www.nectarbrazil.com/search" method="GET">
324		<div class="form-group">
325			<input type="text" class="form-control" id="search-bar" name="keyword" placeholder="Search for videos" autocomplete="off" value="">
326			<button type="submit" class="btn btn-main"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22"><path fill="currentColor" d="M23.707 22.293l-5.969-5.969a10.016 10.016 0 10-1.414 1.414l5.969 5.969a1 1 0 001.414-1.414zM10 18a8 8 0 118-8 8.009 8.009 0 01-8 8z"/></svg></button>
327						<div class="search-dropdown hidden"></div>
328		</div>
329	</form>
330
331	<ul class="nav right-part">
332		
333                        <li class="dropdown top-header">
334                            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
335                                <img src="/assets/flags/en.svg" width="34" height="34" alt="English">
336                            </a>
337                            <ul class="dropdown-menu pt-create-menu" style="left: auto;">
338                                                                <li class="hide_up_imp">
339                                    <a href="/change-language/pt">
340                                        <img src="/assets/icons/brasil-flag.svg" width="24" height="24" alt="Português - BRA"> 
341                                        Português - BRA                                    </a>
342                                </li>
343                                
344                                <li class="divider"></li>
345                                <li class="hide_up_imp" style="text-align: center;">
346                                    Language                                </li>
347                            </ul>
348                        </li>
349
350
351		<li class="show-in-mobile top-header">
352			<a href="#" class="search-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.75 11C3.75 6.99594 6.99594 3.75 11 3.75C15.0041 3.75 18.25 6.99594 18.25 11C18.25 15.0041 15.0041 18.25 11 18.25C6.99594 18.25 3.75 15.0041 3.75 11ZM11 2.25C6.16751 2.25 2.25 6.16751 2.25 11C2.25 15.8325 6.16751 19.75 11 19.75C13.1462 19.75 15.112 18.9773 16.6342 17.6949L19.4697 20.5303C19.7626 20.8232 20.2374 20.8232 20.5303 20.5303C20.8232 20.2374 20.8232 19.7626 20.5303 19.4697L17.6949 16.6342C18.9773 15.112 19.75 13.1462 19.75 11C19.75 6.16751 15.8325 2.25 11 2.25Z" fill="currentColor"/></svg></a>
353		</li>
354
355		
356				
357<li class="top-header">
358    <a href="/assine" class="btn btn-primary" style="color: #fff;text-decoration: none;border: #f8913a 1px solid;cursor: pointer;font-weight: 600;font-size: 15px;text-transform: uppercase;padding: .3em .8em;-webkit-appearance: none;-moz-appearance: none;display: inline-flex;align-items: center;justify-content: center;letter-spacing: 1px;height: 36px;text-align: center;cursor: pointer;line-height: 1;display: flex;text-decoration: none;border-width: 1px;border-style: solid;border-color: rgb(251, 202, 39);font-size: 15px;margin: 10px 0px 10px 10px;background-color: #FF780A;border-radius: 4px;font-weight: bold;">
359        Join Now
360    </a>
361</li>
362<li><a href="https://www.nectarbrazil.com/login" data-toggle="modal" data-target="#loginbox">Login</a></li>
363
364<!--li class="dropdown hide-from-mobile profile-nav">
365        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
366                <span class="hide_hdr_usr_name">&nbsp;&nbsp;My Account&nbsp;&nbsp;</span><svg class="auth" width="26" height="26" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM11.3333 12C9.49238 12 8 13.4924 8 15.3333C8 16.2538 8.74619 17 9.66667 17H14.3333C15.2538 17 16 16.2538 16 15.3333C16 13.4924 14.5076 12 12.6667 12H11.3333ZM12 10C13.1046 10 14 9.10457 14 8C14 6.89543 13.1046 6 12 6C10.8954 6 10 6.89543 10 8C10 9.10457 10.8954 10 12 10Z" fill="currentColor"/> </svg> <svg width="21" height="21" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 7C13.1 7 14 6.1 14 5C14 3.9 13.1 3 12 3C10.9 3 10 3.9 10 5C10 6.1 10.9 7 12 7ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM10 19C10 17.9 10.9 17 12 17C13.1 17 14 17.9 14 19C14 20.1 13.1 21 12 21C10.9 21 10 20.1 10 19Z" fill="currentColor"/></svg>
367        </a>
368        <ul class="dropdown-menu dropdown-menu-right ani_log_menu" role="menu">
369                                                                        <li><a href="https://www.nectarbrazil.com/login" data-toggle="modal" data-target="#loginbox"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M13.5302 7.46972C13.2374 7.17683 12.7625 7.17683 12.4696 7.46972C12.1767 7.76261 12.1767 8.23749 12.4696 8.53038L15.1893 11.2501L2.99991 11.2501C2.5857 11.2501 2.24991 11.5858 2.24991 12.0001C2.24991 12.4143 2.5857 12.7501 2.99991 12.7501L15.1893 12.7501L12.4696 15.4697C12.1767 15.7626 12.1767 16.2375 12.4696 16.5304C12.7625 16.8233 13.2374 16.8233 13.5302 16.5304L17.5302 12.5304C17.8231 12.2375 17.8231 11.7626 17.5302 11.4697L13.5302 7.46972ZM15 2.74997C16.4354 2.74997 17.4365 2.75156 18.1919 2.85312C18.9257 2.95177 19.3142 3.13222 19.591 3.40898C19.8678 3.68574 20.0482 4.07432 20.1469 4.80809C20.2484 5.56344 20.25 6.56456 20.25 7.99997L20.25 16C20.25 17.4354 20.2484 18.4365 20.1469 19.1918C20.0482 19.9256 19.8678 20.3142 19.591 20.591C19.3142 20.8677 18.9257 21.0482 18.1919 21.1468C17.4365 21.2484 16.4354 21.25 15 21.25L12.5 21.25C11.3098 21.25 10.4799 21.2489 9.84426 21.1772C9.22377 21.1072 8.88194 20.9781 8.6303 20.785C8.47429 20.6653 8.33465 20.5257 8.21495 20.3697C8.02186 20.118 7.89272 19.7762 7.82277 19.1557C7.75112 18.5201 7.75 17.6902 7.75 16.5L7.75 16C7.75 15.5858 7.41422 15.25 7 15.25C6.58579 15.25 6.25 15.5858 6.25 16L6.25 16.5L6.25 16.5452C6.24999 17.6796 6.24997 18.5943 6.33221 19.3237C6.41724 20.078 6.59807 20.7265 7.02491 21.2828C7.22442 21.5428 7.45716 21.7756 7.71717 21.9751C8.27345 22.4019 8.92196 22.5827 9.67622 22.6678C10.4057 22.75 11.3204 22.75 12.4548 22.75L12.5 22.75L15 22.75L15.0549 22.75C16.4225 22.75 17.5248 22.75 18.3918 22.6334C19.2919 22.5124 20.0497 22.2535 20.6516 21.6516C21.2536 21.0497 21.5125 20.2918 21.6335 19.3917C21.75 18.5248 21.75 17.4225 21.75 16.055L21.75 16.0549L21.75 16L21.75 7.99997L21.75 7.94513C21.75 6.57752 21.75 5.47519 21.6335 4.60822C21.5125 3.70811 21.2536 2.95024 20.6517 2.34832C20.0497 1.7464 19.2919 1.48751 18.3918 1.36649C17.5248 1.24993 16.4225 1.24995 15.0549 1.24997L15 1.24997L12.5 1.24997L12.4548 1.24997L12.4548 1.24997C11.3204 1.24996 10.4057 1.24994 9.67622 1.33219C8.92194 1.41722 8.27341 1.59805 7.71712 2.02491C7.45714 2.22441 7.22443 2.45711 7.02494 2.71709C6.59808 3.27338 6.41725 3.92191 6.33222 4.67619C6.24997 5.40569 6.24999 6.32038 6.25 7.45481L6.25 7.5L6.25 7.99997C6.25 8.41418 6.58579 8.74997 7 8.74997C7.41421 8.74997 7.75 8.41418 7.75 7.99997L7.75 7.5C7.75 6.30976 7.75112 5.47984 7.82277 4.84422C7.89273 4.22372 8.02187 3.88188 8.21497 3.63024C8.33466 3.47426 8.47429 3.33463 8.63027 3.21494C8.88191 3.02184 9.22375 2.8927 9.84426 2.82274C10.4799 2.75108 11.3098 2.74997 12.5 2.74997L15 2.74997Z" fill="currentColor"/> </svg> Login</a></li>
370                                        <li><a href="https://www.nectarbrazil.com/register" data-toggle="modal" data-target="#registerbox"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M9 3.75C7.20507 3.75 5.75 5.20507 5.75 7C5.75 8.79493 7.20507 10.25 9 10.25C10.7949 10.25 12.25 8.79493 12.25 7C12.25 5.20507 10.7949 3.75 9 3.75ZM4.25 7C4.25 4.37665 6.37665 2.25 9 2.25C11.6234 2.25 13.75 4.37665 13.75 7C13.75 9.62335 11.6234 11.75 9 11.75C6.37665 11.75 4.25 9.62335 4.25 7ZM6 15.75C4.20507 15.75 2.75 17.2051 2.75 19C2.75 19.6904 3.30964 20.25 4 20.25H14C14.6904 20.25 15.25 19.6904 15.25 19C15.25 17.2051 13.7949 15.75 12 15.75H6ZM1.25 19C1.25 16.3766 3.37665 14.25 6 14.25H12C14.6234 14.25 16.75 16.3766 16.75 19C16.75 20.5188 15.5188 21.75 14 21.75H4C2.48122 21.75 1.25 20.5188 1.25 19ZM20.75 7C20.75 6.58579 20.4142 6.25 20 6.25C19.5858 6.25 19.25 6.58579 19.25 7V9.25H17C16.5858 9.25 16.25 9.58579 16.25 10C16.25 10.4142 16.5858 10.75 17 10.75H19.25V13C19.25 13.4142 19.5858 13.75 20 13.75C20.4142 13.75 20.75 13.4142 20.75 13V10.75H23C23.4142 10.75 23.75 10.4142 23.75 10C23.75 9.58579 23.4142 9.25 23 9.25H20.75V7Z" fill="currentColor"/> </svg> Register</a></li>
371                        </ul>
372</li-->
373	</ul>
374</nav>
375
376<nav class="navbar navbar-findcond navbar-fixed-top hidden search-bar">
377    <div class="container-fluid">
378		<form class="search-header-mobile" role="search" action="https://www.nectarbrazil.com/search" method="GET">
379			<div class="form-group">
380				<input type="text" class="form-control" id="search-bar-mobile" name="keyword" placeholder="Search for videos" autocomplete="off" value="" autofocus>
381				<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-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
382			</div>
383			<div class="search-dropdown hidden"></div>
384		</form>
385	</div>
386</nav>
387
388<nav class="navbar navbar-findcond navbar-fixed-top hidden idioma-bar2">
389    <div class="container-fluid">
390		Array	</div>
391</nav>
392
393
394<script>
395$('.search-icon').on('click', function(event) {
396	event.preventDefault();
397	$('.search-bar').toggleClass('hidden');
398});
399$('.idioma-bar').on('click', function() {
400	alert("asdgsdg");
401});
402
403$('#open_slide').on('click', function(event) {
404	event.preventDefault();
405	$('body').toggleClass('side_open');
406});
407
408current_width = $(window).width();
409if(current_width <= 1251) {
410    $('#open_slide').on('click', function(event) {
411		$('body').addClass('mobi_side_open');
412	});
413}
414
415//$('.sidenav-overlay').on('click', function() {
416//	$('body').removeClass('side_open');
417//});
418
419$('#search-bar').keyup(function(event) {
420	var search_value = $(this).val();
421	var search_dropdown = $('.search-dropdown');
422	if (search_value == '') {
423		search_dropdown.addClass('hidden');
424		search_dropdown.empty();
425		return false;
426	} else {
427		search_dropdown.removeClass('hidden');
428	}
429    $.post('https://www.nectarbrazil.com/aj/search', {search_value: search_value}, function(data, textStatus, xhr) {
430    	if (data.status == 200) {
431    		search_dropdown.html(data.html);
432    	} else {
433	       search_dropdown.addClass('hidden');
434		   search_dropdown.empty();
435		   return false;
436    	}
437    });
438});
439
440jQuery(document).click(function(event){
441    if (!(jQuery(event.target).closest(".search-dropdown").length)) {
442        jQuery('.search-dropdown').addClass('hidden');
443    }
444});
445</script>
445
446         <div class="clear"></div>
447      </header>
448            <div class="yp_side_menu ">
449         <div id="main-container" class="welcome-page              main-content" >
450                  <div class="announcement-renderer">
451            
452         </div>
453         <div id="container_content">
454            <div class="login_page">
455	<div class="login-page">
456		<div class="login-form">
457			<h4>Log In</h4>
458			<form action="" method="POST">
459				<div class="errors form-group"></div>
460				<div class="pp_mat_input">
461					<input type="text" name="username" id="username" placeholder="Username" required value="" autofocus>
462					<label for="username">Username</label>
463				</div>
464				<div class="pp_mat_input">
465					<input type="password" name="password" id="password" placeholder="Password" required>
466					<label for="password">Password</label>
467				</div>
468				<div class="forgot_password">
469					<a href="https://www.nectarbrazil.com/forgot_password">Forgot your password?</a>
470				</div>
471				<div class="login_signup_combo">
472					<input type="submit" class="btn btn-main button" value="Log In">
473				</div>
474									<div class="pt_vdo_cstm_radio">
475						<input type="checkbox" name="remember_device" id="remember_device" checked>
476						<label for="remember_device">Remember this device</label>
477					</div>
478												<div class="clear"></div>
479									<hr>
480					<div class="signup__">
481						New here? <a class="dec" href="https://www.nectarbrazil.com/register">Register</a>
482					</div>
483							</form>
484		</div>
485	</div>
486</div>
487<script>
488$(function() {
489	$('.button').on('click', function () {
490		if ($('#username').val() && $('#password').val()) {
491			$(this).val("Please wait..");
492		}
493	});
494});
495</script>
495
496
497         </div>
498         <input type="hidden" id="main-url" value="https://www.nectarbrazil.com%2Flogin">
499               </div>
500      </div>
501                  
502
503      <style>
504      .iOpOzV {
505         position: fixed;
506         bottom: 0px;
507         left: 0px;
508         right: 0px;
509         text-align: center;
510         width: 100%;
511         z-index: 999;
512         max-width: 1920px;
513         margin: 0px auto;
514         /*display: none;*/
515      }
516      @media (max-width: 485px) {
517         .sc-je45mb-3 {
518            width:75%;
519         }
520      }
521   </style>
522   <div class="sc-je45mb-0 iOpOzV">
523      <div class="sc-je45mb-0 iOpOzV" data-id="promo">
524         <a href="/assine" popunder="[object Object]" rel="nofollow" class="sc-je45mb-1 ggJtQT">
525            <picture>
526               <source media="(min-width: 1000px)" srcset="/img/RODAPE_NECTAR_1552X72PX.png">
527               <source media="(min-width: 800px)" srcset="/img/RODAPE_NECTAR_1300X72PX.png">
528               <source media="(max-width: 480px)" srcset="/img/RODAPE_NECTAR_640X106PX.png">
529               <img src="/img/RODAPE_NECTAR_640X106PX.png" alt="Promo Pix" class="sc-je45mb-3 hiRitl">
530            </picture>
531
532            <span name="deleteNo" class="sc-je45mb-5 esJCYW"></span>
533         </a>
534      </div>
535   </div>
536   
537
538
539
540
541
542      <!-- JS FILES -->
543            
543<script>
544function PT_PlaylistSubscribe(user_id, type,playlist) {
545  if (!user_id || !type || !playlist) { return false; }
546  if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
547      window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
548      return false;
549  }
550  var subscribe_button = $('.subscribe-id-playlist-' + user_id);
551  if (type == 'subscribe') {
552    subscribe_button.removeClass('plist-btn-subscribe').addClass('plist-btn-subscribed');
553    subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17.75 21.16L15 18.16L16.16 17L17.75 18.59L21.34 15L22.5 16.41L17.75 21.16M3 20V19L5 17V11C5 7.9 7.03 5.18 10 4.29V4C10 2.9 10.9 2 12 2C13.11 2 14 2.9 14 4V4.29C16.97 5.18 19 7.9 19 11V12.08L18 12C14.69 12 12 14.69 12 18C12 18.7 12.12 19.37 12.34 20H3M12 23C10.9 23 10 22.11 10 21H12.8C13.04 21.41 13.33 21.79 13.65 22.13C13.29 22.66 12.69 23 12 23Z" /></svg>');
554    subscribe_button.attr('onclick', 'PT_PlaylistSubscribe(' + user_id + ', "subscribed","'+playlist+'")');
555  subscribe_button.attr('title', 'Subscribed to Playlist Notifications');
556    $.post('https://www.nectarbrazil.com/aj/playlist_subscribe', {user_id: user_id,playlist:playlist});
557  } else {
558    var html = "<small>Are you sure you want to unsubscribe? This action can't be undo.</small>";
559    swal({
560      title: "",
561      type: "",
562      html:html,
563      showCancelButton: true,
564      cancelButtonText: "No",
565      customClass: 'sweetalert-lg pt_add_to_list_vid',
566      confirmButtonText:'Yes'
567    }).then(function(){
568        subscribe_button.removeClass('plist-btn-subscribed').addClass('plist-btn-subscribe');
569        subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21M19.75,3.19L18.33,4.61C20.04,6.3 21,8.6 21,11H23C23,8.07 21.84,5.25 19.75,3.19M1,11H3C3,8.6 3.96,6.3 5.67,4.61L4.25,3.19C2.16,5.25 1,8.07 1,11Z" /></svg>');
570        subscribe_button.attr('onclick', 'PT_PlaylistSubscribe(' + user_id + ', "subscribe","'+playlist+'")');
571    subscribe_button.attr('title', 'Subscribe for Notifications');
572        $.post('https://www.nectarbrazil.com/aj/playlist_subscribe', {user_id: user_id,playlist:playlist});
573
574      },function(){
575    });
576    
577  }
578  
579}
580
581function PT_Subscribe(user_id, type) {
582  if (!user_id || !type) { return false; }
583  if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
584      window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
585      return false;
586  }
587  var subscribe_button = $('.subscribe-id-' + user_id);
588  if (type == 'subscribe') {
589    subscribe_button.removeClass('btn-subscribe').addClass('btn-subscribed');
590    subscribe_button.html('Subscribed');
591    subscribe_button.attr('onclick', 'PT_Subscribe(' + user_id + ', "subscribed")');
592    $.post('https://www.nectarbrazil.com/aj/subscribe', {user_id: user_id});
593  } else {
594    var html = "<small>Are you sure you want to unsubscribe? This action can't be undo.</small>";
595    swal({
596      title: "",
597      type: "",
598      html:html,
599      showCancelButton: true,
600      cancelButtonText: "No",
601      customClass: 'sweetalert-lg pt_add_to_list_vid',
602      confirmButtonText:'Yes'
603    }).then(function(){
604        subscribe_button.removeClass('btn-subscribed').addClass('btn-subscribe');
605        subscribe_button.html('Subscribe');
606        subscribe_button.attr('onclick', 'PT_Subscribe(' + user_id + ', "subscribe")');
607        $.post('https://www.nectarbrazil.com/aj/subscribe', {user_id: user_id});
608
609      },function(){
610    });
611    
612  }
613  
614}
615
616function PT_Reply(comm_id, name,reply_id) {
617  if (!comm_id) { return false;}
618  var logged = $('#main-container').attr('data-logged');
619  var name   = (name) ? "@"+name+": " : '';
620  if(!logged){
621    window.location.href = "https://www.nectarbrazil.com/login?to=https://www.nectarbrazil.com%2Flogin";
622    return false;
623  }
624  else{
625    var reply_form = $('#comm-reply-' + comm_id);
626
627    reply_form.removeClass('hidden').find('input').val(name).focus().scrollTo();
628
629    if (reply_id) {
630      reply_form.attr('data-reply-id',reply_id); 
631    }
632    
633  }
634}
635
636$(function () {
637  $(document).on('click','.load-more' , function(event) {
638    event.preventDefault();
639    var $type = $(this).attr('data-type');
640    var type_org = $type;
641    var keyword = '';
642    if ($(this).attr('data-keyword')) {
643      keyword = $(this).attr('data-keyword');
644    }
645    var last_id = $('.video-wrapper:last').attr('data-id');
646    if ($(this).attr('data-category')) {
647      var $category_id = $(this).attr('data-category');
648      sub_category = $(this).attr('data-sub-category-id');
649      $type = 'category?c_id=' + $category_id + '&sub_category='+sub_category;
650    }
651    views = 0;
652    if ($('.video-wrapper:last').attr('data-views')) {
653      var views = $('.video-wrapper:last').attr('data-views');
654      $type = $type + '?views=' + views;
655    }
656    tr_id = 0;
657    if ($('.video-wrapper:last').attr('data-tr')) {
658      var tr_id = $('.video-wrapper:last').attr('data-tr');
659      $type = $type + '?tr_id=' + tr_id;
660    }
661    user_id = 0;
662    if ($('#profile-id').val()) {
663      var user_id = $('#profile-id').val();
664    }
665    
666    data1 = {};
667    if ($type == 'top') {
668      for (var i = 0; i < $('.video-wrapper').length; i++) {
669        if ($($('.video-wrapper')[i]).attr('data-views') == views) {
670          data1[i] = $($('.video-wrapper')[i]).attr('data-views');
671        }
672      }
673    }
674    else{
675      if (views) {
676        var asdf = $('div[data-views=' + views + ']').each(function(index, el) {
677          data1[index] = $(this).attr('data-id')
678        });
679      }
680    }
681    date = '';
682    category = '';
683    if ($(this).attr('data-type') == 'search') {
684      date = $(this).attr('data-by-date');
685      category = $(this).attr('data-by-category');
686    }
687    if ($(this).attr('data-type') == 'video_comment') {
688      $type = 'video_comment';
689      last_id = $('.comment_info:last').attr('data-comment-id');
690    }
691
692    video_studio_ids = [];
693    video_studio_type = '';
694
695    if ($(this).attr('data-type') == 'video_studio') {
696      for (var i = 0; i < $('.video-wrapper').length; i++) {
697          video_studio_ids.push($($('.video-wrapper')[i]).attr('data-id'));
698      }
699      video_studio_type = $(this).attr('sort-type');
700    }
701    paid_sort = '';
702    if ($(this).attr('data-type') == 'paid_videos') {
703      paid_sort = $(this).attr('data-video-type');
704    }
705
706    var channels_ids = [];
707    var sort_type = '';
708    var sort_by = '';
709
710    if ($(this).attr('data-type') == 'popular_channels') {
711      channels_ids = [];
712      last_id = $('.channels_list:last').attr('data-channel-views');
713      for (var i = 0; i < $('.channels_list').length; i++) {
714        if ($($('.channels_list')[i]).attr('data-channel-views') == last_id) {
715          channels_ids.push($($('.channels_list')[i]).attr('data-channel-id'));
716        }
717      }
718      sort_by = $(this).attr('data-sort-by');
719      sort_type = $(this).attr('data-sort-type');
720    }
721
722    $('.load-more').text("Please wait..");
723    $.post('https://www.nectarbrazil.com/aj/load-more/' + $type + '', {last_id: last_id, ids: data1, keyword:keyword, user_id: user_id,date:date,category:category,video_studio_ids:video_studio_ids,video_studio_type:video_studio_type,channels_ids:channels_ids,sort_type:sort_type,sort_by:sort_by,paid_sort:paid_sort}, function(data, textStatus, xhr) {
724       if (data.status == 200) {
725          if ($type == 'subscriptions' || $type == 'history' || $type == 'saved_videos' || $type == 'liked_videos' || $type == 'my_videos' || $type == 'video_studio' || $type == 'search' || $type == 'popular_channels') {
726            if ($('#video_studio_ids').length > 0) {
727              $('#video_studio_ids').attr('value',data.video_ids_);
728              $('#video_studio_ids').attr('data_by_id',data.by_ids);
729            }
730             $('.author-list').append(data.videos);
731          } else {
732            if ($type == 'video_comment') {
733              $('#comments_container').append(data.comments);
734            }else{
735              if (type_org == 'profile_videos') {
736                $('.pt_timeline_vids').append(data.videos);
737              } else {
738                $('.videos-latest-list').append(data.videos);
739              }
740            }
741          }
742          $('.load-more').text("Show more");
743       } else {
744          if ($type == 'video_comment') {
745            $('.load-more').text("No more comments found");
746          }else if($type == 'popular_channels'){
747            $('.load-more').text("No more channels to show");
748          }else{
749            $('.load-more').text("No more videos to show");
750          }
751       }
752       scrolled = 0;
753    });
754  });
755});
756
757
758function PT_LoadPost(category, self){
759  if (!self) { return false;}
760
761  var last_id = ($('.article-wrapper').length > 0) ? $('.article-wrapper:last').attr('data-id') : 0;
762  if (last_id && last_id > 0) {
763    $.post('https://www.nectarbrazil.com/aj/load-more/articles', {last_id: last_id,cat:category}, function(data, textStatus, xhr) {
764       if (data.status == 200) {
765          $('.articles-container').append(data.posts);
766          $(self).text("Show more");
767       }
768
769       else {
770          $(self).text("No more Articles");
771       }
772    });
773  }
774}
775
776function PT_DeleteVideo(id, type) {
777  if (!id) {
778    return false;
779  }
780  if (!confirm("Are you sure you want to delete this video? This action can't be undo")) {
781    return false;
782  }
783  if (type == 'edit-page') {
784    $('.btn-delete').attr('disabled', true);
785    $('.btn-delete').val("Please wait..");
786  } else if (type == 'manage-page') {
787    $('#video-' + id).slideUp('200', function () {
788      $(this).remove();
789    });
790  }
791  $.post('https://www.nectarbrazil.com/aj/delete-video', {id: id}, function(data, textStatus, xhr) {
792    if (data.status == 200) {
793      if (type == 'edit-page') {
794        window.location.href = 'https://www.nectarbrazil.com/video_studio';
795      } 
796    }
797  });
798}
799
800function PT_DeleteActivity(id) {
801  if (!id) {
802    return false;
803  }
804  if (!confirm("Are you sure you want to delete this activity? This action can't be undo.")) {
805    return false;
806  }
807
808  $('#activity-' + id).slideUp('200', function () {
809    $(this).remove();
810  });
811
812  $.post('https://www.nectarbrazil.com/aj/delete-activity', {id: id}, function(data, textStatus, xhr) {
813  });
814}
815
816function PT_DeleteHistory(id) {
817  if (!id) {
818    return false;
819  }
820  $('#video-' + id).fadeOut('200', function () {
821    $(this).remove();
822  });
823  $.post('https://www.nectarbrazil.com/aj/delete-history', {id: id});
824  Snackbar.show({text: '<div><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMjAnIGhlaWdodD0nMjAnIHZpZXdCb3g9JzAgMCAyMCAyMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KCTxnPgoJCTxwYXRoIGQ9J00tMi0yaDI0djI0SC0yeicgZmlsbD0nbm9uZScvPgoJCTxwYXRoIGQ9J00xMCAwQzQuNDggMCAwIDQuNDggMCAxMHM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTUuNTIgMCAxMCAwek04IDE1bC01LTUgMS40MS0xLjQxTDggMTIuMTdsNy41OS03LjU5TDE3IDZsLTkgOXonIGZpbGw9JyMyNkJDNEUnLz4KCTwvZz4KPC9zdmc+Cg=="/> Removed from History</div>'});
825}
826
827function PT_DeleteSaved(id) {
828  if (!id) {
829    return false;
830  }
831  $('#video-' + id).slideUp('200', function () {
832    $(this).remove();
833  });
834  $.post('https://www.nectarbrazil.com/aj/delete-saved', {id: id});
835}
836
837function PT_AddToList(video_id){
838  if (!video_id) {
839    return false;
840  }
841
842  var name = '';
843  var desc = '';
844  var id   = video_id;
845
846  $.ajax({
847    url: 'https://www.nectarbrazil.com/aj/lists',
848    type: 'GET',
849    dataType: 'json',
850    data: {type: 'list',a:'add',id:id},
851  })
852  .done(function(data) {
853    if (data.status == 200) {
854      swal({
855        title: "",
856        type: "",
857        html:data.html,
858        showCancelButton: true,
859        cancelButtonText: "Close",
860        customClass: 'sweetalert-lg pt_add_to_list_vid',
861        confirmButtonText:'Create new'
862      }).then(function(){
863          PT_NewList();
864        },function(){
865      });
866    }
867    else{
868      swal(
869        'Error!',
870        'Something went wrong.Please try again later!',
871        'error'
872      );
873    }
874  })
875  .fail(function() {
876    console.log("error");
877  })
878  .always(function() {
879    console.log("complete");
880  });
881}
882
883function PT_ReportVideo(video_id,self){
884  if (!video_id || !self) { return false;}
885
886    var message = "";
887    self = $(self);
888    if (self.attr('data-rep') == 1) {
889      swal({
890        title: 'Report this video',
891        html: $('<form>').add($('<p>',{
892          text:"Please write a summary of what this video was about",
893          class:'report-message-label'
894        })).add($('<textarea>',{
895          id:'report-message',
896          rows: 4,
897          placeholder:'Message'
898        })),
899        showCancelButton: true,
900        confirmButtonText: 'Submit',
901        cancelButtonText: 'Cancel',
902        customClass:'report-video-popup',
903        animation: false,
904        preConfirm: function(name){
905          return new Promise(function(resolve,reject){
906              message = $('#report-message').val();
907              if (message.length < 1) {
908                swal.showValidationError(
909                  'Please check the details'
910                );
911                reject();
912              }
913              else{
914                resolve();
915              }
916          });
917        },
918        allowOutsideClick: false
919      }).then(function(){
920        $.ajax({
921          url: 'https://www.nectarbrazil.com/aj/report/video/report',
922          type: 'POST',
923          dataType: 'json',
924          data: {id: video_id,text:message},
925        })
926        .done(function(data) {
927          if (data.status == 200) {
928            swal({
929              title: 'Thank you',
930              html: 'We have received your report!'
931            });
932            self.find('span').text('Cancel Report');
933            self.attr('data-rep', '0');
934            self.addClass('active');
935          }
936          else if(data.status == 304){
937            self.find('span').text('Report');
938            self.attr('data-rep', '1');
939            self.removeClass('active');
940            notif({
941              msg: "Your report has been canceled!",
942              type: "default",
943              fade:0,
944              timeout:1500
945            });
946          }
947        });
948      });
949    }
950    else{
951      $.ajax({
952        url: 'https://www.nectarbrazil.com/aj/report/video/cancel',
953        type: 'POST',
954        dataType: 'json',
955        data: {id: video_id},
956      })
957      .done(function(data) {
958        if(data.status == 304){
959          self.find('span').text('Report');
960          self.attr('data-rep', '1');
961          self.removeClass('active');
962          notif({
963            msg: "Your report has been canceled!",
964            type: "default",
965            fade:0,
966            timeout:1500
967          });
968        }
969      });
970    }  
971}
972
973function PT_ReportCopyVideo(video_id,self){
974  if (!video_id || !self) { return false;}
975  var text1 = "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";
976  var text2 = "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.";
977  var error = "Please select the checkboxs below if you own the copyright.";
978  swal({
979        title: 'Create DMCA take down notice',
980        html: $('<form>').add($('<p>',{
981          text:"Please describe your request carefully and as much as you can, note that false DMCA requests can lead to account termination.",
982          class:'report-message-label'
983        })).add($('<textarea>',{
984          id:'report-message-copy',
985          rows: 4,
986          placeholder:'Message'
987        })).add($('<div class="custom-control custom-radio checkbox checkbox-primary"><input type="checkbox" id="confirm_1" name="confirm_1" class="custom-control-input"><label class="custom-control-label" for="confirm_1">'+text1+'</label></div><div class="custom-control custom-radio checkbox checkbox-primary"><input type="checkbox" id="confirm_2" name="confirm_2" class="custom-control-input"><label class="custom-control-label" for="confirm_2">'+text2+'</label></div>')),
988        showCancelButton: true,
989        confirmButtonText: 'Submit',
990        cancelButtonText: 'Cancel',
991        customClass:'report-video-popup pt_rep_copy_vid',
992        animation: false,
993        preConfirm: function(name){
994          return new Promise(function(resolve,reject){
995              message = $('#report-message-copy').val();
996              if (message.length < 1) {
997                swal.showValidationError(
998                  'Please check the details'
999                );
1000                reject();
1001              }
1002              else{
1003                if ($('#confirm_1').is(':not(:checked)')) {
1004                  swal.showValidationError(
1005                    error
1006                  );
1007                  reject();
1008                }
1009                else{
1010                  if ($('#confirm_2').is(':not(:checked)')) {
1011                    swal.showValidationError(
1012                      error
1013                    );
1014                    reject();
1015                  }
1016                  else{
1017                    resolve();
1018                  }
1019                }
1020              }
1021          });
1022        },
1023        allowOutsideClick: false
1024      }).then(function(){
1025        $.ajax({
1026          url: 'https://www.nectarbrazil.com/aj/main/copy_report?hash=' + $('.main_session').val(),
1027          type: 'POST',
1028          dataType: 'json',
1029          data: {id: video_id,text:message},
1030        })
1031        .done(function(data) {
1032          if (data.status == 200) {
1033            swal({
1034              title: 'Thank you',
1035              html: 'We have received your report!'
1036            });
1037          }
1038          else if(data.status == 304){
1039            self.find('span').text('Report');
1040            self.attr('data-rep', '1');
1041            self.removeClass('active');
1042            notif({
1043              msg: "Your report has been canceled!",
1044              type: "default",
1045              fade:0,
1046              timeout:1500
1047            });
1048          }
1049        });
1050      });
1051
1052}
1053function PT_PLVToggle(id,self){
1054  if (!id || !self) {
1055    return false;
1056  }
1057  var self = $(self);
1058  var list = self.attr('id');
1059  $.ajax({
1060    url: 'https://www.nectarbrazil.com/aj/lists',
1061    type: 'GET',
1062    dataType: 'json',
1063    data: {type: 'list',a:'tg',id:id,list:list},
1064  })
1065  .done(function(data) {
1066    if (data.status == 200 && data.code == 1) {
1067      self.find('button').html('<i class="fa fa-check-square-o"></i>');
1068      notif({
1069        msg: "Added to " + data.name,
1070        type: "default",
1071        fade:0,
1072        timeout:1500
1073      });
1074    }
1075
1076    else if(data.status == 200 && data.code == 0){
1077      self.find('button').html('<i class="fa fa-square-o"></i>');
1078      notif({
1079        msg: "Removed from " + data.name,
1080        type: "default",
1081        fade:0,
1082        timeout:1500
1083      });
1084    }
1085
1086    else{
1087      swal(
1088        'Error!',
1089        'Something went wrong.Please try again later!',
1090        'error'
1091      );
1092    }
1093  })
1094  .fail(function() {
1095    console.log("error");
1096  })  
1097}
1098
1099function PT_WLToggle(id,self){
1100  if (!id || !self) {
1101    return false;
1102  }
1103  var self = $(self);
1104  $.ajax({
1105    url: 'https://www.nectarbrazil.com/aj/lists',
1106    type: 'GET',
1107    dataType: 'json',
1108    data: {type: 'list',a:'wl-tg',id:id},
1109  })
1110  .done(function(data) {
1111    if (data.status == 200 && data.code == 1) {
1112      self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="green" d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" /></svg>');
1113      notif({
1114        msg: "Added to \"Watch later\"",
1115        type: "default",
1116        fade:0,
1117        timeout:1500
1118      });
1119    }
1120
1121    else if(data.status == 200 && data.code == 0){
1122      self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7,10A2,2 0 0,1 9,12A2,2 0 0,1 7,14A2,2 0 0,1 5,12A2,2 0 0,1 7,10M17,7A5,5 0 0,1 22,12A5,5 0 0,1 17,17H7A5,5 0 0,1 2,12A5,5 0 0,1 7,7H17M7,9A3,3 0 0,0 4,12A3,3 0 0,0 7,15H17A3,3 0 0,0 20,12A3,3 0 0,0 17,9H7Z" /></svg>');
1123      notif({
1124        msg: "Removed from \"Watch later\"",
1125        type: "default",
1126        fade:0,
1127        timeout:1500
1128      });
1129    }
1130
1131    else{
1132      swal(
1133        'Error!',
1134        'Something went wrong.Please try again later!',
1135        'error'
1136      );
1137    }
1138  })
1139  .fail(function() {
1140    console.log("error");
1141  })  
1142}
1143
1144function PT_NewList(){
1145  swal({
1146    title: '',
1147    type: "",
1148    html:'<form class="form pt_forms create-new-list"><div class="create-new-list-head"><p>Create new playlist</p></div><div class="sa-create-list-alert"></div><div class="form-group"><input type="text" class="form-control" placeholder="Playlist name 0 / 30"></div><div class="form-group"><select class="form-control"><option value="1" selected="selected">Privacy</option><option value="1">Public</option><option value="0">Private</option></select></div><div class="form-group"><textarea name="" id="" rows="3" class="form-control optional-field" placeholder="Description.."></textarea></div></form>',
1149    showCancelButton: true,
1150    allowOutsideClick:false,
1151    confirmButtonText:'Create',
1152    cancelButtonText:'Cancel',
1153  customClass: 'pt_add_to_list_vid',
1154    preConfirm: function (email) {
1155    return new Promise(function (resolve, reject) {
1156        name     = $(".create-new-list").find('input').val();
1157        desc     = $(".create-new-list").find('textarea').val();
1158        privacy  = $(".create-new-list").find('select').val();
1159        setTimeout(function() {
1160          if (name == '') {
1161            reject('Play list name is required.');
1162          }
1163          else if(privacy < 0 || privacy > 1){
1164            reject('Please check the details');
1165          }
1166          else {
1167            resolve();
1168          }
1169        }, 100)
1170      })
1171    }
1172  }).then(function(){
1173    if (!name){ return;}
1174    $.ajax({
1175      url: 'https://www.nectarbrazil.com/aj/lists?type=list&a=new',
1176      type: 'POST',
1177      dataType: 'json',
1178      data: {name:name,desc:desc,pr:privacy},
1179    })
1180    .done(function(data) {
1181      if (data.status == 200) {
1182        swal({
1183          title:name,
1184          text:"PlayList was successful added!",
1185          type:'success'
1186        });
1187
1188        PT_Delay(function(){
1189          swal.close();
1190        },2000);
1191      }
1192      else if(data.status == 200){
1193        swal(
1194          'Error!',
1195          'Something went wrong.Please try again later!',
1196          'error'
1197        );
1198      }
1199    })
1200    .fail(function() {
1201      swal.close();
1202      console.log("error");
1203    })
1204  },
1205  function(){
1206    //Error
1207  })
1208}
1209
1210function PT_EditList(id){
1211  if (!id) {
1212    return false;
1213  }
1214  $.ajax({
1215    url: 'https://www.nectarbrazil.com/aj/lists',
1216    type: 'GET',
1217    dataType: 'json',
1218    data: {type: 'list',a:'edit',id:id},
1219  })
1220  .done(function(data) {
1221    if (data.status == 200) {
1222      swal({
1223        title: '',
1224        type: "",
1225        html:data.html,
1226        showCancelButton: true,
1227        allowOutsideClick:false,
1228        confirmButtonText:'<i class="fa fa-floppy-o"></i> Save',
1229        cancelButtonText:'Cancel',
1230        preConfirm: function (email) {
1231        return new Promise(function (resolve, reject) {
1232            name     = $(".edit-list-form").find('input').val();
1233            desc     = $(".edit-list-form").find('textarea').val();
1234            privacy  = $(".edit-list-form").find('select').val();
1235            setTimeout(function() {
1236              if (name == '') {
1237                reject('');
1238              }
1239              else if(privacy < 0 || privacy > 1){
1240                reject('Please check the details');
1241              }
1242              else {
1243                resolve();
1244              }
1245            }, 100)
1246          })
1247        }
1248      }).then(function(){
1249        if (!name){ return;}
1250        $.ajax({
1251          url: 'https://www.nectarbrazil.com/aj/lists?type=list&a=update',
1252          type: 'POST',
1253          dataType: 'json',
1254          data: {name:name,desc:desc,pr:privacy,id:id},
1255        })
1256        .done(function(data) {
1257          if (data.status == 200) {
1258            swal({
1259              title:name,
1260              text:"PlayList was successful saved!",
1261              type:'success'
1262            });
1263
1264            PT_Delay(function(){
1265              swal.close();
1266            },2000);
1267          }
1268          else if(data.status == 200){
1269            swal(
1270              'Error!',
1271              'Something went wrong.Please try again later!',
1272              'error'
1273            );
1274          }
1275        })
1276        .fail(function() {
1277          swal.close();
1278          console.log("error");
1279        })
1280      },
1281      function(){
1282        //Error
1283      })
1284    }
1285  })
1286  .fail(function() {
1287    console.log("error");
1288  })
1289}
1290
1291function PT_DeleteList(id){
1292  if (!id) { return false;}
1293  swal({
1294    title: 'Confirmation!',
1295    text: "Are you sure you want to delete this PlayList?",
1296    type: 'warning',
1297    showCancelButton: true,
1298    confirmButtonColor: '#3085d6',
1299    cancelButtonColor: '#d33',
1300    confirmButtonText: 'Yes,delete it!'
1301  }).then(function(){
1302    $.ajax({
1303      url: 'https://www.nectarbrazil.com/aj/lists',
1304      type: 'GET',
1305      dataType: 'json',
1306      data: {type: 'list',a:'delist',id:id},
1307    })
1308    .done(function(data) {
1309      if (data.status == 200) {
1310        $("[data-playlist='"+id+"']").slideUp(function(){
1311          $(this).remove();
1312        });
1313        
1314        swal({
1315          title:"Deleted!",
1316          text:data.name +  " has been deleted!",
1317          type:"success"
1318        });
1319      }
1320      else{
1321        swal(
1322          'Error!',
1323          'Something went wrong.Please try again later!',
1324          'error'
1325        );
1326      }
1327    })
1328    .fail(function() {
1329      console.log("error");
1330    })
1331    
1332  })
1333}
1334
1335function PT_DelFromList(list_id,video_id){
1336  if (!list_id || !video_id) {
1337    return false;
1338  }
1339
1340  $.ajax({
1341    url: 'https://www.nectarbrazil.com/aj/lists',
1342    type: 'GET',
1343    dataType: 'json',
1344    data: {type: 'list',a:'delvid',video_id:video_id,list_id:list_id},
1345  })
1346  .done(function(data) {
1347    if (data.status == 200) {
1348      $("[data-video-id='"+video_id+"']").slideUp(function(){
1349        $(this).remove();
1350      })
1351    }
1352    else{
1353      swal(
1354        'Error!',
1355        'Something went wrong.Please try again later!',
1356        'error'
1357      );
1358    }
1359  })
1360  .fail(function() {
1361    swal(
1362      'Error!',
1363      'Something went wrong.Please try again later!',
1364      'error'
1365    );
1366  })
1367}
1368
1369function PT_RemoveFromWL(video_id){
1370  if (!video_id) {
1371    return false;
1372  }
1373
1374  $.ajax({
1375    url: 'https://www.nectarbrazil.com/aj/lists',
1376    type: 'GET',
1377    dataType: 'json',
1378    data: {type: 'list',a:'delwl',video_id:video_id},
1379  })
1380  .done(function(data) {
1381    if (data.status == 200) {
1382      $("[data-video-id='"+video_id+"']").slideUp(function(){
1383        $(this).remove();
1384      })
1385    }
1386    else{
1387      swal(
1388        'Error!',
1389        'Something went wrong.Please try again later!',
1390        'error'
1391      );
1392    }
1393  })
1394  .fail(function() {
1395    swal(
1396      'Error!',
1397      'Something went wrong.Please try again later!',
1398      'error'
1399    );
1400  })
1401}
1402
1403function PT_RVReply(text,comm_id,event,video_id){
1404  
1405  if (!text || !comm_id || !event || !video_id) {
1406    return false;
1407  }
1408  else if(event.keyCode == 13 && event.shiftKey == 0){
1409    var reply_id = 0;
1410    if($("#comm-reply-"+comm_id).attr('data-reply-id')){
1411      reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id');
1412    }
1413
1414    $.ajax({
1415      url: "https://www.nectarbrazil.com/aj/add-reply/video",
1416      type: 'POST',
1417      dataType: 'json',
1418      data: {text:text,id:comm_id,video_id:video_id,reply:reply_id},
1419    })
1420    .done(function(data) {
1421      if (data.status == 200) {
1422        $("#pt-comment-replies-cont-" + comm_id).append(data.html)
1423        $("#comm-reply-"+comm_id).find('input').val('').blur();
1424
1425      }
1426      $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden');
1427    })
1428    .fail(function() {
1429      alert('Sorry, something went wrong: Please try again later ...');
1430    })
1431  }
1432}
1433
1434function PT_RPReply(text,comm_id,event,post_id){
1435  
1436  if (!text || !comm_id || !event || !post_id) {
1437    return false;
1438  }
1439  else if(event.keyCode == 13 && event.shiftKey == 0){
1440    var reply_id = 0;
1441    if($("#comm-reply-"+comm_id).attr('data-reply-id')){
1442      reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id');
1443    }
1444
1445    $.ajax({
1446      url: "https://www.nectarbrazil.com/aj/add-reply/article",
1447      type: 'POST',
1448      dataType: 'json',
1449      data: {text:text,id:comm_id,post_id:post_id,reply:reply_id},
1450    })
1451    .done(function(data) {
1452      if (data.status == 200) {
1453        $("#pt-comment-replies-cont-" + comm_id).append(data.html)
1454        $("#comm-reply-"+comm_id).find('input').val('').blur();
1455      }
1456      $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden');
1457    })
1458    .fail(function() {
1459      alert('Sorry, something went wrong: Please try again later ...');
1460    })
1461  }
1462}
1463function PT_RAReply(text,comm_id,event,post_id){
1464  
1465  if (!text || !comm_id || !event || !post_id) {
1466    return false;
1467  }
1468  else if(event.keyCode == 13 && event.shiftKey == 0){
1469    var reply_id = 0;
1470    if($("#comm-reply-"+comm_id).attr('data-reply-id')){
1471      reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id');
1472    }
1473
1474    $.ajax({
1475      url: "https://www.nectarbrazil.com/aj/add-reply/activity",
1476      type: 'POST',
1477      dataType: 'json',
1478      data: {text:text,id:comm_id,post_id:post_id,reply:reply_id},
1479    })
1480    .done(function(data) {
1481      if (data.status == 200) {
1482        $("#pt-comment-replies-cont-" + comm_id).append(data.html)
1483        $("#comm-reply-"+comm_id).find('input').val('').blur();
1484      }
1485      $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden');
1486    })
1487    .fail(function() {
1488      alert('Sorry, something went wrong: Please try again later ...');
1489    })
1490  }
1491}
1492function PT_DeleteReply(id) {
1493  if (!id) { return false; }
1494  if (!confirm('Are you sure you want to delete your comment?')) { return false; }
1495  $('#reply-' + id).slideUp('fast');
1496  $.post('https://www.nectarbrazil.com/aj/delete-reply', {id: id});
1497}
1498
1499function PT_LikeComments(self,type,comment_id){
1500  if (!self || (type != 'up' && type != 'down') || !comment_id){
1501    return false;
1502  }
1503
1504  else if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
1505    window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
1506    return false;
1507  }
1508
1509  var self = $(self);
1510  $.ajax({
1511    url: 'https://www.nectarbrazil.com/aj/comment-like-system/' + type,
1512    type: 'POST',
1513    dataType: 'json',
1514    data: {id:comment_id}
1515  })
1516  .done(function(data) {
1517    if (data.status == 200 && type == 'up' && data.type == 'added_like'){
1518      self.find('span').text((data.up));
1519      $('[data-comment-dislikes="'+comment_id+'"]').find('span').text((data.down));
1520      self.find('svg.feather').addClass('active');
1521      self.siblings().find('svg.feather').removeClass('active');
1522      
1523    }
1524
1525    else if (data.status == 200 && type == 'up' && data.type == 'deleted_like'){
1526      self.find('span').text((data.up));
1527      $('[data-comment-dislikes="'+comment_id+'"]').find('span').text((data.down));
1528      self.find('svg.feather').removeClass('active');
1529      self.siblings().find('svg.feather').removeClass('active');
1530    }
1531
1532    else if (data.status == 200 && type == 'down' && data.type == 'added_dislike'){
1533      self.find('span').text((data.down));
1534      self.find('svg.feather').addClass('active');
1535      $('[data-comment-likes="'+comment_id+'"]').find('span').text((data.up));
1536      self.siblings().find('svg.feather').removeClass('active');
1537    }
1538
1539    else if (data.status == 200 && type == 'down' && data.type == 'deleted_dislike'){
1540      self.find('span').text((data.down));
1541      self.find('svg.feather').removeClass('active');
1542      $('[data-comment-likes="'+comment_id+'"]').find('span').text((data.up));
1543      self.siblings().find('svg.feather').removeClass('active');
1544    }
1545
1546    else{
1547      swal(
1548         'Error!',
1549         'Something went wrong.Please try again later!',
1550         'error'
1551       );
1552    }
1553  })
1554  .fail(function() {
1555    console.log("error");
1556  })
1557}
1558
1559function PT_LikeReplies(self,type,reply_id){
1560  if (!self || (type != 'up' && type != 'down') || !reply_id){
1561    return false;
1562  }
1563
1564  else if (!$('#main-container').attr('data-logged') && $('#main-url').val()) {
1565    window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val();
1566    return false;
1567  }
1568
1569  var self = $(self);
1570  $.ajax({
1571    url: 'https://www.nectarbrazil.com/aj/reply-like-system/' + type,
1572    type: 'POST',
1573    dataType: 'json',
1574    data: {id:reply_id}
1575  })
1576  .done(function(data) {
1577    if (data.status == 200 && type == 'up' && data.type == 'added_like'){
1578      self.find('span').text((data.up));
1579      $('[data-reply-dislikes="'+reply_id+'"]').find('span').text((data.down));
1580      self.find('svg.feather').addClass('active');
1581      self.siblings().find('svg.feather').removeClass('active');
1582      
1583    }
1584
1585    else if (data.status == 200 && type == 'up' && data.type == 'deleted_like'){
1586      self.find('span').text((data.up));
1587      $('[data-reply-dislikes="'+reply_id+'"]').find('span').text((data.down));
1588      self.find('svg.feather').removeClass('active');
1589      self.siblings().find('svg.feather').removeClass('active');
1590    }
1591
1592    else if (data.status == 200 && type == 'down' && data.type == 'added_dislike'){
1593      self.find('span').text((data.down));
1594      self.find('svg.feather').addClass('active');
1595      $('[data-reply-likes="'+reply_id+'"]').find('span').text((data.up));
1596      self.siblings().find('svg.feather').removeClass('active');
1597    }
1598
1599    else if (data.status == 200 && type == 'down' && data.type == 'deleted_dislike'){
1600      self.find('span').text((data.down));
1601      self.find('svg.feather').removeClass('active');
1602      $('[data-reply-likes="'+reply_id+'"]').find('span').text((data.up));
1603      self.siblings().find('svg.feather').removeClass('active');
1604    }
1605
1606    else{
1607      swal(
1608         'Error!',
1609         'Something went wrong.Please try again later!',
1610         'error'
1611       );
1612    }
1613  })
1614  .fail(function() {
1615    console.log("error");
1616  })
1617}
1618
1619function pt_hide_announcement(id){
1620  if (!id) { return false; }
1621  $("#announcement-"+id).slideUp('fast',function(){
1622    $(this).remove();
1623    $.post('https://www.nectarbrazil.com/aj/main/hide-announcement', {id: id}, function(data, textStatus, xhr) { /* pass */ });
1624  })  
1625}
1626
1627function pay_to_see(video_id,price,type = 'buy') {
1628  PayUsingWallet(type,'show',video_id,price);
1629  return false;
1630  
1631  $('.p_t_show_btn_').attr('disabled', 'true');
1632  
1633  if (type == 'rent') {
1634    $('.p_t_show_btn_rent').text("Please wait..");
1635    $('.p_t_show_btn_rent').text("Rent R$"+price);
1636    PT_ShowMethods('rent',video_id,price);
1637  }
1638  else{
1639    $('.p_t_show_btn_buy').text("Please wait..");
1640    $('.p_t_show_btn_buy').text("Purchase R$"+price);
1641    PT_ShowMethods('pay',video_id,price);
1642  }
1643  
1644  $('.p_t_show_btn_').removeAttr('disabled');
1645}
1646
1647function PT_ShowMethods(type,video_id = 0,price = 0,user_id = 0) {
1648  $.post('https://www.nectarbrazil.com/aj/wallet/get_modal',{type:type,video_id:video_id,price:price,user_id:user_id}, function(data, textStatus, xhr) {
1649    if (data.status == 200) {
1650      $('.payment_method').html(data.html);
1651      $('#pay-go-pro').modal({
1652             show: true
1653            });
1654    }
1655    if (type == 'subscribe') {
1656      $('.subscribe-id-'+user_id).find('span').text("Subscribe");
1657      $('.subscribe-id-'+user_id).removeAttr('disabled');
1658    }
1659  });
1660}
1661
1662
1663  function PT_PurchasePkg(pkg,self,video_id,price,user_id = 0){
1664    if (!pkg || !self) {
1665      return false;
1666    }
1667
1668    $(self).text("Please wait..").attr('disabled', 'true');
1669    if (pkg == 'wallet') {
1670        amount = $("#wallet_amount").val();
1671
1672      $.ajax({
1673        url: 'https://www.nectarbrazil.com/aj/wallet/replenish',
1674        type: 'POST',
1675        dataType: 'json',
1676        data: {amount:amount},
1677      })
1678      .done(function(data) {
1679        if (data.status == 200) {
1680          window.location.href = data.url;
1681        }
1682        else{
1683          swal({
1684            title:"Error!",
1685            text:"Something went wrong Please try again later!",
1686            type:"error"
1687          });
1688        }
1689      })
1690      .fail(function() {
1691        swal({
1692          title:"Error!",
1693          text:"Something went wrong Please try again later!",
1694          type:"error"
1695        });
1696      });
1697    }
1698  }
1699  function pay_using_iyzipay(pkg,self,video_id,price,user_id = 0) {
1700    $('.btn-iyzipay').attr('disabled','true');
1701    $('.btn-iyzipay').find('span').text("Please wait..");
1702    pay_type = '';
1703    if (pkg == 'pro') {
1704      path = '/go_pro/iyzipay';
1705    }
1706    else if (pkg == 'wallet') {
1707      path = '/wallet/iyzipay';
1708      price = $("#wallet_amount").val();
1709    }
1710    else if (pkg == 'pay') {
1711      path = '/go_pro/iyzipay_pay_to_see';
1712    }
1713    else if (pkg == 'rent') {
1714      path = '/go_pro/iyzipay_pay_to_see';
1715      pay_type = 'rent';
1716    }
1717    else if (pkg == 'subscribe') {
1718      path = '/go_pro/subscribe';
1719    }
1720
1721    $.post('https://www.nectarbrazil.com/aj'+path, {video_id:video_id,amount:price,user_id:user_id,pay_type:pay_type,type:'iyzipay'}, function(data) {
1722      if (data.status == 200) {
1723        $('#iyzipay_content').html('');
1724        $('#iyzipay_content').html(data.html);
1725      } else {
1726        $('.btn-iyzipay').attr('disabled', false).html("Iyzipay App not set yet.");
1727      }
1728      $('.btn-iyzipay').removeAttr('disabled');
1729      $('.btn-iyzipay').find('span').text("Iyzipay");
1730    });
1731  }
1732  function pay_using_paysera(pkg,self,video_id,price,user_id = 0) {
1733    $('.btn-paysera').attr('disabled','true');
1734    $('.btn-paysera').find('span').text("Please wait..");
1735    pay_type = '';
1736    if (pkg == 'pro') {
1737      path = '/go_pro/paysera';
1738    }
1739    else if (pkg == 'wallet') {
1740      path = '/wallet/paysera';
1741      price = $("#wallet_amount").val();
1742    }
1743    else if (pkg == 'pay') {
1744      path = '/go_pro/paysera_pay_to_see';
1745    }
1746    else if (pkg == 'rent') {
1747      path = '/go_pro/paysera_pay_to_see';
1748      pay_type = 'rent';
1749    }
1750    else if (pkg == 'subscribe') {
1751      path = '/go_pro/subscribe';
1752    }
1753
1754    $.post('https://www.nectarbrazil.com/aj'+path, {video_id:video_id,amount:price * 100,user_id:user_id,pay_type:pay_type,type:'paysera'}, function(data) {
1755      if (data.status == 200) {
1756        window.location.href = data.url;
1757      } else {
1758        $('.btn-paysera').attr('disabled', false).html("Paysera App not set yet.");
1759      }
1760      $('.btn-paysera').removeAttr('disabled');
1761      $('.btn-paysera').find('span').text("Paysera");
1762    });
1763  }
1764  function pay_using_razorpay(pkg,self,video_id,price,user_id = 0) {
1765    $('#razorpay_type').val(pkg);
1766    $('#razorpay_video_id').val(video_id);
1767    $('#razorpay_price').val(price);
1768    $('#razorpay_user_id').val(user_id);
1769    $("#razorpay_alert").html('');
1770    $('#pay-go-pro').modal('hide');
1771    $('#razorpay_modal_box').modal({
1772          show: true
1773      });
1774  }
1775  function SignatureRazorpay() {
1776    $('#razorpay_button').html("Please wait..");
1777    $('#razorpay_button').attr('disabled','true');
1778
1779      var merchant_order_id = "111111";
1780      var card_holder_name_id = $('#razorpay_name').val();
1781      var email = $('#razorpay_email').val();
1782      var phone = $('#razorpay_phone').val();
1783      var currency_code_id = "INR";
1784
1785      if (!email || !phone || !card_holder_name_id) {
1786        $('#razorpay_alert').html("<div class='alert alert-danger'>Please check the details</div>");
1787        $('#razorpay_button').html("Purchase");
1788        $('#razorpay_button').removeAttr('disabled');
1789        setTimeout(function () {
1790          $('#razorpay_alert').html("");
1791        },3000);
1792      return false;
1793      }
1794
1795      video_id = $('#razorpay_video_id').val();
1796      amount = $('#razorpay_price').val();
1797      user_id = $('#razorpay_user_id').val();
1798      pay_type = '';
1799      pkg = $('#razorpay_type').val();
1800      if (pkg == 'pro') {
1801        path = '/go_pro/razorpay';
1802      }
1803      else if (pkg == 'wallet') {
1804        path = '/wallet/razorpay';
1805        amount = $("#wallet_amount").val();
1806      }
1807      else if (pkg == 'pay') {
1808        path = '/go_pro/razorpay_pay_to_see';
1809      }
1810      else if (pkg == 'rent') {
1811        path = '/go_pro/razorpay_pay_to_see';
1812        pay_type = 'rent';
1813      }
1814      else if (pkg == 'subscribe') {
1815        path = '/go_pro/subscribe_razorpay';
1816      }
1817      var merchant_total = Number(amount) * 100;
1818      
1819      var razorpay_options = {
1820          key: "",
1821          amount: merchant_total,
1822          name: "Nectar Brazil",
1823          description: "",
1824          image: 'https://www.nectarbrazil.com/themes/mcf/img/logo-light.png?cache=420',
1825          netbanking: true,
1826          currency: currency_code_id,
1827          prefill: {
1828              name: card_holder_name_id,
1829              email: email,
1830              contact: phone
1831          },
1832          notes: {
1833              soolegal_order_id: merchant_order_id,
1834          },
1835          handler: function (transaction) {
1836            $.post('https://www.nectarbrazil.com/aj'+path, {payment_id: transaction.razorpay_payment_id, order_id: merchant_order_id, card_holder_name_id: card_holder_name_id,  merchant_amount: merchant_total, currency: currency_code_id,video_id:video_id,user_id:user_id,pay_type:pay_type,type:'razorpay',name:name,phone:phone}, function(data) {
1837              if (data.status == 200) {
1838                window.location = data.url;
1839              } else {
1840                $('#razorpay_alert').html("<div class='alert alert-danger'>"+data.message+"</div>");
1841                setTimeout(function () {
1842                  $('#razorpay_alert').html("");
1843                },3000);
1844              }
1845              $('#razorpay_button').html("Purchase");
1846              $('#razorpay_button').removeAttr('disabled');
1847            });
1848          },
1849          "modal": {
1850              "ondismiss": function () {
1851                  // code here
1852              }
1853          }
1854      };
1855      // obj        
1856      var objrzpv1 = new Razorpay(razorpay_options);
1857      objrzpv1.open();
1858  }
1859  function pay_using_cashfree(pkg,self,video_id,price,user_id = 0) {
1860    $('#cashfree_type').val(pkg);
1861    $('#cashfree_video_id').val(video_id);
1862    $('#cashfree_price').val(price);
1863    $('#cashfree_user_id').val(user_id);
1864    $("#cashfree_alert").html('');
1865    $('#pay-go-pro').modal('hide');
1866    $('#cashfree_modal_box').modal({
1867          show: true
1868      });
1869  }
1870  function InitializeCashfree() {
1871    $('#cashfree_button').html("Please wait..");
1872    $('#cashfree_button').attr('disabled','true');
1873    name = $('#cashfree_name').val();
1874    phone = $('#cashfree_phone').val();
1875    email = $('#cashfree_email').val();
1876    video_id = $('#cashfree_video_id').val();
1877    amount = $('#cashfree_price').val();
1878    user_id = $('#cashfree_user_id').val();
1879    cashfree_card_number = $('#cashfree_card_number').val();
1880    cashfree_card_expiry_mm = $('#cashfree_card_expiry_mm').val();
1881    cashfree_card_expiry_yy = $('#cashfree_card_expiry_yy').val();
1882    cashfree_card_cvv = $('#cashfree_card_cvv').val();
1883    pay_type = '';
1884    pkg = $('#cashfree_type').val();
1885    if (pkg == 'pro') {
1886      path = '/go_pro/cashfree';
1887    }
1888    else if (pkg == 'wallet') {
1889      path = '/wallet/cashfree';
1890      amount = $("#wallet_amount").val();
1891    }
1892    else if (pkg == 'pay') {
1893      path = '/go_pro/cashfree_pay_to_see';
1894    }
1895    else if (pkg == 'rent') {
1896      path = '/go_pro/cashfree_pay_to_see';
1897      pay_type = 'rent';
1898    }
1899    else if (pkg == 'subscribe') {
1900      path = '/go_pro/subscribe';
1901    }
1902    $.post('https://www.nectarbrazil.com/aj'+path, {email:email,video_id:video_id,amount:amount,user_id:user_id,pay_type:pay_type,type:'cashfree',name:name,phone:phone,cashfree_card_number:cashfree_card_number,cashfree_card_expiry_mm:cashfree_card_expiry_mm,cashfree_card_expiry_yy:cashfree_card_expiry_yy,cashfree_card_cvv:cashfree_card_cvv}, function(data) {
1903      if (data.status == 200) {
1904        window.location.href = data.url;
1905      } else {
1906        $('#cashfree_alert').html("<div class='alert alert-danger'>"+data.message+"</div>");
1907        setTimeout(function () {
1908          $('#cashfree_alert').html("");
1909        },3000);
1910      }
1911      $('#cashfree_button').html("Purchase");
1912      $('#cashfree_button').removeAttr('disabled');
1913    });
1914  }
1915  function pay_using_paystack(pkg,self,video_id,price,user_id = 0) {
1916    $('#paystack_type').val(pkg);
1917    $('#paystack_video_id').val(video_id);
1918    $('#paystack_price').val(price);
1919    $('#paystack_user_id').val(user_id);
1920    $("#paystack_wallet_alert").html('');
1921    $('#pay-go-pro').modal('hide');
1922    $('#paystack_wallet_modal').modal({
1923          show: true
1924      });
1925  }
1926  function InitializeWalletPaystack() {
1927    $('#paystack_btn').html("Please wait..");
1928      $('#paystack_btn').attr('disabled','true');
1929    email = $('#paystack_wallet_email').val();
1930    video_id = $('#paystack_video_id').val();
1931    amount = $('#paystack_price').val();
1932    user_id = $('#paystack_user_id').val();
1933    pay_type = '';
1934    pkg = $('#paystack_type').val();
1935    if (pkg == 'pro') {
1936      path = '/go_pro/paystack';
1937    }
1938    else if (pkg == 'wallet') {
1939      path = '/wallet/paystack';
1940      amount = $("#wallet_amount").val();
1941    }
1942    else if (pkg == 'pay') {
1943      path = '/go_pro/paystack_pay_to_see';
1944    }
1945    else if (pkg == 'rent') {
1946      path = '/go_pro/paystack_pay_to_see';
1947      pay_type = 'rent';
1948    }
1949    else if (pkg == 'subscribe') {
1950      path = '/go_pro/subscribe';
1951    }
1952    $.post('https://www.nectarbrazil.com/aj'+path, {email:email,video_id:video_id,amount:amount,user_id:user_id,pay_type:pay_type,type:'paystack'}, function(data) {
1953      if (data.status == 200) {
1954        window.location.href = data.url;
1955      } else {
1956        $('#paystack_wallet_alert').html("<div class='alert alert-danger'>"+data.message+"</div>");
1957        setTimeout(function () {
1958          $('#paystack_wallet_alert').html("");
1959        },3000);
1960      }
1961      $('#paystack_btn').html("Purchase");
1962        $('#paystack_btn').removeAttr('disabled');
1963    });
1964  }
1965
1966  function PT_OpenCheckOut(pkg,self,video_id = 0,price = 0,user_id = 0){
1967    if (!pkg || !self) {
1968      return false;
1969    }
1970    if (video_id) {
1971      $('#checkout_video_'+video_id).val(video_id);
1972    }
1973    if (price) {
1974      $('#checkout_price_'+video_id).val(price);
1975    }
1976    $('#checkout_user_id').val(user_id);
1977
1978    $(self).text("Please wait..").attr('disabled', 'true');
1979
1980    $("#2checkout_alert").html('');
1981    $('#pay-go-pro').modal('hide');
1982      $('#2checkout_modal').modal({
1983            show: true
1984        });
1985      if (pkg == 'rent') {
1986        $('.checkout_pay_type').val('rent');
1987      }
1988      else{
1989        $('.checkout_pay_type').val('');
1990      }
1991  }
1992
1993
1994  function PT_PaySubscribe(user_id,self,type = '',price=0) {
1995    if (!user_id || !self) { return false; }
1996    var text = $(self).find('span').text();
1997    if (type == 'subscribe') {
1998      PayUsingWallet(type,'show',user_id,price);
1999      return;
2000      $(self).find('span').text("Please wait..");
2001      $(self).attr('disabled', 'true');
2002      PT_ShowMethods('subscribe',0,0,user_id);
2003    }
2004    else{
2005      var html = "<small>Are you sure you want to unsubscribe? This action can't be undo.</small>";
2006      swal({
2007        title: "",
2008        type: "",
2009        html:html,
2010        showCancelButton: true,
2011        cancelButtonText: "No",
2012        customClass: 'sweetalert-lg pt_add_to_list_vid',
2013        confirmButtonText:'Yes'
2014      }).then(function(){
2015          $(self).removeClass('btn-subscribed').addClass('btn-subscribe');
2016          $(self).find('span').text("Subscribe");
2017          $(self).find('svg').remove();
2018          $(self).prepend('<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-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>');
2019          $(self).attr('onclick', 'PT_PaySubscribe(' + user_id + ',this,"subscribe")');
2020          $.post('https://www.nectarbrazil.com/aj/subscribe', {user_id: user_id});
2021
2022        },function(){
2023      });
2024    }
2025    $(self).removeAttr('disabled');
2026    $(self).find('span').text(text);
2027  }
2028  
2029
2030function notifyUser(user_id,self) {
2031  $.post('https://www.nectarbrazil.com/aj/user/notify', {user_id:user_id}, function(data) {
2032    if (data.status == 200) {
2033      $(self).replaceWith(data.html);
2034    } else {
2035      Snackbar.show({text: '<div>'+ data.message +'</div>'});
2036    }
2037  });
2038}
2039
2040</script>
2040
2041      
2041<script type="text/javascript" src="https://www.nectarbrazil.com/themes/mcf/js/script.js?version=1-20012024-1"></script>
2041
2042      
2042<script src="https://www.nectarbrazil.com/themes/mcf/js/bootstrap-toggle.min.js?version=1-20012024-1"></script>
2042
2043      
2043<script src="https://www.nectarbrazil.com/themes/mcf/js/footer.js?version=1-20012024-1"></script>
2043
2044      <link rel="" ="">
2045      
2045<script>
2046         $(window).on("popstate", function (e) {
2047             location.reload();
2048         });
2049         $(document).ready(function() {
2050         $("img[data-src]").unveil(200);
2051         });
2052
2053         $(document).ready(function(){
2054           // $('.share-video a').click(function (e) {
2055           //     e.preventDefault();
2056           // });
2057           $('.dropdown-toggle').dropdown()
2058
2059           $("#toggle-mode").change(function(event) {
2060               var mode = 'day';
2061
2062               if ($(this).prop( "checked" ) === true) {
2063                 mode = 'night';
2064                 $('<link>',{
2065                   rel:'stylesheet',
2066                   href:'https://www.nectarbrazil.com/themes/mcf/css/night-mode.css',
2067                   class:'night-mode-css'
2068                 }).insertAfter('link#style-css');
2069                 $('.logo-img img').attr('src', 'https://www.nectarbrazil.com/themes/mcf/img/logo-light.png?cache=420');
2070               }
2071               else{
2072                 $(".night-mode-css").remove();
2073                 $('.logo-img img').attr('src', 'https://www.nectarbrazil.com/themes/mcf/img/logo.png?cache=420');
2074               }
2075
2076
2077               $.post('https://www.nectarbrazil.com/', {mode: mode}, function(data, textStatus, xhr) { /* pass */ });
2078           });
2079
2080           $("li.toggle-mobile-mode").click(function(event) {
2081               var mode = $(this).attr('data-mode');
2082
2083               $.post('https://www.nectarbrazil.com/', {mode: mode}, function(data, textStatus, xhr) {
2084                 location.reload();
2085               });
2086           });
2087         });
2088      </script>
2088
2089            
2089<script src="https://www.nectarbrazil.com/themes/mcf/js/cookieconsent.min.js?version=1-20012024-1"></script>
2089
2090      
2090<script>
2091         window.addEventListener("load", function(){
2092         window.cookieconsent.initialise({
2093           "theme": "classic",
2094           "content": {
2095             "message": "This website uses cookies to ensure you get the best experience on our website.",
2096             "dismiss": "Got It!",
2097             "link": "Learn More",
2098             "href": "https://www.nectarbrazil.com/terms/privacy-policy"
2099           }
2100         })});
2101      </script>
2101
2102                  <div class="fab-overlay"></div>
2103      
2103<script>
2104         $(document).on('click', '#pop_up_18_yes', function(event) {
2105           event.preventDefault();
2106           $.post('https://www.nectarbrazil.com/aj/main/yes_18?hash=' + $('.main_session').val(), function(data, textStatus, xhr) {
2107             $('#pop_up_18').modal('hide');
2108           });
2109         });
2110
2111         $(document).on('click', '#pop_up_18_no', function(event) {
2112           event.preventDefault();
2113           $.post('https://www.nectarbrazil.com/aj/main/no_18?hash=' + $('.main_session').val(), function(data, textStatus, xhr) {
2114             if (data.status == 200) {
2115               $('#pop_up_18').modal('hide');
2116               window.location.href = data.url
2117             }
2118           });
2119         });
2120
2121                  $('#btn-fab-main').on('touchstart click', function() {
2122         if ($(this).hasClass('active')) {
2123         $(this).removeClass('active');
2124         $('body').removeClass('fab_open');
2125         $(this).addClass('reverse-animation');
2126         } else {
2127         $(this).removeClass('reverse-animation');
2128         $(this).addClass('active');
2129         $('body').addClass('fab_open');
2130         }
2131         return false;
2132         });
2133         function setCookie(cname, cvalue, exdays) {
2134           var d = new Date();
2135           d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
2136           var expires = "expires="+d.toUTCString();
2137           document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
2138         }
2139         function SlideSetCookie(cname, cvalue, exdays) {
2140         $('#open_slide').attr('onclick', "SlideEraseCookie('open_slide')");
2141           var d = new Date();
2142           d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
2143           var expires = "expires="+d.toUTCString();
2144           document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
2145         }
2146         function SlideEraseCookie(name) {
2147         $('#open_slide').attr('onclick', "SlideSetCookie('open_slide','yes',1)");
2148           document.cookie = name + '=;path=/;Max-Age=0'
2149         }
2150
2151         function getCookie(cname) {
2152           var name = cname + "=";
2153           var ca = document.cookie.split(';');
2154           for(var i = 0; i < ca.length; i++) {
2155               var c = ca[i];
2156               while (c.charAt(0) == ' ') {
2157                   c = c.substring(1);
2158               }
2159               if (c.indexOf(name) == 0) {
2160                   return c.substring(name.length, c.length);
2161               }
2162           }
2163           return "";
2164         }
2165                  $.ajax({
2166           url: "https://extreme-ip-lookup.com/json/?key=",
2167           type: 'GET',
2168           dataType: 'json'
2169         })
2170         .done(function(data) {
2171           if (data.status == 'success') {
2172             setCookie('r', window.btoa(data.continent), 1);
2173                        }
2174           else{
2175             setCookie('r', window.btoa('string'), 1);
2176                        }
2177         })
2178         .fail(function() {
2179           setCookie('r', window.btoa('string'), 1);
2180                    })
2181         .always(function() {
2182         });
2183
2184             // $.get('https://extreme-ip-lookup.com/json/', function(data) {
2185             //   if (data.status == 'success') {
2186             //     setCookie('r', window.btoa(data.continent), 1);
2187             //                  //   }
2188             //   else{
2189             //     setCookie('r', window.btoa('string'), 1);
2190             //                  //   }
2191             // });
2192                 </script>
2192
2193            
2193<script>
2194         var fingerprintReport = function () {
2195            Fingerprint2.get(function(components) {
2196              var murmur = Fingerprint2.x64hash128(components.map(function (pair) { return pair.value }).join(), 31)
2197              $.post('https://www.nectarbrazil.com/aj/views?hash=' + $('.main_session').val()+'&type_=set', {finger: murmur}, function(data, textStatus, xhr) {
2198              });
2199            })
2200         }
2201         fingerprintReport();
2202      </script>
2202
2203            
2203<script type="text/javascript">
2204         var myTimeout;
2205
2206         function show_gif(self,gif) {
2207           if (gif && gif != '') {
2208             myTimeout = setTimeout(function() {
2209                 $(self).append('<img src="'+gif+'">');
2210             }, 1000);
2211           }
2212         }
2213
2214         function hide_gif(self) {
2215           $(self).find('img').remove();
2216           clearTimeout(myTimeout);
2217         }
2218         function block_user(user_id,self,redirect = true) {
2219           $.post('https://www.nectarbrazil.com/aj/user/block?hash=' + $('.main_session').val(), {user_id: user_id}, function(data, textStatus, xhr) {
2220             if (redirect == true) {
2221               location.reload();
2222             }
2223             else{
2224               $(self).find('span').text(data.message);
2225             }
2226           });
2227         }
2228
2229      </script>
2229
2230      <div id="pay-go-pro" class="modal matdialog">
2231         <div class="modal-dialog">
2232            <div class="modal-content payment_box">
2233               <div class="modal-header">
2234                  <h3 class="modal-title">
2235                     Choose a payment method
2236                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
2237                        <span aria-hidden="true">
2238                           <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">
2239                              <line x1="18" y1="6" x2="6" y2="18"></line>
2240                              <line x1="6" y1="6" x2="18" y2="18"></line>
2241                           </svg>
2242                        </span>
2243                     </button>
2244                  </h3>
2245                  <div class="pay-go-pro-alert"></div>
2246               </div>
2247               <div class="payment_method"></div>
2248            </div>
2249         </div>
2250         <input id="wallet_amount" type="hidden">
2251      </div>
2252
2253      <div id="select-language" class="modal matdialog et_plus lang_select_modal"  data-keyboard="false">
2254         <div class="modal-dialog modal-lg">
2255            <div class="modal-content">
2256               <div class="modal-body" id="pt_language_modal">
2257					<div class="row">
2258						<div class="col-md-4">
2259							<div class="language_info">
2260								<h3>Language</h3>
2261								<img src="https://www.nectarbrazil.com/themes/mcf/img/language.svg"/>
2262							</div>
2263						</div>
2264						<div class="col-md-8">
2265							<ul class="lang_modal">
2266								Array							</ul>
2267						</div>
2268					</div>
2269
2270               </div>
2271            </div>
2272         </div>
2273      </div>
2274
2275	       <div class="modal fade matdialog" id="pay_modal_wallet" role="dialog" data-keyboard="false">
2276	<div class="modal-dialog">
2277		<div class="modal-content">
2278			<div class="modal-header">
2279				<h3 class="modal-title">Pay By Wallet<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><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></button></h3>
2280			</div>
2281			
2282			<div class="modal-body">
2283				<div class="pay_modal_wallet_alert"></div>
2284				<p class="pay_modal_wallet_text"></p>
2285			</div>
2286			<div class="clear"></div>
2287			<div class="modal-footer">
2288				<div class="ball-pulse"><div></div><div></div><div></div></div>
2289				<button type="button" class="btn btn-main" id="pay_modal_wallet_btn">Purchase</button>
2290			</div>
2291		</div>
2292	</div>
2293</div>      
2293<script type="text/javascript">
2294         function HideCard(ad_date) {
2295             setTimeout(function (argument) {
2296                $('.'+ad_date).remove();
2297             },5000);
2298          }
2299                      function SLogin(provider) {
2300                $.post('https://www.nectarbrazil.com/aj/provider?hash=' + $('.main_session').val(), {provider: provider}, function(data, textStatus, xhr) {
2301                  if (data.status == 200) {
2302                    location.href = "https://www.nectarbrazil.com/social-login.php?provider="+provider;
2303                  }
2304               });
2305            }
2306                </script>
2306
2307      <div class="modal fade pt_auth_box" id="loginbox" tabindex="-1" role="dialog" aria-labelledby="loginbox">
2308	<div class="modal-dialog" role="document">
2309		<div class="login_page">
2310			<div class="login-page">
2311				<div class="login-form">
2312					<h4>Log In</h4>
2313					<form action="https://www.nectarbrazil.com/login" method="POST">
2314						<div class="errors form-group"></div>
2315						<div class="pp_mat_input">
2316							<input type="text" name="username" id="username" placeholder="Username" required autofocus>
2317							<label for="username">Username</label>
2318						</div>
2319						<div class="pp_mat_input">
2320							<input type="password" name="password" id="password" placeholder="Password" required>
2321							<label for="password">Password</label>
2322						</div>
2323						<div class="forgot_password">
2324							<a href="https://www.nectarbrazil.com/forgot_password">Forgot your password?</a>
2325						</div>
2326						<div class="login_signup_combo">
2327							<input type="submit" class="btn btn-main button" value="Log In">
2328						</div>
2329													<div class="pt_vdo_cstm_radio">
2330								<input type="checkbox" name="remember_device" id="remember_device" checked>
2331								<label for="remember_device">Remember this device</label>
2332							</div>
2333																		<div class="clear"></div>
2334													<hr>
2335							<div class="signup__">
2336								New here? <a class="dec" href="https://www.nectarbrazil.com/register">Register</a>
2337							</div>
2338											</form>
2339				</div>
2340			</div>
2341		</div>
2342		
2342<script>
2343					$(function() {
2344			$('.button').on('click', function () {
2345				if ($('#username').val() && $('#password').val()) {
2346					$(this).val("Please wait..");
2347				}
2348			});
2349		});
2350		</script>
2350
2351	</div>
2352</div>
2353      <div class="modal fade pt_auth_box" id="registerbox" tabindex="-1" role="dialog" aria-labelledby="registerbox">
2354	<div class="modal-dialog" role="document">
2355		<div class="login_page">
2356			<div class="login-page">
2357				<div class="login-form registeration_modal" id="register_form_p">
2358					<h4>Sign Up!</h4>
2359					<form action="https://www.nectarbrazil.com/register" method="POST">
2360						<div class="errors form-group errors_alert"></div>
2361						<div class="errors success form-group"></div>
2362													<div class="pp_mat_input">
2363								<input type="text" name="username" id="username" placeholder="Username" required autofocus>
2364								<label for="username">Username</label>
2365							</div>
2366												<div class="pp_mat_input">
2367							<input type="email" name="email" id="email" placeholder="E-mail address" required>
2368							<label for="email">E-mail address</label>
2369						</div>
2370						<div class="pp_mat_input">
2371							<input type="password" name="password" id="password" placeholder="Password" required>
2372							<label for="password">Password</label>
2373													</div>
2374						<div class="pp_mat_input">
2375							<input type="password" name="c_password"  id="c_password" placeholder="Confirm Password" required>
2376							<label for="c_password">Confirm Password</label>
2377						</div>
2378						<div class="pp_mat_input">
2379							<select name="gender" id="gender" required>
2380								<option value="male">Male</option>
2381								<option value="female">Female</option>
2382							</select>
2383						</div>
2384												<div class="recaptcha">
2385															<div class="g-recaptcha" data-sitekey="6LdA4FMpAAAAAFxOJAotJcjR-r1-HeoeyqNquswZ"></div>
2386													</div>
2387						<div class="login_signup_combo">
2388							<input type="submit" class="btn btn-main button" value="Sign Up!">
2389						</div>
2390						<div class="terms">
2391							<label for="accept_terms">
2392								<input type="checkbox" name="accept_terms" id="accept_terms">By creating your account, you agree to our
2393								<a href="https://www.nectarbrazil.com/terms/terms">Terms of use</a> & <a href="https://www.nectarbrazil.com/terms/privacy-policy">Privacy Policy</a>
2394							</label>
2395							<div class="clear"></div>
2396						</div>
2397						<hr>
2398						<div class="signup__">
2399							Already have an account? <a class="dec" href="https://www.nectarbrazil.com/login">Log In</a>
2400						</div>
2401						<input type="hidden" id="checked" value="off" name="terms">
2402											</form>
2403				</div>    
2404			</div>
2405		</div>
2406		
2406<script>
2407					$(function() {
2408			$("#accept_terms").change(function() {
2409				if(this.checked) {
2410					$('#checked').val('on');
2411				} else {
2412					$('#checked').val('off');
2413				}
2414			});
2415			$('.button').on('click', function () {
2416				if ($('#username').val() && $('#password').val() && $('#email').val() && $('#gender').val() && $('#c_password').val()) {
2417					$(this).val("Please wait..");
2418				}
2419			});
2420		});
2421		</script>
2421
2422	</div>
2423</div>           
2423<script>
2424                        $("#site-language").click(function(e){
2425                        e.preventDefault();
2426                             $('#select-language').modal('show');
2427                        });
2428
2429                   function chamaIdioma(){
2430                   $('#select-language').modal('show');
2431                    }
2432               </script>
2432
2433   </body>
2434</html>

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