1// Commom Plugins 2(function($) { 3 4 'use strict'; 5 // Scroll to Top Button. 6 if (typeof theme.PluginScrollToTop !== 'undefined') { 7 theme.PluginScrollToTop.initialize(); 8 } 9 10 // Tooltips 11 if ($.isFunction($.fn['tooltip'])) { 12 $('[data-tooltip]:not(.manual), [data-plugin-tooltip]:not(.manual)').tooltip(); 13 } 14 15 // Popover 16 if ($.isFunction($.fn['popover'])) { 17 $(function() { 18 $('[data-plugin-popover]:not(.manual)').each(function() { 19 var $this = $(this), 20 opts; 21 22 var pluginOptions = $this.data('plugin-options'); 23 if (pluginOptions) 24 opts = pluginOptions; 25 26 $this.popover(opts); 27 }); 28 }); 29 } 30 31 // Validations 32 if (typeof theme.PluginValidation !== 'undefined') { 33 theme.PluginValidation.initialize(); 34 } 35 36 // Parallax 37 if (typeof theme.PluginParallax !== 'undefined') { 38 theme.PluginParallax.initialize(); 39 } 40 41 // Match Height 42 if ($.isFunction($.fn['matchHeight'])) { 43 44 $('.match-height').matchHeight(); 45 46 // Featured Boxes 47 $('.featured-boxes .featured-box').matchHeight(); 48 49 // Featured Box Full 50 $('.featured-box-full').matchHeight(); 51 52 } 53 54}).apply(this, [jQuery]); 55 56// Animate 57(function($) { 58 59 'use strict'; 60 61 if ($.isFunction($.fn['themePluginAnimate'])) { 62 63 $(function() { 64 $('[data-plugin-animate], [data-appear-animation]').each(function() { 65 var $this = $(this), 66 opts; 67 68 var pluginOptions = $this.data('plugin-options'); 69 if (pluginOptions) 70 opts = pluginOptions; 71 72 $this.themePluginAnimate(opts); 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)').each(function() { 89 var $this = $(this), 90 opts; 91 92 var pluginOptions = $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 = $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 = $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// Lazy Load 153(function($) { 154 155 'use strict'; 156 157 if ($.isFunction($.fn['themePluginLazyLoad'])) { 158 159 $(function() { 160 $('[data-plugin-lazyload]:not(.manual)').each(function() { 161 var $this = $(this), 162 opts; 163 164 var pluginOptions = $this.data('plugin-options'); 165 if (pluginOptions) 166 opts = pluginOptions; 167 168 $this.themePluginLazyLoad(opts); 169 }); 170 }); 171 172 } 173 174}).apply(this, [jQuery]); 175 176// Lightbox 177(function($) { 178 179 'use strict'; 180 181 if ($.isFunction($.fn['themePluginLightbox'])) { 182 183 $(function() { 184 $('[data-plugin-lightbox]:not(.manual), .lightbox:not(.manual)').each(function() { 185 var $this = $(this), 186 opts; 187 188 var pluginOptions = $this.data('plugin-options'); 189 if (pluginOptions) 190 opts = pluginOptions; 191 192 $this.themePluginLightbox(opts); 193 }); 194 }); 195 196 } 197 198}).apply(this, [jQuery]); 199 200// Masonry 201(function($) { 202 203 'use strict'; 204 205 if ($.isFunction($.fn['themePluginMasonry'])) { 206 207 $(function() { 208 $('[data-plugin-masonry]:not(.manual)').each(function() { 209 var $this = $(this), 210 opts; 211 212 var pluginOptions = $this.data('plugin-options'); 213 if (pluginOptions) 214 opts = pluginOptions; 215 216 $this.themePluginMasonry(opts); 217 }); 218 }); 219 220 } 221 222}).apply(this, [jQuery]); 223 224// Match Height 225(function($) { 226 227 'use strict'; 228 229 if ($.isFunction($.fn['themePluginMatchHeight'])) { 230 231 $(function() { 232 $('[data-plugin-match-height]:not(.manual)').each(function() { 233 var $this = $(this), 234 opts; 235 236 var pluginOptions = $this.data('plugin-options'); 237 if (pluginOptions) 238 opts = pluginOptions; 239 240 $this.themePluginMatchHeight(opts); 241 }); 242 }); 243 244 } 245 246}).apply(this, [jQuery]); 247 248// Progress Bar 249(function($) { 250 251 'use strict'; 252 253 if ($.isFunction($.fn['themePluginProgressBar'])) { 254 255 $(function() { 256 $('[data-plugin-progress-bar]:not(.manual), [data-appear-progress-animation]').each(function() { 257 var $this = $(this), 258 opts; 259 260 var pluginOptions = $this.data('plugin-options'); 261 if (pluginOptions) 262 opts = pluginOptions; 263 264 $this.themePluginProgressBar(opts); 265 }); 266 }); 267 268 } 269 270}).apply(this, [jQuery]); 271 272// Revolution Slider 273(function($) { 274 275 'use strict'; 276 277 if ($.isFunction($.fn['themePluginRevolutionSlider'])) { 278 279 $(function() { 280 $('[data-plugin-revolution-slider]:not(.manual), .slider-container .slider:not(.manual)').each(function() { 281 var $this = $(this), 282 opts; 283 284 var pluginOptions = $this.data('plugin-options'); 285 if (pluginOptions) 286 opts = pluginOptions; 287 288 $this.themePluginRevolutionSlider(opts); 289 }); 290 }); 291 292 } 293 294}).apply(this, [jQuery]); 295 296// Sort 297(function($) { 298 299 'use strict'; 300 301 if ($.isFunction($.fn['themePluginSort'])) { 302 303 $(function() { 304 $('[data-plugin-sort]:not(.manual), .sort-source:not(.manual)').each(function() { 305 var $this = $(this), 306 opts; 307 308 var pluginOptions = $this.data('plugin-options'); 309 if (pluginOptions) 310 opts = pluginOptions; 311 312 $this.themePluginSort(opts); 313 }); 314 }); 315 316 } 317 318}).apply(this, [jQuery]); 319 320// Sticky 321(function($) { 322 323 'use strict'; 324 325 if ($.isFunction($.fn['themePluginSticky'])) { 326 327 $(function() {
328 $('[data-plugin-sticky]:not(.manual)').each(function() { 329 var $this = $(this), 330 opts; 331 332 var pluginOptions = $this.data('plugin-options'); 333 if (pluginOptions) 334 opts = pluginOptions; 335 336 $this.themePluginSticky(opts); 337 }); 338 }); 339 340 } 341 342}).apply(this, [jQuery]); 343 344// Toggle 345(function($) { 346 347 'use strict'; 348 349 if ($.isFunction($.fn['themePluginToggle'])) { 350 351 $(function() { 352 $('[data-plugin-toggle]:not(.manual)').each(function() { 353 var $this = $(this), 354 opts; 355 356 var pluginOptions = $this.data('plugin-options'); 357 if (pluginOptions) 358 opts = pluginOptions; 359 360 $this.themePluginToggle(opts); 361 }); 362 }); 363 364 } 365 366}).apply(this, [jQuery]); 367 368// Tweets 369(function($) { 370 371 'use strict'; 372 373 if ($.isFunction($.fn['themePluginTweets'])) { 374 375 $(function() { 376 $('[data-plugin-tweets]:not(.manual)').each(function() { 377 var $this = $(this), 378 opts; 379 380 var pluginOptions = $this.data('plugin-options'); 381 if (pluginOptions) 382 opts = pluginOptions; 383 384 $this.themePluginTweets(opts); 385 }); 386 }); 387 388 } 389 390}).apply(this, [jQuery]); 391 392// Video Background 393(function($) { 394 395 'use strict'; 396 397 if ($.isFunction($.fn['themePluginVideoBackground'])) { 398 399 $(function() { 400 $('[data-plugin-video-background]:not(.manual)').each(function() { 401 var $this = $(this), 402 opts; 403 404 var pluginOptions = $this.data('plugin-options'); 405 if (pluginOptions) 406 opts = pluginOptions; 407 408 $this.themePluginVideoBackground(opts); 409 }); 410 }); 411 412 } 413 414}).apply(this, [jQuery]); 415 416// Word Rotate 417(function($) { 418 419 'use strict'; 420 421 if ($.isFunction($.fn['themePluginWordRotate'])) { 422 423 $(function() { 424 $('[data-plugin-word-rotate]:not(.manual), .word-rotate:not(.manual)').each(function() { 425 var $this = $(this), 426 opts; 427 428 var pluginOptions = $this.data('plugin-options'); 429 if (pluginOptions) 430 opts = pluginOptions; 431 432 $this.themePluginWordRotate(opts); 433 }); 434 }); 435 436 } 437 438}).apply(this, [jQuery]); 439 440// Commom Partials 441(function($) { 442 443 'use strict'; 444 445 // Sticky Header 446 if (typeof theme.StickyHeader !== 'undefined') { 447 theme.StickyHeader.initialize(); 448 } 449 450 // Nav Menu 451 if (typeof theme.Nav !== 'undefined') { 452 theme.Nav.initialize(); 453 } 454 455 // Search 456 if (typeof theme.Search !== 'undefined') { 457 theme.Search.initialize(); 458 } 459 460 // Newsletter 461 if (typeof theme.Newsletter !== 'undefined') { 462 theme.Newsletter.initialize(); 463 } 464 465 // Account 466 if (typeof theme.Account !== 'undefined') { 467 theme.Account.initialize(); 468 } 469 470}).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.