!function(){"use strict";window.lazySizes=function(){var t,e;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in e=window.lazySizesConfig||window.lazysizesConfig||{},n)t in e||(e[t]=n[t])}(),!document||!document.getElementsByClassName)return{init:function(){},cfg:e,noSupport:!0};var n,i,a,o,s,r,l,c,d,u,f,m,g,z,h,y,v,p,b,A,C,w,E,_,L,T,N,M,W,S,B,D,F,x,R,k,H,P,q,$,O,U,I,j=document.documentElement,G=window.addEventListener.bind(window),J=window.requestIdleCallback,K=/^picture$/i,Q=["load","error","lazyincluded","_lazyloaded"],V=Array.prototype.forEach,X=function(t,e,n){var i=n?"addEventListener":"removeEventListener";n&&X(t,e),Q.forEach((function(n){t[i](n,e)}))},Y=function(e,n,i,a,o){var s=document.createEvent("Event");return i||(i={}),i.instance=t,s.initEvent(n,!a,!o),s.detail=i,e.dispatchEvent(s),s},Z=function(t,n){var i;!window.HTMLPictureElement&&(i=window.picturefill||e.pf)?(n&&n.src&&!t.getAttribute("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},tt=function(t,e){return(getComputedStyle(t,null)||{})[e]},et=function(t,n,i){for(i=i||t.offsetWidth;i0)&&"visible"!=tt(i,"overflow")&&(n=i.getBoundingClientRect(),a=v>n.left&&yn.top-1&&h49?function(){J(s,{timeout:o}),o!==e.ricTimeout&&(o=e.ricTimeout)}:it((function(){setTimeout(s)}),!0);return function(t){var e;(t=!0===t)&&(o=33),n||(n=!0,(e=a-(Date.now()-i))<0&&(e=0),t||e<9?r():setTimeout(r,e))}}(W=function(){var n,i,a,o,s,r,l,u,m,A,C,T,W=t.elements;if((f=e.loadMode)&&_<8&&(n=W.length)){for(i=0,L++;i500&&j.clientWidth>500?500:370:e.expand,t._defEx=A,C=A*e.expFactor,T=e.hFac,b=null,E2&&f>2&&!document.hidden?(E=C,L=0):E=f>1&&L>1&&_<6?A:0),m!==r&&(g=innerWidth+r*T,z=innerHeight+r,l=-1*r,m=r),a=W[i].getBoundingClientRect(),(p=a.bottom)>=l&&(h=a.top)<=z&&(v=a.right)>=l*T&&(y=a.left)<=g&&(p||v||y||h)&&(e.loadHidden||N(W[i]))&&(d&&_<3&&!u&&(f<3||L<4)||M(W[i],r))){if(k(W[i]),s=!0,_>9)break}else!s&&d&&!o&&_<4&&L<4&&f>2&&(c[0]||e.preloadAfterLoad)&&(c[0]||!u&&(p||v||y||h||"auto"!=W[i].getAttribute(e.sizesAttr)))&&(o=c[0]||W[i]);o&&!s&&k(o)}}),D=it(B=function(t){var n=t.target;n._lazyCache?delete n._lazyCache:(T(t),n.classList.add(e.loadedClass),n.classList.remove(e.loadingClass),X(n,F),Y(n,"lazyloaded"))}),F=function(t){D({target:t.target})},x=function(t){var n,i=t.getAttribute(e.srcsetAttr);(n=e.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",n),i&&t.setAttribute("srcset",i)},R=it((function(t,n,i,a,o){var s,r,l,c,d,f;(d=Y(t,"lazybeforeunveil",n)).defaultPrevented||(a&&(i?t.classList.add(e.autosizesClass):t.setAttribute("sizes",a)),r=t.getAttribute(e.srcsetAttr),s=t.getAttribute(e.srcAttr),o&&(c=(l=t.parentNode)&&K.test(l.nodeName||"")),f=n.firesLoad||"src"in t&&(r||s||c),d={target:t},t.classList.add(e.loadingClass),f&&(clearTimeout(u),u=setTimeout(T,2500),X(t,F,!0)),c&&V.call(l.getElementsByTagName("source"),x),r?t.setAttribute("srcset",r):s&&!c&&(C.test(t.nodeName)?function(t,e){try{t.contentWindow.location.replace(e)}catch(n){t.src=e}}(t,s):t.src=s),o&&(r||c)&&Z(t,{src:s})),t._lazyRace&&delete t._lazyRace,t.classList.remove(e.lazyClass),nt((function(){var e=t.complete&&t.naturalWidth>1;f&&!e||(e&&t.classList.add("ls-is-cached"),B(d),t._lazyCache=!0,setTimeout((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&_--}),!0)})),k=function(t){if(!t._lazyRace){var n,i=A.test(t.nodeName),a=i&&(t.getAttribute(e.sizesAttr)||t.getAttribute("sizes")),o="auto"==a;(!o&&d||!i||!t.getAttribute("src")&&!t.srcset||t.complete||t.classList.contains(e.errorClass)||!t.classList.contains(e.lazyClass))&&(n=Y(t,"lazyunveilread").detail,o&&st.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,_++,R(t,n,o,a,i))}},H=at((function(){e.loadMode=3,S()})),q=function(){d||(Date.now()-m<999?setTimeout(q,999):(d=!0,e.loadMode=3,S(),G("scroll",P,!0)))},{_:function(){m=Date.now(),t.elements=document.getElementsByClassName(e.lazyClass),c=document.getElementsByClassName(e.lazyClass+" "+e.preloadClass),G("scroll",S,!0),G("resize",S,!0),G("pageshow",(function(t){if(t.persisted){var n=document.querySelectorAll("."+e.loadingClass);n.length&&n.forEach&&requestAnimationFrame((function(){n.forEach((function(t){t.complete&&k(t)}))}))}})),window.MutationObserver&&new MutationObserver(S).observe(j,{childList:!0,subtree:!0,attributes:!0}),G("hashchange",S,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){document.addEventListener(t,S,!0)})),/d$|^c/.test(document.readyState)?q():(G("load",q),document.addEventListener("DOMContentLoaded",S),setTimeout(q,2e4)),t.elements.length?(W(),nt._lsFlush()):S()},checkElems:S,unveil:k,_aLSL:P=function(){3==e.loadMode&&(e.loadMode=2),H()}}),st=(O=it((function(t,e,n,i){var a,o,s;if(t._lazysizesWidth=i,i+="px",t.setAttribute("sizes",i),K.test(e.nodeName||""))for(o=0,s=(a=e.getElementsByTagName("source")).length;o",{size:1}).attr("size")&&a.attrFn,h=a.attr,i=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},j=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},k=/^(?:input|button)$/i,l=/^[238]$/,m=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,n=/^(?:checked|selected)$/i;e(a,"attrFn",g||{},"jQuery.attrFn is deprecated"),a.attr=function(b,e,f,i){var j=e.toLowerCase(),o=b&&b.nodeType;return i&&(h.length<4&&d("jQuery.fn.attr( props, pass ) is deprecated"),b&&!l.test(o)&&(g?e in g:a.isFunction(a.fn[e])))?a(b)[e](f):("type"===e&&f!==c&&k.test(b.nodeName)&&b.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[j]&&m.test(j)&&(a.attrHooks[j]={get:function(b,d){var e,f=a.prop(b,d);return f===!0||"boolean"!=typeof f&&(e=b.getAttributeNode(d))&&e.nodeValue!==!1?d.toLowerCase():c},set:function(b,c,d){var e;return c===!1?a.removeAttr(b,d):(e=a.propFix[d]||d,e in b&&(b[e]=!0),b.setAttribute(d,d.toLowerCase())),d}},n.test(j)&&d("jQuery.fn.attr('"+j+"') might use property instead of attribute")),h.call(a,b,e,f))},a.attrHooks.value={get:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?i.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value') no longer gets properties"),b in a?a.value:null)},set:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?j.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=b))}};var o,p,q=a.fn.init,r=a.find,s=a.parseJSON,t=/^\s*)([^>]*)$/;a.fn.init=function(b,e,f){var g,h;return b&&"string"==typeof b&&!a.isPlainObject(e)&&(g=w.exec(a.trim(b)))&&g[0]&&(t.test(b)||d("$(html) HTML strings must start with '<' character"),g[3]&&d("$(html) HTML text after last tag is ignored"),"#"===g[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),e&&e.context&&e.context.nodeType&&(e=e.context),a.parseHTML)?q.call(this,a.parseHTML(g[2],e&&e.ownerDocument||e||document,!0),e,f):(h=q.apply(this,arguments),b&&b.selector!==c?(h.selector=b.selector,h.context=b.context):(h.selector="string"==typeof b?b:"",b&&(h.context=b.nodeType?b:e||document)),h)},a.fn.init.prototype=a.fn,a.find=function(a){var b=Array.prototype.slice.call(arguments);if("string"==typeof a&&u.test(a))try{document.querySelector(a)}catch(c){a=a.replace(v,function(a,b,c,d){return"["+b+c+'"'+d+'"]'});try{document.querySelector(a),d("Attribute selector with '#' must be quoted: "+b[0]),b[0]=a}catch(e){d("Attribute selector with '#' was not fixed: "+b[0])}}return r.apply(this,b)};var x;for(x in r)Object.prototype.hasOwnProperty.call(r,x)&&(a.find[x]=r[x]);a.parseJSON=function(a){return a?s.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a.browser||(o=a.uaMatch(navigator.userAgent),p={},o.browser&&(p[o.browser]=!0,p.version=o.version),p.chrome?p.webkit=!0:p.webkit&&(p.safari=!0),a.browser=p),e(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,e(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),e(a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(d,e){var f=a.fn.init.call(this,d,e,c);return f instanceof b?f:b(f)},b.fn.init.prototype=b.fn;var c=b(document);return d("jQuery.sub() is deprecated"),b},a.fn.size=function(){return d("jQuery.fn.size() is deprecated; use the .length property"),this.length};var y=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(b,c){var d=a.cssHooks[c]&&a.cssHooks[c].get;d&&(a.cssHooks[c].get=function(){var a;return y=!0,a=d.apply(this,arguments),y=!1,a})}),a.swap=function(a,b,c,e){var f,g,h={};y||d("jQuery.swap() is undocumented and deprecated");for(g in b)h[g]=a.style[g],a.style[g]=b[g];f=c.apply(a,e||[]);for(g in b)a.style[g]=h[g];return f},a.ajaxSetup({converters:{"text json":a.parseJSON}});var z=a.fn.data;a.fn.data=function(b){var e,f,g=this[0];return!g||"events"!==b||1!==arguments.length||(e=a.data(g,b),f=a._data(g,b),e!==c&&e!==f||f===c)?z.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),f)};var A=/\/(java|ecma)script/i;a.clean||(a.clean=function(b,c,e,f){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,d("jQuery.clean() is deprecated");var g,h,i,j,k=[];if(a.merge(k,a.buildFragment(b,c).childNodes),e)for(i=function(a){return!a.type||A.test(a.type)?f?f.push(a.parentNode?a.parentNode.removeChild(a):a):e.appendChild(a):void 0},g=0;null!=(h=k[g]);g++)a.nodeName(h,"script")&&i(h)||(e.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(j=a.grep(a.merge([],h.getElementsByTagName("script")),i),k.splice.apply(k,[g+1,0].concat(j)),g+=j.length));return k});var B=a.event.add,C=a.event.remove,D=a.event.trigger,E=a.fn.toggle,F=a.fn.live,G=a.fn.die,H=a.fn.load,I="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",J=new RegExp("\\b(?:"+I+")\\b"),K=/(?:^|\s)hover(\.\S+|)\b/,L=function(b){return"string"!=typeof b||a.event.special.hover?b:(K.test(b)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(K,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&e(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,b,c,e,f){a!==document&&J.test(b)&&d("AJAX events should be attached to document: "+b),B.call(this,a,L(b||""),c,e,f)},a.event.remove=function(a,b,c,d,e){C.call(this,a,L(b)||"",c,d,e)},a.each(["load","unload","error"],function(b,c){a.fn[c]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===c&&"string"==typeof a[0]?H.apply(this,a):(d("jQuery.fn."+c+"() is deprecated"),a.splice(0,0,c),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return E.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");var e=arguments,f=b.guid||a.guid++,g=0,h=function(c){var d=(a._data(this,"lastToggle"+b.guid)||0)%g;return a._data(this,"lastToggle"+b.guid,d+1),c.preventDefault(),e[d].apply(this,arguments)||!1};for(h.guid=f;g2?$.ajax({url:ajax_url,type:"post",data:{action:"data_fetch",keyword:t,_wpnonce:ajax_nonce},beforeSend:function(t){$("#searchInput").after(' ')},success:function(t){$(".button-loader").remove(),$("#datafetch").html(t)}}):$("#datafetch").html("")}),$(document).ready(function(t){var e=0;t(".cld-like-dislike-trigger").click(function(){if(0==e){var i=t(this).data("restriction"),s=t(this).data("comment-id"),n=t(this).data("trigger-type"),o=t(this),r=filmplus_getCookie("cld_"+s),a=o.closest(".cld-common-wrap").find(".cld-count-wrap").html(),l=parseInt(a)+1,c=t(this).data("user-ip"),h=t(this).data("ip-check"),d=1;"cookie"==i&&""!=r&&(d=0,alert("Zaten oy verdiniz.")),"ip"==i&&"1"==h&&(d=0),1==d&&t.ajax({type:"post",url:ajax_url,data:{comment_id:s,action:"cld_comment_ajax_action",type:n,_wpnonce:ajax_nonce,user_ip:c},beforeSend:function(t){e=1,o.closest(".cld-common-wrap").find(".cld-count-wrap").html(l)},success:function(n){if(e=0,(n=t.parseJSON(n)).success){"ip"==i&&o.data("ip-check",1),filmplus_setCookie("cld_"+s,1,365);var r=n.latest_count;o.closest(".cld-common-wrap").find(".cld-count-wrap").html(r)}}})}}),t(".cld-like-dislike-wrap br,.cld-like-dislike-wrap p").remove(),e=0,t("body").on("click",".pld-like-dislike-trigger",function(){if(0==e){var i=t(this).data("restriction"),s=t(this).data("post-id"),n=t(this).data("trigger-type"),o=t(this),r=filmplus_getCookie("pld_"+s),a=o.closest(".pld-common-wrap").find(".pld-count-wrap").html(),l=parseInt(a)+1,c=t(this).data("ip-check"),h=t(this).data("user-check"),d=1;"cookie"==i&&""!=r&&(d=0,alert("Zaten oy verdiniz.")),"ip"==i&&"1"==c&&(d=0),"user"==i&&"1"==h&&(d=0),1==d&&t.ajax({type:"post",url:ajax_url,data:{post_id:s,action:"pld_post_ajax_action",type:n,_wpnonce:ajax_nonce},beforeSend:function(t){e=1,o.closest(".pld-common-wrap").find(".pld-count-wrap").html(l)},success:function(n){if(e=0,(n=t.parseJSON(n)).success){"ip"==i&&o.closest(".pld-like-dislike-wrap").find(".pld-like-dislike-trigger").data("ip-check",1),"user"==i&&o.closest(".pld-like-dislike-wrap").find(".pld-like-dislike-trigger").data("user-check",1),filmplus_setCookie("pld_"+s,1,365);var r=n.latest_count;o.closest(".pld-common-wrap").find(".pld-count-wrap").html(r)}}})}}),t(".pld-like-dislike-wrap br,.pld-like-dislike-wrap p").remove()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t($)}(function(t){var e=[],i=t(document),s=t.browser.msie&&6===parseInt(t.browser.version)&&"object"!=typeof window.XMLHttpRequest,n=t.browser.msie&&7===parseInt(t.browser.version),o=null,r=t(window),a=[];t.modal=function(e,i){return t.modal.impl.init(e,i)},t.modal.close=function(){t.modal.impl.close()},t.modal.focus=function(e){t.modal.impl.focus(e)},t.modal.setContainerDimensions=function(){t.modal.impl.setContainerDimensions()},t.modal.setPosition=function(){t.modal.impl.setPosition()},t.modal.update=function(e,i){t.modal.impl.update(e,i)},t.fn.modal=function(e){return t.modal.impl.init(this,e)},t.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1e3,close:!0,closeHTML:'',closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null},t.modal.impl={d:{},init:function(e,i){if(this.d.data)return!1;if(o=t.browser.msie&&!t.support.boxModel,this.o=t.extend({},t.modal.defaults,i),this.zIndex=this.o.zIndex,this.occb=!1,"object"==typeof e)e=e instanceof t?e:t(e),this.d.placeholder=!1,0").attr("id","simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=e.css("display"),!this.o.persist)&&(this.d.orig=e.clone(!0));else{if("string"!=typeof e&&"number"!=typeof e)return alert("SimpleModal Error: Unsupported data type: "+typeof e),this;e=t("
").html(e)}return this.create(e),this.open(),t.isFunction(this.o.onShow)&&this.o.onShow.apply(this,[this.d]),this},create:function(i){this.getDimensions(),this.o.modal&&s&&(this.d.iframe=t('').css(t.extend(this.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:a[0],width:a[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo)),this.d.overlay=t("
").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(t.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?e[0]:0,width:this.o.modal?e[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo),this.d.container=t("
").attr("id",this.o.containerId).addClass("simplemodal-container").css(t.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?t(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo),this.d.wrap=t("
").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container),this.d.data=i.attr("id",i.attr("id")||this.o.dataId).addClass("simplemodal-data").css(t.extend(this.o.dataCss,{display:"none"})).appendTo("body"),this.setContainerDimensions(),this.d.data.appendTo(this.d.wrap),(s||o)&&this.fixIE()},bindEvents:function(){var n=this;t("."+n.o.closeClass).bind("click.simplemodal",function(t){t.preventDefault(),n.close()}),n.o.modal&&n.o.close&&n.o.overlayClose&&n.d.overlay.bind("click.simplemodal",function(t){t.preventDefault(),n.close()}),i.bind("keydown.simplemodal",function(t){n.o.modal&&9===t.keyCode?n.watchTab(t):n.o.close&&n.o.escClose&&27===t.keyCode&&(t.preventDefault(),n.close())}),r.bind("resize.simplemodal orientationchange.simplemodal",function(){n.getDimensions(),n.o.autoResize?n.setContainerDimensions():n.o.autoPosition&&n.setPosition(),s||o?n.fixIE():n.o.modal&&(n.d.iframe&&n.d.iframe.css({height:a[0],width:a[1]}),n.d.overlay.css({height:e[0],width:e[1]}))})},unbindEvents:function(){t("."+this.o.closeClass).unbind("click.simplemodal"),i.unbind("keydown.simplemodal"),r.unbind(".simplemodal"),this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var e=this.o.position;t.each([this.d.iframe||null,this.o.modal?this.d.overlay:null,"fixed"===this.d.container.css("position")?this.d.container:null],function(t,i){if(i){var s,n,o=i[0].style;if(o.position="absolute",2>t)o.removeExpression("height"),o.removeExpression("width"),o.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),o.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else e&&e.constructor===Array?(s=-1===(s=e[0]?"number"==typeof e[0]?e[0].toString():e[0].replace(/px/,""):i.css("top").replace(/px/,"")).indexOf("%")?s+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(s.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',e[1]&&(n=-1===(n="number"==typeof e[1]?e[1].toString():e[1].replace(/px/,"")).indexOf("%")?n+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(n.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(s='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',n='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'),o.removeExpression("top"),o.removeExpression("left"),o.setExpression("top",s),o.setExpression("left",n)}})},focus:function(e){var i=this,s=(e=e&&-1!==t.inArray(e,["first","last"])?e:"first",t(":input:enabled:visible:"+e,i.d.wrap));setTimeout(function(){0l?l:il?l:this.o.minHeight&&"auto"!==h&&oc?c:ec?c:this.o.minWidth&&"auto"!==l&&ri||r>e?"auto":"visible"}),this.o.autoPosition&&this.setPosition()},setPosition:function(){var t,e;t=a[0]/2-this.d.container.outerHeight(!0)/2,e=a[1]/2-this.d.container.outerWidth(!0)/2;var i="fixed"!==this.d.container.css("position")?r.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(t=i+(this.o.position[0]||t),e=this.o.position[1]||e):t=i+t,this.d.container.css({left:e,top:t})},watchTab:function(e){0').val(unescape(i[1])))}t.ajax({url:n[0].action,data:n.serialize(),type:"POST",cache:!1,success:function(e){var i=t(document.createElement("div")).html(e),a=t("#simplemodal-login-redirect",i[0]);if(a.length){var l=location.href;a.html().length&&(l=a.html()),window.location=l}else{var c=t("#login_error",i[0]),h=t(".message",i[0]),d=t(s.form,i[0]);c.length?(c.find("a").addClass("simplemodal-forgotpw"),t("p:first",n[0]).before(c),r.hide(),o.show()):h.length?("#lostpasswordform"!==s.form&&"#registerform"!==s.form||(n=s.login,s.lostpw.hide(),s.register.hide(),s.login.show()),t("p:first",n[0]).before(h),r.hide(),o.show()):d.length&&(s.showError(n,["empty_all"]),r.hide(),o.show())}},error:function(e){t("p:first",n[0]).before(t(document.createElement("div")).html("ERROR: "+e.statusText).attr("id","login_error")),r.hide(),o.show()}})}else s.showError(n,s.error)})},clear:function(e){t("#login_error, .message",e).remove()},isValid:function(i){var s=t(".user_login",i[0]),n=t(".user_pass",i[0]),o=t(".user_email",i[0]),r=t(":text, :password",i[0]),a=!0;e.error=[],s.length&&!t.trim(s.val())?(e.error.push("empty_username"),a=!1):n.length&&!t.trim(n.val())?(e.error.push("empty_password"),a=!1):o.length&&!t.trim(o.val())&&(e.error.push("empty_email"),a=!1);var l=0;return r.each(function(){t.trim(this.value)||l++}),r.length>1&&l===r.length&&(e.error=["empty_all"],a=!1),a},keydown:function(e){e.altKey&&e.ctrlKey&&76===e.keyCode&&("true"===filmplus.logged_in?window.location=filmplus.admin_url:t(".simplemodal-login").trigger("click.simplemodal-login"))},message:function(t){return filmplus[t]?filmplus[t].replace(/>/g,">").replace(/</g,"<"):t},showError:function(i,s){s=t.map(s,function(t){return e.message(t)}),t("p:first",i[0]).before(t('
').html(s.join("
")))}};e.init()}),function t(e,i,s){function n(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(o)return o(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[r]={exports:{}};e[r][0].call(h.exports,function(t){return n(e[r][1][t]||t)},h,h.exports,t,e,i,s)}return i[r].exports}for(var o="function"==typeof require&&require,r=0;r=0&&i.splice(s,1),t.className=i.join(" ")}(t,e)},i.list=function(t){return t.classList?Array.prototype.slice.apply(t.classList):t.className.split(" ")}},{}],3:[function(t,e,i){"use strict";var s={e:function(t,e){var i=document.createElement(t);return i.className=e,i},appendTo:function(t,e){return e.appendChild(t),t},css:function(t,e,i){return"object"==typeof e?function(t,e){for(var i in e){var s=e[i];"number"==typeof s&&(s=s.toString()+"px"),t.style[i]=s}return t}(t,e):void 0===i?(r=t,a=e,window.getComputedStyle(r)[a]):(s=t,n=e,"number"==typeof(o=i)&&(o=o.toString()+"px"),s.style[n]=o,s);var s,n,o,r,a},matches:function(t,e){return void 0!==t.matches?t.matches(e):void 0!==t.matchesSelector?t.matchesSelector(e):void 0!==t.webkitMatchesSelector?t.webkitMatchesSelector(e):void 0!==t.mozMatchesSelector?t.mozMatchesSelector(e):void 0!==t.msMatchesSelector?t.msMatchesSelector(e):void 0},remove:function(t){void 0!==t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)},queryChildren:function(t,e){return Array.prototype.filter.call(t.childNodes,function(t){return s.matches(t,e)})}};e.exports=s},{}],4:[function(t,e,i){"use strict";var s=function(t){this.element=t,this.events={}};s.prototype.bind=function(t,e){void 0===this.events[t]&&(this.events[t]=[]),this.events[t].push(e),this.element.addEventListener(t,e,!1)},s.prototype.unbind=function(t,e){var i=void 0!==e;this.events[t]=this.events[t].filter(function(s){return!(!i||s===e)||(this.element.removeEventListener(t,s,!1),!1)},this)},s.prototype.unbindAll=function(){for(var t in this.events)this.unbind(t)};var n=function(){this.eventElements=[]};n.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return void 0===e&&(e=new s(t),this.eventElements.push(e)),e},n.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},n.prototype.unbind=function(t,e,i){this.eventElement(t).unbind(e,i)},n.prototype.unbindAll=function(){for(var t=0;t1&&(l=1),r(t,"top",(e.contentHeight-e.containerHeight)*l),o(t),n.stopPropagation()}),e.settings.stopPropagationOnClick&&e.event.bind(e.scrollbarX,"click",n),e.event.bind(e.scrollbarXRail,"click",function(n){var a=s.toInt(e.scrollbarXWidth/2),l=e.railXRatio*(n.pageX-window.pageXOffset-i(e.scrollbarXRail).left-a)/(e.railXRatio*(e.railXWidth-e.scrollbarXWidth));l<0?l=0:l>1&&(l=1),r(t,"left",(e.contentWidth-e.containerWidth)*l-e.negativeScrollAdjustment),o(t),n.stopPropagation()})}(t,n.get(t))}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],11:[function(t,e,i){"use strict";var s=t("../../lib/helper"),n=t("../../lib/dom"),o=t("../instances"),r=t("../update-geometry"),a=t("../update-scroll");e.exports=function(t){var e=o.get(t);(function(t,e){var i=null,o=null,l=function(n){!function(n){var o=i+n*e.railXRatio,r=Math.max(0,e.scrollbarXRail.getBoundingClientRect().left)+e.railXRatio*(e.railXWidth-e.scrollbarXWidth);e.scrollbarXLeft=o<0?0:o>r?r:o;var l=s.toInt(e.scrollbarXLeft*(e.contentWidth-e.containerWidth)/(e.containerWidth-e.railXRatio*e.scrollbarXWidth))-e.negativeScrollAdjustment;a(t,"left",l)}(n.pageX-o),r(t),n.stopPropagation(),n.preventDefault()},c=function(){s.stopScrolling(t,"x"),e.event.unbind(e.ownerDocument,"mousemove",l)};e.event.bind(e.scrollbarX,"mousedown",function(r){o=r.pageX,i=s.toInt(n.css(e.scrollbarX,"left"))*e.railXRatio,s.startScrolling(t,"x"),e.event.bind(e.ownerDocument,"mousemove",l),e.event.once(e.ownerDocument,"mouseup",c),r.stopPropagation(),r.preventDefault()})})(t,e),function(t,e){var i=null,o=null,l=function(n){!function(n){var o=i+n*e.railYRatio,r=Math.max(0,e.scrollbarYRail.getBoundingClientRect().top)+e.railYRatio*(e.railYHeight-e.scrollbarYHeight);e.scrollbarYTop=o<0?0:o>r?r:o;var l=s.toInt(e.scrollbarYTop*(e.contentHeight-e.containerHeight)/(e.containerHeight-e.railYRatio*e.scrollbarYHeight));a(t,"top",l)}(n.pageY-o),r(t),n.stopPropagation(),n.preventDefault()},c=function(){s.stopScrolling(t,"y"),e.event.unbind(e.ownerDocument,"mousemove",l)};e.event.bind(e.scrollbarY,"mousedown",function(r){o=r.pageY,i=s.toInt(n.css(e.scrollbarY,"top"))*e.railYRatio,s.startScrolling(t,"y"),e.event.bind(e.ownerDocument,"mousemove",l),e.event.once(e.ownerDocument,"mouseup",c),r.stopPropagation(),r.preventDefault()})}(t,e)}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],12:[function(t,e,i){"use strict";var s=t("../../lib/helper"),n=t("../../lib/dom"),o=t("../instances"),r=t("../update-geometry"),a=t("../update-scroll");e.exports=function(t){!function(t,e){var i=!1;e.event.bind(t,"mouseenter",function(){i=!0}),e.event.bind(t,"mouseleave",function(){i=!1}),e.event.bind(e.ownerDocument,"keydown",function(o){if(!(o.isDefaultPrevented&&o.isDefaultPrevented()||o.defaultPrevented)){var l=n.matches(e.scrollbarX,":focus")||n.matches(e.scrollbarY,":focus");if(i||l){var c=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(c){if("IFRAME"===c.tagName)c=c.contentDocument.activeElement;else for(;c.shadowRoot;)c=c.shadowRoot.activeElement;if(s.isEditable(c))return}var h=0,d=0;switch(o.which){case 37:h=-30;break;case 38:d=30;break;case 39:h=30;break;case 40:d=-30;break;case 33:d=90;break;case 32:d=o.shiftKey?90:-90;break;case 34:d=-90;break;case 35:d=o.ctrlKey?-e.contentHeight:-e.containerHeight;break;case 36:d=o.ctrlKey?t.scrollTop:e.containerHeight;break;default:return}a(t,"top",t.scrollTop-d),a(t,"left",t.scrollLeft+h),r(t),function(i,s){var n=t.scrollTop;if(0===i){if(!e.scrollbarYActive)return!1;if(0===n&&s>0||n>=e.contentHeight-e.containerHeight&&s<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===s){if(!e.scrollbarXActive)return!1;if(0===o&&i<0||o>=e.contentWidth-e.containerWidth&&i>0)return!e.settings.wheelPropagation}return!0}(h,d)&&o.preventDefault()}}})}(t,o.get(t))}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],13:[function(t,e,i){"use strict";var s=t("../instances"),n=t("../update-geometry"),o=t("../update-scroll");e.exports=function(t){!function(t,e){var i=!1;function s(s){var r=function(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!=e&&i!=i&&(e=0,i=t.wheelDelta),[e,i]}(s),a=r[0],l=r[1];(function(e,i){var s=t.querySelector("textarea:hover, select[multiple]:hover, .ps-child:hover");if(s){if("TEXTAREA"!==s.tagName&&!window.getComputedStyle(s).overflow.match(/(scroll|auto)/))return!1;var n=s.scrollHeight-s.clientHeight;if(n>0&&!(0===s.scrollTop&&i>0||s.scrollTop===n&&i<0))return!0;var o=s.scrollLeft-s.clientWidth;if(o>0&&!(0===s.scrollLeft&&e<0||s.scrollLeft===o&&e>0))return!0}return!1})(a,l)||(i=!1,e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(o(t,"top",l?t.scrollTop-l*e.settings.wheelSpeed:t.scrollTop+a*e.settings.wheelSpeed),i=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(o(t,"left",a?t.scrollLeft+a*e.settings.wheelSpeed:t.scrollLeft-l*e.settings.wheelSpeed),i=!0):(o(t,"top",t.scrollTop-l*e.settings.wheelSpeed),o(t,"left",t.scrollLeft+a*e.settings.wheelSpeed)),n(t),(i=i||function(i,s){var n=t.scrollTop;if(0===i){if(!e.scrollbarYActive)return!1;if(0===n&&s>0||n>=e.contentHeight-e.containerHeight&&s<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===s){if(!e.scrollbarXActive)return!1;if(0===o&&i<0||o>=e.contentWidth-e.containerWidth&&i>0)return!e.settings.wheelPropagation}return!0}(a,l))&&(s.stopPropagation(),s.preventDefault()))}void 0!==window.onwheel?e.event.bind(t,"wheel",s):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",s)}(t,s.get(t))}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],14:[function(t,e,i){"use strict";var s=t("../instances"),n=t("../update-geometry");e.exports=function(t){var e,i=s.get(t);e=t,i.event.bind(e,"scroll",function(){n(e)})}},{"../instances":18,"../update-geometry":19}],15:[function(t,e,i){"use strict";var s=t("../../lib/helper"),n=t("../instances"),o=t("../update-geometry"),r=t("../update-scroll");e.exports=function(t){!function(t,e){var i=null,a={top:0,left:0};function l(){i&&(clearInterval(i),i=null),s.stopScrolling(t)}var c=!1;e.event.bind(e.ownerDocument,"selectionchange",function(){t.contains(function(){var t=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"";return 0===t.toString().length?null:t.getRangeAt(0).commonAncestorContainer}())?c=!0:(c=!1,l())}),e.event.bind(window,"mouseup",function(){c&&(c=!1,l())}),e.event.bind(window,"mousemove",function(e){if(c){var h=e.pageX,d=e.pageY,p=t.offsetLeft,u=t.offsetLeft+t.offsetWidth,m=t.offsetTop,f=t.offsetTop+t.offsetHeight;hu-3?(a.left=5,s.startScrolling(t,"x")):a.left=0,df-3?(a.top=d-f+3<5?5:20,s.startScrolling(t,"y")):a.top=0,0===a.top&&0===a.left?l():i||(i=setInterval(function(){n.get(t)?(r(t,"top",t.scrollTop+a.top),r(t,"left",t.scrollLeft+a.left),o(t)):clearInterval(i)},50))}})}(t,n.get(t))}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],16:[function(t,e,i){"use strict";var s=t("../../lib/helper"),n=t("../instances"),o=t("../update-geometry"),r=t("../update-scroll");e.exports=function(t){(s.env.supportsTouch||s.env.supportsIePointer)&&function(t,e,i,s){function a(e,i){r(t,"top",t.scrollTop-i),r(t,"left",t.scrollLeft-e),o(t)}var l={},c=0,h={},d=null,p=!1,u=!1;function m(){p=!0}function f(){p=!1}function g(t){return t.targetTouches?t.targetTouches[0]:t}function v(t){return!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE)}function y(t){if(v(t)){u=!0;var e=g(t);l.pageX=e.pageX,l.pageY=e.pageY,c=(new Date).getTime(),null!==d&&clearInterval(d),t.stopPropagation()}}function w(i){if(!u&&e.settings.swipePropagation&&y(i),!p&&u&&v(i)){var s=g(i),n={pageX:s.pageX,pageY:s.pageY},o=n.pageX-l.pageX,r=n.pageY-l.pageY;a(o,r),l=n;var d=(new Date).getTime(),m=d-c;m>0&&(h.x=o/m,h.y=r/m,c=d),function(i,s){var n=t.scrollTop,o=t.scrollLeft,r=Math.abs(i),a=Math.abs(s);if(a>r){if(s<0&&n===e.contentHeight-e.containerHeight||s>0&&0===n)return!e.settings.swipePropagation}else if(r>a&&(i<0&&o===e.contentWidth-e.containerWidth||i>0&&0===o))return!e.settings.swipePropagation;return!0}(o,r)&&(i.stopPropagation(),i.preventDefault())}}function _(){!p&&u&&(u=!1,clearInterval(d),d=setInterval(function(){n.get(t)?Math.abs(h.x)<.01&&Math.abs(h.y)<.01?clearInterval(d):(a(30*h.x,30*h.y),h.x*=.8,h.y*=.8):clearInterval(d)},10))}i&&(e.event.bind(window,"touchstart",m),e.event.bind(window,"touchend",f),e.event.bind(t,"touchstart",y),e.event.bind(t,"touchmove",w),e.event.bind(t,"touchend",_)),s&&(window.PointerEvent?(e.event.bind(window,"pointerdown",m),e.event.bind(window,"pointerup",f),e.event.bind(t,"pointerdown",y),e.event.bind(t,"pointermove",w),e.event.bind(t,"pointerup",_)):window.MSPointerEvent&&(e.event.bind(window,"MSPointerDown",m),e.event.bind(window,"MSPointerUp",f),e.event.bind(t,"MSPointerDown",y),e.event.bind(t,"MSPointerMove",w),e.event.bind(t,"MSPointerUp",_)))}(t,n.get(t),s.env.supportsTouch,s.env.supportsIePointer)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],17:[function(t,e,i){"use strict";var s=t("../lib/helper"),n=t("../lib/class"),o=t("./instances"),r=t("./update-geometry"),a={"click-rail":t("./handler/click-rail"),"drag-scrollbar":t("./handler/drag-scrollbar"),keyboard:t("./handler/keyboard"),wheel:t("./handler/mouse-wheel"),touch:t("./handler/touch"),selection:t("./handler/selection")},l=t("./handler/native-scroll");e.exports=function(t,e){e="object"==typeof e?e:{},n.add(t,"ps-container");var i=o.add(t);i.settings=s.extend(i.settings,e),n.add(t,"ps-theme-"+i.settings.theme),i.settings.handlers.forEach(function(e){a[e](t)}),l(t),r(t)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],18:[function(t,e,i){"use strict";var s=t("../lib/helper"),n=t("../lib/class"),o=t("./default-setting"),r=t("../lib/dom"),a=t("../lib/event-manager"),l=t("../lib/guid"),c={};function h(t){return t.getAttribute("data-ps-id")}i.add=function(t){var e,i=l();return e=i,t.setAttribute("data-ps-id",e),c[i]=new function(t){function e(){n.add(t,"ps-focus")}function i(){n.remove(t,"ps-focus")}this.settings=s.clone(o),this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null,this.isRtl="rtl"===r.css(t,"direction"),this.isNegativeScroll=function(){var e,i=t.scrollLeft;return t.scrollLeft=-1,e=t.scrollLeft<0,t.scrollLeft=i,e}(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new a,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=r.appendTo(r.e("div","ps-scrollbar-x-rail"),t),this.scrollbarX=r.appendTo(r.e("div","ps-scrollbar-x"),this.scrollbarXRail),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",e),this.event.bind(this.scrollbarX,"blur",i),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null,this.scrollbarXBottom=s.toInt(r.css(this.scrollbarXRail,"bottom")),this.isScrollbarXUsingBottom=this.scrollbarXBottom==this.scrollbarXBottom,this.scrollbarXTop=this.isScrollbarXUsingBottom?null:s.toInt(r.css(this.scrollbarXRail,"top")),this.railBorderXWidth=s.toInt(r.css(this.scrollbarXRail,"borderLeftWidth"))+s.toInt(r.css(this.scrollbarXRail,"borderRightWidth")),r.css(this.scrollbarXRail,"display","block"),this.railXMarginWidth=s.toInt(r.css(this.scrollbarXRail,"marginLeft"))+s.toInt(r.css(this.scrollbarXRail,"marginRight")),r.css(this.scrollbarXRail,"display",""),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=r.appendTo(r.e("div","ps-scrollbar-y-rail"),t),this.scrollbarY=r.appendTo(r.e("div","ps-scrollbar-y"),this.scrollbarYRail),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",e),this.event.bind(this.scrollbarY,"blur",i),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null,this.scrollbarYRight=s.toInt(r.css(this.scrollbarYRail,"right")),this.isScrollbarYUsingRight=this.scrollbarYRight==this.scrollbarYRight,this.scrollbarYLeft=this.isScrollbarYUsingRight?null:s.toInt(r.css(this.scrollbarYRail,"left")),this.scrollbarYOuterWidth=this.isRtl?s.outerWidth(this.scrollbarY):null,this.railBorderYWidth=s.toInt(r.css(this.scrollbarYRail,"borderTopWidth"))+s.toInt(r.css(this.scrollbarYRail,"borderBottomWidth")),r.css(this.scrollbarYRail,"display","block"),this.railYMarginHeight=s.toInt(r.css(this.scrollbarYRail,"marginTop"))+s.toInt(r.css(this.scrollbarYRail,"marginBottom")),r.css(this.scrollbarYRail,"display",""),this.railYHeight=null,this.railYRatio=null}(t),c[i]},i.remove=function(t){delete c[h(t)],t.removeAttribute("data-ps-id")},i.get=function(t){return c[h(t)]}},{"../lib/class":2,"../lib/dom":3,"../lib/event-manager":4,"../lib/guid":5,"../lib/helper":6,"./default-setting":8}],19:[function(t,e,i){"use strict";var s=t("../lib/helper"),n=t("../lib/class"),o=t("../lib/dom"),r=t("./instances"),a=t("./update-scroll");function l(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}e.exports=function(t){var e,i=r.get(t);i.containerWidth=t.clientWidth,i.containerHeight=t.clientHeight,i.contentWidth=t.scrollWidth,i.contentHeight=t.scrollHeight,t.contains(i.scrollbarXRail)||((e=o.queryChildren(t,".ps-scrollbar-x-rail")).length>0&&e.forEach(function(t){o.remove(t)}),o.appendTo(i.scrollbarXRail,t)),t.contains(i.scrollbarYRail)||((e=o.queryChildren(t,".ps-scrollbar-y-rail")).length>0&&e.forEach(function(t){o.remove(t)}),o.appendTo(i.scrollbarYRail,t)),!i.settings.suppressScrollX&&i.containerWidth+i.settings.scrollXMarginOffset=i.railXWidth-i.scrollbarXWidth&&(i.scrollbarXLeft=i.railXWidth-i.scrollbarXWidth),i.scrollbarYTop>=i.railYHeight-i.scrollbarYHeight&&(i.scrollbarYTop=i.railYHeight-i.scrollbarYHeight),function(t,e){var i={width:e.railXWidth};e.isRtl?i.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:i.left=t.scrollLeft,e.isScrollbarXUsingBottom?i.bottom=e.scrollbarXBottom-t.scrollTop:i.top=e.scrollbarXTop+t.scrollTop,o.css(e.scrollbarXRail,i);var s={top:t.scrollTop,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?s.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:s.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?s.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:s.left=e.scrollbarYLeft+t.scrollLeft,o.css(e.scrollbarYRail,s),o.css(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),o.css(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(t,i),i.scrollbarXActive?n.add(t,"ps-active-x"):(n.remove(t,"ps-active-x"),i.scrollbarXWidth=0,i.scrollbarXLeft=0,a(t,"left",0)),i.scrollbarYActive?n.add(t,"ps-active-y"):(n.remove(t,"ps-active-y"),i.scrollbarYHeight=0,i.scrollbarYTop=0,a(t,"top",0))}},{"../lib/class":2,"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-scroll":20}],20:[function(t,e,i){"use strict";var s,n,o=t("./instances"),r=document.createEvent("Event"),a=document.createEvent("Event"),l=document.createEvent("Event"),c=document.createEvent("Event"),h=document.createEvent("Event"),d=document.createEvent("Event"),p=document.createEvent("Event"),u=document.createEvent("Event"),m=document.createEvent("Event"),f=document.createEvent("Event");r.initEvent("ps-scroll-up",!0,!0),a.initEvent("ps-scroll-down",!0,!0),l.initEvent("ps-scroll-left",!0,!0),c.initEvent("ps-scroll-right",!0,!0),h.initEvent("ps-scroll-y",!0,!0),d.initEvent("ps-scroll-x",!0,!0),p.initEvent("ps-x-reach-start",!0,!0),u.initEvent("ps-x-reach-end",!0,!0),m.initEvent("ps-y-reach-start",!0,!0),f.initEvent("ps-y-reach-end",!0,!0),e.exports=function(t,e,i){if(void 0===t)throw"You must provide an element to the update-scroll function";if(void 0===e)throw"You must provide an axis to the update-scroll function";if(void 0===i)throw"You must provide a value to the update-scroll function";"top"===e&&i<=0&&(t.scrollTop=i=0,t.dispatchEvent(m)),"left"===e&&i<=0&&(t.scrollLeft=i=0,t.dispatchEvent(p));var g=o.get(t);"top"===e&&i>=g.contentHeight-g.containerHeight&&((i=g.contentHeight-g.containerHeight)-t.scrollTop<=1?i=t.scrollTop:t.scrollTop=i,t.dispatchEvent(f)),"left"===e&&i>=g.contentWidth-g.containerWidth&&((i=g.contentWidth-g.containerWidth)-t.scrollLeft<=1?i=t.scrollLeft:t.scrollLeft=i,t.dispatchEvent(u)),s||(s=t.scrollTop),n||(n=t.scrollLeft),"top"===e&&is&&t.dispatchEvent(a),"left"===e&&in&&t.dispatchEvent(c),"top"===e&&(t.scrollTop=s=i,t.dispatchEvent(h)),"left"===e&&(t.scrollLeft=n=i,t.dispatchEvent(d))}},{"./instances":18}],21:[function(t,e,i){"use strict";var s=t("../lib/helper"),n=t("../lib/dom"),o=t("./instances"),r=t("./update-geometry"),a=t("./update-scroll");e.exports=function(t){var e=o.get(t);e&&(e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,n.css(e.scrollbarXRail,"display","block"),n.css(e.scrollbarYRail,"display","block"),e.railXMarginWidth=s.toInt(n.css(e.scrollbarXRail,"marginLeft"))+s.toInt(n.css(e.scrollbarXRail,"marginRight")),e.railYMarginHeight=s.toInt(n.css(e.scrollbarYRail,"marginTop"))+s.toInt(n.css(e.scrollbarYRail,"marginBottom")),n.css(e.scrollbarXRail,"display","none"),n.css(e.scrollbarYRail,"display","none"),r(t),a(t,"top",t.scrollTop),a(t,"left",t.scrollLeft),n.css(e.scrollbarXRail,"display",""),n.css(e.scrollbarYRail,"display",""))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-geometry":19,"./update-scroll":20}]},{},[1]),function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),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,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(n.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(n.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,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:e,fallbackEasing:"swing",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"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,a="",l="";for(r/=2;r--;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i",a)||this.op(e,"<",r)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],n.prototype.initialize=function(){var e,i,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,n=this.$element.children(i).width(),e.length&&n<=0&&this.preloadAutoWidthImages(e));this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,function(t){t<=e&&t>s&&(s=Number(t))}),"function"==typeof(n=t.extend({},this.options,i[s])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy(function(t){return this[t]},this._invalidated),n={};e0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},n.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")},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},n.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},n.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(e,"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)))},n.prototype.onDragStart=function(e){var s=null;3!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.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=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var s=-1,n=this.width(),o=this.coordinates();return this.settings.freeDrag||t.each(o,t.proxy(function(t,r){return"left"===i&&e>r-30&&er-n-30&&e",o[t+1]||r-n)&&(s="left"===i?t+1:t),-1===s},this)),this.settings.loop||(this.op(e,">",o[this.minimum()])?s=e=this.minimum():this.op(e,"<",o[this.maximum()])&&(s=e=this.maximum())),s},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(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"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){for(e=this._items.length,i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,function(t,e){return o(e)}):t.map(this._clones,function(t,i){return t===e?o(i):null})},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),r=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=l&&s-n>0&&(i=s-n,t=s,this.reset(i))):this.settings.rewind?t=(t%(l+=1)+l)%l:t=Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},n.prototype.viewport=function(){var s;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof $?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.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")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof $?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},n.prototype.destroy=function(){for(var s in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),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")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:t":return s?ti;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,s],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:n.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++},this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,s){return t.inArray(i,this._states.tags[e.name])===s},this)))},n.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},n.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},n.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},n.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},o))})),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)})},t.fn.owlCarousel.Constructor=n}(window.Zepto||window.$,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.$,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,s=i.center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+n,r=this._core.clones().length,a=t.proxy(function(t,e){this.load(e)},this);n++-1||(n.each(t.proxy(function(i,s){var n,o=t(s),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")},this)).attr("src",r):((n=new Image).onload=t.proxy(function(){o.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")},this),n.src=r)},this)),this._loaded.push(s.get(0)))},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.$,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},n.prototype.update=function(){var e,i=this._core._current,s=i+this._core.settings.items,n=this._core.$stage.children().toArray().slice(i,s),o=[];t.each(n,function(e,i){o.push(t(i).height())}),e=Math.max.apply(null,o),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},n.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.$,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if((s=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,i){var s,n,o=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",r=e.find("img"),a="src",l="",c=this._core.settings,h=function(t){'
',s=c.lazyLoad?'
':'
',e.after(s),e.after('
')};if(e.wrap('
"),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return h(r.attr(a)),r.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",h(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,h(n)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,h(n)}})},n.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")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=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()),"youtube"===n.type?i='':"vimeo"===n.type?i='':"vzaar"===n.type&&(i=''),t('
'+i+"
").insertAfter(s.find(".owl-video")),this._playing=s.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.$,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},n.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()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.$,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.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({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},n.prototype._getNextTimeout=function(s,n){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},this),s||this._core.settings.autoplayTimeout)},n.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},n.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.$,window,document),function(t,e,i,s){"use strict";var n=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('
'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.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(t){t.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({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:["‹","›"],navSpeed:!1,navElement:"div",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},n.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t("
").addClass(i.dotClass).append(t("")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("
").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy(function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed)},this)),this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t=r||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+r-1}),Math.min(n,t-i)===n)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},n.prototype.getPosition=function(e){var i,s,n=this._core.settings;return"page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},n.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=n}(window.Zepto||window.$,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,function(t,e){return t===s?e:null}).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var i,s;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.$,window,document),function(t,e,i,s){function n(e,i){var n=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(o+" ")+o).split(" "),function(t,e){if(r[e]!==s)return n=!i||e,!1}),n}function o(t){return n(t,!0)}var r=t("").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c=function(){return!!n("transform")},h=function(){return!!n("perspective")},d=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(t.support.transition=new String(o("transition")),t.support.transition.end=l.transition.end[t.support.transition]),d()&&(t.support.animation=new String(o("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c()&&(t.support.transform=new String(o("transform")),t.support.transform3d=h())}(window.Zepto||window.$,window,document),$(document).ready($(function(t){t(".filmplus_spoiler_header").each(function(){t(this).click(function(){var s=t(this).children("span.filmplus_spoiler_help_text");t(this).siblings(".filmplus_spoiler_content").slideToggle("fast",function(){s.html(s.html()==''?'':'')})});var e=t(this).attr("data-filmplus-spoiler-show"),i=t(this).attr("data-filmplus-spoiler-hide");t(this).prepend(' ')})}));var video=$(".trailer-video").attr("src");$("#trailerbutton").click(function(t){$("#trailer").fadeIn(600)}),$(".trailerclose").click(function(t){$("#trailer").fadeOut(600),$(".trailer-video").attr("src",""),$(".trailer-video").attr("src",video)}),$("#trailerbutton").on("click",function(t){$(".trailer-video")[0].src+="?autoplay=1",t.preventDefault()}),$(document).click(function(t){$(t.target).closest("#trailer").length>0&&($("#trailer").fadeOut(600),$(".trailer-video").attr("src",""),$(".trailer-video").attr("src",video))}),$(document).on("keydown",function(t){27===t.keyCode&&($("#trailer").fadeOut(600),$(".trailer-video").attr("src",""),$(".trailer-video").attr("src",video))}),$(window).width()<768?$(".menu-item-has-children").click(function(t){$(this).find(".sub-menu").slideToggle("fast")}):$(".menu-item-has-children").hover(function(t){var e=$(this).find("a").width();$(this).find(".sub-menu").slideToggle("fast"),$(this).find(".sub-menu").css("min-width",e+21)}),$(".lazy").each(function(){$(this).attr("src",$(this).attr("data-src"))}),$(".source").click(function(t){$("a.post-page-numbers").toggle(),$("li span.source").prependTo($(".partlar"))}),$("#gonderspo").click(function(){var t=$("#comment"),e=t.val().length,i=t[0].selectionStart,s=t[0].selectionEnd,o="[spoiler] Yorumunuzu bu araya yazın [/spoiler]"+t.val().substring(i,s);t.val(t.val().substring(0,i)+o+t.val().substring(s,e)),n(t[0],9)}),$.expr[":"].contains=$.expr.createPseudo(function(t){return function(e){return 0<=$(e).text().toUpperCase().indexOf(t.toUpperCase())}}),$("#myBtnContainer .btn").filter(function(t){var e=$("#myBtnContainer .btn").eq(t).attr("search-text");return 0===$('.bolumust:contains("'+e+'")').length}).remove(),$("#myBtnContainer .btn").filter(function(t){var e=$("#myBtnContainer .btn").eq(t).attr("search-text");return 0<$('.bolumust:contains("'+e+'")').length}).first().addClass("active"),$("#myBtnContainer .btn").click(function(){var t=$(this).attr("search-text");$(".btn").removeClass("active"),$(this).addClass("active"),$(".bolumust").removeClass("show"),$('.bolumust:contains("'+t+'")').addClass("show")}),$("#myBtnContainer .btn.active").trigger("click");var abc=$(".listmovie").width();$(".scrolltoright").click(function(){$("#listehizala").animate({scrollLeft:"+="+abc},300)}),$(".scrolltoleft").click(function(){$("#listehizala").animate({scrollLeft:"-="+abc},300)}),$("#mobil-filter").click(function(){$("form#filter").slideToggle()}),$("#mobil-sidebar").click(function(){$("#contentx").slideToggle()}),$("#hata").click(function(t){$("#pencere").fadeIn(600)}),$(".kategori-sirala").click(function(){$(".filter-menu").slideToggle("fast")}),$(".hatakapat").click(function(t){$("#pencere").fadeOut(600)}),$(document).on("keydown",function(t){27===t.keyCode&&$("#pencere").fadeOut(600)}),$(document).on("keydown",function(t){27===t.keyCode&&($("#perde").fadeOut(600),$("#filmnot").css("display","inline-block"),$("#filmnot2").css("display","inline-block"),1e3<$(window).width()&&($(".ac-kapa").css("display",""),$(".partlar").css("display",""),$(".filmalani").css({position:"",width:"",left:"",top:""})))}),window.onclick=function(t){t.target==document.getElementById("perde")?($("#perde").fadeOut(600),$("#filmnot").css("display","inline-block"),$("#filmnot2").css("display","inline-block"),1e3<$(window).width()&&($(".ac-kapa").css("display",""),$(".partlar").css("display",""),$(".filmalani").css({position:"",width:"",left:"",top:""}))):t.target==document.getElementById("pencere")&&$("#pencere").fadeOut(600)},$(".alphabetical-category-link").click(function(t){t.preventDefault();var e=$(this),i=e.attr("href");$("ul[data-index='"+i+"']").siblings(".alphabetical-category-list").slideUp(),$("ul[data-index='"+i+"']").slideDown(),e.hasClass("active-letter")&&$("ul[data-index='"+i+"']").slideUp(),$(".alphabetical-category-link").not(this).removeClass("active-letter"),$(this).toggleClass("active-letter")}),$(".custom-scrollbar").perfectScrollbar(),$(".poster").click(function(){$(this).find(".img").removeClass("blur"),$(this).find(".filmi-gor").remove()}),75==$(".footerleft").height()&&($(".footerleft").after('
'),$(".footerleft").css("margin-bottom","30px")),$(".readMore").click(function(){$(".readMore").hide(),$(".footerleft").css({"margin-bottom":"","max-height":"unset"})}),$("#izledim").on("click",function(){alert("Sadece kayıtlı kullanıcılar bu özelliği kullanabilir.")}),$("#favori").on("click",function(){alert("Sadece kayıtlı kullanıcılar bu özelliği kullanabilir.")}),$(".boxshow").click(function(t){$(".listshow").css("color","#cdc2ff"),$(".boxshow").css("color","#ffffff"),$(".listhead").css("display","none"),$(".bolumismi").css("display","none"),$(".bolumust").css({width:"calc(25% - 10px)","margin-right":"10px","margin-bottom":"12px",height:"51px",float:"left"}),$(".tarih").css({float:"left","margin-top":"-24px","margin-left":"17px",color:"#cdc2ff"}),$(".baslik").css("float","none"),$("#scrollbar-container").css({"max-height":"284px",width:"101%"})}),$(".listshow").click(function(t){$(".listshow").css("color",""),$(".boxshow").css("color",""),$(".listhead").css("display",""),$(".bolumismi").css("display",""),$(".bolumust").css({width:"","margin-right":"","margin-bottom":"",height:"",float:""}),$(".tarih").css({float:"","margin-top":"","margin-left":"",color:""}),$(".baslik").css("float",""),$("#scrollbar-container").css({"max-height":"",width:""})}),$("#trd").click(function(){$(".dil").hide(),$('[dil="trd"]').css("display","inline-block"),$(".source_button").removeClass("dil_aktif"),$("#trd").addClass("dil_aktif")}),$("#tra").click(function(){$(".dil").hide(),$('[dil="tra"]').css("display","inline-block"),$(".source_button").removeClass("dil_aktif"),$("#tra").addClass("dil_aktif")}),$("#eng").click(function(){$(".dil").hide(),$('[dil="eng"]').css("display","inline-block"),$(".source_button").removeClass("dil_aktif"),$("#eng").addClass("dil_aktif")}),$("#org").click(function(){$(".dil").hide(),$('[dil="org"]').css("display","inline-block"),$(".source_button").removeClass("dil_aktif"),$("#org").addClass("dil_aktif")}),$("#frg").click(function(){$(".dil").hide(),$('[dil="frg"]').css("display","inline-block"),$(".source_button").removeClass("dil_aktif"),$("#frg").addClass("dil_aktif")});function filmplus_share(type){url=window.location.href;title=$(document).attr("title");switch(type){case "facebook":window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(url)+"&t="+encodeURIComponent(title)+"&src=sp","","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=700,height=500");break;case "twitter":window.open("http://twitter.com/share?text="+encodeURIComponent(title)+"&url="+encodeURIComponent(url)+"","","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=700,height=500");break;case "whatsapp":window.open("https://api.whatsapp.com/send?text="+encodeURIComponent(title)+" "+encodeURIComponent(url)+"","","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=700,height=500");break;case "telegram":window.open("https://t.me/share/url?url="+encodeURIComponent(url)+"&text="+encodeURIComponent(title)+" ","","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=700,height=500");break}};!function(){"use strict";function t(t,e){var n;for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function e(t){if(!this||this.find!==e.prototype.find)return new e(t);if(this.length=0,t)if("string"==typeof t&&(t=this.find(t)),t.nodeType||t===t.window)this.length=1,this[0]=t;else{var n=t.length;for(this.length=n;n;)this[n-=1]=t[n]}}e.extend=t,e.contains=function(t,e){do{if((e=e.parentNode)===t)return!0}while(e);return!1},e.parseJSON=function(t){return window.JSON&&JSON.parse(t)},t(e.prototype,{find:function(t){var n=this[0]||document;return"string"==typeof t&&(t=n.querySelectorAll?n.querySelectorAll(t):"#"===t.charAt(0)?n.getElementById(t.slice(1)):n.getElementsByTagName(t)),new e(t)},hasClass:function(t){return!!this[0]&&new RegExp("(^|\\s+)"+t+"(\\s+|$)").test(this[0].className)},addClass:function(t){for(var e,n=this.length;n;){if(!(e=this[n-=1]).className)return e.className=t,this;if(this.hasClass(t))return this;e.className+=" "+t}return this},removeClass:function(t){for(var e,n=new RegExp("(^|\\s+)"+t+"(\\s+|$)"),i=this.length;i;)(e=this[i-=1]).className=e.className.replace(n," ");return this},on:function(t,e){for(var n,i,s=t.split(/\s+/);s.length;)for(t=s.shift(),n=this.length;n;)(i=this[n-=1]).addEventListener?i.addEventListener(t,e,!1):i.attachEvent&&i.attachEvent("on"+t,e);return this},off:function(t,e){for(var n,i,s=t.split(/\s+/);s.length;)for(t=s.shift(),n=this.length;n;)(i=this[n-=1]).removeEventListener?i.removeEventListener(t,e,!1):i.detachEvent&&i.detachEvent("on"+t,e);return this},empty:function(){for(var t,e=this.length;e;)for(t=this[e-=1];t.hasChildNodes();)t.removeChild(t.lastChild);return this},first:function(){return new e(this[0])}}),"function"==typeof define&&define.amd?define(function(){return e}):(window.blueimp=window.blueimp||{},window.blueimp.helper=e)}();!function(t){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper"],t):(window.blueimp=window.blueimp||{},window.blueimp.Gallery=t(window.blueimp.helper||window.jQuery))}(function(t){"use strict";function i(t,e){return void 0===document.body.style.maxHeight?null:this&&this.options===i.prototype.options?void(t&&t.length?(this.list=t,this.num=t.length,this.initOptions(e),this.initialize()):this.console.log("blueimp Gallery: No or empty list provided as first argument.",t)):new i(t,e)}return t.extend(i.prototype,{options:{container:"#blueimp-gallery",slidesContainer:"div",titleElement:"h3",displayClass:"blueimp-gallery-display",controlsClass:"blueimp-gallery-controls",singleClass:"blueimp-gallery-single",leftEdgeClass:"blueimp-gallery-left",rightEdgeClass:"blueimp-gallery-right",playingClass:"blueimp-gallery-playing",slideClass:"slide",slideLoadingClass:"slide-loading",slideErrorClass:"slide-error",slideContentClass:"slide-content",toggleClass:"toggle",prevClass:"prev",nextClass:"next",closeClass:"close",playPauseClass:"play-pause",typeProperty:"type",titleProperty:"title",altTextProperty:"alt",urlProperty:"href",srcsetProperty:"urlset",displayTransition:!0,clearSlides:!0,stretchImages:!1,toggleControlsOnReturn:!0,toggleControlsOnSlideClick:!0,toggleSlideshowOnSpace:!0,enableKeyboardNavigation:!0,closeOnEscape:!0,closeOnSlideClick:!0,closeOnSwipeUpOrDown:!0,emulateTouchEvents:!0,stopTouchEventsPropagation:!1,hidePageScrollbars:!0,disableScroll:!0,carousel:!1,continuous:!0,unloadElements:!0,startSlideshow:!1,slideshowInterval:5e3,index:0,preloadRange:2,transitionSpeed:400,slideshowTransitionSpeed:void 0,event:void 0,onopen:void 0,onopened:void 0,onslide:void 0,onslideend:void 0,onslidecomplete:void 0,onclose:void 0,onclosed:void 0},carouselOptions:{hidePageScrollbars:!1,toggleControlsOnReturn:!1,toggleSlideshowOnSpace:!1,enableKeyboardNavigation:!1,closeOnEscape:!1,closeOnSlideClick:!1,closeOnSwipeUpOrDown:!1,disableScroll:!1,startSlideshow:!0},console:window.console&&"function"==typeof window.console.log?window.console:{log:function(){}},support:function(i){var e,s={touch:void 0!==window.ontouchstart||window.DocumentTouch&&document instanceof DocumentTouch},o={webkitTransition:{end:"webkitTransitionEnd",prefix:"-webkit-"},MozTransition:{end:"transitionend",prefix:"-moz-"},OTransition:{end:"otransitionend",prefix:"-o-"},transition:{end:"transitionend",prefix:""}};for(e in o)if(Object.prototype.hasOwnProperty.call(o,e)&&void 0!==i.style[e]){s.transition=o[e],s.transition.name=e;break}function n(){var t,e,o=s.transition;document.body.appendChild(i),o&&(t=o.name.slice(0,-9)+"ransform",void 0!==i.style[t]&&(i.style[t]="translateZ(0)",e=window.getComputedStyle(i).getPropertyValue(o.prefix+"transform"),s.transform={prefix:o.prefix,name:t,translate:!0,translateZ:!!e&&"none"!==e})),void 0!==i.style.backgroundSize&&(s.backgroundSize={},i.style.backgroundSize="contain",s.backgroundSize.contain="contain"===window.getComputedStyle(i).getPropertyValue("background-size"),i.style.backgroundSize="cover",s.backgroundSize.cover="cover"===window.getComputedStyle(i).getPropertyValue("background-size")),document.body.removeChild(i)}return document.body?n():t(document).on("DOMContentLoaded",n),s}(document.createElement("div")),requestAnimationFrame:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,cancelAnimationFrame:window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame,initialize:function(){if(this.initStartIndex(),!1===this.initWidget())return!1;this.initEventListeners(),this.onslide(this.index),this.ontransitionend(),this.options.startSlideshow&&this.play()},slide:function(t,i){window.clearTimeout(this.timeout);var e,s,o,n=this.index;if(n!==t&&1!==this.num){if(i||(i=this.options.transitionSpeed),this.support.transform){for(this.options.continuous||(t=this.circle(t)),e=Math.abs(n-t)/(n-t),this.options.continuous&&(s=e,(e=-this.positions[this.circle(t)]/this.slideWidth)!==s&&(t=-e*this.num+t)),o=Math.abs(n-t)-1;o;)o-=1,this.move(this.circle((t>n?t:n)-o-1),this.slideWidth*e,0);t=this.circle(t),this.move(n,this.slideWidth*e,i),this.move(t,0,i),this.options.continuous&&this.move(this.circle(t-e),-this.slideWidth*e,0)}else t=this.circle(t),this.animate(n*-this.slideWidth,t*-this.slideWidth,i);this.onslide(t)}},getIndex:function(){return this.index},getNumber:function(){return this.num},prev:function(){(this.options.continuous||this.index)&&this.slide(this.index-1)},next:function(){(this.options.continuous||this.index1&&(this.timeout=this.setTimeout(!this.requestAnimationFrame&&this.slide||function(t,e){i.animationFrameId=i.requestAnimationFrame.call(window,function(){i.slide(t,e)})},[this.index+1,this.options.slideshowTransitionSpeed],this.interval)),this.container.addClass(this.options.playingClass)},pause:function(){window.clearTimeout(this.timeout),this.interval=null,this.cancelAnimationFrame&&(this.cancelAnimationFrame.call(window,this.animationFrameId),this.animationFrameId=null),this.container.removeClass(this.options.playingClass)},add:function(t){var i;for(t.concat||(t=Array.prototype.slice.call(t)),this.list.concat||(this.list=Array.prototype.slice.call(this.list)),this.list=this.list.concat(t),this.num=this.list.length,this.num>2&&null===this.options.continuous&&(this.options.continuous=!0,this.container.removeClass(this.options.leftEdgeClass)),this.container.removeClass(this.options.rightEdgeClass).removeClass(this.options.singleClass),i=this.num-t.length;ie)return s.slidesContainer[0].style.left=i+"px",s.ontransitionend(),void window.clearInterval(n);s.slidesContainer[0].style.left=(i-t)*(Math.floor(l/e*100)/100)+t+"px"},4);else this.slidesContainer[0].style.left=i+"px"},preventDefault:function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},stopPropagation:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},onresize:function(){this.initSlides(!0)},onmousedown:function(t){t.which&&1===t.which&&"VIDEO"!==t.target.nodeName&&"AUDIO"!==t.target.nodeName&&(t.preventDefault(),(t.originalEvent||t).touches=[{pageX:t.pageX,pageY:t.pageY}],this.ontouchstart(t))},onmousemove:function(t){this.touchStart&&((t.originalEvent||t).touches=[{pageX:t.pageX,pageY:t.pageY}],this.ontouchmove(t))},onmouseup:function(t){this.touchStart&&(this.ontouchend(t),delete this.touchStart)},onmouseout:function(i){if(this.touchStart){var e=i.target,s=i.relatedTarget;s&&(s===e||t.contains(e,s))||this.onmouseup(i)}},ontouchstart:function(t){this.options.stopTouchEventsPropagation&&this.stopPropagation(t);var i=(t.originalEvent||t).touches[0];this.touchStart={x:i.pageX,y:i.pageY,time:Date.now()},this.isScrolling=void 0,this.touchDelta={}},ontouchmove:function(t){this.options.stopTouchEventsPropagation&&this.stopPropagation(t);var i,e,s=(t.originalEvent||t).touches[0],o=(t.originalEvent||t).scale,n=this.index;if(!(s.length>1||o&&1!==o))if(this.options.disableScroll&&t.preventDefault(),this.touchDelta={x:s.pageX-this.touchStart.x,y:s.pageY-this.touchStart.y},i=this.touchDelta.x,void 0===this.isScrolling&&(this.isScrolling=this.isScrolling||Math.abs(i)0||n===this.num-1&&i<0?Math.abs(i)/this.slideWidth+1:1,e=[n],n&&e.push(n-1),n20||Math.abs(this.touchDelta.x)>h/2,c=!l&&this.touchDelta.x>0||l===this.num-1&&this.touchDelta.x<0,u=!d&&this.options.closeOnSwipeUpOrDown&&(r&&Math.abs(this.touchDelta.y)>20||Math.abs(this.touchDelta.y)>this.slideHeight/2);this.options.continuous&&(c=!1),i=this.touchDelta.x<0?-1:1,this.isScrolling?u?this.close():this.translateY(l,0,a):d&&!c?(e=l+i,s=l-i,o=h*i,n=-h*i,this.options.continuous?(this.move(this.circle(e),o,0),this.move(this.circle(l-2*i),n,0)):e>=0&&ethis.container[0].clientHeight&&(s.style.maxHeight=this.container[0].clientHeight),this.interval&&this.slides[this.index]===o&&this.play(),this.setTimeout(this.options.onslidecomplete,[e,o]))},onload:function(t){this.oncomplete(t)},onerror:function(t){this.oncomplete(t)},onkeydown:function(t){switch(t.which||t.keyCode){case 13:this.options.toggleControlsOnReturn&&(this.preventDefault(t),this.toggleControls());break;case 27:this.options.closeOnEscape&&(this.close(),t.stopImmediatePropagation());break;case 32:this.options.toggleSlideshowOnSpace&&(this.preventDefault(t),this.toggleSlideshow());break;case 37:this.options.enableKeyboardNavigation&&(this.preventDefault(t),this.prev());break;case 39:this.options.enableKeyboardNavigation&&(this.preventDefault(t),this.next())}},handleClick:function(i){var e=this.options,s=i.target||i.srcElement,o=s.parentNode;function n(i){return t(s).hasClass(i)||t(o).hasClass(i)}n(e.toggleClass)?(this.preventDefault(i),this.toggleControls()):n(e.prevClass)?(this.preventDefault(i),this.prev()):n(e.nextClass)?(this.preventDefault(i),this.next()):n(e.closeClass)?(this.preventDefault(i),this.close()):n(e.playPauseClass)?(this.preventDefault(i),this.toggleSlideshow()):o===this.slidesContainer[0]?e.closeOnSlideClick?(this.preventDefault(i),this.close()):e.toggleControlsOnSlideClick&&(this.preventDefault(i),this.toggleControls()):o.parentNode&&o.parentNode===this.slidesContainer[0]&&e.toggleControlsOnSlideClick&&(this.preventDefault(i),this.toggleControls())},onclick:function(t){if(!(this.options.emulateTouchEvents&&this.touchDelta&&(Math.abs(this.touchDelta.x)>20||Math.abs(this.touchDelta.y)>20)))return this.handleClick(t);delete this.touchDelta},updateEdgeClasses:function(t){t?this.container.removeClass(this.options.leftEdgeClass):this.container.addClass(this.options.leftEdgeClass),t===this.num-1?this.container.addClass(this.options.rightEdgeClass):this.container.removeClass(this.options.rightEdgeClass)},handleSlide:function(t){this.options.continuous||this.updateEdgeClasses(t),this.loadElements(t),this.options.unloadElements&&this.unloadElements(t),this.setTitle(t)},onslide:function(t){this.index=t,this.handleSlide(t),this.setTimeout(this.options.onslide,[t,this.slides[t]])},setTitle:function(t){var i=this.slides[t].firstChild,e=i.title||i.alt,s=this.titleElement;s.length&&(this.titleElement.empty(),e&&s[0].appendChild(document.createTextNode(e)))},setTimeout:function(t,i,e){var s=this;return t&&window.setTimeout(function(){t.apply(s,i||[])},e||0)},imageFactory:function(i,e){var s,o,n,l,a=this,h=this.imagePrototype.cloneNode(!1),r=i,d=this.options.stretchImages;return"string"!=typeof r&&(r=this.getItemProperty(i,this.options.urlProperty),n=this.getItemProperty(i,this.options.titleProperty),l=this.getItemProperty(i,this.options.altTextProperty)||n),!0===d&&(d="contain"),(d=this.support.backgroundSize&&this.support.backgroundSize[d]&&d)?o=this.elementPrototype.cloneNode(!1):(o=h,h.draggable=!1),n&&(o.title=n),l&&(o.alt=l),t(h).on("load error",function i(n){if(!s){if(n={type:n.type,target:o},!o.parentNode)return a.setTimeout(i,[n]);s=!0,t(h).off("load error",i),d&&"load"===n.type&&(o.style.background='url("'+r+'") center no-repeat',o.style.backgroundSize=d),e(n)}}),h.src=r,o},createElement:function(i,e){var s=i&&this.getItemProperty(i,this.options.typeProperty),o=s&&this[s.split("/")[0]+"Factory"]||this.imageFactory,n=i&&o.call(this,i,e),l=this.getItemProperty(i,this.options.srcsetProperty);return n||(n=this.elementPrototype.cloneNode(!1),this.setTimeout(e,[{type:"error",target:n}])),l&&n.setAttribute("srcset",l),t(n).addClass(this.options.slideContentClass),n},loadElement:function(i){this.elements[i]||(this.slides[i].firstChild?this.elements[i]=t(this.slides[i]).hasClass(this.options.slideErrorClass)?3:2:(this.elements[i]=1,t(this.slides[i]).addClass(this.options.slideLoadingClass),this.slides[i].appendChild(this.createElement(this.list[i],this.proxyListener))))},loadElements:function(t){var i,e=Math.min(this.num,2*this.options.preloadRange+1),s=t;for(i=0;ithis.options.preloadRange&&e+this.options.preloadRanget?-this.slideWidth:this.index