PageSourceSearch

https://www.beaconschool.co.uk/wp-content/themes/beacon-school/js/dist/vendor.min.js?ver=1763394528

js beaconschool.co.uk collected 2026-10-08 23:35:16 UTC 60,929 bytes, 2 lines download raw bytes

vendor: 4,652 bytes, line 1
1"use strict";function _typeof(e){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}!function(){"use strict";function r(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=r.Adapter.extend({},r.defaults,e),this.element=this.options.element,this.adapter=new r.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=r.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=r.Context.findOrCreateByElement(this.options.context),r.offsetAliases[this.options.offset]&&(this.options.offset=r.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),a[this.key]=this,t+=1}var t=0,a={};r.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},r.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},r.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete a[this.key]},r.prototype.disable=function(){return this.enabled=!1,this},r.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},r.prototype.next=function(){return this.group.next(this)},r.prototype.previous=function(){return this.group.previous(this)},r.invokeAll=function(s){var t=[];for(var e in a)t.push(a[e]);for(var o=0,i=t.length;i>o;o++)t[o][s]()},r.destroyAll=function(){r.invokeAll("destroy")},r.disableAll=function(){r.invokeAll("disable")},r.enableAll=function(){for(var t in r.Context.refreshAll(),a)a[t].enabled=!0;return this},r.refreshAll=function(){r.Context.refreshAll()},r.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},r.viewportWidth=function(){return document.documentElement.clientWidth},r.adapters=[],r.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},r.offsetAliases={"bottom-in-view":function bottomInView(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function rightInView(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=r}(),function(){"use strict";var m=Math.ceil;function _(e){window.setTimeout(e,1e3/60)}function a(o){this.element=o,this.Adapter=v.Adapter,this.adapter=new this.Adapter(o),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},o.waypointContextKey=this.key,s[o.waypointContextKey]=this,e+=1,v.windowContext||(v.windowContext=!0,v.windowContext=new a(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var e=0,s={},v=window.Waypoint,t=window.onload;a.prototype.add=function(o){var t=o.options.horizontal?"horizontal":"vertical";this.waypoints[t][o.key]=o,this.refresh()},a.prototype.checkEmpty=function(){var o=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),e=this.element==this.element.window;o&&t&&!e&&(this.adapter.off(".waypoints"),delete s[this.key])},a.prototype.createThrottledResizeHandler=function(){function o(){t.handleResize(),t.didResize=!1}var t=this;this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,v.requestAnimationFrame(o))})},a.prototype.createThrottledScrollHandler=function(){function o(){t.handleScroll(),t.didScroll=!1}var t=this;this.adapter.on("scroll.waypoints",function(){(!t.didScroll||v.isTouch)&&(t.didScroll=!0,v.requestAnimationFrame(o))})},a.prototype.handleResize=function(){v.Context.refreshAll()},a.prototype.handleScroll=function(){var d={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var e in t){var i=t[e],o=i.newScroll>i.oldScroll,n=o?i.forward:i.backward;for(var r in this.waypoints[e]){var s=this.waypoints[e][r];if(null!==s.triggerPoint){var a=i.oldScroll<s.triggerPoint,l=i.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),d[s.group.id]=s.group)}}}for(var p in d)d[p].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}}
1,a.prototype.innerHeight=function(){return this.element==this.element.window?v.viewportHeight():this.adapter.innerHeight()},a.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},a.prototype.innerWidth=function(){return this.element==this.element.window?v.viewportWidth():this.adapter.innerWidth()},a.prototype.destroy=function(){var r=[];for(var t in this.waypoints)for(var e in this.waypoints[t])r.push(this.waypoints[t][e]);for(var a=0,s=r.length;s>a;a++)r[a].destroy()},a.prototype.refresh=function(){var _,n=Math.floor,x=this.element==this.element.window,e=x?void 0:this.adapter.offset(),i={};for(var o in this.handleScroll(),_={horizontal:{contextOffset:x?0:e.left,contextScroll:x?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:x?0:e.top,contextScroll:x?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},_){var r=_[o];for(var s in this.waypoints[o]){var a,b,C,z,$,E=this.waypoints[o][s],d=E.options.offset,T=E.triggerPoint,w=0,A=null==T;E.element!==E.element.window&&(w=E.adapter.offset()[r.offsetProp]),"function"==typeof d?d=d.apply(E):"string"==typeof d&&(d=parseFloat(d),-1<E.options.offset.indexOf("%")&&(d=m(r.contextDimension*d/100))),a=r.contextScroll-r.contextOffset,E.triggerPoint=n(w+a-d),b=T<r.oldScroll,C=E.triggerPoint>=r.oldScroll,z=b&&C,$=!b&&!C,!A&&z?(E.queueTrigger(r.backward),i[E.group.id]=E.group):!A&&$?(E.queueTrigger(r.forward),i[E.group.id]=E.group):A&&r.oldScroll>=E.triggerPoint&&(E.queueTrigger(r.forward),i[E.group.id]=E.group)}}return v.requestAnimationFrame(function(){for(var e in i)i[e].flushTriggers()}),this},a.findOrCreateByElement=function(e){return a.findByElement(e)||new a(e)},a.refreshAll=function(){for(var e in s)s[e].refresh()},a.findByElement=function(e){return s[e.waypointContextKey]},window.onload=function(){t&&t(),a.refreshAll()},v.requestAnimationFrame=function(t){var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||_;e.call(window,t)},v.Context=a}(),function(){"use strict";function l(o,t){return o.triggerPoint-t.triggerPoint}function t(o,t){return t.triggerPoint-o.triggerPoint}function e(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),r[this.axis][this.name]=this}var r={vertical:{},horizontal:{}},a=window.Waypoint;e.prototype.add=function(e){this.waypoints.push(e)},e.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},e.prototype.flushTriggers=function(){for(var e in this.triggerQueues){var n=this.triggerQueues[e];n.sort("up"==e||"left"===e?t:l);for(var o,i=0,d=n.length;d>i;i+=1)o=n[i],(o.options.continuous||i===n.length-1)&&o.trigger([e])}this.clearTriggerQueues()},e.prototype.next=function(t){this.waypoints.sort(l);var e=a.Adapter.inArray(t,this.waypoints),r=e===this.waypoints.length-1;return r?null:this.waypoints[e+1]},e.prototype.previous=function(t){this.waypoints.sort(l);var e=a.Adapter.inArray(t,this.waypoints);return e?this.waypoints[e-1]:null},e.prototype.queueTrigger=function(o,t){this.triggerQueues[t].push(o)},e.prototype.remove=function(o){var t=a.Adapter.inArray(o,this.waypoints);-1<t&&this.waypoints.splice(t,1)},e.prototype.first=function(){return this.waypoints[0]},e.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},e.findOrCreate=function(o){return r[o.axis][o.name]||new e(o)},a.Group=e}(),function(){"use strict";function r(e){this.$element=a(e)}var a=window.jQuery,e=window.Waypoint;a.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){r.prototype[e]=function(){var o=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,o)}}),a.each(["extend","inArray","isEmptyObject"],function(e,t){r[t]=a[t]}),e.adapters.push({name:"jquery",Adapter:r}),e.Adapter=r}(),function(){"use strict";function o(e){return function(){var t=[],a=arguments[0];return e.isFunction(arguments[0])&&(a=e.extend({},arguments[1]),a.handler=arguments[0]),this.each(function(){var o=e.extend({},a,{element:this});"string"==typeof o.context&&(o.context=e(this).closest(o.context)[0]),t.push(new r(o))}),t}}var r=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=o(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=o(window.Zepto))}(),!function(e,o){"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e=e||self).LazyLoad=o()}(void 0,function(){"use strict";function l(){return(l=Object.assign||function(o){for(var t,r=1;r<arguments.length;r++)for(var a in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,a)&&(o[a]=t[a]);return o}
1).apply(this,arguments)}var d="undefined"!=typeof window,g=d&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),e=d&&"IntersectionObserver"in window,i=d&&"classList"in document.createElement("p"),u=d&&1<window.devicePixelRatio,o={elements_selector:".lazy",container:g||d?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},r=function(e){return l({},o,e)},a=function(r,t){var a,s=new r(t);try{a=new CustomEvent("LazyLoad::Initialized",{detail:{instance:s}})}catch(e){(a=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:s})}window.dispatchEvent(a)},s=function(e,t){return e.getAttribute("data-"+t)},n=function(e){return s(e,"ll-status")},p=function(e,t){return function(o,t,r){null===r?o.removeAttribute("data-ll-status"):o.setAttribute("data-ll-status",r)}(e,0,t)},c=function(e){return p(e,null)},m=function(e){return null===n(e)},_=function(e){return n(e)==="native"},h=["loading","loaded","applied","error"],y=function(o,t,r,e){o&&(void 0===e?void 0===r?o(t):o(t,r):o(t,r,e))},f=function(e,t){i?e.classList.add(t):e.className+=(e.className?" ":"")+t},v=function(e,t){i?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s+)"+t+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},w=function(e){return e.llTempImage},b=function(o,t){if(t){var r=t._observer;r&&r.unobserve(o)}},E=function(e,t){e&&(e.loadingCount+=t)},x=function(e,t){e&&(e.toLoadCount=t)},z=function(o){for(var t,r=[],e=0;t=o.children[e];e+=1)"SOURCE"===t.tagName&&r.push(t);return r},C=function(o,t,r){r&&o.setAttribute(t,r)},A=function(e,t){e.removeAttribute(t)},k=function(e){return!!e.llOriginalAttrs},L=function(e){if(!k(e)){var t={};t.src=e.getAttribute("src"),t.srcset=e.getAttribute("srcset"),t.sizes=e.getAttribute("sizes"),e.llOriginalAttrs=t}},O=function(e){if(k(e)){var t=e.llOriginalAttrs;C(e,"src",t.src),C(e,"srcset",t.srcset),C(e,"sizes",t.sizes)}},T=function(e,t){C(e,"sizes",s(e,t.data_sizes)),C(e,"srcset",s(e,t.data_srcset)),C(e,"src",s(e,t.data_src))},I=function(e){A(e,"src"),A(e,"srcset"),A(e,"sizes")},D=function(o,t){var r=o.parentNode;r&&"PICTURE"===r.tagName&&z(r).forEach(t)},R={IMG:function IMG(e,o){D(e,function(e){L(e),T(e,o)}),L(e),T(e,o)},IFRAME:function IFRAME(e,t){C(e,"src",s(e,t.data_src))},VIDEO:function VIDEO(e,o){!function(e){z(e).forEach(function(e){C(e,"src",s(e,o.data_src))})}(e),C(e,"poster",s(e,o.data_poster)),C(e,"src",s(e,o.data_src)),e.load()}},P=function(o,t){var r=R[o.tagName];r&&r(o,t)},S=function(o,t,r){E(r,1),f(o,t.class_loading),p(o,"loading"),y(t.callback_loading,o,r)},j=["IMG","IFRAME","VIDEO"],N=function(e,t){!t||function(e){return 0<e.loadingCount}(t)||function(e){return 0<e.toLoadCount}(t)||y(e.callback_finish,t)},$=function(o,t,r){o.addEventListener(t,r),o.llEvLisnrs[t]=r},q=function(o,t,r){o.removeEventListener(t,r)},H=function(e){return!!e.llEvLisnrs},B=function(o){if(H(o)){var t=o.llEvLisnrs;for(var r in t){var e=t[r];q(o,r,e)}delete o.llEvLisnrs}},F=function(o,t,r){!function(e){delete e.llTempImage}(o),E(r,-1),function(e){e&&(e.toLoadCount-=1)}(r),v(o,t.class_loading),t.unobserve_completed&&b(o,r)},M=function(o,t,r){var e=w(o)||o;H(e)||function(o,t,r){H(o)||(o.llEvLisnrs={});var e="VIDEO"===o.tagName?"loadeddata":"load";$(o,e,t),$(o,"error",r)}(e,function(){!function(r,t,a,e){var s=_(t);F(t,a,e),f(t,a.class_loaded),p(t,"loaded"),y(a.callback_loaded,t,e),s||N(a,e)}(0,o,t,r),B(e)},function(){!function(r,t,a,e){var s=_(t);F(t,a,e),f(t,a.class_error),p(t,"error"),y(a.callback_error,t,e),s||N(a,e)}(0,o,t,r),B(e)})},Q=function(o,t,r){!function(e){e.llTempImage=document.createElement("IMG")}(o),M(o,t,r),function(r,t,n){var e=s(r,t.data_bg),i=s(r,t.data_bg_hidpi),o=u&&i?i:e;o&&(r.style.backgroundImage="url(\"".concat(o,"\")"),w(r).setAttribute("src",o),S(r,t,n))}(o,t,r),function(r,t,n){var e=s(r,t.data_bg_multi),i=s(r,t.data_bg_multi_hidpi),o=u&&i?i:e;o&&(r.style.backgroundImage=o,function(o,t,r){f(o,t.class_applied),p(o,"applied"),t.unobserve_completed&&b(o,t),y(t.callback_applied,o,r)}(r,t,n))}(o,t,r)},W=function(o,t,r){(function(e){return-1<j.indexOf(e.tagName)})(o)?function(o,t,r){M(o,t,r),P(o,t),S(o,t,r)}(o,t,r):Q(o,t,r)},V=["IMG","IFRAME"],G=function(e){return e.use_native&&"loading"in HTMLImageElement.prototype},Z=function(o,r,a){o.forEach(function(e){return function(e){return e.isIntersecting||0<e.intersectionRatio}(e)?function(o,t,r,e){p(o,"entered"),f(o,r.class_entered),v(o,r.class_exited),function(o,t,r){t.unobserve_entered&&b(o,r)}(o,r,e),y(r.callback_enter,o,t,e),function(e){return 0<=h.indexOf(n(e))}(o)||W(o,r,e)}(e.target,e,r,a):function(o,t,r,e){m(o)||(f(o,r.class_exited),function(o,t,r,e){r.cancel_on_exit&&function(e){return n(e)==="loading"}(o)&&"IMG"===o.tagName&&(B(o),function(e){D(e,function(e){I(e)}),I(e)}(o),function(e){D(e,function(e){O(e)}),O(e)}(o),v(o,r.class_loading),E(e,-1),c(o),y(r.callback_cancel,o,t,e))}(o,t,r,e),y(r.callback_exit,o,t,e))}(e.target,e,r,a)})},U=function(e){return Array.prototype.slice.call(e)},K=function(e){return e.container.querySelectorAll(e.elements_selector)},X=function(e){return function(e){return n(e)==="error"}(e)},Y=function(e,t){return function(e){return U(e).filter(m)}(e||K(t))},J=function(a,t){var s=r(a);this._settings=s,this.loadingCount=0,function(o,t){e&&!G(o)&&(t._observer=new IntersectionObserver(function(r){Z(r,o,t)},function(e){return{root:e.container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}}(o)))}(s,this),function(o,t){d&&window.addEventListener("online",function(){!function(o,t){var r;
1(r=K(o),U(r).filter(X)).forEach(function(e){v(e,o.class_error),c(e)}),t.update()}(o,t)})}(s,this),this.update(t)};return J.prototype={update:function update(s){var t,i,l=this._settings,r=Y(s,l);x(this,r.length),!g&&e?G(l)?function(o,r,a){o.forEach(function(e){-1!==V.indexOf(e.tagName)&&(e.setAttribute("loading","lazy"),function(o,t,r){M(o,t,r),P(o,t),p(o,"native")}(e,r,a))}),x(a,0)}(r,l,this):(i=r,function(e){e.disconnect()}(t=this._observer),function(e,t){t.forEach(function(t){e.observe(t)})}(t,i)):this.loadAll(r)},destroy:function destroy(){this._observer&&this._observer.disconnect(),K(this._settings).forEach(function(e){delete e.llOriginalAttrs}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function loadAll(o){var r=this,a=this._settings;Y(o,a).forEach(function(e){b(e,r),W(e,a,r)})}},J.load=function(o,t){var a=r(t);W(o,a)},J.resetStatus=function(e){c(e)},d&&function(o,t){if(t)if(t.length)for(var r,s=0;r=t[s];s+=1)a(o,r);else a(o,t)}(J,window.lazyLoadOptions),J}),!function(t,o,r,s){var n=Math.abs,l=Math.max,p=Math.min,u=Math.ceil;function m(e,o){this.settings=null,this.options=t.extend({},m.Defaults,o),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,o){this._handlers[o]=t.proxy(this[o],this)},this)),t.each(m.Plugins,t.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),t.each(m.Workers,t.proxy(function(e,o){this._pipe.push({filter:o.filter,run:t.proxy(o.run,this)})},this)),this.setup(),this.initialize()}m.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:o,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},m.Width={Default:"default",Inner:"inner",Outer:"outer"},m.Type={Event:"event",State:"state"},m.Plugins={},m.Workers=[{filter:["width","settings"],run:function run(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function run(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function run(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function run(t){var o=this.settings.margin||"",r=!this.settings.autoWidth,a=this.settings.rtl,s={width:"auto","margin-left":a?o:"","margin-right":a?"":o};r||this.$stage.children().css(s),t.css=s}},{filter:["width","items","settings"],run:function run(t){var o=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,r=null,a=this._items.length,s=!this.settings.autoWidth,e=[];for(t.items={merge:!1,width:o};a--;)r=this._mergers[a],r=this.settings.mergeFit&&p(r,this.settings.items)||r,t.items.merge=1<r||t.items.merge,e[a]=s?o*r:this._items[a].width();this._widths=e}},{filter:["items","settings"],run:function run(){var o=[],r=this._items,a=this.settings,s=l(2*a.items,4),e=2*u(r.length/2),n=a.loop&&r.length?a.rewind?s:l(s,e):0,d="",p="";for(n/=2;0<n;)o.push(this.normalize(o.length/2,!0)),d+=r[o[o.length-1]][0].outerHTML,o.push(this.normalize(r.length-1-(o.length-1)/2,!0)),p=r[o[o.length-1]][0].outerHTML+p,n-=1;this._clones=o,t(d).addClass("cloned").appendTo(this.$stage),t(p).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function run(){for(var t=this.settings.rtl?1:-1,o=this._clones.length+this._items.length,r=-1,a=0,s=0,n=[];++r<o;)a=n[r-1]||0,s=this._widths[this.relative(r)]+this.settings.margin,n.push(a+s*t);this._coordinates=n}},{filter:["width","items","settings"],run:function run(){var e=this.settings.stagePadding,t=this._coordinates,o={width:u(n(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(o)}},{filter:["width","items","settings"],run:function run(e){var t=this._coordinates.length,o=!this.settings.autoWidth,r=this.$stage.children();if(o&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],r.eq(t).css(e.css);else o&&(e.css.width=e.items.width,r.css(e.css))}},{filter:["items"],run:function run(){1>this._coordinates.length&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function run(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=l(this.minimum(),p(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function run(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function run(){var t,o,r,s,l=this.settings.rtl?1:-1,e=2*this.settings.stagePadding,p=this.coordinates(this.current())+e,g=p+this.width()*l,u=[];for(r=0,s=this._coordinates.length;r<s;r++)t=this._coordinates[r-1]||0,o=n(this._coordinates[r])+e*l,(this.op(t,"<=",p)&&this.op(t,">",g)||this.op(o,"<",p)&&this.op(o,">",g))&&u.push(r);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+u.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],m.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},m.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");return e.length?(this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh()):void(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},m.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var e,t,o;e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,o=this.$element.children(t).width(),e.length&&0>=o&&this.preloadAutoWidthImages(e)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},m.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},m.prototype.setup=function(){var o=this.viewport(),r=this.options.responsive,s=-1,a=null;r?(t.each(r,function(e){e<=o&&e>s&&(s=+e)}),a=t.extend({},this.options,r[s]),"function"==typeof a.stagePadding&&(a.stagePadding=a.stagePadding()),delete a.responsive,a.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):a=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:a}}),this._breakpoint=s,this.settings=a,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},m.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},m.prototype.prepare=function(e){var o=this.trigger("prepare",{content:e});return o.data||(o.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:o.data}),o.data},m.prototype.update=function(){for(var o=0,r=this._pipe.length,a=t.proxy(function(e){return this[e]},this._invalidated),s={};o<r;)(this._invalidated.all||0<t.grep(this._pipe[o].filter,a).length)&&this._pipe[o].run(s),o++;this._invalidated={},this.is("valid")||this.enter("valid")},m.prototype.width=function(e){switch(e=e||m.Width.Default){case m.Width.Inner:case m.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin;}},m.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},m.prototype.onThrottledResize=function(){o.clearTimeout(this.resizeTimer),this.resizeTimer=o.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},m.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},m.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(o,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},m.prototype.onDragStart=function(e){var o=null;
vendor: 18,898 bytes, line 1
13!==e.which&&(t.support.transform?(o=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),o={x:o[16===o.length?12:4],y:o[16===o.length?13:5]}):(o=this.$stage.position(),o={x:this.settings.rtl?o.left+this.$stage.width()-this.width()+this.settings.margin:o.left,y:o.top}),this.is("animating")&&(t.support.transform?this.animate(o.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=new Date().getTime(),this._drag.target=t(e.target),this._drag.stage.start=o,this._drag.stage.current=o,this._drag.pointer=this.pointer(e),t(r).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(r).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var o=this.difference(this._drag.pointer,this.pointer(e));t(r).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),n(o.x)<n(o.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},m.prototype.onDragMove=function(t){var o=null,r=null,a=null,s=this.difference(this._drag.pointer,this.pointer(t)),e=this.difference(this._drag.stage.start,s);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(o=this.coordinates(this.minimum()),r=this.coordinates(this.maximum()+1)-o,e.x=((e.x-o)%r+r)%r+o):(o=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),r=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),a=this.settings.pullDrag?-1*s.x/5:0,e.x=l(p(e.x,o+a),r+a)),this._drag.stage.current=e,this.animate(e.x))},m.prototype.onDragEnd=function(o){var a=this.difference(this._drag.pointer,this.pointer(o)),s=this._drag.stage.current,e=0<a.x^this.settings.rtl?"left":"right";t(r).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==a.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(s.x,0===a.x?this._drag.direction:e)),this.invalidate("position"),this.update(),this._drag.direction=e,(3<n(a.x)||300<new Date().getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},m.prototype.closest=function(o,r){var n=-1,l=this.width(),d=this.coordinates();return this.settings.freeDrag||t.each(d,t.proxy(function(e,t){return"left"===r&&o>t-30&&o<t+30?n=e:"right"===r&&o>t-l-30&&o<t-l+30?n=e+1:this.op(o,"<",t)&&this.op(o,">",d[e+1]===s?t-l:d[e+1])&&(n="left"===r?e+1:e),-1===n},this)),this.settings.loop||(this.op(o,">",d[this.minimum()])?n=o=this.minimum():this.op(o,"<",d[this.maximum()])&&(n=o=this.maximum())),n},m.prototype.animate=function(e){var o=0<this.speed();this.is("animating")&&this.onTransitionEnd(),o&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):o?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},m.prototype.is=function(e){return this._states.current[e]&&0<this._states.current[e]},m.prototype.current=function(e){if(e===s)return this._current;if(0===this._items.length)return s;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==s&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},m.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(e,t){return t})},m.prototype.reset=function(e){(e=this.normalize(e))!==s&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},m.prototype.normalize=function(t,o){var r=this._items.length,n=o?0:this._clones.length;return!this.isNumeric(t)||1>r?t=s:(0>t||t>=r+n)&&(t=((t-n/2)%r+r)%r+n/2),t},m.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},m.prototype.maximum=function(t){var o,r,a,s=this.settings,e=this._coordinates.length;if(s.loop)e=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){if(o=this._items.length)for(r=this._items[--o].width(),a=this.$element.width();o--&&!((r+=this._items[o].width()+this.settings.margin)>a););e=o+1}else e=s.center?this._items.length-1:this._items.length-s.items;return t&&(e-=this._clones.length/2),l(e,0)},m.prototype.minimum=function(e){return e?0:this._clones.length/2},m.prototype.items=function(e){return e===s?this._items.slice():(e=this.normalize(e,!0),this._items[e])},m.prototype.mergers=function(e){return e===s?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},m.prototype.clones=function(o){var r=this._clones.length/2,n=r+this._items.length,e=function(e){return 0==e%2?n+e/2:r-(e+1)/2};return o===s?t.map(this._clones,function(t,o){return e(o)}):t.map(this._clones,function(t,r){return t===o?e(r):null})},m.prototype.speed=function(e){return e!==s&&(this._speed=e),this._speed},m.prototype.coordinates=function(o){var r,a=1,n=o-1;return o===s?t.map(this._coordinates,t.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(a=-1,n=o+1),r=this._coordinates[o],r+=(this.width()-r+(this._coordinates[n]||0))/2*a):r=this._coordinates[n]||0,r=u(r))},m.prototype.duration=function(e,t,o){return 0===o?0:p(l(n(t-e),1),6)*n(o||this.settings.smartSpeed)},m.prototype.to=function(t,o){var r=this.current(),s=null,u=t-this.relative(r),m=(0<u)-(0>u),_=this._items.length,g=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&n(u)>_/2&&(u+=-1*m*_),t=r+u,(s=((t-g)%_+_)%_+g)!==t&&s-u<=h&&0<s-u&&(r=s-u,t=s,this.reset(r))):this.settings.rewind?(h+=1,t=(t%h+h)%h):t=l(g,p(h,t)),this.speed(this.duration(r,t,o)),this.current(t),this.isVisible()&&this.update()},m.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},m.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},m.prototype.onTransitionEnd=function(e){return!(e!==s&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))&&void(this.leave("animating"),this.trigger("translated"))},m.prototype.viewport=function(){var e;return this.options.responsiveBaseElement===o?o.innerWidth?e=o.innerWidth:r.documentElement&&r.documentElement.clientWidth?e=r.documentElement.clientWidth:console.warn("Can not detect viewport width."):e=t(this.options.responsiveBaseElement).width(),e},m.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},m.prototype.add=function(o,r){var a=this.relative(this._current);r=r===s?this._items.length:this.normalize(r,!0),o=o instanceof jQuery?o:t(o),this.trigger("add",{content:o,position:r}),o=this.prepare(o),0===this._items.length||r===this._items.length?(0===this._items.length&&this.$stage.append(o),0!==this._items.length&&this._items[r-1].after(o),this._items.push(o),this._mergers.push(1*o.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[r].before(o),this._items.splice(r,0,o),this._mergers.splice(r,0,1*o.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[a]&&this.reset(this._items[a].index()),this.invalidate("items"),this.trigger("added",{content:o,position:r})},m.prototype.remove=function(e){(e=this.normalize(e,!0))!==s&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},m.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,o){this.enter("pre-loading"),o=t(o),t(new Image).one("load",t.proxy(function(e){o.attr("src",e.target.src),o.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",o.attr("src")||o.attr("data-src")||o.attr("data-src-retina"))},this))},m.prototype.destroy=function(){for(var e in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(r).off(".owl.core"),!1!==this.settings.responsive&&(o.clearTimeout(this.resizeTimer),this.off(o,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[e].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},m.prototype.op=function(e,t,o){var r=this.settings.rtl;return"<"===t?r?e>o:e<o:">"===t?r?e<o:e>o:">="===t?r?e<=o:e>=o:"<="===t?r?e>=o:e<=o:void 0},m.prototype.on=function(e,t,o,r){e.addEventListener?e.addEventListener(t,o,r):e.attachEvent&&e.attachEvent("on"+t,o)},m.prototype.off=function(e,t,o,r){e.removeEventListener?e.removeEventListener(t,o,r):e.detachEvent&&e.detachEvent("on"+t,o)},m.prototype.trigger=function(e,o,r){var a={item:{count:this._items.length,index:this.current()}},s=t.camelCase(t.grep(["on",e,r],function(e){return e}).join("-").toLowerCase()),n=t.Event([e,"owl",r||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,o));return this._supress[e]||(t.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(n)}),this.register({type:m.Type.Event,name:e}),this.$element.trigger(n),this.settings&&"function"==typeof this.settings[s]&&this.settings[s].call(this,n)),n},m.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(e,t){this._states.current[t]===s&&(this._states.current[t]=0),this._states.current[t]++},this))},m.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(e,t){this._states.current[t]--},this))},m.prototype.register=function(e){if(!(e.type===m.Type.Event))e.type===m.Type.State&&(this._states.tags[e.name]=this._states.tags[e.name]?this._states.tags[e.name].concat(e.tags):e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(o,r){return t.inArray(o,this._states.tags[e.name])===r},this)));else if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var o=t.event.special[e.name]._default;t.event.special[e.name]._default=function(e){return o&&o.apply&&(!e.namespace||-1===e.namespace.indexOf("owl"))?o.apply(this,arguments):e.namespace&&-1<e.namespace.indexOf("owl")},t.event.special[e.name].owl=!0}},m.prototype.suppress=function(e){t.each(e,t.proxy(function(e,t){this._supress[t]=!0},this))},m.prototype.release=function(e){t.each(e,t.proxy(function(e,t){delete this._supress[t]},this))},m.prototype.pointer=function(e){var t={x:null,y:null};return e=e.originalEvent||e||o.event,e=e.touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,e.pageX?(t.x=e.pageX,t.y=e.pageY):(t.x=e.clientX,t.y=e.clientY),t},m.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},m.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},t.fn.owlCarousel=function(e){var o=Array.prototype.slice.call(arguments,1);return this.each(function(){var r=t(this),s=r.data("owl.carousel");s||(s=new m(this,"object"==_typeof(e)&&e),r.data("owl.carousel",s),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,o){s.register({type:m.Type.Event,name:o}),s.$element.on(o+".owl.carousel.core",t.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([o]),s[o].apply(this,[].slice.call(arguments,1)),this.release([o]))},s))})),"string"==typeof e&&"_"!==e.charAt(0)&&s[e].apply(s,o)})},t.fn.owlCarousel.Constructor=m}(window.Zepto||window.jQuery,window,document),function(t,o){var r=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoRefresh:!0,autoRefreshInterval:500},r.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=o.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},r.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},r.prototype.destroy=function(){var e,t;for(e in o.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=r}(window.Zepto||window.jQuery,window,document),function(t,o,r,a){var s=Math.ceil,n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(o){if(o.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(o.property&&"position"==o.property.name||"initialized"==o.type)){var r=this._core.settings,n=r.center&&s(r.items/2)||r.items,l=r.center&&-1*n||0,d=(o.property&&o.property.value!==a?o.property.value:this._core.current())+l,p=this._core.clones().length,c=t.proxy(function(e,t){this.load(t)},this);for(0<r.lazyLoadEager&&(n+=r.lazyLoadEager,r.loop&&(d-=r.lazyLoadEager,n++));l++<n;)this.load(p/2+this._core.relative(d)),p&&t.each(this._core.clones(this._core.relative(d)),c),d++}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1,lazyLoadEager:0},n.prototype.load=function(r){var a=this._core.$stage.children().eq(r),s=a&&a.find(".owl-lazy");!s||-1<t.inArray(a.get(0),this._loaded)||(s.each(t.proxy(function(r,a){var s,n=t(a),i=1<o.devicePixelRatio&&n.attr("data-src-retina")||n.attr("data-src")||n.attr("data-srcset");this._core.trigger("load",{element:n,url:i},"lazy"),n.is("img")?n.one("load.owl.lazy",t.proxy(function(){n.css("opacity",1),this._core.trigger("loaded",{element:n,url:i},"lazy")},this)).attr("src",i):n.is("source")?n.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:n,url:i},"lazy")},this)).attr("srcset",i):(s=new Image,s.onload=t.proxy(function(){n.css({"background-image":"url(\""+i+"\")",opacity:"1"}),this._core.trigger("loaded",{element:n,url:i},"lazy")},this),s.src=i)},this)),this._loaded.push(a.get(0)))},n.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,o){var r=function(e){this._core=e,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var a=this;t(o).on("load",function(){a._core.settings.autoHeight&&a.update()}),t(o).resize(function(){a._core.settings.autoHeight&&(null!=a._intervalId&&clearTimeout(a._intervalId),a._intervalId=setTimeout(function(){a.update()},250))})};r.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},r.prototype.update=function(){var o=this._core._current,r=o+this._core.settings.items,a=this._core.settings.lazyLoad,s=this._core.$stage.children().toArray().slice(o,r),e=[],n=0;t.each(s,function(o,r){e.push(t(r).height())}),n=Math.max.apply(null,e),1>=n&&a&&this._previousHeight&&(n=this._previousHeight),this._previousHeight=n,this._core.$stage.parent().height(n).addClass(this._core.settings.autoHeightClass)},r.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=r}(window.Zepto||window.jQuery,window,document),function(t,o,r){var a=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var o=t(e.content).find(".owl-video");o.length&&(o.css("display","none"),this.fetch(o,t(e.content)))}},this)},this._core.options=t.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(e){this.play(e)},this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(t,o){var r=function(){return t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube"}(),a=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),s=t.attr("data-width")||this._core.settings.videoWidth,e=t.attr("data-height")||this._core.settings.videoHeight,n=t.attr("href");if(!n)throw new Error("Missing video URL.");
vendor: 15,592 bytes, line 1
1if(a=n.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),-1<a[3].indexOf("youtu"))r="youtube";else if(-1<a[3].indexOf("vimeo"))r="vimeo";else{if(!(-1<a[3].indexOf("vzaar")))throw new Error("Video URL not supported.");r="vzaar"}a=a[6],this._videos[n]={type:r,id:a,width:s,height:e},o.attr("data-video",n),this.thumbnail(t,this._videos[n])},a.prototype.thumbnail=function(o,r){var a,s,n,p=r.width&&r.height?"width:"+r.width+"px;height:"+r.height+"px;":"",c=o.find("img"),g="src",u="",m=this._core.settings,_=function(e){s="<div class=\"owl-video-play-icon\"></div>",a=m.lazyLoad?t("<div/>",{class:"owl-video-tn "+u,srcType:e}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+e+")"}),o.after(a),o.after(s)};return(o.wrap(t("<div/>",{class:"owl-video-wrapper",style:p})),this._core.settings.lazyLoad&&(g="data-src",u="owl-lazy"),c.length)?(_(c.attr(g)),c.remove(),!1):void("youtube"===r.type?(n="//img.youtube.com/vi/"+r.id+"/hqdefault.jpg",_(n)):"vimeo"===r.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+r.id+".json",jsonp:"callback",dataType:"jsonp",success:function success(e){n=e[0].thumbnail_large,_(n)}}):"vzaar"===r.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+r.id+".json",jsonp:"callback",dataType:"jsonp",success:function success(e){n=e.framegrab_url,_(n)}}))},a.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},a.prototype.play=function(o){var r,a=t(o.target),s=a.closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],i=n.width||"100%",l=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),r=t("<iframe frameborder=\"0\" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>"),r.attr("height",l),r.attr("width",i),"youtube"===n.type?r.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?r.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&r.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),t(r).wrap("<div class=\"owl-video-frame\" />").insertAfter(s.find(".owl-video")),this._playing=s.addClass("owl-video-playing"))},a.prototype.isInFullScreen=function(){var e=r.fullscreenElement||r.mozFullScreenElement||r.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},a.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,window,document),function(t,o,r,a){var s=function(e){this.core=e,this.core.options=t.extend({},s.Defaults,this.core.options),this.swapping=!0,this.previous=a,this.next=a,this.handlers={"change.owl.carousel":t.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":t.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};s.Defaults={animateOut:!1,animateIn:!1},s.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var o,r=t.proxy(this.clear,this),a=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),e=this.core.settings.animateIn,n=this.core.settings.animateOut;this.core.current()!==this.previous&&(n&&(o=this.core.coordinates(this.previous)-this.core.coordinates(this.next),a.one(t.support.animation.end,r).css({left:o+"px"}).addClass("animated owl-animated-out").addClass(n)),e&&s.one(t.support.animation.end,r).addClass("animated owl-animated-in").addClass(e))}},s.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},s.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=s}(window.Zepto||window.jQuery,window,document),function(t,o,r){var a=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(e,t,o){e.namespace&&this.play(t,o)},this),"stop.owl.autoplay":t.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},a.Defaults,this._core.options)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype._next=function(e){this._call=o.setTimeout(t.proxy(this._next,this,e),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||r.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},a.prototype.read=function(){return new Date().getTime()-this._time},a.prototype.play=function(r,a){var s;this._core.is("rotating")||this._core.enter("rotating"),r=r||this._core.settings.autoplayTimeout,s=Math.min(this._time%(this._timeout||r),r),this._paused?(this._time=this.read(),this._paused=!1):o.clearTimeout(this._call),this._time+=this.read()%r-s,this._timeout=r,this._call=o.setTimeout(t.proxy(this._next,this,a),r-s)},a.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,o.clearTimeout(this._call),this._core.leave("rotating"))},a.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,o.clearTimeout(this._call))},a.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(t){"use strict";var o=Math.min,r=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push("<div class=\""+this._core.settings.dotClass+"\">"+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":t.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers)};r.Defaults={nav:!1,navText:["<span aria-label=\"Previous\">&#x2039;</span>","<span aria-label=\"Next\">&#x203a;</span>"],navSpeed:!1,navElement:"button type=\"button\" role=\"presentation\"",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},r.prototype.initialize=function(){var e,o=this._core.settings;for(e in this._controls.$relative=(o.navContainer?t(o.navContainer):t("<div>").addClass(o.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+o.navElement+">").addClass(o.navClass[0]).html(o.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(){this.prev(o.navSpeed)},this)),this._controls.$next=t("<"+o.navElement+">").addClass(o.navClass[1]).html(o.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(){this.next(o.navSpeed)},this)),o.dotsData||(this._templates=[t("<button role=\"button\">").addClass(o.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(o.dotsContainer?t(o.dotsContainer):t("<div>").addClass(o.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var r=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(r,o.dotsSpeed)},this)),this._overrides)this._core[e]=t.proxy(this[e],this)},r.prototype.destroy=function(){var t,o,r,s,n;for(t in n=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(o in this._controls)"$relative"===o&&n.navContainer?this._controls[o].html(""):this._controls[o].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(r in Object.getOwnPropertyNames(this))"function"!=typeof this[r]&&(this[r]=null)},r.prototype.update=function(){var t,r,s,n=this._core.clones().length/2,i=n+this._core.items().length,e=this._core.maximum(!0),l=this._core.settings,d=l.center||l.autoWidth||l.dotsData?1:l.dotsEach||l.items;if("page"!==l.slideBy&&(l.slideBy=o(l.slideBy,l.items)),l.dots||"page"==l.slideBy)for(this._pages=[],t=n,r=0,s=0;t<i;t++){if(r>=d||0===r){if(this._pages.push({start:o(e,t-n),end:t-n+d-1}),o(e,t-n)===e)break;r=0,++s}r+=this._core.mergers(this._core.relative(t))}},r.prototype.draw=function(){var o,r=this._core.settings,a=this._core.items().length<=r.items,s=this._core.relative(this._core.current()),e=r.loop||r.rewind;this._controls.$relative.toggleClass("disabled",!r.nav||a),r.nav&&(this._controls.$previous.toggleClass("disabled",!e&&s<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!e&&s>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!r.dots||a),r.dots&&(o=this._pages.length-this._controls.$absolute.children().length,r.dotsData&&0!==o?this._controls.$absolute.html(this._templates.join("")):0<o?this._controls.$absolute.append(Array(o+1).join(this._templates[0])):0>o&&this._controls.$absolute.children().slice(o).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},r.prototype.onTrigger=function(e){var o=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:o&&(o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items)}},r.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t){return t.start<=e&&t.end>=e},this)).pop()},r.prototype.getPosition=function(o){var r,a,s=this._core.settings;return"page"==s.slideBy?(r=t.inArray(this.current(),this._pages),a=this._pages.length,o?++r:--r,r=this._pages[(r%a+a)%a].start):(r=this._core.relative(this._core.current()),a=this._core.items().length,o?r+=s.slideBy:r-=s.slideBy),r},r.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},r.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},r.prototype.to=function(o,r,a){var s;!a&&this._pages.length?(s=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(o%s+s)%s].start,r)):t.proxy(this._overrides.to,this._core)(o,r)},t.fn.owlCarousel.Constructor.Plugins.Navigation=r}(window.Zepto||window.jQuery,window,document),function(t,o,r,a){"use strict";var s=function(e){this._core=e,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(e){e.namespace&&"URLHash"===this._core.settings.startPosition&&t(o).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var o=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!o)return;this._hashes[o]=e.content}},this),"changed.owl.carousel":t.proxy(function(r){if(r.namespace&&"position"===r.property.name){var s=this._core.items(this._core.relative(this._core.current())),a=t.map(this._hashes,function(e,t){return e===s?t:null}).join();if(!a||o.location.hash.slice(1)===a)return;o.location.hash=a}},this)},this._core.options=t.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers),t(o).on("hashchange.owl.navigation",t.proxy(function(){var t=o.location.hash.substring(1),r=this._core.$stage.children(),e=this._hashes[t]&&r.index(this._hashes[t]);e!==a&&e!==this._core.current()&&this._core.to(this._core.relative(e),!1,!0)},this))};s.Defaults={URLhashListener:!1},s.prototype.destroy=function(){var e,r;for(e in t(o).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(r in Object.getOwnPropertyNames(this))"function"!=typeof this[r]&&(this[r]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=s}(window.Zepto||window.jQuery,window,document),function(t,o,r,s){function n(o,r){var n=!1,i=o.charAt(0).toUpperCase()+o.slice(1);return t.each((o+" "+a.join(i+" ")+i).split(" "),function(e,t){if(l[t]!==s)return n=!r||t,!1}),n}function e(e){return n(e,!0)}var l=t("<support>").get(0).style,a=["Webkit","Moz","O","ms"],d={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},i={csstransforms:function csstransforms(){return!!n("transform")},csstransforms3d:function csstransforms3d(){return!!n("perspective")},csstransitions:function csstransitions(){return!!n("transition")},cssanimations:function cssanimations(){return!!n("animation")}};
1i.csstransitions()&&(t.support.transition=new String(e("transition")),t.support.transition.end=d.transition.end[t.support.transition]),i.cssanimations()&&(t.support.animation=new String(e("animation")),t.support.animation.end=d.animation.end[t.support.animation]),i.csstransforms()&&(t.support.transform=new String(e("transform")),t.support.transform3d=i.csstransforms3d())}(window.Zepto||window.jQuery,window,document);
2//# sourceMappingURL=vendor.min.js.map

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.