1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($){$(document).ready(function(){$('.amap-block').each(function(){var adcode=$(this).data('adcode');var mapId=$(this).id?$(this).id:'amap-'+adcode;var lang=$(this).data('lang')?$(this).data('lang'):'en';var zoom=$(this).data('zoom')?$(this).data('zoom'):12;var level=$(this).data('level')?$(this).data('level'):'city';AMapLoader.load({"key":"2efd9f8bfafa9e8f17d93443a0cd0d3c","version":"1.4.15","plugins":['AMap.Scale','AMap.DistrictSearch','AMap.ToolBar'],"AMapUI":{"version":'1.1',"plugins":['overlay/SimpleMarker']}}).then(function(AMap){var map=new AMap.Map(mapId,{resizeEnable:true,lang,zoom});map.addControl(new AMap.Scale());map.addControl(new AMap.ToolBar());var district=null;var polygons=[];function drawBounds(){if(!district){var opts={subdistrict:0,extensions:'all',level:'district'};district=new AMap.DistrictSearch(opts);}district.setLevel(level);district.search(adcode.toString(),function(status,result){map.remove(polygons);polygons=[];var bounds=result.districtList[0].boundaries;if(bounds)for(var i=0,l=bounds.length;i<l;i++){var polygon=new AMap.Polygon({strokeWeight:1,path:bounds[i],fillOpacity:0.4,fillColor:'#80d8ff',strokeColor:'#0091ea'});polygons.push(polygon);}map.add(polygons);map.setFitView(polygons);});}drawBounds();}).catch(function(e){console.error(e);});});});})(jQuery);; 3const hamburger=document.querySelector(".hamburger");const navMenu=document.querySelector(".nav-menu");const searchRegion=document.querySelector(".search-content");const searchSwitcher=document.querySelector(".search-switcher");hamburger.addEventListener("click",()=>{hamburger.classList.toggle("active");navMenu.classList.toggle("active");let menuOpen=navMenu.classList.contains("active");let newMenuOpenStatus=menuOpen;hamburger.setAttribute("aria-expanded",newMenuOpenStatus);});document.querySelectorAll(".nav-link").forEach((n)=>n.addEventListener("click",()=>{hamburger.classList.remove("active");navMenu.classList.remove("active");}));document.addEventListener('click',function(event){if(!navMenu.contains(event.target)&&!hamburger.contains(event.target)){hamburger.classList.remove("active");navMenu.classList.remove("active");}if(!searchRegion.contains(event.target)&&!searchSwitcher.contains(event.target))searchRegion.classList.remove("open");});searchSwitcher.addEventListener("click",()=>{searchRegion.classList.toggle("open");});const header=document.querySelector(".bsl-sticky-menu");const toggleClass="is-sticky";window.addEventListener("scroll",()=>{const currentScroll=window.pageYOffset;const bodyPaddingTop=window.getComputedStyle(document.body).paddingTop;if(currentScroll>150){if(document.body.classList.contains('toolbar-fixed'))header.style.top=bodyPaddingTop;header.classList.add(toggleClass);}else{header.classList.remove(toggleClass);header.style.top='';}});(function(){const accordions=[];function initAccordion(root){const collapseOthers=root.dataset.collapseOthers==='true';const toggleIconOnly=root.dataset.toggleIconOnly==='true';const disableWidth=parseInt(root.dataset.disableIfWidthOver||'0');const items=root.querySelectorAll('.accordion-item');items.forEach((item)=>{const header=item.querySelector('.accordion-header');const icon=item.querySelector('.accordion-icon');const body=item.querySelector('.accordion-body');const level=item.dataset.level;const updateAncestorHeights=(el)=>{let parentItem=el.closest('.accordion-item')?.parentElement?.closest('.accordion-item');while(parentItem){const body=parentItem.querySelector('.accordion-body');if(parentItem.classList.contains('active')&&body)body.style.height='';parentItem=parentItem.closest('.accordion-item')?.parentElement?.closest('.accordion-item');}};const expand=(el)=>{el.classList.add('active');const body=el.querySelector('.accordion-body');body.style.height=body.scrollHeight+'px';updateAncestorHeights(el);};const collapse=(el)=>{el.classList.remove('active');const body=el.querySelector('.accordion-body');body.style.height='0';updateAncestorHeights(el);};const toggle=()=>{const isActive=item.classList.contains('active');
3if(!isActive){if(collapseOthers)items.forEach((i)=>{if(i!==item&&i.dataset.level===level)collapse(i);});expand(item);}else collapse(item);};const clickTarget=toggleIconOnly?icon:header;if(clickTarget)clickTarget.addEventListener('click',toggle);});accordions.push({root,disableWidth});}function refreshAccordions(){accordions.forEach(({root,disableWidth})=>{const shouldDisable=window.innerWidth>disableWidth;root.classList.toggle('accordion-disabled',shouldDisable);root.querySelectorAll('.accordion-item').forEach((item)=>{const body=item.querySelector('.accordion-body');if(shouldDisable)body.style.height=null;else if(item.classList.contains('active'))body.style.height=body.scrollHeight+'px';else body.style.height='0';});});}document.addEventListener('DOMContentLoaded',()=>{document.querySelectorAll('[data-accordion]').forEach(initAccordion);refreshAccordions();});window.addEventListener('resize',refreshAccordions);})();(function(f){if(typeof exports==="object"&&typeof module!=="undefined")module.exports=f();else if(typeof define==="function"&&define.amd)define([],f);else{var g;if(typeof window!=="undefined")g=window;else if(typeof global!=="undefined")g=global;else if(typeof self!=="undefined")g=self;else g=this;g.ResponsiveAutoHeight=f();}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a;}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r);},p,p.exports,r,e,n,t);}return n[i].exports;}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o;}return r;})()({1:[function(require,module,exports){'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value" in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();var _util=require('./util');function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2;}else return Array.from(arr);}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function");}var ResponsiveAutoHeight=function(){function ResponsiveAutoHeight(selector,options){var _this=this;_classCallCheck(this,ResponsiveAutoHeight);this.selector=selector;this.elements=typeof selector==='string'?document.querySelectorAll(selector):selector;this.options=options;if(this.elements.length>0){window.addEventListener('resize',function(){_this.run();});this.run();}this.run();}_createClass(ResponsiveAutoHeight,[{key:'recalc',value:function recalc(){this.elements=document.querySelectorAll(this.selector);this.run();}},{key:'makeGroups',value:function makeGroups(elements){var group=[];[].forEach.call(elements,function(element){element.style.height='1px';element.style.overflow='hidden';});var idx=0;var height=(0,_util.getOffset)(elements[0]).top;group[0]=[];[].forEach.call(elements,function(element){if((0,_util.getOffset)(element).top!==height){height=(0,_util.getOffset)(element).top;idx+=1;group[idx]=[];}group[idx].push(element);});[].forEach.call(elements,function(element){element.style.height='';element.style.overflow='';});return group;}},{key:'autoHeight',value:function autoHeight(group){var heights=group.map(function(element){var computedStyle=getComputedStyle(element);var boxSizing=computedStyle.boxSizing;if(boxSizing==='border-box')return element.offsetHeight;return element.offsetHeight-parseFloat(computedStyle.paddingTop)-parseFloat(computedStyle.paddingBottom);});var maxHeight=Math.max.apply(Math,_toConsumableArray(heights));group.forEach(function(element){element.style.height=maxHeight+'px';});}},{key:'run',value:function run(){var _this2=this;var elements=this.elements;if(elements.length===0)return;var groups=this.makeGroups(elements);groups.forEach(function(group){_this2.autoHeight(group);});}}]);return ResponsiveAutoHeight;}();exports.default=ResponsiveAutoHeight;module.exports=exports['default'];},{"./util":2}],2:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var getScrollTop=function getScrollTop(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;};var getScrollLeft=function getScrollLeft(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;};var getOffset=exports.getOffset=function getOffset(el){var rect=el.getBoundingClientRect();return {top:rect.top+getScrollTop(),left:rect.left+getScrollLeft()};};},{}]},{},[1])(1);});new ResponsiveAutoHeight('.equal-height');;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.