function loadDeferredImages(){}function loadDeferredBackgrounds(){$(".deferredBackgroundImage").each(function(n,t){$(t).addClass("withImage")})}function CategorySelector(n,t){var i=null,r=function(n,e){var h,a,s,l;for(e.empty(),h=t.val(),a=u(h),s=0;s ").addClass("category-item");$(" ").attr("id",`category-link-${o}`).attr("data-id",o).attr("href","#").addClass(o===h?"selected":"").text(v).click(f).appendTo(c);a.indexOf(o)!=-1&&i.Children.hasOwnProperty(o)&&(l=$("
").addClass("category-item"),r(i.Children[o],l),l.appendTo(c));c.appendTo(e)}},u=function(n){var r=[],u,t;for(r.push(n),t=n,u=0;i.Parents.hasOwnProperty(t)&&u<=100;)t=i.Parents[t],r.unshift(t),u++;return r},f=function(n){var s,h,o;n.preventDefault();var u=$(n.target),f=u.attr("data-id"),e=u.parent(".category-item");if($("#category-selector a.selected").removeClass("selected"),e.find(".category-item").remove(),e.siblings().find(".category-item").remove(),s=t.val(),s===f){t.val("");u.removeClass("selected");return}(t.val(f),u.addClass("selected"),i.Children.hasOwnProperty(f))&&(h=i.Children[f],o=$("
").addClass("category-item"),r(h,o),o.appendTo(e))},e=function(){r(i.RootParents,n);setTimeout(o,1)},o=function(){var i=t.val(),n=$(`#category-link-${i}`);n.length>0&&$("#category-selector").scrollTop(n[0].offsetTop)};this.onInit=function(){console.log("onInit");$.getJSON("/Category/GetTaxonomyData").done(function(n){i=n;e()}).fail(function(){console.log("An error occurred while retrieving category data.")})}}(function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Popper=t()})(this,function(){"use strict";function et(n){return n&&"[object Function]"==={}.toString.call(n)}function r(n,t){if(1!==n.nodeType)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function y(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function s(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=r(n),i=t.overflow,u=t.overflowX,f=t.overflowY;return/(auto|scroll|overlay)/.test(i+f+u)?n:s(y(n))}function u(n){return 11===n?ui:10===n?fi:ui||fi}function f(n){var e,t,i;if(!n)return document.documentElement;for(e=u(10)?document.body:null,t=n.offsetParent||null;t===e&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return i=t&&t.nodeName,i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(t.nodeName)&&"static"===r(t,"position")?f(t):t:n?n.ownerDocument.documentElement:document.documentElement}function oi(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||f(n.firstElementChild)===n)}function p(n){return null===n.parentNode?n:p(n.parentNode)}function l(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,r=document.createRange();return(r.setStart(o,0),r.setEnd(s,0),i=r.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?oi(i)?i:f(i):(u=p(n),u.host?l(u.host,t):l(n,p(t).host))}function e(n){var f=1 =r.clientWidth&&i>=r.clientHeight}),a=0 s[n]&&!r.escapeWithReference&&(i=ti(u[t],s[n]-("right"===n?u.width:u.height))),o({},t,i)}};return y.forEach(function(t){var i=-1===["left","top"].indexOf(t)?"secondary":"primary";u=n({},u,p[i](t))}),i.offsets.popper=u,i},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=tt,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e] r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,u){var l,e;if(!gt(n.instance.modifiers,"arrow","keepTogether"))return n;if(e=u.element,"string"==typeof e){if(e=n.instance.popper.querySelector(e),!e)return n}else if(!n.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var d=n.placement.split("-")[0],b=n.offsets,c=b.popper,s=b.reference,a=-1!==["left","right"].indexOf(d),y=a?"height":"width",p=a?"Top":"Left",f=p.toLowerCase(),g=a?"left":"top",v=a?"bottom":"right",h=yt(e)[y];s[v]-h c[v]&&(n.offsets.popper[f]+=s[f]+h-c[v]);n.offsets.popper=i(n.offsets.popper);var nt=s[f]+s[y]/2-h/2,k=r(n.instance.popper),tt=parseFloat(k["margin"+p],10),rt=parseFloat(k["border"+p+"Width"],10),w=nt-n.offsets.popper[f]-tt-rt;return w=t(ti(c[y]-h,w),0),n.arrowElement=e,n.offsets.arrow=(l={},o(l,f,it(w)),o(l,g,""),l),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,i){if(bt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var e=k(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=a(r),u=t.placement.split("-")[1]||"",f=[];switch(i.behavior){case ft.FLIP:f=[r,o];break;case ft.CLOCKWISE:f=ni(r);break;case ft.COUNTERCLOCKWISE:f=ni(r,!0);break;default:f=i.behavior}return f.forEach(function(s,h){if(r!==s||f.length===h+1)return t;r=t.placement.split("-")[0];o=a(r);var l=t.offsets.popper,v=t.offsets.reference,c=tt,p="left"===r&&c(l.right)>c(v.left)||"right"===r&&c(l.left) c(v.top)||"bottom"===r&&c(l.top) c(e.right),k=c(l.top) c(e.bottom),g="left"===r&&w||"right"===r&&b||"top"===r&&k||"bottom"===r&&d,y=-1!==["top","bottom"].indexOf(r),nt=!!i.flipVariations&&(y&&"start"===u&&w||y&&"end"===u&&b||!y&&"start"===u&&k||!y&&"end"===u&&d);(p||g||nt)&&(t.flipped=!0,(p||g)&&(r=f[h+1]),nt&&(u=gi(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,pt(t.instance.popper,t.offsets.reference,t.placement)),t=wt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var u=n.placement,t=u.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return r[e?"left":"top"]=o[t]-(s?r[e?"width":"height"]:0),n.placement=a(u),n.offsets.popper=i(r),n}},hide:{order:800,enabled:!0,fn:function(n){if(!gt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=h(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom i.right||t.top>i.bottom||t.right window.devicePixelRatio||!or),o="bottom"===g?"top":"bottom",s="right"===nt?"left":"right",y=d("transform");return(a="bottom"==o?"HTML"===e.nodeName?-e.clientHeight+u.bottom:-v.height+u.bottom:u.top,l="right"==s?"HTML"===e.nodeName?-e.clientWidth+u.right:-v.width+u.right:u.left,it&&y)?(r[y]="translate3d("+l+"px, "+a+"px, 0)",r[o]=0,r[s]=0,r.willChange="transform"):(p="bottom"==o?-1:1,b="right"==s?-1:1,r[o]=a*p,r[s]=l*b,r.willChange=o+", "+s),k={"x-placement":t.placement},t.attributes=n({},k,t.attributes),t.styles=n({},r,t.styles),t.arrowStyles=n({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return nt(n.instance.popper,n.styles),ki(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&nt(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=vt(u,t,n,i.positionFixed),e=at(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),nt(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},v});$(document).ready(function(){$('[data-toggle="offcanvas"]').click(function(){$(".row-offcanvas").toggleClass("active")})});!function(n,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return t(n,i)}):"object"==typeof module&&module.exports?module.exports=t(n,require("jquery")):n.jQueryBridget=t(n,n.jQuery)}(window,function(n,t){"use strict";function i(i,u,o){function s(n,t,r){var u,e="$()."+i+'("'+t+'")';return n.each(function(n,s){var h=o.data(s,i),c,l;if(!h)return void f(i+" not initialized.无法调用方法,即"+e);if(c=h[t],!c||"_"==t.charAt(0))return void f(e+" is not a valid method");l=c.apply(h,r);u=void 0===u?l:u}),void 0!==u?u:n}function h(n,t){n.each(function(n,r){var f=o.data(r,i);f?(f.option(t),f._init()):(f=new u(r,t),o.data(r,i,f))})}o=o||t||n.jQuery;o&&(u.prototype.option||(u.prototype.option=function(n){o.isPlainObject(n)&&(this.options=o.extend(!0,this.options,n))}),o.fn[i]=function(n){if("string"==typeof n){var t=e.call(arguments,1);return s(this,n,t)}return h(this,n),this},r(o))}function r(n){!n||n&&n.bridget||(n.bridget=i)}var e=Array.prototype.slice,u=n.console,f="undefined"==typeof u?function(){}:function(n){u.error(n)};return r(t||n.jQuery),i}),function(n,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():n.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function t(){}var n=t.prototype;return n.on=function(n,t){if(n&&t){var i=this._events=this._events||{},r=i[n]=i[n]||[];return-1==r.indexOf(t)&&r.push(t),this}},n.once=function(n,t){if(n&&t){this.on(n,t);var i=this._onceEvents=this._onceEvents||{},r=i[n]=i[n]||{};return r[t]=!0,this}},n.off=function(n,t){var i=this._events&&this._events[n],r;if(i&&i.length)return r=i.indexOf(t),-1!=r&&i.splice(r,1),this},n.emitEvent=function(n,t){var i=this._events&&this._events[n],u,f,r,e;if(i&&i.length){for(i=i.slice(0),t=t||[],u=this._onceEvents&&this._onceEvents[n],f=0;f style返回++你在Firefox隐藏框架运行此代码See https://bit.ly/getsizebug1"),t}function h(){var i,f,o;e||(e=!0,i=document.createElement("div"),i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box",f=document.body||document.documentElement,f.appendChild(i),o=r(i),t=200==Math.round(n(o.width)),u.isBoxSizeOuter=t,f.removeChild(i))}function u(u){var o,e,a,c,l;if(h(),"string"==typeof u&&(u=document.querySelector(u)),u&&"object"==typeof u&&u.nodeType){if(o=r(u),"none"==o.display)return s();for(e={},e.width=u.offsetWidth,e.height=u.offsetHeight,a=e.isBorderBox="border-box"==o.boxSizing,c=0;f>c;c++){var v=i[c],nt=o[v],y=parseFloat(nt);e[v]=isNaN(y)?0:y}var p=e.paddingLeft+e.paddingRight,w=e.paddingTop+e.paddingBottom,tt=e.marginLeft+e.marginRight,it=e.marginTop+e.marginBottom,b=e.borderLeftWidth+e.borderRightWidth,k=e.borderTopWidth+e.borderBottomWidth,d=a&&t,g=n(o.width);return g!==!1&&(e.width=g+(d?0:p+b)),l=n(o.height),l!==!1&&(e.height=l+(d?0:w+k)),e.innerWidth=e.width-(p+b),e.innerHeight=e.height-(w+k),e.outerWidth=e.width+tt,e.outerHeight=e.height+it,e}}var t,c="undefined"==typeof console?o:function(n){console.error(n)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],f=i.length,e=!1;return u}),function(n,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():n.matchesSelector=t()}(window,function(){"use strict";var n=function(){var t=window.Element.prototype,i,n,u,r;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(i=["webkit","moz","ms","o"],n=0;n e?"round":"floor";u=Math[o](u);this.cols=Math.max(u,1)},i.getContainerWidth=function(){var i=this._getOption("fitWidth"),r=i?this.element.parentNode:this.element,n=t(r);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(n){n.getSize();var u=n.size.outerWidth%this.columnWidth,f=u&&1>u?"round":"ceil",i=Math[f](n.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var e=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",t=this[e](i,n),o={x:this.columnWidth*t.col,y:t.y},s=t.y+n.size.outerHeight,h=i+t.col,r=t.col;h>r;r++)this.colYs[r]=s;return o},i._getTopColPosition=function(n){var t=this._getTopColGroup(n),i=Math.min.apply(Math,t);return{col:t.indexOf(i),y:i}},i._getTopColGroup=function(n){if(2>n)return this.colYs;for(var i=[],r=this.cols+1-n,t=0;r>t;t++)i[t]=this._getColGroupY(t,n);return i},i._getColGroupY=function(n,t){if(2>t)return this.colYs[n];var i=this.colYs.slice(n,n+t);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(n,t){var i=this.horizontalColIndex%this.cols,u=n>1&&i+n>this.cols,r;return i=u?0:i,r=t.size.outerWidth&&t.size.outerHeight,this.horizontalColIndex=r?i+n:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,n)}},i._manageStamp=function(n){var e=t(n),r=this._getElementOffset(n),h=this._getOption("originLeft"),o=h?r.left:r.right,s=o+e.outerWidth,f=Math.floor(o/this.columnWidth),i;f=Math.max(0,f);i=Math.floor(s/this.columnWidth);i-=s%this.columnWidth?0:1;i=Math.min(this.cols-1,i);for(var c=this._getOption("originTop"),l=(c?r.top:r.bottom)+e.outerHeight,u=f;i>=u;u++)this.colYs[u]=Math.max(l,this.colYs[u])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var n={height:this.maxY};return this._getOption("fitWidth")&&(n.width=this._getContainerFitWidth()),n},i._getContainerFitWidth=function(){for(var n=0,t=this.cols;--t&&0===this.colYs[t];)n++;return(this.cols-n)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var n=this.containerWidth;return this.getContainerWidth(),n!=this.containerWidth},r});!function(n,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():n.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function t(){}var n=t.prototype;return n.on=function(n,t){if(n&&t){var i=this._events=this._events||{},r=i[n]=i[n]||[];return r.indexOf(t)==-1&&r.push(t),this}},n.once=function(n,t){if(n&&t){this.on(n,t);var i=this._onceEvents=this._onceEvents||{},r=i[n]=i[n]||{};return r[t]=!0,this}},n.off=function(n,t){var i=this._events&&this._events[n],r;if(i&&i.length)return r=i.indexOf(t),r!=-1&&i.splice(r,1),this},n.emitEvent=function(n,t){var i=this._events&&this._events[n],u,f,r,e;if(i&&i.length){for(i=i.slice(0),t=t||[],u=this._onceEvents&&this._onceEvents[n],f=0;f 0&&(i=n.indexOf("rv:"),r=parseInt(n.substring(i+3,n.indexOf(".",i)),10),document.querySelector("body").className+=" IE"),t=n.indexOf("Edge/"),t>0&&(r=parseInt(n.substring(t+5,n.indexOf(".",t)),10),document.querySelector("body").className+=" IE"),!1},bootstrapNavOptions:{init:function(){this.mobileHideOnScroll()},mobileHideOnScroll:function(){var r=n(".navbar"),t,i;if(r.length){t=n(window);i={sm:576,md:768,lg:992,xl:1200};n("body").on("click.HSMobileHideOnScroll",".navbar-toggler",function(i){var r=n(this).closest(".navbar");r.length&&r.data("mobile-menu-scroll-position",t.scrollTop());i.preventDefault()});t.on("scroll.HSMobileHideOnScroll",function(){r.each(function(r,u){var f=n(u),s,o,c,h,e;(f.hasClass("navbar-expand-xl")?e=i.xl:f.hasClass("navbar-expand-lg")?e=i.lg:f.hasClass("navbar-expand-md")?e=i.md:f.hasClass("navbar-expand-xs")&&(e=i.xs),t.width()>e)||(s=f.find(".navbar-toggler"),o=f.find(".navbar-collapse"),o.data("mobile-scroll-hide"))&&o.length&&(c=f.data("mobile-menu-scroll-position"),Math.abs(t.scrollTop()-c)>40&&o.hasClass("show")&&(s.trigger("click"),h=s.find(".is-active"),h.length&&h.removeClass("is-active")))})})}}}},settings:{rtl:!1}};n.HSCore.init()}(jQuery),function(n){"use strict";function l(t,i,r){t&&t.length&&(this.element=t,this.config=i,this.observers=r&&n.isPlainObject(r)?r:{},this.viewport="xs",this.checkViewport())}function c(n){if(n&&n.length)return this.element=n,this.defaultState=!0,this.reinit=function(){this.destroy().init().check()},!0}function f(n){c.call(this,n)&&this.init()}function u(n){c.call(this,n)&&this.init()}function r(n){c.call(this,n)&&this.init()}function t(t,i){c.call(this,t)&&(this.config={fixPointSelf:!1},i&&n.isPlainObject(i)&&(this.config=n.extend(!0,{},this.config,i)),this.init())}function e(n){c.call(this,n)&&this.init()}function i(t,i){c.call(this,t)&&(this.config={fixPointSelf:!1},i&&n.isPlainObject(i)&&(this.config=n.extend(!0,{},this.config,i)),this.init())}function o(t,i){c.call(this,t)&&(this.config={animated:!0},i&&n.isPlainObject(i)&&(this.config=n.extend(!0,{},this.config,i)),this.init())}function s(t,i){c.call(this,t)&&(this.config=i&&n.isPlainObject(i)?n.extend(!0,{},this.config,i):{},this.init())}function h(n){!c.call(this,n)}n.HSCore.components.HSHeader={_baseConfig:{headerFixMoment:0,headerFixEffect:"slide",breakpointsMap:{md:768,sm:576,lg:992,xl:1200}},init:function(t){if(t&&t.length===1&&!t.data("HSHeader")){var i=this,r=window.innerWidth;this.element=t;this.config=n.extend(!0,{},this._baseConfig,t.data());this.observers=this._detectObservers();this.fixMediaDifference(this.element);this.element.data("HSHeader",new l(this.element,this.config,this.observers));n(window).on("scroll.uHeader",function(){t.data("HSHeader").notify()}).on("resize.uHeader",function(){i.resizeTimeOutId&&clearTimeout(i.resizeTimeOutId);i.resizeTimeOutId=setTimeout(function(){t.data("HSHeader").checkViewport()},100)}).trigger("scroll.uHeader");n(window).on("resize.uHeader",function(){window.innerWidth!==r&&(r=window.innerWidth,i.resizeTimeOutId&&clearTimeout(i.resizeTimeOutId),i.resizeTimeOutId=setTimeout(function(){t.data("HSHeader").update()},100))});return this.element}},_detectObservers:function(){if(this.element&&this.element.length){var n={xs:[],sm:[],md:[],lg:[],xl:[]};return this.element.hasClass("u-header--has-hidden-element")&&n.xs.push(new o(this.element)),this.element.hasClass("u-header--sticky-top")&&(this.element.hasClass("u-header--show-hide")?n.xs.push(new u(this.element)):this.element.hasClass("u-header--toggle-section")&&n.xs.push(new e(this.element)),this.element.hasClass("u-header--change-logo")&&n.xs.push(new t(this.element)),this.element.hasClass("u-header--change-appearance")&&n.xs.push(new i(this.element))),this.element.hasClass("u-header--floating")&&n.xs.push(new s(this.element)),this.element.hasClass("u-header--invulnerable")&&n.xs.push(new h(this.element)),this.element.hasClass("u-header--sticky-bottom")&&(this.element.hasClass("u-header--change-appearance")&&n.xs.push(new i(this.element)),this.element.hasClass("u-header--change-logo")&&n.xs.push(new t(this.element))),(this.element.hasClass("u-header--abs-top")||this.element.hasClass("u-header--static"))&&(this.element.hasClass("u-header--show-hide")&&n.xs.push(new r(this.element)),this.element.hasClass("u-header--change-logo")&&n.xs.push(new t(this.element)),this.element.hasClass("u-header--change-appearance")&&n.xs.push(new i(this.element))),(this.element.hasClass("u-header--abs-bottom")||this.element.hasClass("u-header--abs-top-2nd-screen"))&&(n.xs.push(new f(this.element)),this.element.hasClass("u-header--change-appearance")&&n.xs.push(new i(this.element,{fixPointSelf:!0})),this.element.hasClass("u-header--change-logo")&&n.xs.push(new t(this.element,{fixPointSelf:!0}))),this.element.hasClass("u-header--has-hidden-element--sm")&&n.sm.push(new o(this.element)),this.element.hasClass("u-header--sticky-top--sm")&&(this.element.hasClass("u-header--show-hide--sm")?n.sm.push(new u(this.element)):this.element.hasClass("u-header--toggle-section--sm")&&n.sm.push(new e(this.element)),this.element.hasClass("u-header--change-logo--sm")&&n.sm.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--sm")&&n.sm.push(new i(this.element))),this.element.hasClass("u-header--floating--sm")&&n.sm.push(new s(this.element)),this.element.hasClass("u-header--invulnerable--sm")&&n.sm.push(new h(this.element)),this.element.hasClass("u-header--sticky-bottom--sm")&&(this.element.hasClass("u-header--change-appearance--sm")&&n.sm.push(new i(this.element)),this.element.hasClass("u-header--change-logo--sm")&&n.sm.push(new t(this.element))),(this.element.hasClass("u-header--abs-top--sm")||this.element.hasClass("u-header--static--sm"))&&(this.element.hasClass("u-header--show-hide--sm")&&n.sm.push(new r(this.element)),this.element.hasClass("u-header--change-logo--sm")&&n.sm.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--sm")&&n.sm.push(new i(this.element))),(this.element.hasClass("u-header--abs-bottom--sm")||this.element.hasClass("u-header--abs-top-2nd-screen--sm"))&&(n.sm.push(new f(this.element)),this.element.hasClass("u-header--change-appearance--sm")&&n.sm.push(new i(this.element,{fixPointSelf:!0})),this.element.hasClass("u-header--change-logo--sm")&&n.sm.push(new t(this.element,{fixPointSelf:!0}))),this.element.hasClass("u-header--has-hidden-element--md")&&n.md.push(new o(this.element)),this.element.hasClass("u-header--sticky-top--md")&&(this.element.hasClass("u-header--show-hide--md")?n.md.push(new u(this.element)):this.element.hasClass("u-header--toggle-section--md")&&n.md.push(new e(this.element)),this.element.hasClass("u-header--change-logo--md")&&n.md.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--md")&&n.md.push(new i(this.element))),this.element.hasClass("u-header--floating--md")&&n.md.push(new s(this.element)),this.element.hasClass("u-header--invulnerable--md")&&n.md.push(new h(this.element)),this.element.hasClass("u-header--sticky-bottom--md")&&(this.element.hasClass("u-header--change-appearance--md")&&n.md.push(new i(this.element)),this.element.hasClass("u-header--change-logo--md")&&n.md.push(new t(this.element))),(this.element.hasClass("u-header--abs-top--md")||this.element.hasClass("u-header--static--md"))&&(this.element.hasClass("u-header--show-hide--md")&&n.md.push(new r(this.element)),this.element.hasClass("u-header--change-logo--md")&&n.md.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--md")&&n.md.push(new i(this.element))),(this.element.hasClass("u-header--abs-bottom--md")||this.element.hasClass("u-header--abs-top-2nd-screen--md"))&&(n.md.push(new f(this.element)),this.element.hasClass("u-header--change-appearance--md")&&n.md.push(new i(this.element,{fixPointSelf:!0})),this.element.hasClass("u-header--change-logo--md")&&n.md.push(new t(this.element,{fixPointSelf:!0}))),this.element.hasClass("u-header--has-hidden-element--lg")&&n.lg.push(new o(this.element)),this.element.hasClass("u-header--sticky-top--lg")&&(this.element.hasClass("u-header--show-hide--lg")?n.lg.push(new u(this.element)):this.element.hasClass("u-header--toggle-section--lg")&&n.lg.push(new e(this.element)),this.element.hasClass("u-header--change-logo--lg")&&n.lg.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--lg")&&n.lg.push(new i(this.element))),this.element.hasClass("u-header--floating--lg")&&n.lg.push(new s(this.element)),this.element.hasClass("u-header--invulnerable--lg")&&n.lg.push(new h(this.element)),this.element.hasClass("u-header--sticky-bottom--lg")&&(this.element.hasClass("u-header--change-appearance--lg")&&n.lg.push(new i(this.element)),this.element.hasClass("u-header--change-logo--lg")&&n.lg.push(new t(this.element))),(this.element.hasClass("u-header--abs-top--lg")||this.element.hasClass("u-header--static--lg"))&&(this.element.hasClass("u-header--show-hide--lg")&&n.lg.push(new r(this.element)),this.element.hasClass("u-header--change-logo--lg")&&n.lg.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--lg")&&n.lg.push(new i(this.element))),(this.element.hasClass("u-header--abs-bottom--lg")||this.element.hasClass("u-header--abs-top-2nd-screen--lg"))&&(n.lg.push(new f(this.element)),this.element.hasClass("u-header--change-appearance--lg")&&n.lg.push(new i(this.element,{fixPointSelf:!0})),this.element.hasClass("u-header--change-logo--lg")&&n.lg.push(new t(this.element,{fixPointSelf:!0}))),this.element.hasClass("u-header--has-hidden-element--xl")&&n.xl.push(new o(this.element)),this.element.hasClass("u-header--sticky-top--xl")&&(this.element.hasClass("u-header--show-hide--xl")?n.xl.push(new u(this.element)):this.element.hasClass("u-header--toggle-section--xl")&&n.xl.push(new e(this.element)),this.element.hasClass("u-header--change-logo--xl")&&n.xl.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--xl")&&n.xl.push(new i(this.element))),this.element.hasClass("u-header--floating--xl")&&n.xl.push(new s(this.element)),this.element.hasClass("u-header--invulnerable--xl")&&n.xl.push(new h(this.element)),this.element.hasClass("u-header--sticky-bottom--xl")&&(this.element.hasClass("u-header--change-appearance--xl")&&n.xl.push(new i(this.element)),this.element.hasClass("u-header--change-logo--xl")&&n.xl.push(new t(this.element))),(this.element.hasClass("u-header--abs-top--xl")||this.element.hasClass("u-header--static--xl"))&&(this.element.hasClass("u-header--show-hide--xl")&&n.xl.push(new r(this.element)),this.element.hasClass("u-header--change-logo--xl")&&n.xl.push(new t(this.element)),this.element.hasClass("u-header--change-appearance--xl")&&n.xl.push(new i(this.element))),(this.element.hasClass("u-header--abs-bottom--xl")||this.element.hasClass("u-header--abs-top-2nd-screen--xl"))&&(n.xl.push(new f(this.element)),this.element.hasClass("u-header--change-appearance--xl")&&n.xl.push(new i(this.element,{fixPointSelf:!0})),this.element.hasClass("u-header--change-logo--xl")&&n.xl.push(new t(this.element,{fixPointSelf:!0}))),n}},fixMediaDifference:function(n){if(n&&n.length&&n.filter('[class*="u-header--side"]').length){var t;n.hasClass("u-header--side-left--xl")||n.hasClass("u-header--side-right--xl")?(t=n.find(".navbar-expand-xl"),t.length&&t.removeClass("navbar-expand-xl").addClass("navbar-expand-lg")):n.hasClass("u-header--side-left--lg")||n.hasClass("u-header--side-right--lg")?(t=n.find(".navbar-expand-lg"),t.length&&t.removeClass("navbar-expand-lg").addClass("navbar-expand-md")):n.hasClass("u-header--side-left--md")||n.hasClass("u-header--side-right--md")?(t=n.find(".navbar-expand-md"),t.length&&t.removeClass("navbar-expand-md").addClass("navbar-expand-sm")):(n.hasClass("u-header--side-left--sm")||n.hasClass("u-header--side-right--sm"))&&(t=n.find(".navbar-expand-sm"),t.length&&t.removeClass("navbar-expand-sm").addClass("navbar-expand"))}}};l.prototype.checkViewport=function(){var t=n(window);return t.width()>this.config.breakpointsMap.sm&&this.observers.sm.length?(this.prevViewport=this.viewport,this.viewport="sm",this):t.width()>this.config.breakpointsMap.md&&this.observers.md.length?(this.prevViewport=this.viewport,this.viewport="md",this):t.width()>this.config.breakpointsMap.lg&&this.observers.lg.length?(this.prevViewport=this.viewport,this.viewport="lg",this):t.width()>this.config.breakpointsMap.xl&&this.observers.xl.length?(this.prevViewport=this.viewport,this.viewport="xl",this):(this.prevViewport&&(this.prevViewport=this.viewport),this.viewport="xs",this)};l.prototype.notify=function(){return this.prevViewport&&(this.observers[this.prevViewport].forEach(function(n){n.destroy()}),this.prevViewport=null),this.observers[this.viewport].forEach(function(n){n.check()}),this};l.prototype.update=function(){for(var n in this.observers)this.observers[n].forEach(function(n){n.destroy()});return this.prevViewport=null,this.observers[this.viewport].forEach(function(n){n.reinit()}),this};f.prototype.init=function(){return this.defaultState=!0,this.offset=this.element.offset().top,this};f.prototype.destroy=function(){return this.toDefaultState(),this};f.prototype.check=function(){var i=n(window),t=i.scrollTop();return t>this.offset&&this.defaultState?this.changeState():t this.delta?"down":"up",this.delta=n(window).scrollTop(),this};u.prototype.toDefaultState=function(){switch(this.effect){case"slide":this.element.removeClass("u-header--moved-up");break;case"fade":this.element.removeClass("u-header--faded");break;default:this.element.removeClass("u-header--invisible")}return this.defaultState=!this.defaultState,this};u.prototype.changeState=function(){switch(this.effect){case"slide":this.element.addClass("u-header--moved-up");break;case"fade":this.element.addClass("u-header--faded");break;default:this.element.addClass("u-header--invisible")}return this.defaultState=!this.defaultState,this};u.prototype.check=function(){var t=n(window).scrollTop();return this.checkDirection(),t>=this.offset&&this.defaultState&&this.direction=="down"?this.changeState():this.defaultState||this.direction!="up"||this.toDefaultState(),this};r.prototype.init=function(){return!this.defaultState&&n(window).scrollTop()>this.offset?this:(this.defaultState=!0,this.transitionDuration=parseFloat(getComputedStyle(this.element.get(0))["transition-duration"],10)*1e3,this.offset=isFinite(this.element.data("header-fix-moment"))&&this.element.data("header-fix-moment")>this.element.outerHeight()?this.element.data("header-fix-moment"):this.element.outerHeight()+100,this.effect=this.element.data("header-fix-effect")?this.element.data("header-fix-effect"):"show-hide",this)};r.prototype.destroy=function(){return!this.defaultState&&n(window).scrollTop()>this.offset?this:(this.element.removeClass("u-header--untransitioned"),this._removeCap(),this)};r.prototype._insertCap=function(){this.element.addClass("js-header-fix-moment u-header--untransitioned");this.element.hasClass("u-header--static")&&n("html").css("padding-top",this.element.outerHeight());switch(this.effect){case"fade":this.element.addClass("u-header--faded");break;case"slide":this.element.addClass("u-header--moved-up");break;default:this.element.addClass("u-header--invisible")}this.capInserted=!0};r.prototype._removeCap=function(){var t=this;this.element.removeClass("js-header-fix-moment");this.element.hasClass("u-header--static")&&n("html").css("padding-top",0);this.removeCapTimeOutId&&clearTimeout(this.removeCapTimeOutId);this.removeCapTimeOutId=setTimeout(function(){t.element.removeClass("u-header--moved-up u-header--faded u-header--invisible")},10);this.capInserted=!1};r.prototype.check=function(){var t=n(window);t.scrollTop()>this.element.outerHeight()&&!this.capInserted?this._insertCap():t.scrollTop()<=this.element.outerHeight()&&this.capInserted&&this._removeCap();t.scrollTop()>this.offset&&this.defaultState?this.changeState():t.scrollTop()<=this.offset&&!this.defaultState&&this.toDefaultState()};r.prototype.changeState=function(){this.element.removeClass("u-header--untransitioned");this.animationTimeoutId&&clearTimeout(this.animationTimeoutId);switch(this.effect){case"fade":this.element.removeClass("u-header--faded");break;case"slide":this.element.removeClass("u-header--moved-up");break;default:this.element.removeClass("u-header--invisible")}this.defaultState=!this.defaultState};r.prototype.toDefaultState=function(){var n=this;this.animationTimeoutId=setTimeout(function(){n.element.addClass("u-header--untransitioned")},this.transitionDuration);switch(this.effect){case"fade":this.element.addClass("u-header--faded");break;case"slide":this.element.addClass("u-header--moved-up");break;default:this.element.addClass("u-header--invisible")}this.defaultState=!this.defaultState};t.prototype.init=function(){return this.element.hasClass("js-header-fix-moment")&&(this.hasFixedClass=!0,this.element.removeClass("js-header-fix-moment")),this.offset=this.config.fixPointSelf?this.element.offset().top:isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):0,this.hasFixedClass&&(this.hasFixedClass=!1,this.element.addClass("js-header-fix-moment")),this.imgs=this.element.find(".u-header__logo-img"),this.defaultState=!0,this.mainLogo=this.imgs.filter(".u-header__logo-img--main"),this.additionalLogo=this.imgs.not(".u-header__logo-img--main"),!this.imgs.length,this};t.prototype.destroy=function(){return this.toDefaultState(),this};t.prototype.check=function(){var t=n(window);return this.imgs.length?(t.scrollTop()>this.offset&&this.defaultState?this.changeState():t.scrollTop()<=this.offset&&!this.defaultState&&this.toDefaultState(),this):this};t.prototype.changeState=function(){return this.mainLogo.length&&this.mainLogo.removeClass("u-header__logo-img--main"),this.additionalLogo.length&&this.additionalLogo.addClass("u-header__logo-img--main"),this.defaultState=!this.defaultState,this};t.prototype.toDefaultState=function(){return this.mainLogo.length&&this.mainLogo.addClass("u-header__logo-img--main"),this.additionalLogo.length&&this.additionalLogo.removeClass("u-header__logo-img--main"),this.defaultState=!this.defaultState,this};e.prototype.init=function(){return this.offset=isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):5,this.section=this.element.find(".u-header__section--hidden"),this.defaultState=!0,this.sectionHeight=this.section.length?this.section.outerHeight():0,this};e.prototype.destroy=function(){return this.section.length&&this.element.css({"margin-top":0}),this};e.prototype.check=function(){if(!this.section.length)return this;var i=n(window),t=i.scrollTop();return t>this.offset&&this.defaultState?this.changeState():t<=this.offset&&!this.defaultState&&this.toDefaultState(),this};e.prototype.changeState=function(){var n=this;return this.element.stop().animate({"margin-top":n.sectionHeight*-1-1}),this.defaultState=!this.defaultState,this};e.prototype.toDefaultState=function(){return this.element.stop().animate({"margin-top":0}),this.defaultState=!this.defaultState,this};i.prototype.init=function(){return this.element.hasClass("js-header-fix-moment")&&(this.hasFixedClass=!0,this.element.removeClass("js-header-fix-moment")),this.offset=this.config.fixPointSelf?this.element.offset().top:isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):5,this.hasFixedClass&&(this.hasFixedClass=!1,this.element.addClass("js-header-fix-moment")),this.sections=this.element.find("[data-header-fix-moment-classes]"),this.defaultState=!0,this};i.prototype.destroy=function(){return this.toDefaultState(),this};i.prototype.check=function(){if(!this.sections.length)return this;var i=n(window),t=i.scrollTop();return t>this.offset&&this.defaultState?this.changeState():t<=this.offset&&!this.defaultState&&this.toDefaultState(),this};i.prototype.changeState=function(){return this.sections.each(function(t,i){var r=n(i),u=r.data("header-fix-moment-classes"),f=r.data("header-fix-moment-exclude");(u||f)&&(r.addClass(u+" js-header-change-moment"),r.removeClass(f))}),this.defaultState=!this.defaultState,this};i.prototype.toDefaultState=function(){return this.sections.each(function(t,i){var r=n(i),u=r.data("header-fix-moment-classes"),f=r.data("header-fix-moment-exclude");(u||f)&&(r.removeClass(u+" js-header-change-moment"),r.addClass(f))}),this.defaultState=!this.defaultState,this};o.prototype.init=function(){return this.offset=isFinite(this.element.data("header-fix-moment"))?this.element.data("header-fix-moment"):5,this.elements=this.element.find(".u-header--hidden-element"),this.defaultState=!0,this};o.prototype.destroy=function(){return this.toDefaultState(),this};o.prototype.check=function(){if(!this.elements.length)return this;var i=n(window),t=i.scrollTop();return t>this.offset&&this.defaultState?this.changeState():t<=this.offset&&!this.defaultState&&this.toDefaultState(),this};o.prototype.changeState=function(){return this.config.animated?this.elements.stop().slideUp():this.elements.hide(),this.defaultState=!this.defaultState,this};o.prototype.toDefaultState=function(){return this.config.animated?this.elements.stop().slideDown():this.elements.show(),this.defaultState=!this.defaultState,this};s.prototype.init=function(){return this.offset=this.element.offset().top,this.sections=this.element.find(".u-header__section"),this.defaultState=!0,this};s.prototype.destroy=function(){return this.toDefaultState(),this};s.prototype.check=function(){var i=n(window),t=i.scrollTop();return t>this.offset&&this.defaultState?this.changeState():t<=this.offset&&!this.defaultState&&this.toDefaultState(),this};s.prototype.changeState=function(){return this.element.addClass("js-header-fix-moment").addClass(this.element.data("header-fix-moment-classes")).removeClass(this.element.data("header-fix-moment-exclude")),this.sections.length&&this.sections.each(function(t,i){var r=n(i);r.addClass(r.data("header-fix-moment-classes")).removeClass(r.data("header-fix-moment-exclude"))}),this.defaultState=!this.defaultState,this};s.prototype.toDefaultState=function(){return this.element.removeClass("js-header-fix-moment").removeClass(this.element.data("header-fix-moment-classes")).addClass(this.element.data("header-fix-moment-exclude")),this.sections.length&&this.sections.each(function(t,i){var r=n(i);r.removeClass(r.data("header-fix-moment-classes")).addClass(r.data("header-fix-moment-exclude"))}),this.defaultState=!this.defaultState,this};h.prototype.check=function(){return this};h.prototype.init=function(){return this};h.prototype.destroy=function(){return this};h.prototype.changeState=function(){return this};h.prototype.toDefaultState=function(){return this}}(jQuery),function(n){"use strict";n.HSCore.helpers.HSHamburgers={init:function(t){if(t&&n(t).length){var r=n(t),i;r.each(function(){var r=n(this);r.closest("button").length?r.closest("button").get(0).addEventListener("click",function(r){var u=n(this),f=u.find(t);i&&clearTimeout(i);i=setTimeout(function(){f.toggleClass("is-active")},10);r.preventDefault()},!1):r.get(0).addEventListener("click",function(t){var r=n(this);i&&clearTimeout(i);i=setTimeout(function(){r.toggleClass("is-active")},10);t.preventDefault()},!1)})}}}}(jQuery),function(n){"use strict";n.HSCore.components.HSPopup={_baseConfig:{parentEl:"html",baseClass:"u-fancybox-theme",slideClass:"u-fancybox-slide",speed:1e3,slideSpeedCoefficient:1,infobar:!1,fullScreen:!0,thumbs:!0,closeBtn:!0,baseTpl:'
Baidu
map