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 = $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-plugin-animate], [data-appear-animation]').each(function() { 61 var $this = $(this), 62 opts; 63 64 var pluginOptions = $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// Carousel 77(function($) { 78 79 'use strict'; 80 81 if ($.isFunction($.fn['themePluginCarousel'])) { 82 83 $(function() { 84 $('[data-plugin-carousel]:not(.manual), .owl-carousel:not(.manual)').each(function() { 85 var $this = $(this), 86 opts; 87 88 var pluginOptions = $this.data('plugin-options'); 89 if (pluginOptions) 90 opts = pluginOptions; 91 92 $this.themePluginCarousel(opts); 93 }); 94 }); 95 96 } 97 98}).apply(this, [jQuery]); 99 100// Chart.Circular 101(function($) { 102 103 'use strict'; 104 105 if ($.isFunction($.fn['themePluginChartCircular'])) { 106 107 $(function() { 108 $('[data-plugin-chart-circular]:not(.manual), .circular-bar-chart:not(.manual)').each(function() { 109 var $this = $(this), 110 opts; 111 112 var pluginOptions = $this.data('plugin-options'); 113 if (pluginOptions) 114 opts = pluginOptions; 115 116 $this.themePluginChartCircular(opts); 117 }); 118 }); 119 120 } 121 122}).apply(this, [jQuery]); 123 124// Counter 125(function($) { 126 127 'use strict'; 128 129 if ($.isFunction($.fn['themePluginCounter'])) { 130 131 $(function() { 132 $('[data-plugin-counter]:not(.manual), .counters [data-to]').each(function() { 133 var $this = $(this), 134 opts; 135 136 var pluginOptions = $this.data('plugin-options'); 137 if (pluginOptions) 138 opts = pluginOptions; 139 140 $this.themePluginCounter(opts); 141 }); 142 }); 143 144 } 145 146}).apply(this, [jQuery]); 147 148// Lazy Load 149(function($) { 150 151 'use strict'; 152 153 if ($.isFunction($.fn['themePluginLazyLoad'])) { 154 155 $(function() { 156 $('[data-plugin-lazyload]:not(.manual)').each(function() { 157 var $this = $(this), 158 opts; 159 160 var pluginOptions = $this.data('plugin-options'); 161 if (pluginOptions) 162 opts = pluginOptions; 163 164 $this.themePluginLazyLoad(opts); 165 }); 166 }); 167 168 } 169 170}).apply(this, [jQuery]); 171 172// Lightbox 173(function($) { 174 175 'use strict'; 176 177 if ($.isFunction($.fn['themePluginLightbox'])) { 178 179 $(function() { 180 $('[data-plugin-lightbox]:not(.manual), .lightbox:not(.manual)').each(function() { 181 var $this = $(this), 182 opts; 183 184 var pluginOptions = $this.data('plugin-options'); 185 if (pluginOptions) 186 opts = pluginOptions; 187 188 $this.themePluginLightbox(opts); 189 }); 190 }); 191 192 } 193 194}).apply(this, [jQuery]); 195 196// Masonry 197(function($) { 198 199 'use strict'; 200 201 if ($.isFunction($.fn['themePluginMasonry'])) { 202 203 $(function() { 204 $('[data-plugin-masonry]:not(.manual)').each(function() { 205 var $this = $(this), 206 opts; 207 208 var pluginOptions = $this.data('plugin-options'); 209 if (pluginOptions) 210 opts = pluginOptions; 211 212 $this.themePluginMasonry(opts); 213 }); 214 }); 215 216 } 217 218}).apply(this, [jQuery]); 219 220// Match Height 221(function($) { 222 223 'use strict'; 224 225 if ($.isFunction($.fn['themePluginMatchHeight'])) { 226 227 $(function() { 228 $('[data-plugin-match-height]:not(.manual)').each(function() { 229 var $this = $(this), 230 opts; 231 232 var pluginOptions = $this.data('plugin-options'); 233 if (pluginOptions) 234 opts = pluginOptions; 235 236 $this.themePluginMatchHeight(opts); 237 }); 238 }); 239 240 } 241 242}).apply(this, [jQuery]); 243 244// Parallax 245(function($) { 246 247 'use strict'; 248 249 if ($.isFunction($.fn['themePluginParallax'])) { 250 251 $(function() { 252 $('[data-plugin-parallax]:not(.manual)').each(function() { 253 var $this = $(this), 254 opts; 255 256 var pluginOptions = $this.data('plugin-options'); 257 if (pluginOptions) 258 opts = pluginOptions; 259 260 $this.themePluginParallax(opts); 261 }); 262 }); 263 264 } 265 266}).apply(this, [jQuery]); 267 268// Progress Bar 269(function($) { 270 271 'use strict'; 272 273 if ($.isFunction($.fn['themePluginProgressBar'])) { 274 275 $(function() { 276 $('[data-plugin-progress-bar]:not(.manual), [data-appear-progress-animation]').each(function() { 277 var $this = $(this), 278 opts; 279 280 var pluginOptions = $this.data('plugin-options'); 281 if (pluginOptions) 282 opts = pluginOptions; 283 284 $this.themePluginProgressBar(opts); 285 }); 286 }); 287 288 } 289 290}).apply(this, [jQuery]); 291 292// Revolution Slider 293(function($) { 294 295 'use strict'; 296 297 if ($.isFunction($.fn['themePluginRevolutionSlider'])) { 298 299 $(function() { 300 $('[data-plugin-revolution-slider]:not(.manual), .slider-container .slider:not(.manual)').each(function() { 301 var $this = $(this), 302 opts; 303 304 var pluginOptions = $this.data('plugin-options'); 305 if (pluginOptions) 306 opts = pluginOptions; 307 308 $this.themePluginRevolutionSlider(opts); 309 }); 310 }); 311 312 } 313 314}).apply(this, [jQuery]); 315 316// Sort 317(function($) { 318 319 'use strict'; 320 321 if ($.isFunction($.fn['themePluginSort'])) { 322 323 $(function() { 324 $('[data-plugin-sort]:not(.manual), .sort-source:not(.manual)').each(function() { 325 var $this = $(this), 326 opts; 327 328 var pluginOptions = $this.data('plugin-options'); 329 if (pluginOptions) 330 opts = pluginOptions; 331 332 $this.themePluginSort(opts); 333 }); 334 }); 335 336 } 337 338}).apply(this, [jQuery]); 339 340// Sticky 341(function($) { 342 343 'use strict'; 344 345 if ($.isFunction($.fn['themePluginSticky'])) { 346 347 $(function() {
348 $('[data-plugin-sticky]:not(.manual)').each(function() { 349 var $this = $(this), 350 opts; 351 352 var pluginOptions = $this.data('plugin-options'); 353 if (pluginOptions) 354 opts = pluginOptions; 355 356 $this.themePluginSticky(opts); 357 }); 358 }); 359 360 } 361 362}).apply(this, [jQuery]); 363 364// Toggle 365(function($) { 366 367 'use strict'; 368 369 if ($.isFunction($.fn['themePluginToggle'])) { 370 371 $(function() { 372 $('[data-plugin-toggle]:not(.manual)').each(function() { 373 var $this = $(this), 374 opts; 375 376 var pluginOptions = $this.data('plugin-options'); 377 if (pluginOptions) 378 opts = pluginOptions; 379 380 $this.themePluginToggle(opts); 381 }); 382 }); 383 384 } 385 386}).apply(this, [jQuery]); 387 388// Tweets 389(function($) { 390 391 'use strict'; 392 393 if ($.isFunction($.fn['themePluginTweets'])) { 394 395 $(function() { 396 $('[data-plugin-tweets]:not(.manual)').each(function() { 397 var $this = $(this), 398 opts; 399 400 var pluginOptions = $this.data('plugin-options'); 401 if (pluginOptions) 402 opts = pluginOptions; 403 404 $this.themePluginTweets(opts); 405 }); 406 }); 407 408 } 409 410}).apply(this, [jQuery]); 411 412// Video Background 413(function($) { 414 415 'use strict'; 416 417 if ($.isFunction($.fn['themePluginVideoBackground'])) { 418 419 $(function() { 420 $('[data-plugin-video-background]:not(.manual)').each(function() { 421 var $this = $(this), 422 opts; 423 424 var pluginOptions = $this.data('plugin-options'); 425 if (pluginOptions) 426 opts = pluginOptions; 427 428 $this.themePluginVideoBackground(opts); 429 }); 430 }); 431 432 } 433 434}).apply(this, [jQuery]); 435 436// Word Rotate 437(function($) { 438 439 'use strict'; 440 441 if ($.isFunction($.fn['themePluginWordRotate'])) { 442 443 $(function() { 444 $('[data-plugin-word-rotate]:not(.manual), .word-rotate:not(.manual)').each(function() { 445 var $this = $(this), 446 opts; 447 448 var pluginOptions = $this.data('plugin-options'); 449 if (pluginOptions) 450 opts = pluginOptions; 451 452 $this.themePluginWordRotate(opts); 453 }); 454 }); 455 456 } 457 458}).apply(this, [jQuery]); 459 460// Commom Partials 461(function($) { 462 463 'use strict'; 464 465 // Sticky Header 466 if (typeof theme.StickyHeader !== 'undefined') { 467 theme.StickyHeader.initialize(); 468 } 469 470 // Nav Menu 471 if (typeof theme.Nav !== 'undefined') { 472 theme.Nav.initialize(); 473 } 474 475 // Search 476 if (typeof theme.Search !== 'undefined') { 477 theme.Search.initialize(); 478 } 479 480 // Newsletter 481 if (typeof theme.Newsletter !== 'undefined') { 482 theme.Newsletter.initialize(); 483 } 484 485 // Account 486 if (typeof theme.Account !== 'undefined') { 487 theme.Account.initialize(); 488 } 489 490}).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.