1(function($){ 2 "use strict"; 3 jQuery(document).on('ready', function () { 4 5 // Header Sticky 6 $(window).on('scroll',function() { 7 if ($(this).scrollTop() > 120){ 8 $('.navbar-area').addClass("is-sticky"); 9 } 10 else{ 11 $('.navbar-area').removeClass("is-sticky"); 12 } 13 }); 14 15 // Newsletter Modal JS 16 if (jQuery(".newsletter-modal")[0]) { 17 var popDisplayed = $.cookie('popDisplayed'); 18 if(popDisplayed == '1'){ 19 console.log(''); 20 }else{ 21 setTimeout(function(){ 22 $("body").addClass('modal-open'); 23 $("#newsletter-modal").fadeIn(500); 24 }, 3000); 25 $.cookie('popDisplayed', '1', { expires: 1 }); 26 27 $(".btn-yes").on('click', function () { 28 $("#newsletter-modal").fadeOut(500); 29 $("body").removeClass('modal-open'); 30 }); 31 } 32 } 33 34 // Odometer JS 35 $('.odometer').appears(function(e) { 36 var odo = $(".odometer"); 37 odo.each(function() { 38 var countNumber = $(this).attr("data-count"); 39 $(this).html(countNumber); 40 }); 41 }); 42 43 44 $(".search-submit, .blog_widget #bbp_search_submit").val('ï'); 45 46 // Bbpress Breadcrumbs 47 if ($('.bbp-breadcrumb').length > 0) { 48 $( '.bbp-breadcrumb' ).appendTo( $(".bbpress-breadcrumbs")); 49 } 50 51 // Others Option Responsive JS 52 $(".others-option-for-responsive .dot-menu").on("click", function(){ 53 $(".others-option-for-responsive .container .container").toggleClass("active"); 54 }); 55 56 // Button Hover JS 57 $(function() { 58 $('.default-btn') 59 .on('mouseenter', function(e) { 60 var parentOffset = $(this).offset(), 61 relX = e.pageX - parentOffset.left, 62 relY = e.pageY - parentOffset.top; 63 $(this).find('span').css({top:relY, left:relX}) 64 }) 65 .on('mouseout', function(e) { 66 var parentOffset = $(this).offset(), 67 relX = e.pageX - parentOffset.left, 68 relY = e.pageY - parentOffset.top; 69 $(this).find('span').css({top:relY, left:relX}) 70 }); 71 }); 72 73 // FAQ Accordion 74 $(function() { 75 $('.accordion').find('.accordion-title').on('click', function(){ 76 // Adds Active Class 77 $(this).toggleClass('active'); 78 // Expand or Collapse This Panel 79 $(this).next().slideToggle('fast'); 80 // Hide The Other Panels 81 $('.accordion-content').not($(this).next()).slideUp('fast'); 82 // Removes Active Class From Other Titles 83 $('.accordion-title').not($(this)).removeClass('active'); 84 }); 85 }); 86 87 // Mean Menu 88 $('.mean-menu').meanmenu({ 89 meanScreenWidth: "1199" 90 }); 91 92 $(".learnpress .become-teacher-form .form-fields .form-field label").first().append("<span>*</span>"); 93 $(".learnpress .become-teacher-form .form-fields .form-field:nth-child(2) label").append("<span>*</span>"); 94 95 // Banner Animation 96 window.onload = function() { 97 var timeline = new TimelineMax(); 98 timeline.from(".main-banner-content, .main-banner-courses-list, .banner-wrapper-content, .banner-wrapper-image, .banner-content, .banner-image", 1, {y:60},0) 99 } 100 101 // Isotop Js 102 var $grid = $('.blog-items, .courses-items').isotope({ 103 itemSelector: '.grid-item', 104 percentPosition: true, 105 masonry: { 106 // Use outer width of grid-sizer for columnWidth 107 columnWidth: '.grid-item' 108 } 109 }); 110 111 // Popup Image 112 $('.popup-btn').magnificPopup({ 113 type: 'image', 114 gallery: { 115 enabled:true 116 } 117 }); 118 119 // Tabs 120 (function ($) { 121 $('.tab ul.tabs').addClass('active').find('> li:eq(0)').addClass('current'); 122 $('.tab ul.tabs li a').on('click', function (g) { 123 var tab = $(this).closest('.tab'), 124 index = $(this).closest('li').index(); 125 tab.find('ul.tabs > li').removeClass('current'); 126 $(this).closest('li').addClass('current'); 127 tab.find('.tab-content').find('div.tabs-item').not('div.tabs-item:eq(' + index + ')').slide
127Up(); 128 tab.find('.tab-content').find('div.tabs-item:eq(' + index + ')').slideDown(); 129 g.preventDefault(); 130 }); 131 })(jQuery); 132 133 // Price Range Slider JS 134 $(".js-range-of-price").ionRangeSlider({ 135 type: "double", 136 drag_interval: true, 137 min_interval: null, 138 max_interval: null, 139 }); 140 141 // Input Plus & Minus Number JS 142 $('.input-counter').each(function() { 143 var spinner = jQuery(this), 144 input = spinner.find('input[type="text"]'), 145 btnUp = spinner.find('.plus-btn'), 146 btnDown = spinner.find('.minus-btn'), 147 min = input.attr('min'), 148 max = input.attr('max'); 149 150 btnUp.on('click', function() { 151 var oldValue = parseFloat(input.val()); 152 if (oldValue >= max) { 153 var newVal = oldValue; 154 } else { 155 var newVal = oldValue + 1; 156 } 157 spinner.find("input").val(newVal); 158 spinner.find("input").trigger("change"); 159 }); 160 btnDown.on('click', function() { 161 var oldValue = parseFloat(input.val()); 162 if (oldValue <= min) { 163 var newVal = oldValue; 164 } else { 165 var newVal = oldValue - 1; 166 } 167 spinner.find("input").val(newVal); 168 spinner.find("input").trigger("change"); 169 }); 170 }); 171 172 // Load More 173 $(function () { 174 $(".courses-section .col-lg-4").slice(0, 6).show(); 175 $("body").on('click touchstart', '.load-more-btn .load-more', function (e) { 176 e.preventDefault(); 177 $(".courses-section .col-lg-4:hidden").slice(0, 3).slideDown(); 178 if ($(".courses-section .col-lg-4:hidden").length == 0) { 179 $(".load-more-btn").css('display', 'none'); 180 } 181 $('html,body').animate({ 182 scrollTop: $(this).offset().top 183 }, 1000); 184 }); 185 }); 186 187 // Nice Select JS 188 $('select').niceSelect(); 189 190 // Popup Video 191 $('.popup-youtube').magnificPopup({ 192 disableOn: 320, 193 type: 'iframe', 194 mainClass: 'mfp-fade', 195 removalDelay: 160, 196 preloader: false, 197 fixedContentPos: false 198 }); 199 200 // Go to Top 201 $(function(){ 202 // Scroll Event 203 $(window).on('scroll', function(){ 204 var scrolled = $(window).scrollTop(); 205 if (scrolled > 300) $('.go-top').addClass('active'); 206 if (scrolled < 300) $('.go-top').removeClass('active'); 207 }); 208 // Click Event 209 $('.go-top').on('click', function() { 210 $("html, body").animate({ scrollTop: "0" }, 500); 211 }); 212 }); 213 }); 214 215 // WoW JS 216 $(window).on ('load', function (){ 217 if ($(".wow").length) { 218 var wow = new WOW ({ 219 boxClass: 'wow', // Animated element css class (default is wow) 220 animateClass: 'animated', // Animation css class (default is animated) 221 offset: 20, // Distance to the element when triggering the animation (default is 0) 222 mobile: true, // Trigger animations on mobile devices (default is true) 223 live: true, // Act on asynchronously loaded content (default is true) 224 }); 225 wow.init(); 226 } 227 }); 228 229 $( window ).on( 'elementor/frontend/init', function() { 230 elementorFrontend.hooks.addAction( 'frontend/element_ready/widget', function( $scope ) { 231 // Blog Slides 232 $('.blog-slides').owlCarousel({ 233 loop: true, 234 nav: true, 235 dots: true, 236 autoplayHoverPause: true, 237 autoplay: true, 238 margin: 30, 239 navText: [ 240 "<i class='bx bx-chevron-left'></i>", 241 "<i class='bx bx-chevron-right'></i>" 242 ], 243 responsive: { 244 0: { 245 items: 1, 246 }, 247 576: { 248 items: 1, 249 }, 250 768: { 251 items: 2, 252 }, 253 992: { 254 items: 3, 255 } 256 } 257 }); 258 259 // Feedback Slides 260 $('.feedback-slides').owlCarousel({ 261 loop: true, 262 nav: false, 263 dots: true, 264 autoplayHoverPause: true, 265 autoplay: true, 266 animateOut: 'fadeOut', 267 autoHeight: true, 268 items: 1, 269 navText: [ 270 "<i class='bx bx-chevron-left'></i>", 271 "<i class='bx bx-chevron-right'></i>" 272 ], 273 }); 274 // Sidebar Sticky 275 $('.courses-sidebar-sticky').stickySidebar({ 276 topSpacing: 90, 277 bottomSpacing: 90 278 }); 279 280 // Testimonials Slides 281 $('.testimonials-slides').owlCarousel({ 282 loop: true, 283 nav: false, 284 dots: true, 285 autoplayHoverPause: true, 286 autoplay: true, 287 animateOut: 'fadeOut', 288 autoHeight: true, 289 items: 1, 290 navText: [ 291 "<i class='bx bx-chevron-left'></i>", 292 "<i class='bx bx-chevron-right'></i>" 293 ], 294 }); 295 296 // Feedback Slides Two 297 $('.feedback-slides-two').owlCarousel({ 298 loop: true, 299 nav: false, 300 dots: true, 301 autoplayHoverPause: true, 302 autoplay: true, 303 margin: 30, 304 navText: [ 305 "<i class='bx bx-chevron-left'></i>", 306 "<i class='bx bx-chevron-right'></i>" 307 ], 308 responsive: { 309 0: { 310 items: 1, 311 }, 312 576: { 313 items: 1, 314 }, 315 768: { 316 items: 2, 317 }, 318 1200: { 319 items: 2, 320 } 321 } 322 }); 323 324 // Article Image Slides 325 $('.article-image-slides').owlCarousel({ 326 loop: true, 327 nav: true, 328 dots: false, 329 autoplayHoverPause: true, 330 autoplay: true, 331 animateOut: 'fadeOut', 332 items: 1, 333 navText: [ 334 "<i class='flaticon-chevron'></i>", 335 "<i class='flaticon-right-arrow'></i>" 336 ], 337 }); 338 339 // Courses Slides 340 $('.courses-slides').owlCarousel({ 341 loop: true, 342 nav: true, 343 dots: true, 344 autoplayHoverPause: true, 345 autoplay: true, 346 margin: 30, 347 navText: [ 348 "<i class='bx bx-chevron-left'></i>", 349 "<i class='bx bx-chevron-right'></i>" 350 ], 351 responsive: { 352 0: { 353 items: 1, 354 }, 355 576: { 356 items: 1, 357 }, 358 768: { 359 items: 2, 360 }, 361 992: { 362 items: 3, 363 } 364 } 365 }); 366 367 // Advisor Slides Two 368 $('.advisor-slides-two').owlCarousel({ 369 loop: true, 370 nav: false, 371 dots: true, 372 autoplayHoverPause: true, 373 autoplay: true, 374 margin: 30, 375 navText: [ 376 "<i class='bx bx-chevron-left'></i>", 377 "<i class='bx bx-chevron-right'></i>" 378 ], 379 responsive: { 380 0: { 381 items: 1, 382 }, 383 576: { 384 items: 2, 385 }, 386 768: { 387 items: 2, 388 }, 389 992: { 390 items: 3, 391 } 392 } 393 }); 394 395 // Advisor Slides 396 $('.advisor-slides').owlCarousel({ 397 loop: true, 398 nav: false, 399 dots: true, 400 autoplayHoverPause: true, 401 autoplay: true, 402 margin: 30, 403 navText: [ 404 "<i class='bx bx-chevron-left'></i>", 405 "<i class='bx bx-chevron-right'></i>" 406 ], 407 responsive: { 408 0: { 409 items: 1, 410 }, 411 576: { 412 items: 2, 413 }, 414 768: { 415 items: 1, 416 }, 417 992: { 418 items: 2, 419 } 420 } 421 }); 422 423 // MixItUp Shorting 424 $(function(){ 425 $('.shorting').mixItUp(); 426 }); 427 428 // TweenMax JS 429 $('.main-banner, .banner-section, .banner-wrapper-area, .banner-wrapper').mousemove(function(e){
430 var wx = $(window).width(); 431 var wy = $(window).height(); 432 var x = e.pageX - this.offsetLeft; 433 var y = e.pageY - this.offsetTop; 434 var newx = x - wx/2; 435 var newy = y - wy/2; 436 $('.banner-shape1, .banner-shape2, .banner-shape3, .banner-shape4, .banner-shape5, .banner-shape6, .banner-shape7, .banner-shape8, .banner-shape9, .banner-shape10, .banner-shape11, .banner-shape12, .banner-shape13').each(function(){ 437 var speed = $(this).attr('data-speed'); 438 if($(this).attr('data-revert')) speed *= -1; 439 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 440 }); 441 }); 442 $('.about-area, .about-area-two, .about-area-three').mousemove(function(e){ 443 var wx = $(window).width(); 444 var wy = $(window).height(); 445 var x = e.pageX - this.offsetLeft; 446 var y = e.pageY - this.offsetTop; 447 var newx = x - wx/2; 448 var newy = y - wy/2; 449 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 450 var speed = $(this).attr('data-speed'); 451 if($(this).attr('data-revert')) speed *= -1; 452 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 453 }); 454 }); 455 $('.funfacts-and-feedback-area').mousemove(function(e){ 456 var wx = $(window).width(); 457 var wy = $(window).height(); 458 var x = e.pageX - this.offsetLeft; 459 var y = e.pageY - this.offsetTop; 460 var newx = x - wx/2; 461 var newy = y - wy/2; 462 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 463 var speed = $(this).attr('data-speed'); 464 if($(this).attr('data-revert')) speed *= -1; 465 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 466 }); 467 }); 468 $('.get-instant-courses-area').mousemove(function(e){ 469 var wx = $(window).width(); 470 var wy = $(window).height(); 471 var x = e.pageX - this.offsetLeft; 472 var y = e.pageY - this.offsetTop; 473 var newx = x - wx/2; 474 var newy = y - wy/2; 475 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 476 var speed = $(this).attr('data-speed'); 477 if($(this).attr('data-revert')) speed *= -1; 478 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 479 }); 480 }); 481 $('.view-all-courses-area, .view-all-courses-area-two').mousemove(function(e){ 482 var wx = $(window).width(); 483 var wy = $(window).height(); 484 var x = e.pageX - this.offsetLeft; 485 var y = e.pageY - this.offsetTop; 486 var newx = x - wx/2; 487 var newy = y - wy/2; 488 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 489 var speed = $(this).attr('data-speed'); 490 if($(this).attr('data-revert')) speed *= -1; 491 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 492 }); 493 }); 494 $('.premium-access-area').mousemove(function(e){
495 var wx = $(window).width(); 496 var wy = $(window).height(); 497 var x = e.pageX - this.offsetLeft; 498 var y = e.pageY - this.offsetTop; 499 var newx = x - wx/2; 500 var newy = y - wy/2; 501 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 502 var speed = $(this).attr('data-speed'); 503 if($(this).attr('data-revert')) speed *= -1; 504 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 505 }); 506 }); 507 $('.slogan-area').mousemove(function(e){ 508 var wx = $(window).width(); 509 var wy = $(window).height(); 510 var x = e.pageX - this.offsetLeft; 511 var y = e.pageY - this.offsetTop; 512 var newx = x - wx/2; 513 var newy = y - wy/2; 514 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 515 var speed = $(this).attr('data-speed'); 516 if($(this).attr('data-revert')) speed *= -1; 517 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 518 }); 519 }); 520 $('.subscribe-area').mousemove(function(e){ 521 var wx = $(window).width(); 522 var wy = $(window).height(); 523 var x = e.pageX - this.offsetLeft; 524 var y = e.pageY - this.offsetTop; 525 var newx = x - wx/2; 526 var newy = y - wy/2; 527 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 528 var speed = $(this).attr('data-speed'); 529 if($(this).attr('data-revert')) speed *= -1; 530 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 531 }); 532 }); 533 $('.feedback-area').mousemove(function(e){ 534 var wx = $(window).width(); 535 var wy = $(window).height(); 536 var x = e.pageX - this.offsetLeft; 537 var y = e.pageY - this.offsetTop; 538 var newx = x - wx/2; 539 var newy = y - wy/2; 540 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 541 var speed = $(this).attr('data-speed'); 542 if($(this).attr('data-revert')) speed *= -1; 543 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 544 }); 545 }); 546 $('.success-story-area').mousemove(function(e){ 547 var wx = $(window).width(); 548 var wy = $(window).height(); 549 var x = e.pageX - this.offsetLeft; 550 var y = e.pageY - this.offsetTop; 551 var newx = x - wx/2; 552 var newy = y - wy/2; 553 $('.shape1, .shape2, .shape3, .shape4, .shape6, .shape7, .shape8, .shape9, .shape10, .shape11, .shape12, .shape13, .shape14, .shape15, .shape16, .shape17, .shape18, .shape19, .shape20, .shape21, .shape22, .shape23').each(function(){ 554 var speed = $(this).attr('data-speed'); 555 if($(this).attr('data-revert')) speed *= -1; 556 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 557 }); 558 }); 559 560 $('.health-coaching-banner-area').mousemove(function(e){
561 var wx = $(window).width(); 562 var wy = $(window).height(); 563 var x = e.pageX - this.offsetLeft; 564 var y = e.pageY - this.offsetTop; 565 var newx = x - wx/2; 566 var newy = y - wy/2; 567 $('.health-coaching-shape2, .health-coaching-shape4, .health-coaching-shape5, .health-coaching-shape6, .health-coaching-shape7').each(function(){ 568 var speed = $(this).attr('data-speed'); 569 if($(this).attr('data-revert')) speed *= -1; 570 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 571 }); 572 }); 573 $('.experience-area').mousemove(function(e){ 574 var wx = $(window).width(); 575 var wy = $(window).height(); 576 var x = e.pageX - this.offsetLeft; 577 var y = e.pageY - this.offsetTop; 578 var newx = x - wx/2; 579 var newy = y - wy/2; 580 $('.experience-shape1, .experience-shape2').each(function(){ 581 var speed = $(this).attr('data-speed'); 582 if($(this).attr('data-revert')) speed *= -1; 583 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 584 }); 585 }); 586 587 // TweenMax JS 588 $('.kindergarten-main-banner').mousemove(function(e){ 589 var wx = $(window).width(); 590 var wy = $(window).height(); 591 var x = e.pageX - this.offsetLeft; 592 var y = e.pageY - this.offsetTop; 593 var newx = x - wx/2; 594 var newy = y - wy/2; 595 $('.kindergarten-banner-image .image img').each(function(){ 596 var speed = $(this).attr('data-speed'); 597 if($(this).attr('data-revert')) speed *= -1; 598 TweenMax.to($(this), 1, {x: (1 - newx*speed), y: (1 - newy*speed)}); 599 }); 600 }); 601 602 // Feedback Slides Three 603 $('.feedback-slides-three').owlCarousel({ 604 loop: true, 605 nav: true, 606 dots: false, 607 autoplayHoverPause: true, 608 autoplay: true, 609 margin: 0, 610 navText: [ 611 "<i class='flaticon-chevron'></i>", 612 "<i class='flaticon-right-arrow'></i>" 613 ], 614 responsive: { 615 0: { 616 items: 1, 617 }, 618 576: { 619 items: 2, 620 }, 621 768: { 622 items: 2, 623 }, 624 992: { 625 items: 3, 626 }, 627 1200: { 628 items: 4, 629 }, 630 1550: { 631 items: 5, 632 } 633 } 634 }); 635 636 // Services Slides 637 $('.services-slides').owlCarousel({ 638 loop: true, 639 nav: true, 640 dots: false, 641 autoplayHoverPause: true, 642 autoplay: true, 643 margin: 30, 644 navText: [ 645 "<i class='flaticon-chevron'></i>", 646 "<i class='flaticon-right-arrow'></i>" 647 ], 648 responsive: { 649 0: { 650 items: 1, 651 }, 652 576: { 653 items: 2, 654 }, 655 768: { 656 items: 2, 657 }, 658 992: { 659 items: 3, 660 } 661 } 662 }); 663 664 // Courses Slides Two 665 $('.courses-slides-two').owlCarousel({ 666 loop: false, 667 nav: true, 668 dots: false, 669 autoplayHoverPause: true, 670 autoplay: true, 671 margin: 30, 672 navText: [ 673 "<i class='flaticon-chevron'></i>", 674 "<i class='flaticon-right-arrow'></i>" 675 ], 676 responsive: { 677 0: { 678 items: 1, 679 }, 680 576: { 681 items: 1, 682 }, 683 768: { 684 items: 2, 685 }, 686 992: { 687 items: 3, 688 } 689 } 690 }); 691 692 }); 693 });
694 695 // Preloader 696 $(window).on('load', function () { 697 $('.preloader').fadeOut(); 698 }); 699 700 701}(jQuery)); 702
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.