1// Commom Plugins 2(function($) { 3 4 'use strict'; 5 6 // Scroll to Top Button. 7 if (typeof theme.PluginScrollToTop !== 'undefined') { 8 theme.PluginScrollToTop.initialize(); 9 } 10 11 // Tooltips 12 if ($.isFunction($.fn['tooltip'])) { 13 $('[data-tooltip]:not(.manual), [data-plugin-tooltip]:not(.manual)').tooltip(); 14 } 15 16 // Popover 17 if ($.isFunction($.fn['popover'])) { 18 $(function() { 19 $('[data-plugin-popover]:not(.manual)').each(function() { 20 var $this = $(this), 21 opts; 22 23 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 24 if (pluginOptions) 25 opts = pluginOptions; 26 27 $this.popover(opts); 28 }); 29 }); 30 } 31 32 // Validations 33 if (typeof theme.PluginValidation !== 'undefined') { 34 theme.PluginValidation.initialize(); 35 } 36 37 // Match Height 38 if ($.isFunction($.fn['matchHeight'])) { 39 40 $('.match-height').matchHeight(); 41 42 // Featured Boxes 43 $('.featured-boxes .featured-box').matchHeight(); 44 45 // Featured Box Full 46 $('.featured-box-full').matchHeight(); 47 48 } 49 50}).apply(this, [jQuery]); 51 52// Animate 53(function($) { 54 55 'use strict'; 56 57 if ($.isFunction($.fn['themePluginAnimate'])) { 58 59 $(function() { 60 $('[data-appear-animation]').each(function() { 61 var $this = $(this), 62 opts; 63 64 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 65 if (pluginOptions) 66 opts = pluginOptions; 67 68 $this.themePluginAnimate(opts); 69 }); 70 }); 71 72 } 73 74}).apply(this, [jQuery]); 75 76// Animated Letters 77(function($) { 78 79 'use strict'; 80 81 if ($.isFunction($.fn['themePluginAnimatedLetters'])) { 82 83 $(function() { 84 $('[data-plugin-animated-letters]:not(.manual), .animated-letters').each(function() { 85 var $this = $(this), 86 opts; 87 88 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 89 if (pluginOptions) 90 opts = pluginOptions; 91 92 $this.themePluginAnimatedLetters(opts); 93 }); 94 }); 95 96 } 97 98}).apply(this, [jQuery]); 99 100// Before / After 101(function($) { 102 103 'use strict'; 104 105 if ($.isFunction($.fn['themePluginBeforeAfter'])) { 106 107 $(function() { 108 $('[data-plugin-before-after]:not(.manual)').each(function() { 109 var $this = $(this), 110 opts; 111 112 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 113 if (pluginOptions) 114 opts = pluginOptions; 115 116 $this.themePluginBeforeAfter(opts); 117 }); 118 }); 119 120 } 121 122}).apply(this, [jQuery]); 123 124// Carousel 125(function($) { 126 127 'use strict'; 128 129 if ($.isFunction($.fn['themePluginCarousel'])) { 130 131 $(function() { 132 $('[data-plugin-carousel]:not(.manual), .owl-carousel:not(.manual)').each(function() { 133 var $this = $(this), 134 opts; 135 136 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 137 if (pluginOptions) 138 opts = pluginOptions; 139 140 if( $('body[data-loading-overlay]').get(0) ) { 141 $(window).on('loading.overlay.ready', function(){ 142 $this.themePluginCarousel(opts); 143 }); 144 } else { 145 $this.themePluginCarousel(opts); 146 } 147 }); 148 }); 149 150 } 151 152}).apply(this, [jQuery]); 153 154// Chart.Circular 155(function($) { 156 157 'use strict'; 158 159 if ($.isFunction($.fn['themePluginChartCircular'])) { 160 161 $(function() { 162 $('[data-plugin-chart-circular]:not(.manual), .circular-bar-chart:not(.manual)').each(function() { 163 var $this = $(this), 164 opts; 165 166 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 167 if (pluginOptions) 168 opts = pluginOptions; 169 170 $this.themePluginChartCircular(opts); 171 }); 172 }); 173 174 } 175 176}).apply(this, [jQuery]); 177 178// Countdown 179(function($) { 180 181 'use strict'; 182 183 if ($.isFunction($.fn['themePluginCountdown'])) { 184 185 $(function() { 186 $('[data-plugin-countdown]:not(.manual), .countdown').each(function() { 187 var $this = $(this), 188 opts; 189 190 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 191 if (pluginOptions) 192 opts = pluginOptions; 193 194 $this.themePluginCountdown(opts); 195 }); 196 }); 197 198 } 199 200}).apply(this, [jQuery]); 201 202// Counter 203(function($) { 204 205 'use strict'; 206 207 if ($.isFunction($.fn['themePluginCounter'])) { 208 209 $(function() { 210 $('[data-plugin-counter]:not(.manual), .counters [data-to]').each(function() { 211 var $this = $(this), 212 opts; 213 214 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 215 if (pluginOptions) 216 opts = pluginOptions; 217 218 $this.themePluginCounter(opts); 219 }); 220 }); 221 222 } 223 224}).apply(this, [jQuery]); 225 226// Float Element 227(function($) { 228 229 'use strict'; 230 231 if ($.isFunction($.fn['themePluginFloatElement'])) { 232 233 $(function() { 234 $('[data-plugin-float-element]:not(.manual)').each(function() { 235 var $this = $(this), 236 opts; 237 238 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 239 if (pluginOptions) 240 opts = pluginOptions; 241 242 $this.themePluginFloatElement(opts); 243 }); 244 }); 245 246 } 247 248}).apply(this, [jQuery]); 249 250// Animated Icon 251(function($) { 252 253 'use strict'; 254 255 if ($.isFunction($.fn['themePluginIcon'])) { 256 257 $(document).ready(function(){ 258 $(function() { 259 260 $('[data-icon]:not(.svg-inline--fa)').each(function() { 261 var $this = $(this), 262 opts; 263 264 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 265 if (pluginOptions) 266 opts = pluginOptions; 267 268 $this.themePluginIcon(opts); 269 }); 270 271 }); 272 }); 273 } 274 275}).apply(this, [jQuery]); 276 277// Lazy Load 278(function($) { 279 280 'use strict'; 281 282 if ($.isFunction($.fn['themePluginLazyLoad'])) { 283 284 $(function() { 285 $('[data-plugin-lazyload]:not(.manual)').each(function() { 286 var $this = $(this), 287 opts; 288 289 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 290 if (pluginOptions) 291 opts = pluginOptions; 292 293 $this.themePluginLazyLoad(opts); 294 }); 295 }); 296 297 } 298 299}).apply(this, [jQuery]); 300 301// Lightbox 302(function($) { 303 304 'use strict'; 305 306 if ($.isFunction($.fn['themePluginLightbox'])) { 307 308 $(function() { 309 $('[data-plugin-lightbox]:not(.manual), .lightbox:not(.manual)').each(function() { 310 var $this = $(this), 311 opts; 312 313 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 314 if (pluginOptions) 315 opts = pluginOptions; 316 317 $this.themePluginLightbox(opts); 318 }); 319 }); 320 321 } 322 323}).apply(this, [jQuery]); 324 325// Masonry 326(function($) { 327 328 'use strict'; 329 330 if ($.isFunction($.fn['themePluginMasonry'])) { 331 332 $(function() { 333 $('[data-plugin-masonry]:not(.manual)').each(function() { 334 var $this = $(this), 335 opts; 336 337 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 338 if (pluginOptions) 339 opts = pluginOptions; 340 341 $this.themePluginMasonry(opts); 342 }); 343 }); 344 345 } 346 347}).apply(this, [jQuery]); 348 349// Match Height 350(function($) { 351 352 'use strict'; 353 354 if ($.isFunction($.fn['themePluginMatchHeight'])) { 355 356 $(function() { 357 $('[data-plugin-match-height]:not(.manual)').each(function() { 358 var $this = $(this), 359 opts; 360 361 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 362 if (pluginOptions) 363 opts = pluginOptions; 364 365 $this.themePluginMatchHeight(opts); 366 }); 367 }); 368 369 } 370 371}).apply(this, [jQuery]); 372 373// Parallax 374(function($) { 375 376 'use strict'; 377 378 if ($.isFunction($.fn['themePluginParallax'])) { 379 380 $(function() { 381 $('[data-plugin-parallax]:not(.manual)').each(function() { 382 var $this = $(this), 383 opts; 384 385 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 386 if (pluginOptions) 387 opts = pluginOptions; 388 389 $this.themePluginParallax(opts); 390 }); 391 }); 392 393 } 394 395}).apply(this, [jQuery]); 396 397// Progress Bar 398(function($) { 399 400 'use strict'; 401 402 if ($.isFunction($.fn['themePluginProgressBar'])) { 403 404 $(function() { 405 $('[data-plugin-progress-bar]:not(.manual), [data-appear-progress-animation]').each(function() { 406 var $this = $(this), 407 opts; 408 409 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 410 if (pluginOptions) 411 opts = pluginOptions; 412 413 $this.themePluginProgressBar(opts); 414 }); 415 }); 416 417 } 418 419}).apply(this, [jQuery]); 420 421// Read More 422(function($) { 423 424 'use strict'; 425 426 if ($.isFunction($.fn['themePluginReadMore'])) { 427 428 $(function() { 429 $('[data-plugin-readmore]:not(.manual)').each(function() { 430 var $this = $(this), 431 opts; 432 433 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 434 if (pluginOptions) 435 opts = pluginOptions; 436 437 $this.themePluginReadMore(opts); 438 }); 439 }); 440 441 } 442 443}).apply(this, [jQuery]); 444 445// Revolution Slider 446(function($) { 447 448 'use strict'; 449 450 if ($.isFunction($.fn['themePluginRevolutionSlider'])) { 451 452 $(function() { 453 $('[data-plugin-revolution-slider]:not(.manual), .slider-container .slider:not(.manual)').each(function() { 454 var $this = $(this), 455 opts; 456 457 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 458 if (pluginOptions) 459 opts = pluginOptions; 460 461 $this.themePluginRevolutionSlider(opts); 462 }); 463 }); 464 465 } 466 467}).apply(this, [jQuery]); 468 469// Scrollable 470(function($) { 471 472 'use strict'; 473 474 if ( $.isFunction($.fn[ 'nanoScroller' ]) ) { 475 476 $(function() { 477 $('[data-plugin-scrollable]').each(function() { 478 var $this = $( this ), 479 opts = {}; 480 481 var pluginOptions = $this.data('plugin-options'); 482 if (pluginOptions) { 483 opts = pluginOptions; 484 } 485 486 $this.themePluginScrollable(opts); 487 }); 488 }); 489 490 } 491 492}).apply(this, [jQuery]); 493 494// Section Scroll 495(function($) { 496 497 'use strict'; 498 499 if ($.isFunction($.fn['themePluginSectionScroll'])) { 500 501 $(function() { 502 $('[data-plugin-section-scroll]:not(.manual)').each(function() { 503 var $this = $(this), 504 opts; 505 506 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 507 if (pluginOptions) 508 opts = pluginOptions; 509 510 $this.themePluginSectionScroll(opts); 511 }); 512 }); 513 514 } 515 516}).apply(this, [jQuery]); 517 518// Sort 519(function($) { 520 521 'use strict'; 522 523 if ($.isFunction($.fn['themePluginSort'])) { 524 525 $(function() { 526 $('[data-plugin-sort]:not(.manual), .sort-source:not(.manual)').each(function() { 527 var $this = $(this), 528 opts; 529 530 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 531 if (pluginOptions) 532 opts = pluginOptions; 533 534 $this.themePluginSort(opts); 535 }); 536 }); 537 538 } 539 540}).apply(this, [jQuery]); 541 542// Star Rating 543(function($) { 544 545 'use strict'; 546 547 if ($.isFunction($.fn['themePluginStarRating'])) { 548 549 $(function() { 550 $('[data-plugin-star-rating]:not(.manual)').each(function() { 551 var $this = $(this), 552 opts; 553 554 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 555 if (pluginOptions) 556 opts = pluginOptions; 557 558 $this.themePluginStarRating(opts); 559 }); 560 }); 561 562 } 563 564}).apply(this, [jQuery]); 565 566// Sticky 567(function($) { 568 569 'use strict'; 570 571 if ($.isFunction($.fn['themePluginSticky'])) { 572 573 $(function() {
574 $('[data-plugin-sticky]:not(.manual)').each(function() { 575 var $this = $(this), 576 opts; 577 578 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 579 if (pluginOptions) 580 opts = pluginOptions; 581 582 $this.themePluginSticky(opts); 583 }); 584 }); 585 586 } 587 588}).apply(this, [jQuery]); 589 590// Toggle 591(function($) { 592 593 'use strict'; 594 595 if ($.isFunction($.fn['themePluginToggle'])) { 596 597 $(function() { 598 $('[data-plugin-toggle]:not(.manual)').each(function() { 599 var $this = $(this), 600 opts; 601 602 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 603 if (pluginOptions) 604 opts = pluginOptions; 605 606 $this.themePluginToggle(opts); 607 }); 608 }); 609 610 } 611 612}).apply(this, [jQuery]); 613 614// Tweets 615(function($) { 616 617 'use strict'; 618 619 if ($.isFunction($.fn['themePluginTweets'])) { 620 621 $(function() { 622 $('[data-plugin-tweets]:not(.manual)').each(function() { 623 var $this = $(this), 624 opts; 625 626 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 627 if (pluginOptions) 628 opts = pluginOptions; 629 630 $this.themePluginTweets(opts); 631 }); 632 }); 633 634 } 635 636}).apply(this, [jQuery]); 637 638// Video Background 639(function($) { 640 641 'use strict'; 642 643 if ($.isFunction($.fn['themePluginVideoBackground'])) { 644 645 $(function() { 646 $('[data-plugin-video-background]:not(.manual)').each(function() { 647 var $this = $(this), 648 opts; 649 650 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 651 if (pluginOptions) 652 opts = pluginOptions; 653 654 $this.themePluginVideoBackground(opts); 655 }); 656 }); 657 658 } 659 660}).apply(this, [jQuery]); 661 662// Commom Partials 663(function($) { 664 665 'use strict'; 666 667 // Sticky Header 668 if (typeof theme.StickyHeader !== 'undefined') { 669 theme.StickyHeader.initialize(); 670 } 671 672 // Nav Menu 673 if (typeof theme.Nav !== 'undefined') { 674 theme.Nav.initialize(); 675 } 676 677 // Search 678 if (typeof theme.Search !== 'undefined') { 679 theme.Search.initialize(); 680 } 681 682 // Newsletter 683 if (typeof theme.Newsletter !== 'undefined') { 684 theme.Newsletter.initialize(); 685 } 686 687 // Account 688 if (typeof theme.Account !== 'undefined') { 689 theme.Account.initialize(); 690 } 691 692}).apply(this, [jQuery]);
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.