“).addClass(c.navContainerClass).appendTo(this.$element)).addClass(“disabled”),this._controls.$previous=a(“”).addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on(“click”,a.proxy(function(a)this.prev(c.navSpeed),this)),this._controls.$next=a(“”).addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on(“click”,a.proxy(function(a)this.next(c.navSpeed),this)),c.dotsData||(this._templates=[a(”
“).addClass(c.dotClass).append(a(“”)).prop(“outerHTML”)]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a(”

“).addClass(c.dotsClass).appendTo(this.$element)).addClass(“disabled”),this._controls.$absolute.on(“click”,”div”,a.proxy(function(b)var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed),this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function()var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))”function”!=typeof this[c]&&(this[c]=null),e.prototype.update=function()g.autoWidth,e.prototype.draw=function()d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join(“”)):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):0>b&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(“.active”).removeClass(“active”),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass(“active”)),e.prototype.onTrigger=function(b)var c=this._core.settings;b.page=,e.prototype.current=function()var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c)return a.start=b,this)).pop(),e.prototype.getPosition=function(b)var c,d,e=this._core.settings;return”page”==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:–c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c,e.prototype.next=function(b)a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b),e.prototype.prev=function(b)a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b),e.prototype.to=function(b,c,d)var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c),a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d)”use strict”;var e=function(c)this._core=c,this._hashes=,this.$element=this._core.$element,this._handlers=”initialized.owl.carousel”:a.proxy(function(c)c.namespace&&”URLHash”===this._core.settings.startPosition&&a(b).trigger(“hashchange.owl.navigation”),this),”prepared.owl.carousel”:a.proxy(function(b)if(b.namespace)var c=a(b.content).find(“[data-hash]”).addBack(“[data-hash]”).attr(“data-hash”);if(!c)return;this._hashes[c]=b.content,this),”changed.owl.carousel”:a.proxy(function(c)if(c.namespace&&”position”===c.property.name)var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b)return a===d?b:null).join();if(!e,this),this._core.options=a.extend(,e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on(“hashchange.owl.navigation”,a.proxy(function(a)var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0),this));e.Defaults=URLhashListener:!1,e.prototype.destroy=function()var c,d;a(b).off(“hashchange.owl.navigation”);for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))”function”!=typeof this[d]&&(this[d]=null),a.fn.owlCarousel.Constructor.Plugins.Hash=e(window.Zepto||window.jQuery,window,document),function(a,b,c,d)function e(b,c)var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+” “+h.join(f+” “)+f).split(” “),function(a,b)return g[b]!==d?(e=c?b:!0,!1):void 0),efunction f(a)return e(a,!0)var g=a(“”).get(0).style,h=”Webkit Moz O ms”.split(” “),i=transition:end:WebkitTransition:”webkitTransitionEnd”,MozTransition:”transitionend”,OTransition:”oTransitionEnd”,transition:”transitionend”,animation:end:WebkitAnimation:”webkitAnimationEnd”,MozAnimation:”animationend”,OAnimation:”oAnimationEnd”,animation:”animationend”,j=csstransforms:function()return!!e(“transform”),csstransforms3d:function()return!!e(“perspective”),csstransitions:function()return!!e(“transition”),cssanimations:function()return!!e(“animation”);j.csstransitions()&&(a.support.transition=new String(f(“transition”)),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f(“animation”)),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f(“transform”)),a.support.transform3d=j.csstransforms3d())(window.Zepto||window.jQuery,window,document); /*! * Bootstrap v3.3.7 (http://getbootstrap.com) * Copyright 2011-2016 Twitter, Inc. * Licensed under the MIT license */ if(“undefined”==typeof jQuery)throw new Error(“Bootstrap’s JavaScript requires jQuery”);+function(a)”use strict”;var b=a.fn.jquery.split(” “)[0].split(“.”);if(b[0]3)throw new Error(“Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4″)(jQuery),+function(a)”use strict”;function b()var a=document.createElement(“bootstrap”),b=WebkitTransition:”webkitTransitionEnd”,MozTransition:”transitionend”,OTransition:”oTransitionEnd otransitionend”,transition:”transitionend”;for(var c in b)if(void 0!==a.style[c])returnend:b[c];return!1a.fn.emulateTransitionEnd=function(b)var c=!1,d=this;a(this).one(“bsTransitionEnd”,function()c=!0);var e=function()c;return setTimeout(e,b),this,a(function()a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd=bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b)if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)))(jQuery),+function(a)”use strict”;function b(b)return this.each(function())var c='[data-dismiss=”alert”]’,d=function(b)a(b).on(“click”,c,this.close);d.VERSION=”3.3.7″,d.TRANSITION_DURATION=150,d.prototype.close=function(b);var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function()return a.fn.alert=e,this,a(document).on(“click.bs.alert.data-api”,c,d.prototype.close)(jQuery),+function(a)”use strict”;function b(b)return this.each(function()d.data(“bs.button”,e=new c(this,f)),”toggle”==b?e.toggle():b&&e.setState(b))var c=function(b,d)this.$element=a(b),this.options=a.extend(,c.DEFAULTS,d),this.isLoading=!1;c.VERSION=”3.3.7″,c.DEFAULTS=loadingText:”loading…”,c.prototype.setState=function(b)var c=”disabled”,d=this.$element,e=d.is(“input”)?”val”:”html”,f=d.data();b+=”Text”,null==f.resetText&&d.data(“resetText”,d[e]()),setTimeout(a.proxy(function()d[e](null==f[b]?this.options[b]:f[b]),”loadingText”==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1)),this),0),c.prototype.toggle=function()var a=!0,b=this.$element.closest(‘[data-toggle=”buttons”]’);if(b.length)var c=this.$element.find(“input”);”radio”==c.prop(“type”)?(c.prop(“checked”)&&(a=!1),b.find(“.active”).removeClass(“active”),this.$element.addClass(“active”)):”checkbox”==c.prop(“type”)&&(c.prop(“checked”)!==this.$element.hasClass(“active”)&&(a=!1),this.$element.toggleClass(“active”)),c.prop(“checked”,this.$element.hasClass(“active”)),a&&c.trigger(“change”)else this.$element.attr(“aria-pressed”,!this.$element.hasClass(“active”)),this.$element.toggleClass(“active”);var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function()return a.fn.button=d,this,a(document).on(“click.bs.button.data-api”,'[data-toggle^=”button”]’,function(c)(c.preventDefault(),d.is(“input,button”)?d.trigger(“focus”):d.find(“input:visible,button:visible”).first().trigger(“focus”))).on(“focus.bs.button.data-api blur.bs.button.data-api”,'[data-toggle^=”button”]’,function(b)a(b.target).closest(“.btn”).toggleClass(“focus”,/^focus(in)?$/.test(b.type)))(jQuery),+function(a)”use strict”;function b(b)return this.each(function())var c=function(b,c)this.$element=a(b),this.$indicators=this.$element.find(“.carousel-indicators”),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on(“keydown.bs.carousel”,a.proxy(this.keydown,this)),”hover”==this.options.pause&&!(“ontouchstart”in document.documentElement)&&this.$element.on(“mouseenter.bs.carousel”,a.proxy(this.pause,this)).on(“mouseleave.bs.carousel”,a.proxy(this.cycle,this));c.VERSION=”3.3.7″,c.TRANSITION_DURATION=600,c.DEFAULTS=interval:5e3,pause:”hover”,wrap:!0,keyboard:!0,c.prototype.keydown=function(a)textarea/i.test(a.target.tagName))switch(a.which)case 37:this.prev();break;case 39:this.next();break;default:returna.preventDefault(),c.prototype.cycle=function(b)(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this,c.prototype.getItemIndex=function(a),c.prototype.getItemForDirection=function(a,b),c.prototype.to=function(a),c.prototype.pause=function(b),c.prototype.next=function()if(!this.sliding)return this.slide(“next”),c.prototype.prev=function()if(!this.sliding)return this.slide(“prev”),c.prototype.slide=function(b,d);var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function()return a.fn.carousel=d,this;var e=function(c);a(document).on(“click.bs.carousel.data-api”,”[data-slide]”,e).on(“click.bs.carousel.data-api”,”[data-slide-to]”,e),a(window).on(“load”,function()a(‘[data-ride=”carousel”]’).each(function()var c=a(this);b.call(c,c.data())))(jQuery),+function(a)”use strict”;function b(b)(c=b.attr(“href”))&&c.replace(/.*(?=#[^s]+$)/,””);return a(d)function c(b)return this.each(function()c.data(“bs.collapse”,e=new d(this,f)),”string”==typeof b&&e[b]())var d=function(b,c)this.$element=a(b),this.options=a.extend(,d.DEFAULTS,c),this.$trigger=a(‘[data-toggle=”collapse”][href=”#’+b.id+'”],[data-toggle=”collapse”][data-target=”#’+b.id+'”]’),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle();d.VERSION=”3.3.7″,d.TRANSITION_DURATION=350,d.DEFAULTS=toggle:!0,d.prototype.dimension=function()var a=this.$element.hasClass(“width”);return a?”width”:”height”,d.prototype.show=function()if(!this.transitioning&&!this.$element.hasClass(“in”))var b,e=this.$parent&&this.$parent.children(“.panel”).children(“.in, .collapsing”);if(!(e&&e.length&&(b=e.data(“bs.collapse”),b&&b.transitioning)))var f=a.Event(“show.bs.collapse”);if(this.$element.trigger(f),!f.isDefaultPrevented())e.data(“bs.collapse”,null));var g=this.dimension();this.$element.removeClass(“collapse”).addClass(“collapsing”)[g](0).attr(“aria-expanded”,!0),this.$trigger.removeClass(“collapsed”).attr(“aria-expanded”,!0),this.transitioning=1;var h=function()this.$element.removeClass(“collapsing”).addClass(“collapse in”)[g](“”),this.transitioning=0,this.$element.trigger(“shown.bs.collapse”);if(!a.support.transition)return h.call(this);var i=a.camelCase([“scroll”,g].join(“-“));this.$element.one(“bsTransitionEnd”,a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i]),d.prototype.hide=function()if(!this.transitioning&&this.$element.hasClass(“in”))var b=a.Event(“hide.bs.collapse”);if(this.$element.trigger(b),!b.isDefaultPrevented())var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass(“collapsing”).removeClass(“collapse in”).attr(“aria-expanded”,!1),this.$trigger.addClass(“collapsed”).attr(“aria-expanded”,!1),this.transitioning=1;var e=function()this.transitioning=0,this.$element.removeClass(“collapsing”).addClass(“collapse”).trigger(“hidden.bs.collapse”);return a.support.transition?void this.$element[c](0).one(“bsTransitionEnd”,a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this),d.prototype.toggle=function()this[this.$element.hasClass(“in”)?”hide”:”show”](),d.prototype.getParent=function()return a(this.options.parent).find(‘[data-toggle=”collapse”][data-parent=”‘+this.options.parent+'”]’).each(a.proxy(function(c,d)var e=a(d);this.addAriaAndCollapsedClass(b(e),e),this)).end(),d.prototype.addAriaAndCollapsedClass=function(a,b)var c=a.hasClass(“in”);a.attr(“aria-expanded”,c),b.toggleClass(“collapsed”,!c).attr(“aria-expanded”,c);var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function()return a.fn.collapse=e,this,a(document).on(“click.bs.collapse.data-api”,'[data-toggle=”collapse”]’,function(d)var e=a(this);e.attr(“data-target”))(jQuery),+function(a){“use strict”;function b(b)function c(c)c&&3===c.whichfunction d(b)return this.each(function()var c=a(this),d=c.data(“bs.dropdown”);d)var e=”.dropdown-backdrop”,f='[data-toggle=”dropdown”]’,g=function(b)a(b).on(“click.bs.dropdown”,this.toggle);g.VERSION=”3.3.7″,g.prototype.toggle=function(d)var e=a(this);if(!e.is(“.disabled, :disabled”))var f=b(e),g=f.hasClass(“open”);if(c(),!g)”ontouchstart”in document.documentElement&&!f.closest(“.navbar-nav”).length&&a(document.createElement(“div”)).addClass(“dropdown-backdrop”).insertAfter(a(this)).on(“click”,c);var h=relatedTarget:this;if(f.trigger(d=a.Event(“show.bs.dropdown”,h)),d.isDefaultPrevented())return;e.trigger(“focus”).attr(“aria-expanded”,”true”),f.toggleClass(“open”).trigger(a.Event(“shown.bs.dropdown”,h))return!1,g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName))var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(“.disabled, :disabled”))var e=b(d),g=e.hasClass(“open”);if(!g&&27!=c.which,c.prototype.resetAdjustments=function()this.$element.css(paddingLeft:””,paddingRight:””),c.prototype.checkScrollbar=function()var a=window.innerWidth;if(!a)var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)this.bodyIsOverflowing=document.body.clientWidth

‘,trigger:”hover focus”,title:””,delay:0,html:!1,container:!1,viewport:selector:”body”,padding:0,c.prototype.init=function(b,c,d)this.options.viewport),this.inState=click:!1,hover:!1,focus:!1,this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error(“`selector` option must be specified when initializing “+this.type+” on the window.document object!”);for(var e=this.options.trigger.split(” “),f=e.length;f–;)var g=e[f];if(“click”==g)this.$element.on(“click.”+this.type,this.options.selector,a.proxy(this.toggle,this));else if(“manual”!=g)var h=”hover”==g?”mouseenter”:”focusin”,i=”hover”==g?”mouseleave”:”focusout”;this.$element.on(h+”.”+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+”.”+this.type,this.options.selector,a.proxy(this.leave,this))this.options.selector?this._options=a.extend(,this.options,trigger:”manual”,selector:””):this.fixTitle(),c.prototype.getDefaults=function()return c.DEFAULTS,c.prototype.getOptions=function(b)return b=a.extend(,this.getDefaults(),this.$element.data(),b),b.delay&&”number”==typeof b.delay&&(b.delay=show:b.delay,hide:b.delay),b,c.prototype.getDelegateOptions=function()var b=,c=this.getDefaults();return this._options&&a.each(this._options,function(a,d)c[a]!=d&&(b[a]=d)),b,c.prototype.enter=function(b),c.prototype.isInStateTrue=function()for(var a in this.inState)if(this.inState[a])return!0;return!1,c.prototype.leave=function(b),c.prototype.show=function()var b=a.Event(“show.bs.”+this.type);if(this.hasContent()&&this.enabled)!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr(“id”,g),this.$element.attr(“aria-describedby”,g),this.options.animation&&f.addClass(“fade”);var h=”function”==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/s?auto?s?/i,j=i.test(h);j&&(h=h.replace(i,””),c.prototype.getTitle=function(),c.prototype.getUID=function(a)do a+=~~(1e6*Math.random());while(document.getElementById(a));return a,c.prototype.tip=function()if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+” `template` option must consist of exactly 1 top-level element!”);return this.$tip,c.prototype.arrow=function()return this.$arrow=this.$arrow,c.prototype.enable=function()this.enabled=!0,c.prototype.disable=function()this.enabled=!1,c.prototype.toggleEnabled=function()this.enabled=!this.enabled,c.prototype.toggle=function(b),c.prototype.destroy=function()var a=this;clearTimeout(this.timeout),this.hide(function()a.$element.off(“.”+a.type).removeData(“bs.”+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null);var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function()return a.fn.tooltip=d,this(jQuery),+function(a)”use strict”;function b(b)return this.each(function()var d=a(this),e=d.data(“bs.popover”),f=”object”==typeof b&&b;!e&&/destroy)var c=function(a,b)this.init(“popover”,a,b);if(!a.fn.tooltip)throw new Error(“Popover requires tooltip.js”);c.VERSION=”3.3.7″,c.DEFAULTS=a.extend(,a.fn.tooltip.Constructor.DEFAULTS,placement:”right”,trigger:”click”,content:””,template:”),c.prototype=a.extend(,a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function()return c.DEFAULTS,c.prototype.setContent=function()a.find(“.popover-title”).hide(),c.prototype.hasContent=function()return this.getTitle(),c.prototype.getContent=function()(“function”==typeof b.content?b.content.call(a[0]):b.content),c.prototype.arrow=function()this.tip().find(“.arrow”);var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function()return a.fn.popover=d,this(jQuery),+function(a)!!d.find(“> .fade”).length);g.length&&h?g.one(“bsTransitionEnd”,f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass(“in”);var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function()return a.fn.tab=d,this;var e=function(c)c.preventDefault(),b.call(a(this),”show”);a(document).on(“click.bs.tab.data-api”,'[data-toggle=”tab”]’,e).on(“click.bs.tab.data-api”,'[data-toggle=”pill”]’,e)(jQuery),+function(a)”use strict”;function b(b)return this.each(function())var c=function(b,d)this.options=a.extend(,c.DEFAULTS,d),this.$target=a(this.options.target).on(“scroll.bs.affix.data-api”,a.proxy(this.checkPosition,this)).on(“click.bs.affix.data-api”,a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition();c.VERSION=”3.3.7″,c.RESET=”affix affix-top affix-bottom”,c.DEFAULTS=offset:0,target:window,c.prototype.getState=function(a,b,c,d)var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&”top”==this.affixed)return e=a-d&&”bottom”,c.prototype.getPinnedOffset=function()if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass(“affix”);var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a,c.prototype.checkPositionWithEventLoop=function()setTimeout(a.proxy(this.checkPosition,this),1),c.prototype.checkPosition=function()if(this.$element.is(“:visible”))var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());”object”!=typeof d&&(f=e=d),”function”==typeof e&&(e=d.top(this.$element)),”function”==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h)null!=this.unpin&&this.$element.css(“top”,””);var i=”affix”+(h?”-“+h:””),j=a.Event(i+”.bs.affix”);if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin=”bottom”==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace(“affix”,”affixed”)+”.bs.affix”)”bottom”==h&&this.$element.offset(top:g-b-f);var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function()return a.fn.affix=d,this,a(window).on(“load”,function()a(‘[data-spy=”affix”]’).each(function()var c=a(this),d=c.data();d.offset=d.offset))(jQuery); ]]>


Bài viết liên quan


By thanhan

Leave a Reply

Your email address will not be published. Required fields are marked *