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 $(document).ready(function(){ 60 $(function() { 61 62 $('[data-appear-animation]').each(function() { 63 var $this = $(this), 64 opts; 65 66 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 67 if (pluginOptions) 68 opts = pluginOptions; 69 70 $this.themePluginAnimate(opts); 71 }); 72 73 }); 74 }); 75 76 } 77 78}).apply(this, [jQuery]); 79 80// Carousel 81(function($) { 82 83 'use strict'; 84 85 if ($.isFunction($.fn['themePluginCarousel'])) { 86 87 $(function() { 88 $('[data-plugin-carousel]:not(.manual), .owl-carousel:not(.manual):not(.owl)').each(function() { 89 var $this = $(this), 90 opts; 91 92 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 93 if (pluginOptions) 94 opts = pluginOptions; 95 96 $this.themePluginCarousel(opts); 97 }); 98 }); 99 100 } 101 102}).apply(this, [jQuery]); 103 104// Chart.Circular 105(function($) { 106 107 'use strict'; 108 109 if ($.isFunction($.fn['themePluginChartCircular'])) { 110 111 $(function() { 112 $('[data-plugin-chart-circular]:not(.manual), .circular-bar-chart:not(.manual)').each(function() { 113 var $this = $(this), 114 opts; 115 116 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 117 if (pluginOptions) 118 opts = pluginOptions; 119 120 $this.themePluginChartCircular(opts); 121 }); 122 }); 123 124 } 125 126}).apply(this, [jQuery]); 127 128// Counter 129(function($) { 130 131 'use strict'; 132 133 if ($.isFunction($.fn['themePluginCounter'])) { 134 135 $(function() { 136 $('[data-plugin-counter]:not(.manual), .counters [data-to]').each(function() { 137 var $this = $(this), 138 opts; 139 140 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 141 if (pluginOptions) 142 opts = pluginOptions; 143 144 $this.themePluginCounter(opts); 145 }); 146 }); 147 148 } 149 150}).apply(this, [jQuery]); 151 152// Double Carousel 153(function($) { 154 155 'use strict'; 156 157 if ($.isFunction($.fn['themePluginDoubleCarousel'])) { 158 159 $(function() { 160 $('[data-plugin-double-carousel]:not(.manual), .double-carousel:not(.manual)').each(function() { 161 var $this = $(this), 162 opts; 163 164 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 165 if (pluginOptions) 166 opts = pluginOptions; 167 168 $this.themePluginDoubleCarousel(opts); 169 }); 170 }); 171 172 } 173 174}).apply(this, [jQuery]); 175 176// Float Element 177(function($) { 178 179 'use strict'; 180 181 if ($.isFunction($.fn['themePluginFloatElement'])) { 182 183 $(function() { 184 $('[data-plugin-float-element]:not(.manual)').each(function() { 185 var $this = $(this), 186 opts; 187 188 var pluginOptions = theme.fn.getOptionsSemicolon($this.data('plugin-options')); 189 if (pluginOptions) 190 opts = pluginOptions; 191 192 $this.themePluginFloatElement(opts); 193 }); 194 }); 195 196 } 197 198}).apply(this, [jQuery]); 199 200// Animated Icon 201(function($) { 202 203 'use strict'; 204 205 if ($.isFunction($.fn['themePluginIcon'])) { 206 207 $(document).ready(function(){ 208 $(function() { 209 210 $('[data-icon]').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.themePluginIcon(opts); 219 }); 220 221 }); 222 }); 223 } 224 225}).apply(this, [jQuery]); 226
227// Image Background 228(function($) { 229 230 'use strict'; 231 232 if ($.isFunction($.fn['themePluginImageBackground'])) { 233 234 $(function() { 235 $('[data-plugin-image-background]:not(.manual)').each(function() { 236 var $this = $(this), 237 opts; 238 239 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 240 if (pluginOptions) 241 opts = pluginOptions; 242 243 $this.themePluginImageBackground(opts); 244 }); 245 }); 246 247 } 248 249}).apply(this, [jQuery]); 250 251// Lazy Load 252(function($) { 253 254 'use strict'; 255 256 if ($.isFunction($.fn['themePluginLazyLoad'])) { 257 258 $(function() { 259 $('[data-plugin-lazyload]:not(.manual)').each(function() { 260 var $this = $(this), 261 opts; 262 263 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 264 if (pluginOptions) 265 opts = pluginOptions; 266 267 $this.themePluginLazyLoad(opts); 268 }); 269 }); 270 271 } 272 273}).apply(this, [jQuery]); 274 275// Lightbox 276(function($) { 277 278 'use strict'; 279 280 if ($.isFunction($.fn['themePluginLightbox'])) { 281 282 $(function() { 283 $('[data-plugin-lightbox]:not(.manual), .lightbox:not(.manual)').each(function() { 284 var $this = $(this), 285 opts; 286 287 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 288 if (pluginOptions) 289 opts = pluginOptions; 290 291 $this.themePluginLightbox(opts); 292 }); 293 }); 294 295 } 296 297}).apply(this, [jQuery]); 298 299// Masonry 300(function($) { 301 302 'use strict'; 303 304 if ($.isFunction($.fn['themePluginMasonry'])) { 305 306 $(function() { 307 $('[data-plugin-masonry]:not(.manual)').each(function() { 308 var $this = $(this), 309 opts; 310 311 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 312 if (pluginOptions) 313 opts = pluginOptions; 314 315 $this.themePluginMasonry(opts); 316 }); 317 }); 318 319 } 320 321}).apply(this, [jQuery]); 322 323// Match Height 324(function($) { 325 326 'use strict'; 327 328 if ($.isFunction($.fn['themePluginMatchHeight'])) { 329 330 $(function() { 331 $('[data-plugin-match-height]:not(.manual)').each(function() { 332 var $this = $(this), 333 opts; 334 335 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 336 if (pluginOptions) 337 opts = pluginOptions; 338 339 $this.themePluginMatchHeight(opts); 340 }); 341 }); 342 343 } 344 345}).apply(this, [jQuery]); 346 347// Parallax 348(function($) { 349 350 'use strict'; 351 352 if ($.isFunction($.fn['themePluginParallax'])) { 353 354 $(function() { 355 $('[data-plugin-parallax]:not(.manual)').each(function() { 356 var $this = $(this), 357 opts; 358 359 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 360 if (pluginOptions) 361 opts = pluginOptions; 362 363 $this.themePluginParallax(opts); 364 }); 365 }); 366 367 } 368 369}).apply(this, [jQuery]); 370 371// Progress Bar 372(function($) { 373 374 'use strict'; 375 376 if ($.isFunction($.fn['themePluginProgressBar'])) { 377 378 $(function() { 379 $('[data-plugin-progress-bar]:not(.manual), [data-appear-progress-animation]').each(function() { 380 var $this = $(this), 381 opts; 382 383 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 384 if (pluginOptions) 385 opts = pluginOptions; 386 387 $this.themePluginProgressBar(opts); 388 }); 389 }); 390 391 } 392 393}).apply(this, [jQuery]); 394 395// Rmove Min Height After Load 396(function($) { 397 398 'use strict'; 399 400 if ($.isFunction($.fn['themePluginRemoveMinHeight'])) { 401 402 $(function() { 403 $('[data-plugin-remove-min-height]:not(.manual)').each(function() { 404 var $this = $(this), 405 opts; 406 407 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 408 if (pluginOptions) 409 opts = pluginOptions; 410 411 $this.themePluginRemoveMinHeight(opts); 412 }); 413 }); 414 415 } 416 417}).apply(this, [jQuery]); 418 419// Revolution Slider 420(function($) { 421 422 'use strict'; 423 424 if ($.isFunction($.fn['themePluginRevolutionSlider'])) { 425 426 $(function() { 427 $('[data-plugin-revolution-slider]:not(.manual), .slider-container .slider:not(.manual)').each(function() { 428 var $this = $(this), 429 opts; 430 431 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 432 if (pluginOptions) 433 opts = pluginOptions; 434 435 $this.themePluginRevolutionSlider(opts); 436 }); 437 }); 438 439 } 440 441}).apply(this, [jQuery]); 442 443// Counter 444(function($) { 445 446 'use strict'; 447 448 if ($.isFunction($.fn['themePluginSliderRange'])) { 449 450 $(function() {
451 $('[data-plugin-slider-range]:not(.manual)').each(function() { 452 var $this = $(this), 453 opts; 454 455 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 456 if (pluginOptions) 457 opts = pluginOptions; 458 459 $this.themePluginSliderRange(opts); 460 }); 461 }); 462 463 } 464 465}).apply(this, [jQuery]); 466 467// Sort 468(function($) { 469 470 'use strict'; 471 472 if ($.isFunction($.fn['themePluginSort'])) { 473 474 $(function() { 475 $('[data-plugin-sort]:not(.manual), .sort-source:not(.manual)').each(function() { 476 var $this = $(this), 477 opts; 478 479 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 480 if (pluginOptions) 481 opts = pluginOptions; 482 483 $this.themePluginSort(opts); 484 }); 485 }); 486 487 } 488 489}).apply(this, [jQuery]); 490 491// Steps 492(function($) { 493 494 'use strict'; 495 496 if ($.isFunction($.fn['themePluginSteps'])) { 497 498 $(function() { 499 $('[data-plugin-steps]:not(.manual), .steps:not(.manual)').each(function() { 500 var $this = $(this), 501 opts; 502 503 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 504 if (pluginOptions) 505 opts = pluginOptions; 506 507 $this.themePluginSteps(opts); 508 }); 509 }); 510 511 } 512 513}).apply(this, [jQuery]); 514 515// Sticky 516(function($) { 517 518 'use strict'; 519 520 if ($.isFunction($.fn['themePluginSticky'])) { 521 522 $(function() { 523 $('[data-plugin-sticky]:not(.manual)').each(function() { 524 var $this = $(this), 525 opts; 526 527 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 528 if (pluginOptions) 529 opts = pluginOptions; 530 531 $this.themePluginSticky(opts); 532 }); 533 }); 534 535 } 536 537}).apply(this, [jQuery]); 538 539// Toggle 540(function($) { 541 542 'use strict'; 543 544 if ($.isFunction($.fn['themePluginToggle'])) { 545 546 $(function() { 547 $('[data-plugin-toggle]:not(.manual)').each(function() { 548 var $this = $(this), 549 opts; 550 551 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 552 if (pluginOptions) 553 opts = pluginOptions; 554 555 $this.themePluginToggle(opts); 556 }); 557 }); 558 559 } 560 561}).apply(this, [jQuery]); 562 563// Tweets 564(function($) { 565 566 'use strict'; 567 568 if ($.isFunction($.fn['themePluginTweets'])) { 569 570 $(function() { 571 $('[data-plugin-tweets]:not(.manual)').each(function() { 572 var $this = $(this), 573 opts; 574 575 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 576 if (pluginOptions) 577 opts = pluginOptions; 578 579 $this.themePluginTweets(opts); 580 }); 581 }); 582 583 } 584 585}).apply(this, [jQuery]); 586 587// Video Background 588(function($) { 589 590 'use strict'; 591 592 if ($.isFunction($.fn['themePluginVideoBackground'])) { 593 594 $(function() { 595 $('[data-plugin-video-background]:not(.manual)').each(function() { 596 var $this = $(this), 597 opts; 598 599 var pluginOptions = theme.fn.getOptions($this.data('plugin-options')); 600 if (pluginOptions) 601 opts = pluginOptions; 602 603 $this.themePluginVideoBackground(opts); 604 }); 605 }); 606 607 } 608 609}).apply(this, [jQuery]); 610 611// Commom Partials 612(function($) { 613 614 'use strict'; 615 616 // Sticky Header 617 if (typeof theme.StickyHeader !== 'undefined') { 618 theme.StickyHeader.initialize(); 619 } 620 621 // Sticky Secondary Header 622 if (typeof theme.StickySecondaryHeader !== 'undefined') { 623 theme.StickySecondaryHeader.initialize(); 624 } 625 626 // Nav Menu 627 if (typeof theme.Nav !== 'undefined') { 628 theme.Nav.initialize(); 629 } 630 631 // Search 632 if (typeof theme.Search !== 'undefined') { 633 theme.Search.initialize(); 634 } 635 636 // Newsletter 637 if (typeof theme.Newsletter !== 'undefined') { 638 theme.Newsletter.initialize(); 639 } 640 641 // Account 642 if (typeof theme.Account !== 'undefined') { 643 theme.Account.initialize(); 644 } 645 646}).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.