1/*! Striking MultiFlex 2* https://kaptinlin.com/themes/strikingr 3* Copyright (c) 2015 Lyon Holding Limited */ 4 5//Match media 6window.matchMedia||(window.matchMedia=function(){"use strict";var a=window.styleMedia||window.media;if(!a){var b=document.createElement("style"),c=document.getElementsByTagName("script")[0],d=null;b.type="text/css",b.id="matchmediajs-test",c.parentNode.insertBefore(b,c),d="getComputedStyle"in window&&window.getComputedStyle(b,null)||b.currentStyle,a={matchMedium:function(a){var c="@media "+a+"{ #matchmediajs-test { width: 1px; } }";return b.styleSheet?b.styleSheet.cssText=c:b.textContent=c,"1px"===d.width}}}return function(b){return{matches:a.matchMedium(b||"all"),media:b||"all"}}}()), 7 8//Match media Add Listerners 9function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var a=window.matchMedia,b=a("only all").matches,c=!1,d=0,e=[],f=function(){clearTimeout(d),d=setTimeout(function(){for(var b=0,c=e.length;c>b;b++){var d=e[b].mql,f=e[b].listeners||[],g=a(d.media).matches;if(g!==d.matches){d.matches=g;for(var h=0,i=f.length;i>h;h++)f[h].call(window,d)}}},30)};window.matchMedia=function(d){var g=a(d),h=[],i=0;return g.addListener=function(a){b&&(c||(c=!0,window.addEventListener("resize",f,!0)),0===i&&(i=e.push({mql:g,listeners:h})),h.push(a))},g.removeListener=function(a){for(var b=0,c=h.length;c>b;b++)h[b]===a&&h.splice(b,1)},g}}(), 10 11//jquery-nav 12!function(a,b){"use strict";var d="nav",e=b.nav=function(a,c){function h(){e.windowDimensions=g.getWindowDimensions(),i(),b(window).on("resize",g.resize)}function i(){f=!0;var a=g.$nav.find("> li");j(a,g.settings.root),j(a.find("li"),g.settings.child)}function j(a,c){g.hover(a,c.hoverIntent,c.delay,function(){var a=this,d=b(this).find("> ul");if(c.beforeHoverIn.call(a),d.length>0){var f=b(a).data("check");"undefined"===typeof f&&c.beforeFirstRender.call(a),("undefined"===typeof f||f!==e.windowDimensions)&&(c.position.call(a,d,g),b(a).data("check",e.windowDimensions)),"fade"===c.effect?d.hide().css("visibility","visible").fadeIn(c.inDuration,function(){c.afterHoverIn.call(a)}):d.hide().css("visibility","visible").slideDown(c.inDuration,function(){c.afterHoverIn.call(a)})}else c.afterHoverIn.call(a)},function(){var a=this,d=b(this).find("> ul");c.beforeHoverOut.call(a),d.length>0?"fade"===c.effect?d.fadeOut(c.outDuration,function(){d.css("visibility","hidden"),c.afterHoverOut.call(a)}):d.slideUp(c.outDuration,function(){d.css("visibility","hidden"),c.afterHoverOut.call(a)}):c.afterHoverOut.call(a)})}this.nav=a,this.$nav=b(a),this.settings=b.extend(!0,{},e.defaults,c);var f=!1,g=this;null==this.settings.rtl&&(this.settings.rtl=function(a){if("rtl"===(""+a.attr("dir")).toLowerCase())return!0;var c=!1;return a.parents("[dir]").each(function(){return/rtl/i.test(b(this).attr("dir"))?(c=!0,!1):void 0}),c}(this.$nav)),this.settings.rtl?(this.dirAttribute="right",this.$nav.addClass(d+"_rtl")):this.dirAttribute="left",b.extend(g,{getNav:function(){return this.$nav},getCurrent:function(){var a=this.$nav.find(this.settings.currentSelector);return 0===a.length&&(a=this.$nav.find("li:first")),a.find("> a")},getWindowDimensions:function(){return{w:b(window).width(),h:b(window).height()}},resize:function(){e.windowDimensions=g.getWindowDimensions()},isBuilted:function(){return f},hover:function(a,c,d,e,f){"undefined"!==typeof b.fn.hoverIntent?b(a).hoverIntent({sensitivity:30,interval:c,timeout:d,over:e,out:f}):(b(a).on("mouseenter",e),b(a).on("mouseleave",f))}}),h()};e.defaults={root:{effect:"slide",delay:100,hoverIntent:100,inDuration:200,outDuration:200,beforeHoverIn:function(){},afterHoverIn:function(){b(this).addClass("is-open")},beforeHoverOut:function(){},afterHoverOut:function(){b(this).removeClass("is-open")},beforeFirstRender:function(){},position:function(a,c){var d=this,f=b(this);a.css({left:"",right:""});var g={left:f.offset().left,top:f.offset().top},h={w:a.outerWidth(),h:a.outerHeight()};a.css(c.settings.rtl?g.left>h.w?{right:0}:g.left+d.offsetWidth<h.w?{right:-h.w+d.offsetWidth}:{right:"auto",left:0}:g.left+h.w<e.windowDimensions.w?{left:0}:g.left+d.offsetWidth<h.w?g.left<e.windowDimensions.w/2?{left:-g.left+c.$nav.offset().left}:{left:e.windowDimensions.w-g.left-h.w-c.$nav.offset().left}:{left:"auto",right:0})}},child:{effect:"fade",delay:150,hoverIntent:0,inDuration:200,outDuration:200,beforeHoverIn:function(){},afterHoverIn:function(){b(this).addClass("is-open")},beforeHoverOut:function(){},afterHoverOut:function(){b(this).removeClass("is-open")},beforeFirstRender:function(){},position:function(a,c){var d=this,f=b(d);a.css({left:"",right:""});var g={left:f.offset().left,top:f.offset().top},h={w:a.outerWidth(),h:a.outerHeight()};a.css(c.settings.rtl?d.offsetWidth<g.left?{right:d.offsetWidth}:{right:0-d.offsetWidth}
12:g.left+d.offsetWidth+h.w<e.windowDimensions.w?{left:d.offsetWidth}:{left:0-d.offsetWidth})}}},b.fn.nav=function(a){return this.each(function(){b.data(this,d)||b.data(this,d,new e(this,a))})}}(document,jQuery), 13 14//NavtoSelect 15!function(a,b,c){"use strict";var e=function(b,d){this.element=b,this.$element=c(b),this._isBuilded=!1,this.options=c.extend(e.defaults,d);var f=this;c.extend(f,{init:function(){var b=f.getItems();f.build(b),f.$select.on("change",f.options.onChange),f.$element.trigger("navToSelect::ready"),c(a).on("orientationchange",function(){f.$select.is(":hidden")&&f.$select.is(":focus")&&f.$select.trigger("blur")})},build:function(a){f.$select=c("<select />",{"class":f.options.namespace}).html(f.buildOptions(a,1)),null===f.options.prependTo?f.$element.after(f.$select):f.$select.prependTo(f.options.prependTo),f._isBuilded=!0},buildOption:function(a,b){var c=new Array(b).join(f.options.indentString);return 1!==b&&f.options.indentSpace&&(c+=" "),'<option value="'+a.value+'"'+(a.linkable===!1?' data-linkable="false"':"")+(a.actived===!0?' selected="selected"':"")+">"+c+a.label+"</option>"},buildOptions:function(a,b){if(b>f.options.maxLevel)return"";var d="";return c.each(a,function(a,c){c.linkable===!1&&"undefined"!==typeof c.items&&1===b&&f.options.useOptgroup&&(d+='<optgroup label="'+c.label+'">',d+=f.buildOptions(c.items,b+1),d+="</optgroup>"),"undefined"!==typeof c.items?(d+=f.buildOption(c,b),d+=f.buildOptions(c.items,b+1)):d+=f.buildOption(c,b)}),d},getItems:function(){var a=[];return f.options.placeholder&&(a=a.concat({value:"#",label:f.options.placeholder,linkable:!1})),a=a.concat(f.options.getItemsFromList.call(f,f.$element,1))},getItemValue:function(a){return a.find(f.options.linkSelector).attr("href")},isLinkable:function(a){return"#"!==f.getItemValue(a)},isActived:function(a){return a.is("."+f.options.activeClass)},isBuilded:function(){return f._isBuilded}}),this.init()};e.defaults={maxLevel:4,prependTo:null,activeClass:"active",linkSelector:"a:first",indentString:"–",indentSpace:!0,placeholder:"Navigate to...",useOptgroup:!1,namespace:"navToSelect",itemFilter:function(){return!0},getItemLabel:function(a){return a.find(this.options.linkSelector).text()},getItemsFromList:function(a,b){var d=this,e=[];return a.children("li").each(function(){var a=c(this);if(d.options.itemFilter(a)){var f={value:d.getItemValue(a),label:d.options.getItemLabel.call(d,a),linkable:d.isLinkable(a),actived:d.isActived(a)};a.children("ul, ol").length&&(f.items=[],a.children("ul, ol").each(function(){f.items=f.items.concat(d.options.getItemsFromList.call(d,c(this),b+1))})),e.push(f)}}),e},onChange:function(){c(this).data("linkable")!==!1&&(b.location.href=this.value)}},e.prototype={constructor:e,getSelect:function(){return this.$select},destroy:function(){this.$select.remove(),this.$element.data("NavToSelect",null)}},c.fn.navToSelect=function(a){if("string"!==typeof a)return this.each(function(){var b=c.data(this,"navToSelect");b||(b=new e(this,a),c.data(this,"navToSelect",b))});var b=a,d=Array.prototype.slice.call(arguments,1);if(!/^(getSelect)$/.test(b))return this.each(function(){var a=c.data(this,"navToSelect");a&&"function"===typeof a[b]&&a[b].apply(a,d)});var f=this.first().data("navToSelect");return f&&"function"===typeof f[b]?f[b].apply(f,d):void 0}}(window,document,jQuery), 16 17//enquire.js 18function(a,b,c){var d=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=c(d):"function"==typeof define&&define.amd?define(function(){return b[a]=c(d)}):b[a]=c(d)}("enquire",this,function(a){"use strict";function b(a,b){var c,d=0,e=a.length;for(d;e>d&&(c=b(a[d],d),c!==!1);d++);}function c(a){return"[object Array]"===Object.prototype.toString.apply(a)}function d(a){return"function"==typeof a}function e(a){this.options=a,!a.deferSetup&&this.setup()}function f(b,c){this.query=b,this.isUnconditional=c,this.handlers=[],this.mql=a(b);var d=this;this.listener=function(a){d.mql=a,d.assess()},this.mql.addListener(this.listener)}
18function g(){if(!a)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!a("only all").matches}return e.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(a){return this.options===a||this.options.match===a}},f.prototype={addHandler:function(a){var b=new e(a);this.handlers.push(b),this.matches()&&b.on()},removeHandler:function(a){var c=this.handlers;b(c,function(b,d){return b.equals(a)?(b.destroy(),!c.splice(d,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){b(this.handlers,function(a){a.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var a=this.matches()?"on":"off";b(this.handlers,function(b){b[a]()})}},g.prototype={register:function(a,e,g){var h=this.queries,i=g&&this.browserIsIncapable;return h[a]||(h[a]=new f(a,i)),d(e)&&(e={match:e}),c(e)||(e=[e]),b(e,function(b){d(b)&&(b={match:b}),h[a].addHandler(b)}),this},unregister:function(a,b){var c=this.queries[a];return c&&(b?c.removeHandler(b):(c.clear(),delete this.queries[a])),this}},new g}), 19 20//jquery.imagesloaded.js 21!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})), 22 23function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;
23function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n})), 24 25//jquery-adapttext.js 26!function(a,b,c){"use strict";var e=[],f=c(a).width(),g=c.AdaptText=function(a,b){this.element=a,this.$element=c(a),this.options=c.extend(!0,{},g.defaults,b,this.$element.data()),this.width=this.$element.width();var d=this;c.extend(d,{init:function(){d.resize(),d.options.scrollable&&d.scrollOnHover()},scrollOnHover:function(){d.$element.css({overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}),d.$element.hover(function(){var a=d.element.scrollWidth-d.$element.width();if(a>0){var b=Math.sqrt(a/d.width)*d.options.scrollSpeed;return d.$element.css("cursor","e-resize"),d.$element.stop().animate({"text-indent":-a},b,function(){return d.$element.css("cursor","text")})}},function(){return d.$element.stop().animate({"text-indent":0},d.options.scrollResetSpeed)})}}),this.init(),e.push(this)};g.defaults={compression:10,max:Number.POSITIVE_INFINITY,min:Number.NEGATIVE_INFINITY,scrollable:!1,scrollSpeed:1e3,scrollResetSpeed:300,onResizeEvent:!0},g.prototype={constructor:g,resize:function(){this.width=this.$element.width(),0!==this.width&&this.$element.css("font-size",Math.floor(Math.max(Math.min(this.width/this.options.compression,parseFloat(this.options.max)),parseFloat(this.options.min)))+"px")}},g.resize=function(b){(b||c(a).width()!==f)&&(f=c(a).width(),c.each(e,function(){this.options.onResizeEvent&&this.resize()}))}
26,c.fn.adaptText=function(a){if("string"===typeof a){var b=a,d=Array.prototype.slice.call(arguments,1);return this.each(function(){var a=c.data(this,"adaptText");"function"===typeof a[b]&&a[b].apply(a,d)})}return this.each(function(){c.data(this,"adaptText")||c.data(this,"adaptText",new g(this,a))})};var h=function(a,b){var d,e,f,c=Date.now||function(){return(new Date).getTime()},g=null,h=0,i=function(){h=c(),g=null,f=a.apply(d,e),d=e=null};return function(){var j=c(),k=b-(j-h);return d=this,e=arguments,k<=0?(clearTimeout(g),g=null,h=j,f=a.apply(d,e),d=e=null):g||(g=setTimeout(i,k)),f}};a.addEventListener?a.addEventListener("resize",h(g.resize,200),!1):a.attachEvent&&a.attachEvent("onresize",h(g.resize,200))}(window,document,jQuery), 27 28//jquery.countTo.js 29function(a){function b(a,b){return a.toFixed(b.decimals)}a.fn.countTo=function(b){return b=b||{},a(this).each(function(){function c(){k+=g,j++,d(k),"function"==typeof e.onUpdate&&e.onUpdate.call(h,k),j>=f&&(i.removeData("countTo"),clearInterval(l.interval),k=e.to,"function"==typeof e.onComplete&&e.onComplete.call(h,k))}function d(a){var b=e.formatter.call(h,a,e);i.text(b)}var e=a.extend({},a.fn.countTo.defaults,{from:a(this).data("from"),to:a(this).data("to"),speed:a(this).data("speed"),refreshInterval:a(this).data("refresh-interval"),decimals:a(this).data("decimals")},b),f=Math.ceil(e.speed/e.refreshInterval),g=(e.to-e.from)/f,h=this,i=a(this),j=0,k=e.from,l=i.data("c
29ountTo")||{};i.data("countTo",l),l.interval&&clearInterval(l.interval),l.interval=setInterval(c,e.refreshInterval),d(k)})},a.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:b,onUpdate:null,onComplete:null}}(jQuery), 30 31//jquery.easypiechart.js 32!function(a,b){"object"===typeof exports?module.exports=b(require("jquery")):"function"===typeof define&&define.amd?define(["jquery"],b):b(a.jQuery)}(this,function(a){var b=function(a,b){var c,d=document.createElement("canvas");a.appendChild(d),"undefined"!==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(d);var e=d.getContext("2d");d.width=d.height=b.size;var f=1;window.devicePixelRatio>1&&(f=window.devicePixelRatio,d.style.width=d.style.height=[b.size,"px"].join(""),d.width=d.height=b.size*f,e.scale(f,f)),e.translate(b.size/2,b.size/2),e.rotate((-0.5+b.rotate/180)*Math.PI);var g=(b.size-b.lineWidth)/2;b.scaleColor&&b.scaleLength&&(g-=b.scaleLength+2),Date.now=Date.now||function(){return+new Date};var h=function(a,b,c){c=Math.min(Math.max(-1,c||0),1);var d=c<=0?!0:!1;e.beginPath(),e.arc(0,0,g,0,2*Math.PI*c,d),e.strokeStyle=a,e.lineWidth=b,e.stroke()},i=function(){var a,c;e.lineWidth=1,e.fillStyle=b.scaleColor,e.save();for(var d=24;d>0;--d)d%6===0?(c=b.scaleLength,a=0):(c=.6*b.scaleLength,a=b.scaleLength-c),e.fillRect(-b.size/2+a,0,c,1),e.rotate(Math.PI/12);e.restore()},j=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(a){window.setTimeout(a,1e3/60)}}(),k=function(){b.scaleColor&&i(),b.trackColor&&h(b.trackColor,b.lineWidth,1)};this.getCanvas=function(){return d},this.getCtx=function(){return e},this.clear=function(){e.clearRect(b.size/-2,b.size/-2,b.size,b.size)},this.draw=function(a){b.scaleColor||b.trackColor?e.getImageData&&e.putImageData?c?e.putImageData(c,0,0):(k(),c=e.getImageData(0,0,b.size*f,b.size*f)):(this.clear(),k()):this.clear(),e.lineCap=b.lineCap;var d;d="function"===typeof b.barColor?b.barColor(a):b.barColor,h(d,b.lineWidth,a/100)}.bind(this),this.animate=function(a,c){var d=Date.now();b.onStart(a,c);var e=function(){var f=Math.min(Date.now()-d,b.animate.duration),g=b.easing(this,f,a,c-a,b.animate.duration);this.draw(g),b.onStep(a,c,g),f>=b.animate.duration?b.onStop(a,c):j(e)}.bind(this);j(e)}.bind(this)},c=function(a,c){var d={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(a,b,c,d,e){return b/=e/2,b<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},onStart:function(){},onStep:function(){},onStop:function(){}};if("undefined"!==typeof b)d.renderer=b;else{if("undefined"===typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");d.renderer=SVGRenderer}var e={},f=0,g=function(){this.el=a,this.options=e;for(var b in d)d.hasOwnProperty(b)&&(e[b]=c&&"undefined"!==typeof c[b]?c[b]:d[b],"function"===typeof e[b]&&(e[b]=e[b].bind(this)));e.easing="string"===typeof e.easing&&"undefined"!==typeof jQuery&&"function"===typeof jQuery.easing[e.easing]?jQuery.easing[e.easing]:d.easing,"number"===typeof e.animate&&(e.animate={duration:e.animate,enabled:!0}),"boolean"!==typeof e.animate||e.animate||(e.animate={duration:1e3,enabled:e.animate}),this.renderer=new e.renderer(a,e),this.renderer.draw(f),a.dataset&&a.dataset.percent?this.update(parseFloat(a.dataset.percent)):a.getAttribute&&a.getAttribute("data-percent")&&this.update(parseFloat(a.getAttribute("data-percent")))}.bind(this);this.update=function(a){return a=parseFloat(a),e.animate.enabled?this.renderer.animate(f,a):this.renderer.draw(a),f=a,this}.bind(this),this.disableAnimation=function(){return e.animate.enabled=!1,this},this.enableAnimation=function(){return e.animate.enabled=!0,this},g()};a.fn.easyPieChart=function(b){return this.each(function(){var d;a.data(this,"easyPieChart")||(d=a.extend({},b,a(this).data()),a.data(this,"easyPieChart",new c(this,d)))})}}), 33 34//jquery tools tabs 35!function(t){t.tools=t.tools||{version:"1.2.7"},t.tools.tabs={conf:{tabs:"a",current:"current",onBeforeClick:null,onClick:null,effect:"default",initialEffect:!1,initialIndex:0,event:"click",rotate:!1,slideUpSpeed:400,slideDownSpeed:400,history:!1},addEffect:function(t,e){i[t]=e}};var e,n,i={default:function(t,e){this.getPanes().hide().eq(t).show(),e.call()},fade:function(e,n){var i=this.getConf(),r=i.fadeOutSpeed,o=this.getPanes();r?o.fadeOut(r):o.hide(),o.eq(e).fadeIn(i.fadeInSpeed,(function(){n.call();var e=t(this).parents(".adjust_height");e.length&&t(e).trigger("equalheight::changed")}))},slide:function(e,n){var i=this.getConf();this.getPanes().slideUp(i.slideUpSpeed),this.getPanes().eq(e).slideDown(i.slideDownSpeed,(function(){n.call();var e=t(this).parents(".adjust_height");e.length&&t(e).trigger("equalheight::changed")}))},ajax:function(t,e){this.getPanes().eq(0).load(this.getTabs().eq(t).attr("href"),e)}};function r(e,n,r){var o,a=this,c=e.add(this),f=e.find(r.tabs),s=n.jquery?n:e.children(n);f.length||(f=e.children()),s.length||(s=e.parent().find(n)),s.length||(s=t(n)),t.extend(this,{click:function(n,s){var l=f.eq
35(n),h=!e.data("tabs");if("string"==typeof n&&n.replace("#","")&&(l=f.filter('[href*="'+n.replace("#","")+'"]'),n=Math.max(f.index(l),0)),r.rotate){var u=f.length-1;if(n<0)return a.click(u,s);if(n>u)return a.click(0,s)}if(!l.length){if(o>=0)return a;n=r.initialIndex,l=f.eq(n)}if(n===o)return a;if((s=s||t.Event()).type="onBeforeClick",c.trigger(s,[n]),!s.isDefaultPrevented()){var d=h?r.initialEffect&&r.effect||"default":r.effect;return i[d].call(a,n,(function(){o=n,s.type="onClick",c.trigger(s,[n])})),f.removeClass(r.current),l.addClass(r.current),a}},getConf:function(){return r},getTabs:function(){return f},getPanes:function(){return s},getCurrentPane:function(){return s.eq(o)},getCurrentTab:function(){return f.eq(o)},getIndex:function(){return o},next:function(){return a.click(o+1)},prev:function(){return a.click(o-1)},destroy:function(){return f.off(r.event).removeClass(r.current),s.find('a[href^="#"]').off("click.T"),a}}),t.each("onBeforeClick,onClick".split(","),(function(e,n){"function"==typeof r[n]&&t(a).on(n,r[n]),a[n]=function(e){return e&&t(a).on(n,e),a}})),r.history&&t.fn.history&&(t.tools.history.init(f),r.event="history"),f.each((function(e){t(this).on(r.event,(function(t){return a.click(e,t),t.preventDefault()}))})),s.find('a[href^="#"]').on("click.T",(function(e){a.click(t(this).attr("href"),e)})),location.hash&&"a"==r.tabs&&e.find('[href="'+location.hash+'"]').length?a.click(location.hash):(0===r.initialIndex||r.initialIndex>0)&&a.click(r.initialIndex)}t.tools.tabs.addEffect("horizontal",(function(i,r){if(!e){var o=this.getPanes().eq(i),a=this.getCurrentPane();n||(n=this.getPanes().eq(0).width()),e=!0,o.show(),a.animate({width:0},{step:function(t){o.css("width",n-t)},complete:function(){t(this).hide(),r.call(),e=!1}}),a.length||(r.call(),e=!1)}})),t.fn.tabs=function(e,n){var i=this.data("tabs");return i&&(i.destroy(),this.removeData("tabs")),"function"==typeof n&&(n={onBeforeClick:n}),n=t.extend({},t.tools.tabs.conf,n),this.each((function(){i=new r(t(this),e,n),t(this).data("tabs",i)})),n.api?i:this}}(jQuery), 36 37//jquery tools tabs history 38function(t){var e,n,i;t.tools=t.tools||{version:"1.2.7"},t.tools.history={init:function(r){i||(setInterval((function(){var n=location.hash;n!==e&&t(window).trigger("hash",n)}),100),n=n?n.add(r):r,r.on("click",(function(e){var n=t(this).attr("href");if("#"!=n.slice(0,1))return location.href="#"+n,e.preventDefault()})),i=!0)}},t(window).on("hash",(function(i,r){r?n.filter((function(){var e=t(this).attr("href");return e==r||e==r.replace("#","")})).trigger("history",[r]):n.eq(0).trigger("history",[r]),e=r})),t.fn.history=function(e){return t.tools.history.init(this),this.on("history",e)}}(jQuery); 39 40//scrollspy.js 41!function(a){function h(b,d,e,f){var g=[];return a.each(c,function(a,c){var h=c.offset().top,i=c.offset().left,j=i+c.width(),k=h+c.height(),l=!(i>d||j<f||h>e||k<b);l&&g.push(c)}),g}function i(){++f;var c=b.scrollTop(),e=b.scrollLeft(),i=e+b.width(),j=c+b.height(),k=h(c+g.top,i+g.right,j+g.bottom,e+g.left);a.each(k,function(a,b){var c=b.data("scrollSpy:ticks");"number"!=typeof c&&b.triggerHandler("scrollSpy:enter"),b.data("scrollSpy:ticks",f)}),a.each(d,function(a,b){var c=b.data("scrollSpy:ticks");"number"==typeof c&&c!==f&&(b.triggerHandler("scrollSpy:exit"),b.data("scrollSpy:ticks",null))}),d=k}function j(){b.trigger("scrollSpy:winSize")}function l(a,b,c){var d,e,f,g=null,h=0;c||(c={});var i=function(){h=c.leading===!1?0:k(),g=null,f=a.apply(d,e),d=e=null};return function(){var j=k();h||c.leading!==!1||(h=j);var l=b-(j-h);return d=this,e=arguments,l<=0?(clearTimeout(g),g=null,h=j,f=a.apply(d,e),d=e=null):g||c.trailing===!1||(g=setTimeout(i,l)),f}}var b=a(window),c=[],d=[],e=!1,f=0,g={top:0,right:0,bottom:0,left:0},k=Date.now||function(){return(new Date).getTime()};a.scrollSpy=function(d,f){d=a(d),d.each(function(b,d){c.push(a(d))}),f=f||{throttle:100},g.top=f.offsetTop||0,g.right=f.offsetRight||0,g.bottom=f.offsetBottom||0,g.left=f.offsetLeft||0;var h=l(i,f.throttle||100),j=function(){a(document).ready(h)};return e||(b.on("scroll",j),b.on("resize",j),e=!0),setTimeout(j,0),d},a.winSizeSpy=function(c){return a.winSizeSpy=function(){return b},c=c||{throttle:100},b.on("resize",l(j,c.throttle||100))},a.fn.scrollSpy=function(b){return a.scrollSpy(a(this),b)}}(jQuery), 42 43//theme custom.js 44jQuery.noConflict(),document.documentElement.className=document.documentElement.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2"); 45 46//Theme Enable Lightbox Function 47var themeEnableLightbox=function(a,b){if(!jQuery("body").is(".no_fancybox")){var c={margin:jQuery("body").hasClass("admin-bar")?40:20,width:fancybox_options.width,height:fancybox_options.height,autoSize:fancybox_options.autoSize,autoWidth:fancybox_options.autoWidth,autoHeight:fancybox_options.autoHeight,fitToView:fancybox_options.fitToView,aspectRatio:fancybox_options.aspectRatio,arrows:fancybox_options.arrows,closeBtn:fancybox_options.closeBtn,closeClick:fancybox_options.closeClick,nextClick:fancybox_options.nextClick,autoPlay:fancybox_options.autoPlay,playSpeed:fancybox_options.playSpeed,preload:fancybox_options.preload,loop:fancybox_options.loop,isMobile:jQuery("body").is(".isMobile"),iframe:{preload:!1},beforeLoad:function(){if(this.element.is(".fancyaudio")){var c,d,a=this.element.data("loop"),b=this.element.data("autoplay"),e=this.element.data("source");c="false"!==a?' loop="true"':' loop="false"',d="false"!==b?" autoplay":"";var f=Math.round(1e4*Math.random()+1);this.content='<div class="audio_frame" style="width:380px;height:100%"><audio id="audio'+f+'" width="100%" height="100%" controls="controls"'+c+' type="audio/mp3" src="'+e+'"/></div>',this.wrapCSS=this.wrapCSS+" skin-audio",this.arrows=!1,this.width=380,this.height=30,this.minHeight=30,this.scrolling="no";var g;
47this.beforeShow=function(){void 0!==MediaElementPlayer&&(g=new MediaElementPlayer("#audio"+f),"false"!==b&&g.play())},this.helpers.media=!1,this.beforeChange=function(){g&&(g.pause(),g.remove())},this.beforeClose=function(){g&&(g.pause(),g.remove())}}else if(this.element.is(".fancyvideo")){var d,h,e=this.element.data("source"),b=this.element.data("autoplay");"false"!==b?(d=" autoplay",h="autoplay=true&",this.helpers.media={}):(d="",h="",this.helpers.media={youtube:{params:{autoplay:0}},vimeo:{params:{autoplay:0}}}),this.width=parseInt(this.element.data("width"),10),this.height=parseInt(this.element.data("height"),10),this.isMobile&&this.width>jQuery("body").width()&&(this.height=parseInt((jQuery("body").width()-20)*this.height/this.width,10),this.width=jQuery("body").width()-20);var i=this.width,j=this.height,f=Math.round(1e4*Math.random()+1),k="";k=/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())?' preload="none"':"",this.content='<div class="video_frame" style="width:'+this.width+'px"><video id="video'+f+'" width="'+this.width+'" height="'+this.height+'" autoplay="'+b+'" controls="controls"'+k+'><source type="video/mp4" src="'+e+'" /></video></div>',this.wrapCSS=this.wrapCSS+" skin-video",this.scrolling="no";var l;this.beforeShow=function(){return this.element.is(".fancymobile")||void 0===MediaElementPlayer?void jQuery("#video"+f).css("height",j):void(l=new MediaElementPlayer("#video"+f,{defaultVideoWidth:i,defaultVideoHeight:j,pluginWidth:i,pluginHeight:j,enableAutosize:!1}))},this.helpers.media=!1,this.beforeChange=function(){},this.beforeClose=function(){}}else this.closeBtn=fancybox_options.closeBtn,this.arrows=fancybox_options.arrows,this.width=fancybox_options.width,this.height=fancybox_options.height,this.minHeight=100,this.beforeShow=null,this.scrolling="auto",this.beforeChange=null,this.beforeClose=null,this.wrapCSS="theme"===fancybox_options.skin?"skin-theme":"skin-fancybx";this.element.data("width")&&(this.width=parseInt(this.element.data("width"),10)),this.element.data("height")&&(this.height=parseInt(this.element.data("height"),10)),void 0!==this.element.attr("data-autoSize")&&(this.autoSize="true"===this.element.attr("data-autoSize")?!0:!1),void 0!==this.element.attr("data-autowidth")&&(this.autoWidth="false"===this.element.attr("data-autowidth")?!1:!0),void 0!==this.element.attr("data-autoheight")&&(this.autoHeight="false"===this.element.attr("data-autoheight")?!1:!0),void 0!==this.element.attr("data-fittoview")&&(this.fitToView="false"===this.element.attr("data-fittoview")?!1:!0),void 0!==this.element.attr("data-aspectratio")&&(this.aspectRatio="false"===this.element.attr("data-aspectratio")?!1:!0),void 0!==this.element.attr("data-close")&&(this.closeBtn="true"===this.element.attr("data-close")?!0:!1),void 0!==this.element.attr("data-closeclick")&&(this.closeClick="true"===this.element.attr("data-closeclick")?!0:!1);var m=this.element.data("type");"iframe"===m&&(this.type=m),("inline"===m||"html"===m||"ajax"===m)&&(this.element.data("width")&&(this.autoWidth=!1),this.element.data("height")&&(this.autoHeight=!1))},helpers:{media:{},title:{type:fancybox_options.title_type}}};"theme"===fancybox_options.skin?(c.padding=0,c.wrapCSS="skin-theme"):c.wrapCSS="skin-fancybx",fancybox_options.thumbnail&&(c.helpers.thumbs={width:fancybox_options.thumbnail_width,height:fancybox_options.thumbnail_height,position:fancybox_options.thumbnail_position,source:function(a){var b;return a.element&&(b=a.element.data("thumb")?a.element.data("thumb"):jQuery(a.element).find("img").attr("src")),!b&&"image"===a.type&&a.href&&(b=a.href),b}}),jQuery(b).find(a).fancybx(c)}}; 48 49//theme image resizer 50var themeUpdateImages=function(a){function d(a){return a.complete?"undefined"!=typeof a.naturalWidth&&0==a.naturalWidth?!1:!0:!1}responsve_image_resize!==!1&&(a.each(function(){function e(){var d=parseInt(a.width(),10),e=parseInt(a.height(),10),f=a.attr("data-sharpenmultiplier"),g=a.attr("data-minwidth"),h=a.attr("data-minheight"),i=a.attr("data-thumbnail-class"),j=a.attr("data-image-url");"undefined"!==typeof f?(d=parseInt(d*f,10),e=parseInt(e*f,10)):("undefined"!==typeof g&&d<g&&(d=g),"undefined"!==typeof h&&e<h&&(e=h)),"undefined"===typeof i&&(i=""),"undefined"===typeof j&&(j="");var k=a.data("images"),l=a.data("images_x2"),m=b+"_"+d+"."+e;if(k||(k=[],a.data("images",k)),l||(l=[],a.data("images_x2",l)),!(d<=0||e<=0))if(d===a[0].naturalWi
50dth&&e===a[0].naturalHeight||responsive_image_upsize_only===!0&&images_have_resized_once===!0&&d<=a[0].naturalWidth&&parseInt(a[0].naturalWidth/a[0].naturalHeight*10)===parseInt(d/e*10)){if(k[m]=a.attr("src"),c){l[m]="";var n=a.attr("srcset");if("undefined"!==typeof n&&n!==!1)if(-1!=n.indexOf(" "+theme_retina_multiplier)){var o=n.substr(0,n.lastIndexOf(" "+theme_retina_multiplier));l[m]=o}else l[m]=a.attr("srcset")}}else if("undefined"!==typeof k[m]){if(a.attr("src",k[m]),c&&"undefined"!=typeof l&&"undefined"!==typeof l[m]&&""!=l[m]){var n=a.attr("srcset");"undefined"!==typeof n&&n!==!1&&-1!=n.indexOf("@"+theme_retina_multiplier)&&a.attr("srcset",l[m]+" "+theme_retina_multiplier)}}else jQuery.post(window.location.href,{imageAjax:!0,width:d,height:e,thumbnail_id:b,global_post_id:theme_global_post_id,has_theme_retina_image:c,image_class:i,image_url:j},function(b){var d=JSON.parse(b),e=d.image_src,f=d.image_src_x2,g=d.image_return_url_class,h=new Image;h.onload=function(){if(a.attr("src",e),g&&a.attr("data-image-url",g),k[m]=e,a.data("images",k),c)if(l[m]="",""!=f){var b=a.attr("srcset");"undefined"!==typeof b&&b!==!1&&-1!=b.indexOf("@"+theme_retina_multiplier)&&(a.attr("srcset",f+" "+theme_retina_multiplier),l[m]=f,a.data("images_x2",l))}else l[m]=""},h.src=e,h.srcset=f})}var a=jQuery(this),b=a.attr("data-thumbnail");"undefined"===typeof b&&(b=a.attr("data-image-url"));var c=a.attr("data-theme-retina-image");"undefined"===typeof c&&(c=!1),c="true"==c?!0:!1,b&&(d(a[0])?e():a.one("load",function(){e()}))}),images_have_resized_once=!0)}; 51 52jQuery(document).ready(function($){ 53 function splitTable(a){a.wrap("<div class='table-wrapper' />");var b=a.clone();b.find("td:not(:first-child), th:not(:first-child)").css("display","none"),b.removeClass("responsive"),a.closest(".table-wrapper").prepend(b),b.wrap("<div class='pinned' />"),a.wrap("<div class='scrollable' />"),setCellHeights(a,b)} 54 55 function unsplitTable(a){a.closest(".table-wrapper").find(".pinned").remove(),a.unwrap(),a.unwrap()} 56 57 function setCellHeights(a,b){var c=a.find("tr"),d=b.find("tr"),e=[];c.each(function(a){var b=$(this),c=b.find("th, td");c.each(function(){var b=$(this).outerHeight(!0);e[a]=e[a]||0,b>e[a]&&(e[a]=b)})}),d.each(function(a){$(this).height(e[a])})} 58 59 function fillBrokenImage(a,b){var c=document.createElement("canvas");return c.width=a,c.height=b,c.toDataURL()} 60 61 function preloader(a){a.each(function(){$(this).addClass("image-on-loading")}).imagesLoaded().progress(function(a,b){if(b.isLoaded){var c=$(b.img),f=c.closest(".image_frame"),b=c.closest("a");f.is(".effect-grayscale")?enable_image_grayscale_hover(b):(f.is(".effect-icon")||f.is(".effect-rotate")||f.is(".effect-tilt")||f.is(".effect-zoom")||f.is(".effect-morph"))&&enable_image_hover(b),c.css("visibility","visible"),c.removeClass("image-on-loading")}else{var c=$(b.img);c.addClass("image-is-broken"),c.attr("broken_src",c.attr("src"));var d=c.attr("width"),e=c.attr("height");c.attr("src",theme_url+"/includes/broken.php?width="+d+"&height="+e)}})} 62 63 function updateVideos(){$(".video_frame").each(function(){var a=$(this).data("ratio");if(a){var b=$(this).width()/a;$(this).css("height",b)}})} 64 65 function updateImages(){themeUpdateImages($("img.theme-gallery-image, .image_styled img, .product-thumbnail, .woocommerce-main-image img, .easy-image"))} 66 67 function resize_theme_svg_images(a){function b(a){var b=a.parent().width();if("undefined"!==typeof b){var c=a.attr("data-aspect-ratio"),d=a.attr("width"),e=a.attr("height");if("undefined"===typeof c&&(isNaN(d)||isNaN(e)||(c=e/d)),!isNaN(c)&&!isNaN(b)){a.attr("height",parseInt(b*c*100,10)/100),a.attr("width",parseInt(b),10)}}}""==a&&(a="img.theme_image_type_svg"),$(a).each(function(){b($(this))})} 68 69 // fix for svg portfolio images with ajax navigation 70 // document.getElementsByClassName(".portfolios.sortable img.theme_image_type_svg")&&$(function(){function c(){a=setTimeout(function(){b=!1},2e3)}var a,b=!1;document.addEventListener("scroll",function(){b||(resize_theme_svg_images(),b=!0),clearTimeout(a),c()})}) 71 72 if($(window).on("resize theme_svg_resize",function(){resize_theme_svg_images("img.theme_image_type_svg")}).trigger("theme_svg_resize"), 73 74 $(".form-submit #submit").attr('tabindex','6'), 75 76 $(function(){$(".single-product.woocommerce .variations a.reset_variations").on("click",function(){$("img.attachment-sh
76op_single.wp-post-image.on_the_fly_resize").each(function(){var a=$(this).attr("data-thumbnail-default");"undefined"!=typeof a&&($(this).attr("data-thumbnail",a),$(this).attr("data_woo_variable_image","woocommerce_variable_image_reset"),themeUpdateImages($(".woocommerce-main-image img.on_the_fly_resize")))})})}), 77 78 $(".variations_form").on("woocommerce_variation_select_change",function(){$("img.attachment-shop_single.wp-post-image.on_the_fly_resize").each(function(){var a=$(this).attr("data-thumbnail-default");void 0!==a&&($(this).attr("data-thumbnail",a),$(this).attr("data_woo_variable_image","woocommerce_variable_image_reset"))})}), 79 80 $(".single_variation_wrap").on("show_variation",function(a,b){var c;$(".woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image").each(function(){c=$(this).attr("data-thumb")}),$("img.attachment-shop_single.wp-post-image.on_the_fly_resize").each(function(){var a=$(this).attr("alt"),b="variable_image_thumbnail_id=[";if(-1!=$(this).attr("alt").indexOf(b)){altHasIDEnd=a.indexOf("]");var e=a.slice(b.length,altHasIDEnd);$(this).attr("alt",a.substring(altHasIDEnd+1)),$(this).attr("data-thumbnail",e),void 0!==c&&$(this).attr("src",c),$(this).attr("data_woo_variable_image","woocommerce_variable_image_set["+e+"]"),themeUpdateImages($(".woocommerce-main-image img.on_the_fly_resize"))}})}), 81 82 $("#navigation > ul").nav({child:{beforeFirstRender:function(){$(this).find(".cufon").length>0&&Cufon.replace($("> a",this))}},root:{afterHoverIn:function(){},afterHoverOut:function(){},beforeHoverIn:function(){$(this).addClass("hover"),$(this).find(".cufon").length>0&&Cufon.replace($("> a",this))},beforeHoverOut:function(){$(this).removeClass("hover"),$(this).find(".cufon").length>0&&Cufon.replace($("> a",this))}}}), 83 84 $("body").is(".responsive")){$(".table_style table").addClass("responsive");var isMobile=$("body").is(".isMobile");$("#navigation > ul").navToSelect({namespace:"nav2select",activeClass:"current_page_item",indentString:nav2select_indentString,placeholder:nav2select_defaultText,indentSpace:!0,itemFilter:function(a){return!a.is(".not_show_in_mobile")},getItemLabel:function(a){var b=a.find(this.options.linkSelector).clone();return b.find(".menu-subtitle").remove(),b.text()}})} 85 86 $("#sidebar_content .widget:last-child").css("margin-bottom","20px"), 87 $(".home #sidebar_content .widget:last-child").css("margin-bottom","0px"), 88 89 $(".top a").on('click',function(){return $("html, body").animate({scrollTop:0},"slow"),!1}), 90 $("body").is(".scroll-to-top")&&($("body").append($("body").is(".scroll-to-top-square")?'<a href="#top" class="style-square" id="back-to-top">Back To Top</a>':'<a href="#top" id="back-to-top">Back To Top</a>'),$(function(){$(window).on("scroll", 91 function(){$(this).scrollTop()>100?$("#back-to-top").fadeIn():$("#back-to-top").fadeOut()}),$("#back-to-top").on("click",function(){var a=$(window).scrollTop();return $("body,html").animate({scrollTop:0},500*Math.atan(a/3e3)),!1})})), 92 93 $(".milestone_number").on("scrollSpy:enter",function(){var a=$(this).data("animations");void 0==a&&(a=1);var b=$(this).data("countAnimations");if(void 0==b?$(this).data("countAnimations",1):(b++,$(this).data("countAnimations",b)),!$(this).data("visibled")){b>=a&&0!=a&&$(this).data("visibled",1);var c=$(this).data("separator");$(this).countTo({refreshInterval:25,formatter:function(a,b){if(""==c)return a.toFixed(b.decimals);var d=a.toFixed(b.decimals).toString().split(".");return d[0]=d[0].replace(/\B(?=(\d{3})+(?!\d))/g,c),d.join(".")}})}}).scrollSpy(), 94 95 $(".pie_progress_wrap").on("scrollSpy:enter",function(){if(!$(this).data("visibled")){$(this).data("visibled",1);var a=$(this),b=150,c=7,d=pie_progress_track_color,e=pie_progress_bar_color;a.is(".pie_progress_small")?(b=120,c=6):a.is(".pie_progress_large")&&(b=180,c=8),a.data("trackcolor")&&(d=a.data("trackcolor")),a.data("barcolor")&&(e=a.data("barcolor")),a.find(".pie_progress").easyPieChart({size:b,scaleLength:0,trackColor:d,barColor:e,lineCap:"square",lineWidth:c})}}).scrollSpy(), 96 97 $(".progress").on("scrollSpy:enter",function(){var a=$(this).data("animations");void 0==a&&(a=1);
97var b=$(this).data("countAnimations");if(void 0==b?$(this).data("countAnimations",1):(b++,$(this).data("countAnimations",b)),!$(this).data("visibled")){b>=a&&0!=a&&$(this).data("visibled",1);var c=$(this).data("meter");$(this).find(".progress-meter").css("width",""),$(this).find(".progress-meter").animate({width:c+"%"},1500)}}).scrollSpy(), 98 99 $(".icon_email").each(function(){void 0!==$(this).attr("href")&&$(this).attr("href",$(this).attr("href").replace("*","@")),$(this).html($(this).html().replace("*","@"))}), 100 101 $(".tabs_container").each(function(){var a=$(this).attr("data-history");a=void 0!==a&&"true"===a;var b=$(this).attr("data-initialIndex");(void 0===b||a)&&(b=0);var c=$("ul.tabs li, ul.theme_tabs li",this).length;b==-1&&(b=0),b>c-1&&(b=c-1),$("ul.tabs, ul.theme_tabs",this).tabs("div.panes > div, div.theme_panes > div",{tabs:"a",effect:"fade",fadeOutSpeed:-400,history:a,initialIndex:b})}).addClass("tabs_inited"), 102 103 $(".vertical_tabs_container").each(function(){var a=$(this).attr("data-history");a=void 0!==a&&"true"===a;var b=$(this).attr("data-initialIndex");(void 0===b||a)&&(b=0);var c=$("ul.vertical_tabs li, ul.theme_vertical_tabs li",this).length;b==-1&&(b=0),b>c-1&&(b=c-1),$("ul.vertical_tabs, ul.theme_vertical_tabs",this).tabs("div.panes > div, div.theme_panes > div",{tabs:"a",effect:"fade",fadeOutSpeed:-400,history:a,initialIndex:b}),$("div.panes, div.theme_panes",this).css("min-height",$("ul.vertical_tabs, ul.theme_vertical_tabs",this).height())}).addClass("tabs_inited"), 104 105 $(".mini_tabs_container").each(function(){var a=$(this).attr("data-history");a=void 0!==a&&"true"===a;var b=$(this).attr("data-initialIndex");(void 0===b||a)&&(b=0);var c=$("ul.mini_tabs li, ul.theme_mini_tabs li",this).length;b==-1&&(b=0),b>c-1&&(b=c-1),$("ul.mini_tabs, ul.theme_mini_tabs",this).tabs("div.panes > div, div.theme_panes > div",{tabs:"a",effect:"fade",fadeOutSpeed:-400,history:a,initialIndex:b})}).addClass("tabs_inited"), 106 107 void 0!==$.tools&&void 0!==$.tools.tabs&&$.tools.tabs.addEffect("slide",function(a,b){this.getPanes().slideUp(),this.getPanes().eq(a).slideDown(function(){b.call()})}), 108 109 $(".accordion, .theme_accordion").each(function(){var a=$(this).attr("data-initialIndex");void 0===a&&(a=0),$(this).tabs("div.pane, div.theme_pane",{tabs:".tab, .theme_tab",effect:"slide",initialIndex:a})}), 110 111 $(".toggle_title").on("click",function(){var a=$(this).parent(".toggle");a.is(".toggle_active")?(a.removeClass("toggle_active"),$(this).siblings(".toggle_content").slideUp("fast"),$(this).trigger("toggle::close")):(a.addClass("toggle_active"),$(this).siblings(".toggle_content").slideDown("fast"),$(this).trigger("toggle::open"))}), 112 113 $(".responsive_text").each(function(){var a=$(this).parents(".tabs_container,.mini_tabs_container,.accordion, .theme_accordion"),b=$(this).parents(".toggle"),c=this;0!=a.length?a.each(function(){var b=null;b=$(this).is(".accordion, .theme_accordion")?$(this).data("tabs"):$(this).find(".tabs, .theme_tabs, .mini_tabs, .theme_mini_tabs").data("tabs"),a.find(".current").on("change",function(){$.data(c,"adaptText")?$(c).adaptText("resize",!0):$(c).adaptText()}).trigger("change"),b.onClick(function(a){$.data(c,"adaptText")?$(c).adaptText("resize",!0):$(c).adaptText()})}):0!=b.length?b.find(".toggle_title").on("toggle::open",function(){$.data(c,"adaptText")?$(c).adaptText("resize",!0):$(c).adaptText()}):$(this).adaptText()}), 114 115 $(".button, .theme_button").on("mouseenter",function(){var a=$(this).attr("data-hoverBg"),b=$(this).attr("data-hoverColor"),c=$(this).attr("data-hoverIcon");void 0!==a&&$(this).css("background-color",a),void 0!==b&&$("span",this).css("color",b),void 0!==c&&$("i",this).css("color",c)}).on("mouseleave",function(){var a=$(this).attr("data-hoverBg"),b=$(this).attr("data-hoverColor"),c=$(this).attr("data-hoverIcon"),d=$(this).attr("data-bg"),e=$(this).attr("data-color"),f=$(this).attr("data-icon");void 0!==a&&(void 0!==d?$(this).css("background-color",d):$(this).css("background-color","")),void 0!==b&&(void 0!==e?$("span",this).css("color",e):$("span",this).css("color","")),void 0!==c&&(void 0!==f?$("i",this).css("color",f):$("i",this).css("color",""))}), 116 117 $(".testimonials").each(function(){function update(a){$content.hide().html(a.content).fadeIn(),$name.hide().html(a.author).fadeIn(),a.meta?a.link?$meta.hide().html('<a href="'+a.link+'" target="_blank" rel="nofollow">'+a.meta+"</a>").fadeIn():$meta.hide().html(a.meta).fadeIn():$meta.hide().html("").fadeIn(),$avatar.attr("src",a.avatar),autoplay===!0&&(clearTimeout(autoplay_timeout),autoplay_timeout=setTimeout(function(){next()},duration))}function previous(){0==current?current=items.length-1:current-=1,update(items[current])}function next(){var a=$("#"+$id+".testimonials .testimonial:hover").length>0;a?autoplay===!0&&(clearTimeout(autoplay_timeout),autoplay_timeout=setTimeout(function(){next()},duration)):(current==items.length-1?current=0:current+=1,update(items[current]))}var autoplay=$(this).data("autoplay"),duration=$(this).data("duration");eval("var items = testimonials_"+$(this).data("items"));var current=0,$content=$(this).find(".testimonial_content > div"),$name=$(this).find(".testimonial_name"),$meta=$(this).find(".testimonial_meta"),$avatar=$(this).find(".testimonial_avatar"),autoplay_timeout,$id=$(this).attr("id");autoplay===!0&&(autoplay_timeout=setTimeout(function(){next()},duration)),$(this).find(".testimonial_previous").on("click",function(){return previous(),!1}),$(this).find(".testimonial_next").on("click",function(){return next(),!1})}); 118 119 // Enable Lightbox Functionality 120 $(".wp_lightbox").each(function(){var a=$(this),b=" alignnone";a.addClass("theme_lightbox_image image_icon_zoom"),a.children("img").hasClass("alignright")&&(b=" alignright",a.children("img").removeClass("alignright")),a.children("img").hasClass("alignleft")&&(b=" alignleft",a.children("img").removeClass("alignleft")),a.children("img").hasClass("alignnone")&&(b=" alignnone",a.children("img").removeClass("alignnone")),a.children("img").hasClass("aligncenter")&&(b=" aligncenter",a.children("img").removeClass("aligncenter")),a.wrap('<div class="theme_lightbox_image_wrapper'+b+'"></div>
120'),a.attr("title")||a.attr("title",a.children("img").attr("alt"))}), 121 themeEnableLightbox(".lightbox, .wp_lightbox",document), 122 themeEnableLightbox(".fancybx, .colorbox",document), 123 themeEnableLightbox("a[rel^='productLightbox']",document), 124 themeEnableLightbox(".woocommerce a.zoom",document), 125 themeEnableLightbox(".woocommerce a.show_review_form",document); 126 127 var enable_image_grayscale_hover=function(){}, 128 enable_image_hover=function(a){a.is(".image_icon_zoom,.image_icon_play,.image_icon_doc,.image_icon_link")&&(a.on("mouseenter",".image_overlay",function(){$(this).animate({opacity:"1"},"fast")}).on("mouseleave",".image_overlay",function(){$(this).animate({opacity:"0"},"fast")}),0==a.find(".image_overlay").length&&a.children("img").after($('<span class="image_overlay"></span>').css({opacity:"0",visibility:"visible"})))}; 129 130 $(".image_no_link").on('click',function(){return!1}), 131 132 $(".portfolios").each(function(){var $section=$(this),$pagenavi=$(".wp-pagenavi",this),_ajax=!1;if(void 0!==$section.attr("data-options"))eval("var _options = "+$section.attr("data-options")),_ajax=!0;else var _options={};var _cufon=!1;if($section.find(".portfolio_title .cufon").length>0&&(_cufon=!0),$section.is(".sortable")){var _preferences={duration:1e3,adjustHeight:"auto",adjustWidth:!1,easing:"easeInOutQuad",attribute:function(a){return $(a).attr("data-id")},enhancement:function(){"undefined"!==typeof Cufon&&_cufon===!0&&Cufon.replace(".portfolio_title")}},$list=$("ul.portfolio_container",this),$clone=$list.clone();$clone.find(".image_frame img").css("visibility","visible"),"undefined"!==typeof Cufon&&_cufon===!0&&$clone.find(".portfolio_title").each(function(){$("a",this).length>0?$("a",this).html(this.textContent):$(this).html(this.textContent)});var callback=function(){themeEnableLightbox(".lightbox",$list),$list.find(".image_frame").css("background-image","none"),$list.find(".image_frame").each(function(){$(this).is(".effect-grayscale")?0===$(this).find(".grayscale-wrapper").length&&0===$(this).find(".image-on-loading").length&&enable_image_grayscale_hover($("a",this)):$(this).is(".effect-icon")&&enable_image_hover($("a",this))});var a=setTimeout(function(){resize_theme_svg_images(".portfolio_wrap img.theme_image_type_svg"),clearTimeout(a)},100)},ajax_callback=function(a){var b=$(a);b.find(".image_frame img").css("visibility","visible");var c=b.find(".wp-pagenavi");$list.quicksand(b.find(".portfolio_item"),_preferences,callback),themeUpdateImages($list.find(".image_frame img")),c.length>0?($pagenavi=$section.find(".wp-pagenavi"),$pagenavi.length>0?$pagenavi.html(c.html()):c.appendTo($section)):$section.find(".wp-pagenavi").remove(),resize_theme_svg_images(".portfolio_wrap img.theme_image_type_svg")};_ajax&&$(this).on("click",".wp-pagenavi a",function(a){var b="all";$section.find(".sort_by_cat a.current").length>0&&(b=$section.find(".sort_by_cat a.current").attr("data-value")),$.post(window.location.href,{portfolioAjax:!0,portfolioOptions:_options,category:b,portfolioPage:$(this).attr("data-page"),cache:!0},ajax_callback),a.preventDefault()}),$(".sort_by_cat a",this).on("click",function(a){if($(this).siblings(".current").removeClass("current"),$(this).addClass("current"),_ajax){var b=$(this).attr("data-value");$.post(window.location.href,{portfolioAjax:!0,portfolioOptions:_options,category:b,cache:!0},ajax_callback)}else{var c;c="all"===$(this).attr("data-value")?$clone.find(".portfolio_item").clone():$clone.find(".portfolio_item[data-cat*="+$(this).attr("data-value")+"]").clone(),$list.quicksand(c,_preferences,callback)}a.preventDefault()})}else _ajax&&$(this).on("click",".wp-pagenavi a",function(a){$.post(window.location.href,{portfolioAjax:!0,portfolioOptions:_options,portfolioPage:$(this).attr("data-page"),cache:!0},function(a){$section.html(a),themeEnableLightbox(".lightbox",$section),"undefined"!==typeof Cufon&&_cufon===!0&&Cufon.replace(".portfolio_title"),preloader($section.find(".portfolio_image .image_frame img")),resize_theme_svg_images(".portfolio_wrap img.theme_image_type_svg")}),a.preventDefault()})}), 133 134 preloader($(".portfolios").find(".portfolio_image .image_frame img")), 135 preloader($("body").find(".image_styled:not(.portfolio_image) .image_frame img")), 136 137 $(".gallery .gallery-image,.woo-image-overlay .image-overlay,.easy_image img,.theme_lightbox_image img").imagesLoaded(function(a){$.each(a.images,function(a,b){var c=100;"undefined"!==typeof gallery_loading_speed&&(c=gallery_loading_speed);var d=$(b.img);d.is(".gallery-image")||(c=0),setTimeout(function(){d.css("visibility","visible").animate({opacity:1},500,function(){$(this).parent().is(".effect-grayscale")?enable_image_grayscale_hover($(this).parent()):enable_image_hover($(this).parent())})},c*(a+1))})}), 138 139 $(".contact_info_wrap .icon_email").each(function(){$(this).attr("href",$(this).attr("href").replace("*","@")),$(this).html($(this).html().replace("*","@"))}), 140 141 void 0!==$.tools.validator&&($.tools.validator.addEffect("contact_form",function(a){$.each(a,function(a,b){var c=b.input;c.addClass("invalid")})},function(a){a.removeClass("invalid")}),$(".widget_contact_form .contact_form").validator({effect:"contact_form"}).on("submit",function(a){var b=$(this);a.isDefaultPrevented()||($.post(this.action,{theme_contact_form_submit:1,to:$('input[name="contact_to"]').val().replace("*","@"),name:$('input[name="contact_name"]').val(),email:$('input[name="contact_email"]').val(),content:$('textarea[name="contact_content"]').val(),consent:$('input[name="contact_consent"]').is(":checked")},function(){b.fadeOut("fast",function(){$(this).siblings("p").show()}).delay(3e3).fadeIn("fast",function(){$(this).find('input[name="contact_name"]').val(""),$(this).find('input[name="contact_email"]').val(""),$(this).find('textarea[name="contact_content"]').val(""),$(this).find('input[name="contact_consent"]').prop("checked",""),$(this).siblings("p").hide()})}),a.preventDefault())}),$(".contact_form_wrap .contact_form").validator({effect:"contact_form"}).on("submit",function(a){var b=$(this);if(!a.isDefaultPrevented()){var c=b.find('input[name="contact_widget_id"]').val();$.post(this.action,{theme_contact_form_submit:1,to:$('input[name="contact_'+c+'_to"]').val().replace("*","@"),name:$('input[name="contact_'+c+'_name"]').val(),email:$('input[name="contact_'+c+'_email"]').val(),content:$('textarea[name="contact_'+c+'_content"]').val(),consent:$('input[name="contact_'+c+'_consent"]').is(":checked")},function(){b.fadeOut("fast",function(){$(this).siblings(".success").show()}).delay(3e3).fadeIn("fast",function(){$(this).find('input[name="contact_'+c+'_name"]').val(""),$(this).find('input[name="contact_'+c+'_email"]').val(""),$(this).find('textarea[name="contact_'+c+'_content"]').val(""),$(this).find('input[name="contact_'+c+'_consent"]').prop("checked",""),$(this).siblings(".success").hide()})}),a.preventDefault()}})), 142 143 $("body").is(".responsive")&&enquire.register("screen and (min-width: 980px)",{match:function(){updateImages(),updateVideos()}}).register("screen and (min-width: 768px) and (max-width: 979px)",{match:function(){updateImages(),updateVideos()}}).register("screen and (min-width: 568px) and (max-width: 767px)",{match:function(){updateImages(),updateVideos()}}).register("screen and (min-width: 480px) and (max-width: 567px)",{match:function(){updateImages(),updateVideos()}}).register("screen and (max-width: 479px)",{match:function(){updateImages(),updateVideos()}}).register("screen and (max-width: 767px)",{match:function(){$("table.responsive").each(function(a,b){splitTable($(b))})},unmatch:function(){$("table.responsive").each(function(a,b){unsplitTable($(b))})}}) 144}); 145 146//Keep Height 147!function(i){"use strict";i.fn.equalHeight=function(){var t=[];return i.each(this,(function(e,n){var r,s=i(n);r="border-box"===s.css("box-sizing")||"border-box"===s.css("-moz-box-sizing")?s.innerHeight():s.height(),t.push(r)})),this.css("height",Math.max.apply(window,t)+"px"),this},i.fn.equalHeightGrid=function(t){var e=this.filter(":visible");e.css("height","auto");for(var n=0;n<e.length;n++)if(n%t==0){for(var r=i(e[n]),s=1;s<t;s++)r=r.add(e[n+s]);r.equalHeight()}return this},i.fn.detectGridColumns=function(){var t=0,e=0;return this.filter(":visible").each((function(n,r){var s=i(r).offset().top;if(0!==t&&s!==t)return!1;e++,t=s})),e};var t=0;i.fn.responsiveEqualHeightGrid=function(){var e=this,n=".grids_"+t;function r(){var i=e.detectGridColumns();e.equalHeightGrid(i)}return e.data("grids-event-namespace",n),i(window).on("resize"+n+" load"+n+" equalheight::changed",r),r(),t++,this},i.fn.responsiveEqualHeightGridDestroy=function(){return this.css("height","auto"),i(window).off(this.data("grids-event-namespace")),this}}(window.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.