/** 3.0.0-alpha.3 | MIT Licensed */!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).layui=t()}(this,function(){"use strict";var e,t=window.document,n=window.location,i={timeout:10,debug:!1,version:!1},a={modules:{},status:{},event:{},callback:{}},r=function(){this.v="3.0.0-alpha.3"},o=window.LAYUI_GLOBAL||{},l=(e=t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()?t.currentScript.src:function(){for(var e,n=t.getElementsByTagName("script"),i=n.length-1,a=i;a>0;a--)if("interactive"===n[a].readyState){e=n[a].src;break}return e||n[i].src}(),i.dir=o.dir||e.substring(0,e.lastIndexOf("/")+1)),s=function(e,t){e="[Layui warn]: "+e,/warn|error/.test((t=t||"warn").trim())&&(t="warn"),window.console[t](e)},c=Object.create(null),d=function(e,t){c._size&&c._size>100&&((c=Object.create(null))._size=0),c[e]||(c[e]=!0,c._size=(c._size||0)+1,s(e,t))},u=i.builtin={lay:"lay",layer:"layer",laydate:"laydate",laypage:"laypage",laytpl:"laytpl",form:"form",upload:"upload",dropdown:"dropdown",transfer:"transfer",tree:"tree",table:"table",treeTable:"treeTable",tabs:"tabs",tab:"tab",nav:"nav",breadcrumb:"breadcrumb",progress:"progress",collapse:"collapse",element:"element",rate:"rate",colorpicker:"colorpicker",slider:"slider",carousel:"carousel",flow:"flow",util:"util",code:"code",jquery:"jquery",component:"component",i18n:"i18n",all:"all","layui.all":"layui.all"},f=function(e,t,n){var i=function(e){("load"===e.type||/^(complete|loaded)$/.test((e.currentTarget||e.srcElement).readyState))&&(r(),"function"==typeof t&&t(e))},a=function(e){r(),"function"==typeof n&&n(e)},r=function(){e.detachEvent?e.detachEvent("onreadystatechange",i):(e.removeEventListener("load",i,!1),e.removeEventListener("error",a,!1))};!e.attachEvent||e.attachEvent.toString&&e.attachEvent.toString().indexOf("[native code")<0?(e.addEventListener("load",i,!1),e.addEventListener("error",a,!1)):e.attachEvent("onreadystatechange",i)};r.prototype.cache=Object.assign(i,a),r.prototype.config=function(e){return Object.assign(i,e),this},r.prototype.define=function(e,t){return"function"==typeof e&&(t=e,e=[]),this.use(e,function(){var e=function(e,t){h[e]=t,a.status[e]=!0};return"function"==typeof t&&t(function(n,i){e(n,i),a.callback[n]=function(){t(e)}}),this},null,"define"),this},r.prototype.use=function(e,r,o,c){var d=this,p=i.dir=i.dir?i.dir:l;if(e="string"==typeof e?[e]:"function"==typeof e?(r=e,["all"]):e,i.host||(i.host=(p.match(/\/\/([\s\S]+?)\//)||["//"+n.host+"/"])[0]),!e)return d;window.jQuery&&window.jQuery.fn.on&&(d.each(e,function(t,n){"jquery"===n&&e.splice(t,1)}),h.jquery=h.$=window.jQuery),o=o||[];var y=e[0],m=d.modules[y],v="object"==typeof m,g=function(){o.push(h[y]),e.length>1?d.use(e.slice(1),r,o,c):"function"==typeof r&&function(){if(h.jquery&&"function"==typeof h.jquery&&"define"!==c)return h.jquery(function(){r.apply(h,o)});r.apply(h,o)}()},b=function(){var e=0;!function t(){if(++e>1e3*i.timeout/5)return s(y+" is not a valid module","error");(v?h[y]=window[m.api]:a.status[y])?g():setTimeout(t,5)}()};if(0===e.length||h["layui.all"]&&u[y])return g(),d;var x=v?m.src:m,E=u[y]?p+"modules/":x?"":i.base;x||(x=y);var C,T=E+(x=x.replace(/\s/g,"").replace(/\.js[^/.]*$/,""))+".js";if(!a.modules[y]&&h[y]&&(a.modules[y]=T),a.modules[y])b();else{var w=t.getElementsByTagName("head")[0],k=t.createElement("script");k.async=!0,k.charset="utf-8",k.src=T+((C=!0===i.version?i.v||(new Date).getTime():i.version||"")?"?v="+C:""),w.appendChild(k),f(k,function(){w.removeChild(k),b()},function(){w.removeChild(k)}),a.modules[y]=T}return d},r.prototype.modules=Object.assign({},u),r.prototype.extend=function(e){var t=this,n=i.base||"",a=/^\{\/\}/;for(var r in e=e||{})if(t[r]||t.modules[r])s("the "+r+" module already exists, extend failure");else{var o=e[r];"string"==typeof o&&(a.test(o)&&(n=""),o=(n+o).replace(a,"")),t.modules[r]=o}return t},r.prototype.disuse=function(e){var t=this;return e=t.isArray(e)?e:[e],t.each(e,function(e,n){delete t[n],delete u[n],delete t.modules[n],delete a.status[n],delete a.modules[n]}),t},r.prototype.getStyle=function(e,t){var n=e.currentStyle?e.currentStyle:window.getComputedStyle(e,null);return n.getPropertyValue?n.getPropertyValue(t):n.getAttribute(t.replace(/-(\w)/g,function(e,t){return t?t.toUpperCase():""}))},r.prototype.link=function(e,n,a){var r=this,o=t.getElementsByTagName("head")[0],l="function"==typeof n;if("string"==typeof n&&(a=n),"object"==typeof e){var c="array"===r.type(a);return r.each(e,function(t,i){r.link(i,t===e.length-1&&n,c&&a[t])})}a="layuicss-"+(a=a||e.replace(/^(#|(http(s?)):\/\/|\/\/)|\.|\/|\?.+/g,""));var d=t.getElementById(a);return d||((d=t.createElement("link")).href=e+(i.debug?"?v="+(new Date).getTime():""),d.rel="stylesheet",d.id=a,o.appendChild(d)),"complete"===d.__lay_readyState__?(l&&n(d),r):(f(d,function(){d.__lay_readyState__="complete",l&&n(d)},function(){s(e+" load error","error"),o.removeChild(d)}),r)},r.prototype.addcss=function(e,t,n){return h.link(i.dir+"css/"+e,t,n)},r.prototype.factory=function(e){if(h[e])return"function"==typeof i.callback[e]?i.callback[e]:null},r.prototype.img=function(e,t,n){var i=new Image;if(i.src=e,i.complete)return t(i);i.onload=function(){i.onload=null,"function"==typeof t&&t(i)},i.onerror=function(e){i.onerror=null,"function"==typeof n&&n(e)}},r.prototype.router=r.prototype.hash=function(e){var t={path:[],pathname:[],search:{},hash:((e=e||n.hash).match(/[^#](#.*$)/)||[])[1]||"",href:""};return/^#/.test(e)?(e=e.replace(/^#/,""),t.href=e,e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],this.each(e,function(e,n){/^\w+=/.test(n)?(n=n.split("="),t.search[n[0]]=n[1]):t.path.push(n)}),t.pathname=t.path,t):t},r.prototype.url=function(e){var t,i;return{pathname:(e?((e.match(/\.[^.]+?\/.+/)||[])[0]||"").replace(/^[^/]+/,"").replace(/\?.+/,""):n.pathname).replace(/^\//,"").split("/"),search:(t={},i=(e?((e.match(/\?.+/)||[])[0]||"").replace(/#.+/,""):n.search).replace(/^\?+/,"").split("&"),this.each(i,function(e,n){var i=n.indexOf("="),a=i<0?n.substr(0,n.length):0!==i&&n.substr(0,i);a&&(t[a]=i>0?n.substr(i+1):null)}),t),hash:this.router(e?(e.match(/#.+/)||[])[0]||"/":n.hash)}},r.prototype.data=function(e,t,n){if(e=e||"layui",n=n||localStorage,null===t)return delete n[e];var i;t="object"==typeof t?t:{key:t};try{i=JSON.parse(n[e])}catch{i={}}return"value"in t&&(i[t.key]=t.value),t.remove&&delete i[t.key],n[e]=JSON.stringify(i),t.key?i[t.key]:i},r.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},r.prototype.device=function(e){var t=navigator.userAgent.toLowerCase(),n=function(e){var n=new RegExp(e+"/([^\\s\\_\\-]+)");return(e=(t.match(n)||[])[1])||!1},i={os:/windows/.test(t)?"windows":/linux/.test(t)?"linux":/iphone|ipod|ipad|ios/.test(t)?"ios":/mac/.test(t)?"mac":void 0,ie:!(!window.ActiveXObject&&!("ActiveXObject"in window))&&((t.match(/msie\s(\d+)/)||[])[1]||"11"),weixin:n("micromessenger")};return e&&!i[e]&&(i[e]=n(e)),i.android=/android/.test(t),i.ios="ios"===i.os,i.mobile=i.android||i.ios,i},r.prototype.hint=function(){return{error:s,errorOnce:d}},r.prototype._typeof=r.prototype.type=function(e){return null===e?String(e):"object"==typeof e||"function"==typeof e?(t=(t=Object.prototype.toString.call(e).match(/\s(.+)\]$/)||[])[1]||"Object",new RegExp("\\b(Function|Array|Date|RegExp|Object|Error|Symbol)\\b").test(t)?t.toLowerCase():"object"):typeof e;var t},r.prototype._isArray=r.prototype.isArray=function(e){var t,n=this.type(e);return!(!e||"object"!=typeof e||e===window)&&(t="length"in e&&e.length,"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)},r.prototype.each=function(e,t){var n,i=this,a=function(e,n){return t.call(n[e],e,n[e])};if("function"!=typeof t)return i;if(e=e||[],i.isArray(e))for(n=0;na?1:i(window.innerHeight||m.documentElement.clientHeight)},v.autoIncrementer=function(e,t={}){const{target:n=m.body}=t,i="_LAY_AUTOINCREMENTER_ID_",a=n[i]=n[i]||{};return a[e]=a[e]||0,++a[e]},v.getStyleRules=function(e,t){if(e){var n=e.sheet||e.styleSheet||{},i=n.cssRules||n.rules;return"function"==typeof t&&h.each(i,function(e,n){if(t(n,e))return!0}),i}},v.style=function(e){e=e||{};var t=v.elem("style"),n=e.text||"",i=e.target;if(n){var a;if("styleSheet"in t?(t.setAttribute("type","text/css"),t.styleSheet.cssText=n):t.innerHTML=n,t.id="LAY-STYLE-"+(e.id||(a=v.style.index||0,v.style.index++,"DF-"+a)),i){var r=v(i).find("#"+t.id);r[0]&&r.remove(),v(i).append(t)}return t}},v.position=function(e,t,n){if(t){n=n||{},e!==m&&e!==v("body")[0]||(n.clickType="right");var i,a="right"===n.clickType?{left:(i=n.e||window.event||{}).clientX,top:i.clientY,right:i.clientX,bottom:i.clientY}:e.getBoundingClientRect(),r=t.offsetWidth,o=t.offsetHeight,l=function(e){return e=e?"scrollLeft":"scrollTop",m.body[e]|m.documentElement[e]},s=function(e){return m.documentElement[e?"clientWidth":"clientHeight"]},c="margin"in n?n.margin:5,d=a.left,u=a.bottom;"center"===n.align?d-=(r-e.offsetWidth)/2:"right"===n.align&&(d=d-r+e.offsetWidth),d+r+c>s("width")&&(d=s("width")-r-c),ds()&&(a.top>o+c&&a.top<=s()?u=a.top-o-2*c:n.allowBottomOut||(u=s()-o-2*c)<0&&(u=0));var f=n.position;f&&(t.style.position=f);var p=n.offset?n.offset[0]:0,h=n.offset?n.offset[1]:0;if(t.style.left=d+("fixed"===f?0:l(1))+p+"px",t.style.top=u+("fixed"===f?0:l())+h+"px",!v.hasScrollbar()){var y=t.getBoundingClientRect();!n.SYSTEM_RELOAD&&y.bottom+c>s()&&(n.SYSTEM_RELOAD=!0,setTimeout(function(){v.position(e,t,n)},50))}}},v.options=function(e,t){if(t="object"==typeof t?t:{attr:t},e===m)return{};var n=v(e),i=t.attr||"lay-options",a=n.attr(i);try{return new Function("return "+(a||"{}"))()}catch(e){return h.hint().error(t.errorText||[i+'="'+a+'"',"\n parseerror: "+e].join("\n"),"error"),{}}},v.isTopElem=function(e){var t=[m,v("body")[0]],n=!1;return v.each(t,function(t,i){if(i===e)return n=!0}),n},v.clipboard={writeText:function(e){var t=String(e.text);function n(){var n=m.createElement("textarea");n.value=t,n.style.position="fixed",n.style.opacity="0",n.style.top="0px",n.style.left="0px",m.body.appendChild(n),n.select();try{m.execCommand("copy"),"function"==typeof e.done&&e.done()}catch(t){"function"==typeof e.error&&e.error(t)}finally{n.remove?n.remove():m.body.removeChild(n)}}navigator&&"clipboard"in navigator?navigator.clipboard.writeText(t).then(e.done,function(){n()}):n()}},v.passiveSupported=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}(),v.touchEventsSupported=function(){return"ontouchstart"in window},v.touchSwipe=function(e,t){var n=t,i=v(e)[0],a=!("preventDefault"in n)||n.preventDefault;if(i&&v.touchEventsSupported()){var r={pointerStart:{x:0,y:0},pointerEnd:{x:0,y:0},distanceX:0,distanceY:0,direction:"none",timeStart:null},o=function(e){1===e.touches.length&&(c(),r.timeStart=Date.now(),r.pointerStart.x=r.pointerEnd.x=e.touches[0].clientX,r.pointerStart.y=r.pointerEnd.y=e.touches[0].clientY,r.distanceX=r.distanceY=0,r.direction="none",n.onTouchStart&&n.onTouchStart(e,r))},l=function(e){a&&e.preventDefault(),r.pointerEnd.x=e.touches[0].clientX,r.pointerEnd.y=e.touches[0].clientY,r.distanceX=r.pointerStart.x-r.pointerEnd.x,r.distanceY=r.pointerStart.y-r.pointerEnd.y,Math.abs(r.distanceX)>Math.abs(r.distanceY)?r.direction=r.distanceX>0?"left":"right":r.direction=r.distanceY>0?"up":"down",n.onTouchMove&&n.onTouchMove(e,r)},s=function(e){n.onTouchEnd&&n.onTouchEnd(e,r),d()},c=function(){i.addEventListener("touchmove",l,!!v.passiveSupported&&{passive:!1}),i.addEventListener("touchend",s),i.addEventListener("touchcancel",s)},d=function(){i.removeEventListener("touchmove",l),i.removeEventListener("touchend",s,!!v.passiveSupported&&{passive:!1}),i.removeEventListener("touchcancel",s)};i.__lay_touchswipe_cb_&&i.removeEventListener("touchstart",i.__lay_touchswipe_cb_),i.__lay_touchswipe_cb_=o,i.addEventListener("touchstart",o)}},v.addEvent=m.addEventListener?function(e,t,n,i){e.addEventListener(t,n,i)}:function(e,t,n){var i="_lay_on_"+t,a=function(t){t.target=t.srcElement,n.call(e,t)};a._rawFn=n,e[i]||(e[i]=[]);var r=!1;v.each(e[i],function(e,t){if(t._rawFn===n)return r=!0,!0}),r||(e[i].push(a),e.attachEvent("on"+t,a))},v.removeEvent=m.removeEventListener?function(e,t,n,i){e.removeEventListener(t,n,i)}:function(e,t,n){var i="_lay_on_"+t,a=e[i];if(h.isArray(a)){var r=[];v.each(a,function(i,a){a._rawFn===n?e.detachEvent("on"+t,a):r.push(a)}),e[i]=r}},v.onClickOutside=function(e,t,n){var i=(n=n||{}).event||("onpointerdown"in window?"pointerdown":"mousedown"),a=n.scope||m,r=n.ignore||[],o=!("capture"in n)||n.capture,l=n.detectIframe;function s(e,t,n,i){return e.addEventListener?e.addEventListener(t,n,i):e.attachEvent("on"+t,n),function(){e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent("on"+t,n)}}var c=[s(a,i,function(n){var i=e,a=n.target||n.srcElement,o=function(e){var t=e.composedPath&&e.composedPath()||e.path,n=e.target||e.srcElement;if(null!=t)return t;return[n].concat(function e(t,n){n=n||[];var i=t.parentNode;return i?e(i,n.concat([i])):n}(n))}(n);i&&i!==a&&-1===o.indexOf(i)&&(function(e,t){for(var n=e.target||e.srcElement,i=0;i]|&(?=#?[a-zA-Z0-9]+)/g.test(e+="")?e.replace(/&(?=#?[a-zA-Z0-9]+;?)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,"""):e},v.unescape=function(e){return null==e?"":String(e).replace(/"/g,'"').replace(/'/g,"'").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&")};var C,T,w=(C=0,T=null,function(e){e=e||"id";var t=(new Date).getTime();return t===T?C++:(C=0,T=t),e+"-"+t+"-"+Math.floor(1e4*Math.random())+"-"+C});v.createSharedResizeObserver=function(e){if(void 0===window.ResizeObserver)return console.warn("ResizeObserver is not supported in this browser."),null;var t="lay-"+(e=e||"")+"-resizeobserver-key",n={},i=new ResizeObserver(function(e){for(var i=0;i0)return n[0].style[e]}():n.each(function(n,a){"object"==typeof e?v.each(e,function(e,t){a.style[e]=i(t)}):a.style[e]=i(t)})},g.fn.width=function(e){var t=this;return void 0===e?function(){if(t.length>0)return t[0].offsetWidth}():t.each(function(){t.css("width",e)})},g.fn.height=function(e){var t=this;return void 0===e?function(){if(t.length>0)return t[0].offsetHeight}():t.each(function(){t.css("height",e)})},g.fn.attr=function(e,t){var n=this;return void 0===t?function(){if(n.length>0)return n[0].getAttribute(e)}():n.each(function(n,i){i.setAttribute(e,t)})},g.fn.removeAttr=function(e){return this.each(function(t,n){n.removeAttribute(e)})},g.fn.html=function(e){var t=this;return void 0===e?function(){if(t.length>0)return t[0].innerHTML}():this.each(function(t,n){n.innerHTML=e})},g.fn.val=function(e){var t=this;return void 0===e?function(){if(t.length>0)return t[0].value}():this.each(function(t,n){n.value=e})},g.fn.append=function(e){return this.each(function(t,n){"object"==typeof e?n.appendChild(e):n.innerHTML=n.innerHTML+e})},g.fn.remove=function(e){return this.each(function(t,n){e?n.removeChild(e):n.parentNode.removeChild(n)})},g.fn.on=function(e,t,n){return this.each(function(i,a){v.addEvent(a,e,t,n)})},g.fn.off=function(e,t,n){return this.each(function(i,a){v.removeEvent(a,e,t,n)})};var k=function(){var e=this,t=e.config;return{config:t,render:function(n,i){t.data=n;var a=e.render();if(t.target){var r=document.querySelector(t.target);r&&(r.innerHTML=a)}return"function"==typeof i?(i(a),this):a},compile:function(n){return t.template=n,delete e.compilerCache,this},error:function(e){return e&&(t.error=e),this},parse:function(e,t){return this.compile(e).render(t)}}},S={escape:function(e){var t=/[<"'>]|&(?=#?[a-zA-Z0-9]+)/g;return null==e?"":(e+="",t.test(e)?e.replace(t,function(e){return"&#"+e.charCodeAt(0)+";"}):e)}},_=function(e,t){return new RegExp(e,t||"g")},L=function(e,t,n){t=t||{};var i="Laytpl "+((t=Object.assign({errorContext:""},t)).type||"")+"Error: "+e,a=t.errorContext;return delete t.errorContext,"object"==typeof console&&console.error(i,"\n",a,"\n",t),"function"==typeof n&&n(t),i},D={open:"{{",close:"}}",cache:!0,condense:!0,tagStyle:""},I=function(e,t){var n=this;t=n.config=Object.assign({template:e},D,t),n.vars=Object.assign({include:function(e,t){var i=document.getElementById(e),a=i?i.innerHTML:"";return a?n.render(a,t):""}},S),n.compile(t.template)};I.prototype.render=function(e,t){var n=this,i=n.config,a=e?n.compile(e):n.compilerCache||n.compile(i.template),r=function(){t=t||i.data||{};try{return a(t)}catch(a){return e=e||i.template,L(a,{errorContext:n.extractErrorContext(e,t),template:e,type:"Render"},i.error)}}();return i.cache&&!e&&(n.compilerCache=a),r},I.prototype.compile=function(e){var t=this,n=t.config,i=n.open,a=n.close,r=n.condense,o=_;if("string"!=typeof e||!e)return function(){return""};var l=function(e,t){var n=["(?:"+i+(e[0]||"")+"\\s*)","("+(e[1]||"[\\s\\S]")+"*?)","(?:\\s*"+(e[2]||"")+a+")"];return(t=t||{}).before&&n.unshift(t.before),t.after&&n.push(t.after),o(n.join(""))},s=r?["",""]:["(?:(?:\\n)*\\s*)","(?:\\s*?)"],c={before:s[0],after:s[1]},d=function(e,t){return r||(e=e.replace(o("\u2028"),t?"":"\n")),e.replace(/\\(\\|")/g,"$1")},u=t.parse=function(e){if(!(e=e||""))return e;r&&(e=e.replace(/\t/g," ").replace(/\s+/g," ")),e=(e=function(e){return e.replace(o("([}\\]])"+a),"$1 "+a)}(e).replace(/(?=\\|")/g,"\\").replace(/\r?\n/g,r?"":"\u2028")).replace(l(["!","","!"],c),function(e,t){return t=t.replace(o(i+"|"+a),function(e){return e.replace(/(?=.)/g,"\\")}),t});var t=function(e){return['";',e,'__laytpl__+="'].join("\n")},s=function(e,n,i){var a;return i?(a="-"===n?"":"_escape",(i=d(i,!0))?t("__laytpl__+="+a+"("+i+");"):""):""},u=function(e,n){return n?(n=d(n),t(n)):""};return e="modern"===n.tagStyle?(e=(e=e.replace(l(["#"],c),"")).replace(l(["(=|-)"]),s)).replace(l([],c),u):(e=e.replace(l(["#"],c),u)).replace(l(["(=|-)*"]),s),r||(e=e.replace(o("\u2028"),"\\n")),e},f=t.createCompiler=function(e,n){return n=n||p(e),new Function("laytpl","return "+n)(t.vars)},p=t.createBuilder=function(e,n){return n||["function(d){",'"use strict";','var __laytpl__="",'+function(){var e=[];for(var n in t.vars)e.push(("escape"===n?"_":"")+n+"=laytpl."+n);return e.join(",")}()+";",'__laytpl__="'+u(e)+'";',"return __laytpl__;","};"].join("\n")};try{return f(e)}catch(i){return delete t.compilerCache,function(){return L(i,{errorContext:t.extractErrorContext(e),template:e,type:"Compile"},n.error)}}},I.prototype.extractErrorContext=function(e,t){var n=1,i=e.split(/\r?\n/g);e=e.replace(/(?=^)/gm,function(){return"/*LINE:"+n+++"*/"});var a=this.createBuilder(e),r=a.split(/\r?\n/),o="laytpl.builder.map";try{a+="\n//# sourceURL="+o;var l=this.createCompiler(e,a);t&&l(t)}catch(e){var s=_(o.replace(/\./g,"\\.")+":(\\d+)","i"),c=(e.stack.match(s)||[])[1]||0,d=function(e,t){var n=t?/\/\*LINE:(\d+)\*\/[^*]*$/:/\/\*LINE:(\d+)\*\//,i=String(r[e-1]).match(n)||[];return!(i=i[1])&&e>0?d(e-1,!0):i},u=d(c-2);return u?function(e){e=parseInt(e)-1;for(var t=[""],n=Math.max(0,e-3),a=Math.min(i.length,e+3);n<=a;n++)t.push((n==e?"? ":" ")+(n+1)+"| "+i[n]);return t.join("\n")+"\n"}(u):e}};var A=function(e,t){var n=new I(e,t);return k.call(n)};A.extendVars=function(e){Object.assign(S,e)},A.config=A.set=function(e){Object.assign(D,e)};var N=h.hint(),M=window.LAYUI_GLOBAL||{},O=v.extend({locale:"zh-CN",messages:{"zh-CN":{code:{copy:"\u590d\u5236\u4ee3\u7801",copied:"\u5df2\u590d\u5236",copyError:"\u590d\u5236\u5931\u8d25",maximize:"\u6700\u5927\u5316\u663e\u793a",restore:"\u8fd8\u539f\u663e\u793a",preview:"\u5728\u65b0\u7a97\u53e3\u9884\u89c8"},colorpicker:{clear:"\u6e05\u9664",confirm:"\u786e\u5b9a"},dropdown:{noData:"\u6682\u65e0\u6570\u636e"},flow:{loadMore:"\u52a0\u8f7d\u66f4\u591a",noMore:"\u6ca1\u6709\u66f4\u591a\u4e86"},form:{select:{noData:"\u6682\u65e0\u6570\u636e",noMatch:"\u65e0\u5339\u914d\u6570\u636e",placeholder:"\u8bf7\u9009\u62e9"},validateMessages:{required:"\u5fc5\u586b\u9879\u4e0d\u80fd\u4e3a\u7a7a",phone:"\u624b\u673a\u53f7\u683c\u5f0f\u4e0d\u6b63\u786e",email:"\u90ae\u7bb1\u683c\u5f0f\u4e0d\u6b63\u786e",url:"\u94fe\u63a5\u683c\u5f0f\u4e0d\u6b63\u786e",number:"\u53ea\u80fd\u586b\u5199\u6570\u5b57",date:"\u65e5\u671f\u683c\u5f0f\u4e0d\u6b63\u786e",identity:"\u8eab\u4efd\u8bc1\u53f7\u683c\u5f0f\u4e0d\u6b63\u786e"},verifyErrorPromptTitle:"\u63d0\u793a"},laydate:{months:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],weeks:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],time:["\u65f6","\u5206","\u79d2"],literal:{year:"\u5e74"},selectDate:"\u9009\u62e9\u65e5\u671f",selectTime:"\u9009\u62e9\u65f6\u95f4",startTime:"\u5f00\u59cb\u65f6\u95f4",endTime:"\u7ed3\u675f\u65f6\u95f4",tools:{confirm:"\u786e\u5b9a",clear:"\u6e05\u7a7a",now:"\u73b0\u5728",reset:"\u91cd\u7f6e"},rangeOrderPrompt:"\u7ed3\u675f\u65f6\u95f4\u4e0d\u80fd\u65e9\u4e8e\u5f00\u59cb\u65f6\u95f4\n\u8bf7\u91cd\u65b0\u9009\u62e9",invalidDatePrompt:"\u4e0d\u5728\u6709\u6548\u65e5\u671f\u6216\u65f6\u95f4\u8303\u56f4\u5185\n",formatErrorPrompt:"\u65e5\u671f\u683c\u5f0f\u4e0d\u5408\u6cd5\n\u5fc5\u987b\u9075\u5faa\uff1a\n{format}\n",autoResetPrompt:"\u5df2\u81ea\u52a8\u91cd\u7f6e",preview:"\u5f53\u524d\u9009\u4e2d\u7684\u7ed3\u679c"},layer:{confirm:"\u786e\u5b9a",cancel:"\u53d6\u6d88",defaultTitle:"\u4fe1\u606f",prompt:{InputLengthPrompt:"\u6700\u591a\u8f93\u5165 {length} \u4e2a\u5b57\u7b26"},photos:{noData:"\u6ca1\u6709\u56fe\u7247",tools:{rotate:"\u65cb\u8f6c",scaleX:"\u6c34\u5e73\u53d8\u6362",zoomIn:"\u653e\u5927",zoomOut:"\u7f29\u5c0f",reset:"\u8fd8\u539f",close:"\u5173\u95ed"},viewPicture:"\u67e5\u770b\u539f\u56fe",urlError:{prompt:"\u5f53\u524d\u56fe\u7247\u5730\u5740\u5f02\u5e38\uff0c\n\u662f\u5426\u7ee7\u7eed\u67e5\u770b\u4e0b\u4e00\u5f20\uff1f",confirm:"\u4e0b\u4e00\u5f20",cancel:"\u4e0d\u770b\u4e86"}}},laypage:{prev:"\u4e0a\u4e00\u9875",next:"\u4e0b\u4e00\u9875",first:"\u9996\u9875",last:"\u5c3e\u9875",total:"\u5171 {total} \u6761",pagesize:"\u6761/\u9875",goto:"\u5230\u7b2c",page:"\u9875",confirm:"\u786e\u5b9a"},table:{sort:{asc:"\u5347\u5e8f",desc:"\u964d\u5e8f"},noData:"\u6682\u65e0\u6570\u636e",tools:{filter:{title:"\u7b5b\u9009\u5217"},export:{title:"\u5bfc\u51fa",noDataPrompt:"\u5f53\u524d\u8868\u683c\u65e0\u6570\u636e",compatPrompt:"\u5bfc\u51fa\u529f\u80fd\u4e0d\u652f\u6301 IE\uff0c\u8bf7\u7528 Chrome \u7b49\u9ad8\u7ea7\u6d4f\u89c8\u5668\u5bfc\u51fa",csvText:"\u5bfc\u51fa CSV \u6587\u4ef6"},print:{title:"\u6253\u5370",noDataPrompt:"\u5f53\u524d\u8868\u683c\u65e0\u6570\u636e"}},dataFormatError:'\u8fd4\u56de\u7684\u6570\u636e\u4e0d\u7b26\u5408\u89c4\u8303\uff0c\u6b63\u786e\u7684\u6210\u529f\u72b6\u6001\u7801\u5e94\u4e3a\uff1a"{statusName}": {statusCode}',xhrError:"\u8bf7\u6c42\u5f02\u5e38\uff0c\u9519\u8bef\u63d0\u793a\uff1a{msg}"},transfer:{noData:"\u6682\u65e0\u6570\u636e",noMatch:"\u65e0\u5339\u914d\u6570\u636e",title:["\u5217\u8868\u4e00","\u5217\u8868\u4e8c"],searchPlaceholder:"\u5173\u952e\u8bcd\u641c\u7d22"},tree:{defaultNodeName:"\u672a\u547d\u540d",noData:"\u6682\u65e0\u6570\u636e",deleteNodePrompt:'\u786e\u8ba4\u5220\u9664"{name}"\u8282\u70b9\u5417\uff1f'},upload:{fileType:{file:"\u6587\u4ef6",image:"\u56fe\u7247",video:"\u89c6\u9891",audio:"\u97f3\u9891"},validateMessages:{fileExtensionError:"\u9009\u62e9\u7684{fileType}\u4e2d\u5305\u542b\u4e0d\u652f\u6301\u7684\u683c\u5f0f",filesOverLengthLimit:"\u540c\u65f6\u6700\u591a\u53ea\u80fd\u4e0a\u4f20: {length} \u4e2a\u6587\u4ef6",currentFilesLength:"\u5f53\u524d\u5df2\u7ecf\u9009\u62e9\u4e86: {length} \u4e2a\u6587\u4ef6",fileOverSizeLimit:"\u6587\u4ef6\u5927\u5c0f\u4e0d\u80fd\u8d85\u8fc7 {size}"},chooseText:"{length} \u4e2a\u6587\u4ef6"},util:{timeAgo:{days:"{days} \u5929\u524d",hours:"{hours} \u5c0f\u65f6\u524d",minutes:"{minutes} \u5206\u949f\u524d",future:"\u672a\u6765",justNow:"\u521a\u521a"},toDateString:{meridiem:function(e,t){var n=100*e+t;return n<500?"\u51cc\u6668":n<800?"\u65e9\u4e0a":n<1200?"\u4e0a\u5348":n<1300?"\u4e2d\u5348":n<1900?"\u4e0b\u5348":"\u665a\u4e0a"}}}}}},M.i18n),R=/\{(\w+)\}/g;function P(e){return null!=e}var H=function(e){var t=Object.create(null);function n(n){return t[n]||(t[n]=e.apply(t,arguments))}return n.cleanup=function(){t=Object.create(null)},n}(function(e,t,n){var i=e.split(":"),a=i[0],r=function(e,t,n){for(var i=t.replace(/\[(\d+)\]/g,".$1").split("."),a=e,r=0;r0&&t-1 in e)}function w(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}C.fn=C.prototype={jquery:x,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+L+")"+L+"*"),W=new RegExp(L+"|>"),z=new RegExp(H),q=new RegExp("^"+R+"$"),$={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/[+~]/,U=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),G=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},J=function(){se()},Z=fe(function(e){return!0===e.disabled&&w(e,"fieldset")},{dir:"parentNode",next:"legend"});try{m.apply(n=a.call(N.childNodes),N.childNodes),n[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){M.apply(e,a.call(t))},call:function(e){M.apply(e,a.call(arguments,1))}}}function Q(e,t,n,i){var a,r,o,l,s,d,u,y=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!i&&(se(t),t=t||c,f)){if(11!==g&&(s=K.exec(e)))if(a=s[1]){if(9===g){if(!(o=t.getElementById(a)))return n;if(o.id===a)return m.call(n,o),n}else if(y&&(o=y.getElementById(a))&&Q.contains(t,o)&&o.id===a)return m.call(n,o),n}else{if(s[2])return m.apply(n,t.getElementsByTagName(e)),n;if((a=s[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(a)),n}if(!(I[e+" "]||h&&h.test(e))){if(u=e,y=t,1===g&&(W.test(e)||B.test(e))){for((y=V.test(e)&&le(t.parentNode)||t)==t&&p.scope||((l=t.getAttribute("id"))?l=C.escapeSelector(l):t.setAttribute("id",l=v)),r=(d=de(e)).length;r--;)d[r]=(l?"#"+l:":scope")+" "+ue(d[r]);u=d.join(",")}try{return m.apply(n,y.querySelectorAll(u)),n}catch(t){I(e,!0)}finally{l===v&&t.removeAttribute("id")}}}return ge(e.replace(D,"$1"),t,n,i)}function ee(){var e=[];return function t(n,a){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function te(e){return e[v]=!0,e}function ne(e){var t=c.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return w(t,"input")&&t.type===e}}function ae(e){return function(t){return(w(t,"input")||w(t,"button"))&&t.type===e}}function re(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function oe(e){return te(function(t){return t=+t,te(function(n,i){for(var a,r=e([],n.length,t),o=r.length;o--;)n[a=r[o]]&&(n[a]=!(i[a]=n[a]))})})}function le(e){return e&&void 0!==e.getElementsByTagName&&e}function se(e){var t,n=e?e.ownerDocument||e:N;return n!=c&&9===n.nodeType&&n.documentElement?(u=(c=n).documentElement,f=!C.isXMLDoc(c),y=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&N!=c&&(t=c.defaultView)&&t.top!==t&&t.addEventListener("unload",J),p.getById=ne(function(e){return u.appendChild(e).id=C.expando,!c.getElementsByName||!c.getElementsByName(C.expando).length}),p.disconnectedMatch=ne(function(e){return y.call(e,"*")}),p.scope=ne(function(){return c.querySelectorAll(":scope")}),p.cssHas=ne(function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),p.getById?(i.filter.ID=function(e){var t=e.replace(U,G);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(U,G);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&f){var n,i,a,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(a=t.getElementsByName(e),i=0;r=a[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},i.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&f)return t.getElementsByClassName(e)},h=[],ne(function(e){var t;u.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||h.push("\\["+L+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+v+"-]").length||h.push("~="),e.querySelectorAll("a#"+v+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=c.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=c.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+L+"*name"+L+"*="+L+"*(?:''|\"\")")}),p.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),A=function(e,t){if(e===t)return s=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===c||e.ownerDocument==N&&Q.contains(N,e)?-1:t===c||t.ownerDocument==N&&Q.contains(N,t)?1:o?l.call(o,e)-l.call(o,t):0:4&n?-1:1)},c):c}for(t in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(se(e),f&&!I[t+" "]&&(!h||!h.test(t)))try{var n=y.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){I(t,!0)}return Q(t,c,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=c&&se(e),C.contains(e,t)},Q.attr=function(e,t){(e.ownerDocument||e)!=c&&se(e);var n=i.attrHandle[t.toLowerCase()],a=n&&d.call(i.attrHandle,t.toLowerCase())?n(e,t,!f):void 0;return void 0!==a?a:e.getAttribute(t)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},C.uniqueSort=function(e){var t,n=[],i=0,r=0;if(s=!p.sortStable,o=!p.sortStable&&a.call(e,0),S.call(e,A),s){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)_.call(e,n[i],1)}return o=null,e},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(a.apply(this)))},i=C.expr={cacheLength:50,createPseudo:te,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(U,G),e[3]=(e[3]||e[4]||e[5]||"").replace(U,G),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=de(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(U,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return w(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var a=Q.attr(i,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(j," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,a){var r="nth"!==e.slice(0,3),o="last"!==e.slice(-4),l="of-type"===t;return 1===i&&0===a?function(e){return!!e.parentNode}:function(t,n,s){var c,d,u,f,p,h=r!==o?"nextSibling":"previousSibling",y=t.parentNode,m=l&&t.nodeName.toLowerCase(),b=!s&&!l,x=!1;if(y){if(r){for(;h;){for(u=t;u=u[h];)if(l?w(u,m):1===u.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?y.firstChild:y.lastChild],o&&b){for(x=(f=(c=(d=y[v]||(y[v]={}))[e]||[])[0]===g&&c[1])&&c[2],u=f&&y.childNodes[f];u=++f&&u&&u[h]||(x=f=0)||p.pop();)if(1===u.nodeType&&++x&&u===t){d[e]=[g,f,x];break}}else if(b&&(x=f=(c=(d=t[v]||(t[v]={}))[e]||[])[0]===g&&c[1]),!1===x)for(;(u=++f&&u&&u[h]||(x=f=0)||p.pop())&&(!(l?w(u,m):1===u.nodeType)||!++x||(b&&((d=u[v]||(u[v]={}))[e]=[g,x]),u!==t)););return(x-=a)===i||x%i===0&&x/i>=0}}},PSEUDO:function(e,t){var n,a=i.pseudos[e]||i.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return a[v]?a(t):a.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,n){for(var i,r=a(e,t),o=r.length;o--;)e[i=l.call(e,r[o])]=!(n[i]=r[o])}):function(e){return a(e,0,n)}):a}},pseudos:{not:te(function(e){var t=[],n=[],i=ve(e.replace(D,"$1"));return i[v]?te(function(e,t,n,a){for(var r,o=i(e,null,a,[]),l=e.length;l--;)(r=o[l])&&(e[l]=!(t[l]=r))}):function(e,a,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:te(function(e){return function(t){return Q(e,t).length>0}}),contains:te(function(e){return e=e.replace(U,G),function(t){return(t.textContent||C.text(t)).indexOf(e)>-1}}),lang:te(function(e){return q.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(U,G).toLowerCase(),function(t){var n;do{if(n=f?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return c.activeElement}catch(e){}}()&&c.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:re(!1),disabled:re(!0),checked:function(e){return w(e,"input")&&!!e.checked||w(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){return w(e,"input")&&"button"===e.type||w(e,"button")},text:function(e){var t;return w(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:oe(function(){return[0]}),last:oe(function(e,t){return[t-1]}),eq:oe(function(e,t,n){return[n<0?n+t:n]}),even:oe(function(e,t){for(var n=0;nt?t:n;--i>=0;)e.push(i);return e}),gt:oe(function(e,t,n){for(var i=n<0?n+t:n;++i1?function(t,n,i){for(var a=e.length;a--;)if(!e[a](t,n,i))return!1;return!0}:e[0]}function he(e,t,n,i,a){for(var r,o=[],l=0,s=e.length,c=null!=t;l-1&&(r[d]=!(o[d]=f))}}else p=he(p===o?p.splice(v,p.length):p),a?a(null,o,p,c):m.apply(o,p)})}function me(e){for(var t,n,a,o=e.length,s=i.relative[e[0].type],c=s||i.relative[" "],d=s?1:0,u=fe(function(e){return e===t},c,!0),f=fe(function(e){return l.call(t,e)>-1},c,!0),p=[function(e,n,i){var a=!s&&(i||n!=r)||((t=n).nodeType?u(e,n,i):f(e,n,i));return t=null,a}];d1&&pe(p),d>1&&ue(e.slice(0,d-1).concat({value:" "===e[d-2].type?"*":""})).replace(D,"$1"),n,d0,a=e.length>0,o=function(o,l,s,d,u){var p,h,y,v=0,b="0",x=o&&[],E=[],T=r,w=o||a&&i.find.TAG("*",u),S=g+=null==T?1:Math.random()||.1,_=w.length;for(u&&(r=l==c||l||u);b!==_&&null!=(p=w[b]);b++){if(a&&p){for(h=0,l||p.ownerDocument==c||(se(p),s=!f);y=e[h++];)if(y(p,l||c,s)){m.call(d,p);break}u&&(g=S)}n&&((p=!y&&p)&&v--,o&&x.push(p))}if(v+=b,n&&b!==v){for(h=0;y=t[h++];)y(x,E,l,s);if(o){if(v>0)for(;b--;)x[b]||E[b]||(E[b]=k.call(d));E=he(E)}m.apply(d,E),u&&!o&&E.length>0&&v+t.length>1&&C.uniqueSort(d)}return u&&(g=S,r=T),x};return n?te(o):o}(o,a)),l.selector=e}return l}function ge(e,t,n,a){var r,o,l,s,c,d="function"==typeof e&&e,u=!a&&de(e=d.selector||e);if(n=n||[],1===u.length){if((o=u[0]=u[0].slice(0)).length>2&&"ID"===(l=o[0]).type&&9===t.nodeType&&f&&i.relative[o[1].type]){if(!(t=(i.find.ID(l.matches[0].replace(U,G),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=$.needsContext.test(e)?0:o.length;r--&&(l=o[r],!i.relative[s=l.type]);)if((c=i.find[s])&&(a=c(l.matches[0].replace(U,G),V.test(o[0].type)&&le(t.parentNode)||t))){if(o.splice(r,1),!(e=a.length&&ue(o)))return m.apply(n,a),n;break}}return(d||ve(e,u))(a,t,!f,n,!t||V.test(e)&&le(t.parentNode)||t),n}ce.prototype=i.filters=i.pseudos,i.setFilters=new ce,p.sortStable=v.split("").sort(A).join("")===v,se(),p.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(c.createElement("fieldset"))}),C.find=Q,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,Q.compile=ve,Q.select=ge,Q.setDocument=se,Q.tokenize=de,Q.escape=C.escapeSelector,Q.getText=C.text,Q.isXML=C.isXMLDoc,Q.selectors=C.expr,Q.support=C.support,Q.uniqueSort=C.uniqueSort}();var O=function(e,t,n){for(var i=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&C(e).is(n))break;i.push(e)}return i},R=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},P=C.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return h(t)?C.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?C.grep(e,function(e){return e===t!==n}):"string"!=typeof t?C.grep(e,function(e){return l.call(t,e)>-1!==n}):C.filter(t,e,n)}C.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?C.find.matchesSelector(i,e)?[i]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,i=this.length,a=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&P.test(e)?C(e):e||[],!1).length}});var F,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var i,a;if(!e)return this;if(n=n||F,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:B.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),H.test(i[1])&&C.isPlainObject(t))for(i in t)h(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(a=m.getElementById(i[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,F=C(m);var W=/^(?:parents|prev(?:Until|All))/,z={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&C.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?C.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?l.call(C(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,n){return O(e,"parentNode",n)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,n){return O(e,"nextSibling",n)},prevUntil:function(e,t,n){return O(e,"previousSibling",n)},siblings:function(e){return R((e.parentNode||{}).firstChild,e)},children:function(e){return R(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(w(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(e,t){C.fn[e]=function(n,i){var a=C.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(a=C.filter(i,a)),this.length>1&&(z[e]||C.uniqueSort(a),W.test(e)&&a.reverse()),this.pushStack(a)}});var $=/[^\x20\t\r\n\f]+/g;function Y(e){return e}function X(e){throw e}function K(e,t,n,i){var a;try{e&&h(a=e.promise)?a.call(e).done(t).fail(n):e&&h(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match($)||[],function(e,n){t[n]=!0}),t}(e):C.extend({},e);var t,n,i,a,r=[],o=[],l=-1,s=function(){for(a=a||e.once,i=t=!0;o.length;l=-1)for(n=o.shift();++l-1;)r.splice(n,1),n<=l&&l--}),this},has:function(e){return e?C.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return a=o=[],r=n="",this},disabled:function(){return!r},lock:function(){return a=o=[],n||t||(r=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},C.extend({Deferred:function(t){var n=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return C.Deferred(function(t){C.each(n,function(n,i){var a=h(e[i[4]])&&e[i[4]];r[i[1]](function(){var e=a&&a.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,a?[e]:arguments)})}),e=null}).promise()},then:function(t,i,a){var r=0;function o(t,n,i,a){return function(){var l=this,s=arguments,c=function(){var e,c;if(!(t=r&&(i!==X&&(l=void 0,s=[e]),n.rejectWith(l,s))}};t?d():(C.Deferred.getErrorHook?d.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(d.error=C.Deferred.getStackHook()),e.setTimeout(d))}}return C.Deferred(function(e){n[0][3].add(o(0,e,h(a)?a:Y,e.notifyWith)),n[1][3].add(o(0,e,h(t)?t:Y)),n[2][3].add(o(0,e,h(i)?i:X))}).promise()},promise:function(e){return null!=e?C.extend(e,a):a}},r={};return C.each(n,function(e,t){var o=t[2],l=t[5];a[t[1]]=o.add,l&&o.add(function(){i=l},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),o.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=o.fireWith}),a.promise(r),t&&t.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),o=C.Deferred(),l=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(K(e,o.done(l(n)).resolve,o.reject,!t),"pending"===o.state()||h(r[n]&&r[n].then)))return o.then();for(;n--;)K(r[n],l(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&V.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},C.readyException=function(t){e.setTimeout(function(){throw t})};var U=C.Deferred();function G(){m.removeEventListener("DOMContentLoaded",G),e.removeEventListener("load",G),C.ready()}C.fn.ready=function(e){return U.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||U.resolveWith(m,[C]))}}),C.ready.then=U.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?e.setTimeout(C.ready):(m.addEventListener("DOMContentLoaded",G),e.addEventListener("load",G));var J=function(e,t,n,i,a,r,o){var l=0,s=e.length,c=null==n;if("object"===b(n))for(l in a=!0,n)J(e,t,l,n[l],!0,r,o);else if(void 0!==i&&(a=!0,h(i)||(o=!0),c&&(o?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(C(e),n)})),t))for(;l1,null,!0)},removeData:function(e){return this.each(function(){re.remove(this,e)})}}),C.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ae.get(e,t),n&&(!i||Array.isArray(n)?i=ae.access(e,t,C.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),i=n.length,a=n.shift(),r=C._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===t&&n.unshift("inprogress"),delete r.stop,a.call(e,function(){C.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ae.get(e,n)||ae.access(e,n,{empty:C.Callbacks("once memory").add(function(){ae.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,we=/^$|^module$|\/(?:java|ecma)script/i;xe=m.createDocumentFragment().appendChild(m.createElement("div")),(Ee=m.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),xe.appendChild(Ee),p.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",p.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",p.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&w(e,t)?C.merge([e],n):n}function _e(e,t){for(var n=0,i=e.length;n",""]);var Le=/<|&#?\w+;/;function De(e,t,n,i,a){for(var r,o,l,s,c,d,u=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)a&&a.push(r);else if(c=pe(r),o=Se(u.appendChild(r),"script"),c&&_e(o),n)for(d=0;r=o[d++];)we.test(r.type||"")&&n.push(r);return u}var Ie=/^([^.]*)(?:\.(.+)|)/;function Ae(){return!0}function Ne(){return!1}function Me(e,t,n,i,a,r){var o,l;if("object"==typeof t){for(l in"string"!=typeof n&&(i=i||n,n=void 0),t)Me(e,l,n,i,t[l],r);return e}if(null==i&&null==a?(a=n,i=n=void 0):null==a&&("string"==typeof n?(a=i,i=void 0):(a=i,i=n,n=void 0)),!1===a)a=Ne;else if(!a)return e;return 1===r&&(o=a,a=function(e){return C().off(e),o.apply(this,arguments)},a.guid=o.guid||(o.guid=C.guid++)),e.each(function(){C.event.add(this,t,a,i,n)})}function Oe(e,t,n){n?(ae.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var n,i=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),ae.set(this,t,i),this[t](),n=ae.get(this,t),ae.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(ae.set(this,t,C.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ae)}})):void 0===ae.get(e,t)&&C.event.add(e,t,Ae)}C.event={global:{},add:function(e,t,n,i,a){var r,o,l,s,c,d,u,f,p,h,y,m=ae.get(e);if(ne(e))for(n.handler&&(n=(r=n).handler,a=r.selector),a&&C.find.matchesSelector(fe,a),n.guid||(n.guid=C.guid++),(s=m.events)||(s=m.events=Object.create(null)),(o=m.handle)||(o=m.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match($)||[""]).length;c--;)p=y=(l=Ie.exec(t[c])||[])[1],h=(l[2]||"").split(".").sort(),p&&(u=C.event.special[p]||{},p=(a?u.delegateType:u.bindType)||p,u=C.event.special[p]||{},d=C.extend({type:p,origType:y,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&C.expr.match.needsContext.test(a),namespace:h.join(".")},r),(f=s[p])||((f=s[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,h,o)||e.addEventListener&&e.addEventListener(p,o)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),a?f.splice(f.delegateCount++,0,d):f.push(d),C.event.global[p]=!0)},remove:function(e,t,n,i,a){var r,o,l,s,c,d,u,f,p,h,y,m=ae.hasData(e)&&ae.get(e);if(m&&(s=m.events)){for(c=(t=(t||"").match($)||[""]).length;c--;)if(p=y=(l=Ie.exec(t[c])||[])[1],h=(l[2]||"").split(".").sort(),p){for(u=C.event.special[p]||{},f=s[p=(i?u.delegateType:u.bindType)||p]||[],l=l[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=f.length;r--;)d=f[r],!a&&y!==d.origType||n&&n.guid!==d.guid||l&&!l.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(f.splice(r,1),d.selector&&f.delegateCount--,u.remove&&u.remove.call(e,d));o&&!f.length&&(u.teardown&&!1!==u.teardown.call(e,h,m.handle)||C.removeEvent(e,p,m.handle),delete s[p])}else for(p in s)C.event.remove(e,p+t[c],n,i,!0);C.isEmptyObject(s)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,n,i,a,r,o,l=new Array(arguments.length),s=C.event.fix(e),c=(ae.get(this,"events")||Object.create(null))[s.type]||[],d=C.event.special[s.type]||{};for(l[0]=s,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],o={},n=0;n-1:C.find(a,this,null,[c]).length),o[a]&&r.push(i);r.length&&l.push({elem:c,handlers:r})}return c=this,s\s*$/g;function je(e,t){return w(e,"table")&&w(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,i,a,r,o,l;if(1===t.nodeType){if(ae.hasData(e)&&(l=ae.get(e).events))for(a in ae.remove(t,"handle events"),l)for(n=0,i=l[a].length;n1&&"string"==typeof m&&!p.checkClone&&Pe.test(m))return e.each(function(a){var r=e.eq(a);v&&(t[0]=m.call(this,a,r.html())),qe(r,t,n,i)});if(f&&(o=(a=De(t,e[0].ownerDocument,!1,e,i)).firstChild,1===a.childNodes.length&&(a=o),o||i)){for(s=(l=C.map(Se(a,"script"),Fe)).length;u0&&_e(o,!s&&Se(e,"script")),l},cleanData:function(e){for(var t,n,i,a=C.event.special,r=0;void 0!==(n=e[r]);r++)if(ne(n)){if(t=n[ae.expando]){if(t.events)for(i in t.events)a[i]?C.event.remove(n,i):C.removeEvent(n,i,t.handle);n[ae.expando]=void 0}n[re.expando]&&(n[re.expando]=void 0)}}}),C.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return J(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return qe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return qe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return qe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return qe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return J(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Re.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-s-l-.5))||0),s+c}function lt(e,t,n){var i=Ke(e),a=(!p.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,i),r=a,o=Ge(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(Ye.test(o)){if(!n)return o;o="auto"}return(!p.boxSizingReliable()&&a||!p.reliableTrDimensions()&&w(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===C.css(e,"display",!1,i))&&e.getClientRects().length&&(a="border-box"===C.css(e,"boxSizing",!1,i),(r=l in e)&&(o=e[l])),(o=parseFloat(o)||0)+ot(e,t,n||(a?"border":"content"),r,i,o)+"px"}function st(e,t,n,i,a){return new st.prototype.init(e,t,n,i,a)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,r,o,l=te(t),s=Xe.test(t),c=e.style;if(s||(t=tt(l)),o=C.cssHooks[t]||C.cssHooks[l],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(e,!1,i))?a:c[t];"string"==(r=typeof n)&&(a=de.exec(n))&&a[1]&&(n=me(e,t,a),r="number"),null!=n&&n==n&&("number"!==r||s||(n+=a&&a[3]||(C.cssNumber[l]?"":"px")),p.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(s?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var a,r,o,l=te(t);return Xe.test(t)||(t=tt(l)),(o=C.cssHooks[t]||C.cssHooks[l])&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=Ge(e,t,i)),"normal"===a&&t in at&&(a=at[t]),""===n||n?(r=parseFloat(a),!0===n||isFinite(r)?r||0:a):a}}),C.each(["height","width"],function(e,t){C.cssHooks[t]={get:function(e,n,i){if(n)return!nt.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?lt(e,t,i):Ve(e,it,function(){return lt(e,t,i)})},set:function(e,n,i){var a,r=Ke(e),o=!p.scrollboxSize()&&"absolute"===r.position,l=(o||i)&&"border-box"===C.css(e,"boxSizing",!1,r),s=i?ot(e,t,i,l,r):0;return l&&o&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-ot(e,t,"border",!1,r)-.5)),s&&(a=de.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),rt(0,n,s)}}}),C.cssHooks.marginLeft=Je(p.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(e,t){C.cssHooks[e+t]={expand:function(n){for(var i=0,a={},r="string"==typeof n?n.split(" "):[n];i<4;i++)a[e+ue[i]+t]=r[i]||r[i-2]||r[0];return a}},"margin"!==e&&(C.cssHooks[e+t].set=rt)}),C.fn.extend({css:function(e,t){return J(this,function(e,t,n){var i,a,r={},o=0;if(Array.isArray(t)){for(i=Ke(e),a=t.length;o1)}}),C.Tween=st,st.prototype={constructor:st,init:function(e,t,n,i,a,r){this.elem=e,this.prop=n,this.easing=a||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(C.cssNumber[n]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):st.propHooks._default.set(this),this}},st.prototype.init.prototype=st.prototype,st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[tt(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},st.propHooks.scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=st.prototype.init,C.fx.step={};var ct,dt,ut=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;function pt(){dt&&(!1===m.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(pt):e.setTimeout(pt,C.fx.interval),C.fx.tick())}function ht(){return e.setTimeout(function(){ct=void 0}),ct=Date.now()}function yt(e,t){var n,i=0,a={height:e};for(t=t?1:0;i<4;i+=2-t)a["margin"+(n=ue[i])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function mt(e,t,n){for(var i,a=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),r=0,o=a.length;r1)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?C.prop(e,t,n):(1===r&&C.isXMLDoc(e)||(a=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):a&&"set"in a&&void 0!==(i=a.set(e,n,t))?i:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(i=a.get(e,t))?i:null==(i=C.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&w(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,a=t&&t.match($);if(a&&1===e.nodeType)for(;n=a[i++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var n=bt[t]||C.find.attr;bt[t]=function(e,t,i){var a,r,o=t.toLowerCase();return i||(r=bt[o],bt[o]=a,a=null!=n(e,t,i)?o:null,bt[o]=r),a}});var xt=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function Ct(e){return(e.match($)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function wt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match($)||[]}C.fn.extend({prop:function(e,t){return J(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&C.isXMLDoc(e)||(t=C.propFix[t]||t,a=C.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(i=a.set(e,n,t))?i:e[t]=n:a&&"get"in a&&null!==(i=a.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,n,i,a,r,o;return h(e)?this.each(function(t){C(this).addClass(e.call(this,t,Tt(this)))}):(t=wt(e)).length?this.each(function(){if(i=Tt(this),n=1===this.nodeType&&" "+Ct(i)+" "){for(r=0;r-1;)n=n.replace(" "+a+" "," ");o=Ct(n),i!==o&&this.setAttribute("class",o)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,a,r,o=typeof e,l="string"===o||Array.isArray(e);return h(e)?this.each(function(n){C(this).toggleClass(e.call(this,n,Tt(this),t),t)}):"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):(n=wt(e),this.each(function(){if(l)for(r=C(this),a=0;a-1)return!0;return!1}});var kt=/\r/g;C.fn.extend({val:function(e){var t,n,i,a=this[0];return arguments.length?(i=h(e),this.each(function(n){var a;1===this.nodeType&&(null==(a=i?e.call(this,n,C(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=C.map(a,function(e){return null==e?"":e+""})),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))})):a?(t=C.valHooks[a.type]||C.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(kt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:Ct(C.text(e))}},select:{get:function(e){var t,n,i,a=e.options,r=e.selectedIndex,o="select-one"===e.type,l=o?null:[],s=o?r+1:a.length;for(i=r<0?s:o?r:0;i-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},p.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var St=e.location,_t={guid:Date.now()},Lt=/\?/;C.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||C.error("Invalid XML: "+(i?C.map(i.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Dt=/^(?:focusinfocus|focusoutblur)$/,It=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(t,n,i,a){var r,o,l,s,c,u,f,p,v=[i||m],g=d.call(t,"type")?t.type:t,b=d.call(t,"namespace")?t.namespace.split("."):[];if(o=p=l=i=i||m,3!==i.nodeType&&8!==i.nodeType&&!Dt.test(g+C.event.triggered)&&(g.indexOf(".")>-1&&(b=g.split("."),g=b.shift(),b.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[C.expando]?t:new C.Event(g,"object"==typeof t&&t)).isTrigger=a?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:C.makeArray(n,[t]),f=C.event.special[g]||{},a||!f.trigger||!1!==f.trigger.apply(i,n))){if(!a&&!f.noBubble&&!y(i)){for(s=f.delegateType||g,Dt.test(s+g)||(o=o.parentNode);o;o=o.parentNode)v.push(o),l=o;l===(i.ownerDocument||m)&&v.push(l.defaultView||l.parentWindow||e)}for(r=0;(o=v[r++])&&!t.isPropagationStopped();)p=o,t.type=r>1?s:f.bindType||g,(u=(ae.get(o,"events")||Object.create(null))[t.type]&&ae.get(o,"handle"))&&u.apply(o,n),(u=c&&o[c])&&u.apply&&ne(o)&&(t.result=u.apply(o,n),!1===t.result&&t.preventDefault());return t.type=g,a||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),n)||!ne(i)||c&&h(i[g])&&!y(i)&&((l=i[c])&&(i[c]=null),C.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,It),i[g](),t.isPropagationStopped()&&p.removeEventListener(g,It),C.event.triggered=void 0,l&&(i[c]=l)),t.result}},simulate:function(e,t,n){var i=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(i,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}});var At=/\[\]$/,Nt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,i){var a;if(Array.isArray(t))C.each(t,function(t,a){n||At.test(e)?i(e,a):Rt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,i)});else if(n||"object"!==b(t))i(e,t);else for(a in t)Rt(e+"["+a+"]",t[a],n,i)}C.param=function(e,t){var n,i=[],a=function(e,t){var n=h(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){a(this.name,this.value)});else for(n in e)Rt(n,e[n],t,a);return i.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Ot.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!Ce.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}});var Pt=/%20/g,Ht=/#.*$/,jt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,Wt=/^\/\//,zt={},qt={},$t="*/".concat("*"),Yt=m.createElement("a");function Xt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,a=0,r=t.toLowerCase().match($)||[];if(h(n))for(;i=r[a++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Kt(e,t,n,i){var a={},r=e===qt;function o(l){var s;return a[l]=!0,C.each(e[l]||[],function(e,l){var c=l(t,n,i);return"string"!=typeof c||r||a[c]?r?!(s=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),s}return o(t.dataTypes[0])||!a["*"]&&o("*")}function Vt(e,t){var n,i,a=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:i||(i={}))[n]=t[n]);return i&&C.extend(!0,e,i),e}Yt.href=St.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,C.ajaxSettings),t):Vt(C.ajaxSettings,e)},ajaxPrefilter:Xt(zt),ajaxTransport:Xt(qt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,a,r,o,l,s,c,d,u,f,p=C.ajaxSetup({},n),h=p.context||p,y=p.context&&(h.nodeType||h.jquery)?C(h):C.event,v=C.Deferred(),g=C.Callbacks("once memory"),b=p.statusCode||{},x={},E={},T="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Ft.exec(r);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(e,t){return null==c&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)w.always(e[w.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),k(0,t),this}};if(v.promise(w),p.url=((t||p.url||St.href)+"").replace(Wt,St.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match($)||[""],null==p.crossDomain){s=m.createElement("a");try{s.href=p.url,s.href=s.href,p.crossDomain=Yt.protocol+"//"+Yt.host!=s.protocol+"//"+s.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),Kt(zt,p,n,w),c)return w;for(u in(d=C.event&&p.global)&&0===C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Bt.test(p.type),a=p.url.replace(Ht,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pt,"+")):(f=p.url.slice(a.length),p.data&&(p.processData||"string"==typeof p.data)&&(a+=(Lt.test(a)?"&":"?")+p.data,delete p.data),!1===p.cache&&(a=a.replace(jt,"$1"),f=(Lt.test(a)?"&":"?")+"_="+_t.guid+++f),p.url=a+f),p.ifModified&&(C.lastModified[a]&&w.setRequestHeader("If-Modified-Since",C.lastModified[a]),C.etag[a]&&w.setRequestHeader("If-None-Match",C.etag[a])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+$t+"; q=0.01":""):p.accepts["*"]),p.headers)w.setRequestHeader(u,p.headers[u]);if(p.beforeSend&&(!1===p.beforeSend.call(h,w,p)||c))return w.abort();if(T="abort",g.add(p.complete),w.done(p.success),w.fail(p.error),i=Kt(qt,p,n,w)){if(w.readyState=1,d&&y.trigger("ajaxSend",[w,p]),c)return w;p.async&&p.timeout>0&&(l=e.setTimeout(function(){w.abort("timeout")},p.timeout));try{c=!1,i.send(x,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,o,s){var u,f,m,x,E,T=n;c||(c=!0,l&&e.clearTimeout(l),i=void 0,r=s||"",w.readyState=t>0?4:0,u=t>=200&&t<300||304===t,o&&(x=function(e,t,n){for(var i,a,r,o,l=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in l)if(l[a]&&l[a].test(i)){s.unshift(a);break}if(s[0]in n)r=s[0];else{for(a in n){if(!s[0]||e.converters[a+" "+s[0]]){r=a;break}o||(o=a)}r=r||o}if(r)return r!==s[0]&&s.unshift(r),n[r]}(p,w,o)),!u&&C.inArray("script",p.dataTypes)>-1&&C.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),x=function(e,t,n,i){var a,r,o,l,s,c={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(r=d.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!s&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=r,r=d.shift())if("*"===r)r=s;else if("*"!==s&&s!==r){if(!(o=c[s+" "+r]||c["* "+r]))for(a in c)if((l=a.split(" "))[1]===r&&(o=c[s+" "+l[0]]||c["* "+l[0]])){!0===o?o=c[a]:!0!==c[a]&&(r=l[0],d.unshift(l[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+s+" to "+r}}}return{state:"success",data:t}}(p,x,w,u),u?(p.ifModified&&((E=w.getResponseHeader("Last-Modified"))&&(C.lastModified[a]=E),(E=w.getResponseHeader("etag"))&&(C.etag[a]=E)),204===t||"HEAD"===p.type?T="nocontent":304===t?T="notmodified":(T=x.state,f=x.data,u=!(m=x.error))):(m=T,!t&&T||(T="error",t<0&&(t=0))),w.status=t,w.statusText=(n||T)+"",u?v.resolveWith(h,[f,T,w]):v.rejectWith(h,[w,T,m]),w.statusCode(b),b=void 0,d&&y.trigger(u?"ajaxSuccess":"ajaxError",[w,p,u?f:m]),g.fireWith(h,[w,T]),d&&(y.trigger("ajaxComplete",[w,p]),--C.active||C.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,t){C[t]=function(e,n,i,a){return h(n)&&(a=a||i,i=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:a,data:n,success:i},C.isPlainObject(e)&&e))}}),C.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),C._evalUrl=function(e,t,n){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,n)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return h(e)?this.each(function(t){C(this).wrapInner(e.call(this,t))}):this.each(function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h(e);return this.each(function(n){C(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Gt=C.ajaxSettings.xhr();p.cors=!!Gt&&"withCredentials"in Gt,p.ajax=Gt=!!Gt,C.ajaxTransport(function(t){var n,i;if(p.cors||Gt&&!t.crossDomain)return{send:function(a,r){var o,l=t.xhr();if(l.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)l[o]=t.xhrFields[o];for(o in t.mimeType&&l.overrideMimeType&&l.overrideMimeType(t.mimeType),t.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)l.setRequestHeader(o,a[o]);n=function(e){return function(){n&&(n=i=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?r(0,"error"):r(l.status,l.statusText):r(Ut[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=n(),i=l.onerror=l.ontimeout=n("error"),void 0!==l.onabort?l.onabort=i:l.onreadystatechange=function(){4===l.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{l.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,a){t=C("