function ConvertPinyinOnlyShengMu(n){for(var u,t,r,e=n.length,i="",o=new RegExp("[a-zA-Z0-9- ]"),f=0;f0;)i=i.replace("--","-");return i}function ConvertPinyin(n){for(var i,u,f=n.length,t="",e=new RegExp("[a-zA-Z0-9- ]"),r=0;r0;)t=t.replace("--","-");return t}function arraySearch(n){for(var t in PinYin)if(PinYin[t].indexOf(n)!=-1)return ucfirst(t);return!1}function ucfirst(n){if(n.length>0){var t=n.substr(0,1).toLowerCase(),i=n.substr(1,n.length);return t+i}}function makePy(n){var i,t,r,u;if(typeof n!="string")throw new Error(-1,"函数makePy需要字符串类型参数!");for(i=[],t=0,r=n.length;t40869||t<19968?n:oMultiDiff[t]?oMultiDiff[t]:strChineseFirstPY.charAt(t-19968)}function mkRslt(n){for(var r,o,t,s,u,f,i=[""],e=0,h=n.length;e',n,"<\/style>"].join(""),o.id=f,(h?o:s).innerHTML+=l,s.appendChild(o),h||(s.style.background="",s.style.overflow="hidden",v=u.style.overflow,u.style.overflow="hidden",u.appendChild(s)),a=i(o,n),h?o.parentNode.removeChild(o):(s.parentNode.removeChild(s),u.style.overflow=v),!!a},d=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t).matches:(w("@media "+t+" { #"+f+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},l={}.hasOwnProperty,a,s;a=!e(l,"undefined")&&!e(l.call,"undefined")?function(n,t){return l.call(n,t)}:function(n,t){return t in n&&e(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=c.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(c.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(c.call(arguments)))},r});for(s in h)a(h,s)&&(o=s.toLowerCase(),r[o]=h[s](),p.push((r[o]?"":"no-")+o));return r.addTest=function(n,t){if(typeof n=="object")for(var f in n)a(n,f)&&r.addTest(f,n[f]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof enableClasses!="undefined"&&enableClasses&&(u.className+=" "+(t?"":"no-")+n);r[n]=t}return r},v(""),y=k=null,r._version="2.7.1",r.mq=d,r.testStyles=w,r}(this,this.document),function(){var g,st,ht,ct,lt,at,vt,yt,c,pt,wt,nt,bt,kt,e,dt,i,l,a,tt,o,v,gt,it,rt,u,ni,r,n,y,ut,ti,s,p,t,f,ft,w,b,et,k,d,ii,ri,ot,oi,ui,h=[].slice,fi={}.hasOwnProperty,ei=function(n,t){function r(){this.constructor=n}for(var i in t)fi.call(t,i)&&(n[i]=t[i]);return r.prototype=t.prototype,n.prototype=new r,n.__super__=t.prototype,n},si=[].indexOf||function(n){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===n)return t;return-1};for(tt={catchupTime:500,initialRate:.03,minTime:500,ghostTime:500,maxProgressPerFrame:10,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!1}},r=function(){var n;return null!=(n="undefined"!=typeof performance&&null!==performance?"function"==typeof performance.now?performance.now():void 0:void 0)?n:+new Date},y=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,a=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==y&&(y=function(n){return setTimeout(n,50)},a=function(n){return clearTimeout(n)}),ti=function(n){var t,i;return t=r(),(i=function(){var u;return u=r()-t,u>=33?(t=r(),n(u,function(){return y(i)})):setTimeout(i,33-u)})()},ut=function(){var i,t,n;return n=arguments[0],t=arguments[1],i=3<=arguments.length?h.call(arguments,2):[],"function"==typeof n[t]?n[t].apply(n,i):n[t]},o=function(){var n,t,r,f,i,u,e;for(t=arguments[0],f=2<=arguments.length?h.call(arguments,1):[],u=0,e=f.length;e>u;u++)if(r=f[u])for(n in r)fi.call(r,n)&&(i=r[n],null!=t[n]&&"object"==typeof t[n]&&null!=i&&"object"==typeof i?o(t[n],i):t[n]=i);return t},dt=function(n){var i,r,u,t,f;for(r=i=0,t=0,f=n.length;f>t;t++)u=n[t],r+=Math.abs(u),i++;return r/i},gt=function(n,t){var i,r,u;if(null==n&&(n="options"),null==t&&(t=!0),u=document.querySelector("[data-pace-"+n+"]")){if(i=u.getAttribute("data-pace-"+n),!t)return i;try{return JSON.parse(i)}catch(f){return r=f,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",r):void 0}}},vt=function(){function n(){}return n.prototype.on=function(n,t,i,r){var u;return null==r&&(r=!1),null==this.bindings&&(this.bindings={}),null==(u=this.bindings)[n]&&(u[n]=[]),this.bindings[n].push({handler:t,ctx:i,once:r})},n.prototype.once=function(n,t,i){return this.on(n,t,i,!0)},n.prototype.off=function(n,t){var i,u,r;if(null!=(null!=(u=this.bindings)?u[n]:void 0)){if(null==t)return delete this.bindings[n];for(i=0,r=[];ik;k++)t=ot[k],n[t]===!0&&(n[t]=tt[t]);c=function(n){function t(){return oi=t.__super__.constructor.apply(this,arguments)}return ei(t,n),t}(Error);st=function(){function t(){this.progress=0}return t.prototype.getElement=function(){var t;if(null==this.el){if(t=document.querySelector(n.target),!t)throw new c;this.el=document.createElement("div");this.el.className="pace pace-active";document.body.className=document.body.className.replace("pace-done","");document.body.className+=" pace-running";this.el.innerHTML='
\n
<\/div>\n<\/div>\n
<\/div>';null!=t.firstChild?t.insertBefore(this.el,t.firstChild):t.appendChild(this.el)}return this.el},t.prototype.finish=function(){var n;return n=this.getElement(),n.className=n.className.replace("pace-active",""),n.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done "},t.prototype.update=function(n){return this.progress=n,this.render()},t.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(n){c=n}return this.el=void 0},t.prototype.render=function(){var t,i;return null==document.querySelector(n.target)?!1:(t=this.getElement(),t.children[0].style.width=""+this.progress+"%",(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(t.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?i="99":(i=this.progress<10?"0":"",i+=0|this.progress),t.children[0].setAttribute("data-progress",""+i)),this.lastRenderedProgress=this.progress)},t.prototype.done=function(){return this.progress>=100},t}();yt=function(){function n(){this.bindings={}}return n.prototype.trigger=function(n,t){var f,i,e,r,u;if(null!=this.bindings[n]){for(r=this.bindings[n],u=[],i=0,e=r.length;e>i;i++)f=r[i],u.push(f.call(this,t));return u}},n.prototype.on=function(n,t){var i;return null==(i=this.bindings)[n]&&(i[n]=[]),this.bindings[n].push(t)},n}();et=window.XMLHttpRequest;b=window.XDomainRequest;w=window.WebSocket;v=function(n,t){var f,i,r,u=[];for(i in t.prototype)try{r=t.prototype[i];null==n[i]&&"function"!=typeof r?u.push(n[i]=r):u.push(void 0)}catch(e){f=e}return u};u=[];Pace.ignore=function(){var n,t,i;return t=arguments[0],n=2<=arguments.length?h.call(arguments,1):[],u.unshift("ignore"),i=t.apply(null,n),u.shift(),i};Pace.track=function(){var n,t,i;return t=arguments[0],n=2<=arguments.length?h.call(arguments,1):[],u.unshift("track"),i=t.apply(null,n),u.shift(),i};p=function(t){var i;return(null==t&&(t="GET"),"track"===u[0])?"force":!u.length&&n.ajax&&("socket"===t&&n.ajax.trackWebSockets||(i=t.toUpperCase(),si.call(n.ajax.trackMethods,i)>=0))?!0:!1};pt=function(t){function i(){var t,r=this;i.__super__.constructor.apply(this,arguments);t=function(n){var t;return t=n.open,n.open=function(i,u){return p(i)&&r.trigger("request",{type:i,url:u,request:n}),t.apply(n,arguments)}};window.XMLHttpRequest=function(n){var i;return i=new et(n),t(i),i};v(window.XMLHttpRequest,et);null!=b&&(window.XDomainRequest=function(){var n;return n=new b,t(n),n},v(window.XDomainRequest,b));null!=w&&n.ajax.trackWebSockets&&(window.WebSocket=function(n,t){var i;return i=new w(n,t),p("socket")&&r.trigger("request",{type:"socket",url:n,protocols:t,request:i}),i},v(window.WebSocket,w))}return ei(i,t),i}(yt);d=null;it=function(){return null==d&&(d=new pt),d};it().on("request",function(i){var r,e,u,f;return f=i.type,u=i.request,Pace.running||n.restartOnRequestAfter===!1&&"force"!==p(f)?void 0:(e=arguments,r=n.restartOnRequestAfter||0,"boolean"==typeof r&&(r=0),setTimeout(function(){var h,n,o,s,i,r;if(h="socket"===f?u.readyState<2:0<(s=u.readyState)&&4>s){for(Pace.restart(),i=Pace.sources,r=[],n=0,o=i.length;o>n;n++){if(t=i[n],t instanceof g){t.watch.apply(t,e);break}r.push(void 0)}return r}},r))});g=function(){function n(){var n=this;this.elements=[];it().on("request",function(){return n.watch.apply(n,arguments)})}return n.prototype.watch=function(n){var t,i,r;return r=n.type,t=n.request,i="socket"===r?new bt(t):new kt(t),this.elements.push(i)},n}();kt=function(){function n(n){var f,o,i,e,r,u,t=this;if(this.progress=0,null!=window.ProgressEvent)for(o=null,n.addEventListener("progress",function(n){return t.progress=n.lengthComputable?100*n.loaded/n.total:t.progress+(100-t.progress)/2}),u=["load","abort","timeout","error"],i=0,e=u.length;e>i;i++)f=u[i],n.addEventListener(f,function(){return t.progress=100});else r=n.onreadystatechange,n.onreadystatechange=function(){var i;return 0===(i=n.readyState)||4===i?t.progress=100:3===n.readyState&&(t.progress=50),"function"==typeof r?r.apply(null,arguments):void 0}}return n}();bt=function(){function n(n){var r,t,u,i,f=this;for(this.progress=0,i=["error","open"],t=0,u=i.length;u>t;t++)r=i[t],n.addEventListener(r,function(){return f.progress=100})}return n}();ct=function(){function n(n){var r,t,u,i;for(null==n&&(n={}),this.elements=[],null==n.selectors&&(n.selectors=[]),i=n.selectors,t=0,u=i.length;u>t;t++)r=i[t],this.elements.push(new lt(r))}return n}();lt=function(){function t(n){this.selector=n;this.progress=0;this.check()}return t.prototype.check=function(){var t=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return t.check()},n.elements.checkInterval)},t.prototype.done=function(){return this.progress=100},t}();ht=function(){function n(){var n,i,t=this;this.progress=null!=(i=this.states[document.readyState])?i:100;n=document.onreadystatechange;document.onreadystatechange=function(){return null!=t.states[document.readyState]&&(t.progress=t.states[document.readyState]),"function"==typeof n?n.apply(null,arguments):void 0}}return n.prototype.states={loading:0,interactive:50,complete:100},n}();at=function(){function t(){var i,f,u,e,t,o=this;this.progress=0;i=0;t=[];e=0;u=r();f=setInterval(function(){var s;return s=r()-u-50,u=r(),t.push(s),t.length>n.eventLag.sampleCount&&t.shift(),i=dt(t),++e>=n.eventLag.minSamples&&i=100&&(this.done=!0),i===this.last?this.sinceLastUpdate+=t:(this.sinceLastUpdate&&(this.rate=(i-this.last)/this.sinceLastUpdate),this.catchup=(i-this.progress)/n.catchupTime,this.sinceLastUpdate=0,this.last=i),i>this.progress&&(this.progress+=this.catchup*t),r=1-Math.pow(this.progress/100,n.easeFactor),this.progress+=r*this.rate*t,this.progress=Math.min(this.lastProgress+n.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},t}();f=null;s=null;i=null;ft=null;e=null;l=null;Pace.running=!1;rt=function(){if(n.restartOnPushState)return Pace.restart()};null!=window.history.pushState&&(ri=window.history.pushState,window.history.pushState=function(){return rt(),ri.apply(window.history,arguments)});null!=window.history.replaceState&&(ui=window.history.replaceState,window.history.replaceState=function(){return rt(),ui.apply(window.history,arguments)});wt={ajax:g,elements:ct,document:ht,eventLag:at};(ni=function(){var r,u,e,c,l,o,a,h;for(Pace.sources=f=[],o=["ajax","elements","document","eventLag"],u=0,c=o.length;c>u;u++)r=o[u],n[r]!==!1&&f.push(new wt[r](n[r]));for(h=null!=(a=n.extraSources)?a:[],e=0,l=h.length;l>e;e++)t=h[e],f.push(new t(n));return Pace.bar=i=new st,s=[],ft=new nt})();Pace.stop=function(){return Pace.trigger("stop"),Pace.running=!1,i.destroy(),l=!0,null!=e&&("function"==typeof a&&a(e),e=null),ni()};Pace.restart=function(){return Pace.trigger("restart"),Pace.stop(),Pace.start()};Pace.go=function(){return Pace.running=!0,i.render(),l=!1,e=ti(function(u,e){var d,v,y,g,p,o,h,et,c,a,tt,w,b,k,it,rt,ut;for(et=100-i.progress,v=w=0,y=!0,o=b=0,it=f.length;it>b;o=++b)for(t=f[o],a=null!=s[o]?s[o]:s[o]=[],p=null!=(ut=t.elements)?ut:[t],h=k=0,rt=p.length;rt>k;h=++k)g=p[h],c=null!=a[h]?a[h]:a[h]=new nt(g),y&=c.done,c.done||(v++,w+=c.tick(u));return d=w/v,i.update(ft.tick(u,d)),tt=r(),i.done()||y||l?(i.update(100),Pace.trigger("done"),setTimeout(function(){return i.finish(),Pace.running=!1,Pace.trigger("hide")},Math.max(n.ghostTime,Math.min(n.minTime,r()-tt)))):e()})};Pace.start=function(t){o(n,t);Pace.running=!0;try{i.render()}catch(r){c=r}return document.querySelector(".pace")?(Pace.trigger("start"),Pace.go()):setTimeout(Pace.start,50)};"function"==typeof define&&define.amd?define(function(){return Pace}):"object"==typeof exports?module.exports=Pace:n.startOnPageLoad&&Pace.start()}.call(this);!function(n){var o,p=n(window),r={},i=[],f=[],e=!1,s=!1,h=null,c=null,l=null,a=null,v="_open",w="_close",y=null,t={_init:function(r){var u=n(r),e=u.data("popupoptions");f[r.id]=!1;i[r.id]=0;u.data("popup-initialized")||(u.attr("data-popup-initialized","true"),t._initonce(r));e.autoopen&&setTimeout(function(){t.show(r,0)},0)},_initonce:function(i){var u,s=n("body"),r=$el.data("popupoptions"),h,c,l,f,e,y;(a=parseInt(s.css("margin-right"),10),"tooltip"==r.type&&(r.background=!1,r.scrolllock=!1),r.scrolllock)&&"undefined"==typeof o&&(h=n('
<\/div>').appendTo("body"),c=h.children(),o=c.innerWidth()-c.height(99).innerWidth(),h.remove());($el.attr("id")||$el.attr("id","j-popup-"+parseInt(1e8*Math.random())),$el.addClass("popup_content"),s.prepend(i),$el.wrap('