(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],function(b){return a(b,window)})}else{if(typeof module==="object"&&module.exports){module.exports=a(require("jquery"),window)}else{a(jquery,window)}}})(function(v,h){v.migrateversion="x.x.x";function j(w,u){var s,r=/^(\d+)\.(\d+)\.(\d+)/,t=r.exec(w)||[],v=r.exec(u)||[];for(s=1;s<=3;s++){if(+t[s]>+v[s]){return 1}if(+t[s]<+v[s]){return -1}}return 0}function c(r){return j(v.fn.jquery,r)>=0}(function(){if(!h.console||!h.console.log){return}if(!v||!c("*.*.*")){h.console.log("jqmigrate: jquery *.*.*+ required")}if(v.migratewarnings){h.console.log("jqmigrate: migrate plugin loaded multiple times")}})();var s={};v.migratededuplicatewarnings=true;v.migratewarnings=[];if(v.migratetrace===undefined){v.migratetrace=true}v.migratereset=function(){s={};v.migratewarnings.length=0};function i(r){}function t(s,u,r,t){object.defineproperty(s,u,{configurable:true,enumerable:true,get:function(){i(t);return r},set:function(v){i(t);r=v}})}function w(s,u,r,t){s[u]=function(){i(t);return r.apply(this,arguments)}}if(h.document.compatmode==="backcompat"){i("jquery is not compatible with quirks mode")}var n,d={},u=v.fn.init,m=v.find,n=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,b=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,k=/^[\s\ufeff\xa0]+|[\s\ufeff\xa0]+$/g;v.fn.init=function(s){var r=array.prototype.slice.call(arguments);if(typeof s==="string"&&s==="#"){i("jquery( '#' ) is not a valid selector");r[0]=[]}return u.apply(this,r)};v.fn.init.prototype=v.fn;v.find=function(r){var u=array.prototype.slice.call(arguments);if(typeof r==="string"&&n.test(r)){try{h.document.queryselector(r)}catch(t){r=r.replace(b,function(w,v,y,x){return"["+v+y+'"'+x+'"]'});try{h.document.queryselector(r);i("attribute selector with '#' must be quoted: "+u[0]);u[0]=r}catch(s){i("attribute selector with '#' was not fixed: "+u[0])}}}return m.apply(this,u)};for(n in m){if(object.prototype.hasownproperty.call(m,n)){v.find[n]=m[n]}}w(v.fn,"size",function(){return this.length},"jquery.fn.size() is deprecated and removed; use the .length property");w(v,"parsejson",function(){return json.parse.apply(null,arguments)},"jquery.parsejson is deprecated; use json.parse");w(v,"holdready",v.holdready,"jquery.holdready is deprecated");w(v,"unique",v.uniquesort,"jquery.unique is deprecated; use jquery.uniquesort");t(v.expr,"filters",v.expr.pseudos,"jquery.expr.filters is deprecated; use jquery.expr.pseudos");t(v.expr,":",v.expr.pseudos,"jquery.expr[':'] is deprecated; use jquery.expr.pseudos");if(c("*.*.*")){w(v,"trim",function(r){return r==null?"":(r+"").replace(k,"")},"jquery.trim is deprecated; use string.prototype.trim")}if(c("*.*.*")){w(v,"nodename",function(s,r){return s.nodename&&s.nodename.tolowercase()===r.tolowercase()},"jquery.nodename is deprecated");w(v,"isarray",array.isarray,"jquery.isarray is deprecated; use array.isarray")}if(c("*.*.*")){w(v,"isnumeric",function(s){var r=typeof s;return(r==="number"||r==="string")&&!isnan(s-parsefloat(s))},"jquery.isnumeric() is deprecated");v.each("boolean number string function array date regexp object error symbol".split(" "),function(s,r){d["[object "+r+"]"]=r.tolowercase()});w(v,"type",function(r){if(r==null){return r+""}return typeof r==="object"||typeof r==="function"?d[object.prototype.tostring.call(r)]||"object":typeof r},"jquery.type is deprecated");w(v,"isfunction",function(r){return typeof r==="function"},"jquery.isfunction() is deprecated");w(v,"iswindow",function(r){return r!=null&&r===r.window},"jquery.iswindow() is deprecated")}if(v.ajax){var g=v.ajax,b=/(=)\?(?=&|$)|\?\?/;v.ajax=function(){var r=g.apply(this,arguments);if(r.promise){w(r,"success",r.done,"jqxhr.success is deprecated and removed");w(r,"error",r.fail,"jqxhr.error is deprecated and removed");w(r,"complete",r.always,"jqxhr.complete is deprecated and removed")}return r};if(!c("4.0.0")){v.ajaxprefilter("+json",function(r){if(r.jsonp!==false&&(b.test(r.url)||typeof r.data==="string"&&(r.contenttype||"").indexof("application/x-www-form-urlencoded")===0&&b.test(r.data))){i("json-to-jsonp auto-promotion is deprecated")}})}}var q=v.fn.removeattr,d=v.fn.toggleclass,i=/\s+/g;v.fn.removeattr=function(s){var r=this;v.each(s.match(i),function(u,t){if(v.expr.match.bool.test(t)){i("jquery.fn.removeattr no longer sets boolean properties: "+t);r.prop(t,false)}});return q.apply(this,arguments)};v.fn.toggleclass=function(r){if(r!==undefined&&typeof r!=="boolean"){return d.apply(this,arguments)}i("jquery.fn.toggleclass( boolean ) is deprecated");return this.each(function(){var s=this.getattribute&&this.getattribute("class")||"";if(s){v.data(this,"__classname__",s)}if(this.setattribute){this.setattribute("class",s||r===false?"":v.data(this,"__classname__")||"")}})};function l(r){return r.replace(/-([a-z])/g,function(s,t){return t.touppercase()})}var a,r=false,p=/^[a-z]/,g=/^(?:border(?:top|right|bottom|left)?(?:width|)|(?:margin|padding)?(?:top|right|bottom|left)?|(?:min|max)?(?:width|height))$/;if(v.swap){v.each(["height","width","reliablemarginright"],function(s,r){var t=v.csshooks[r]&&v.csshooks[r].get;if(t){v.csshooks[r].get=function(){var u;r=true;u=t.apply(this,arguments);r=false;return u}}})}v.swap=function(w,v,x,u){var t,s,r={};if(!r){i("jquery.swap() is undocumented and deprecated")}for(s in v){r[s]=w.style[s];w.style[s]=v[s]}t=x.apply(w,u||[]);for(s in v){w.style[s]=r[s]}return t};if(c("*.*.*")&&typeof proxy!=="undefined"){v.cssprops=new proxy(v.cssprops||{},{set:function(){i("jqmigrate: jquery.cssprops is deprecated");return reflect.set.apply(this,arguments)}})}if(!v.cssnumber){v.cssnumber={}}function x(r){return p.test(r)&&g.test(r[0].touppercase()+r.slice(1))}a=v.fn.css;v.fn.css=function(s,u){var t,r=this;if(s&&typeof s==="object"&&!array.isarray(s)){v.each(s,function(w,v){v.fn.css.call(r,w,v)});return this}if(typeof u==="number"){t=l(s);if(!x(t)&&!v.cssnumber[t]){i('number-typed values are deprecated for jquery.fn.css( "'+s+'", value )')}}return a.apply(this,arguments)};var y=v.data;v.data=function(v,r,w){var u,t,s;if(r&&typeof r==="object"&&arguments.length===2){u=v.hasdata(v)&&y.call(this,v);t={};for(s in r){if(s!==l(s)){i("jquery.data() always sets/gets camelcased names: "+s);u[s]=r[s]}else{t[s]=r[s]}}y.call(this,v,t);return r}if(r&&typeof r==="string"&&r!==l(r)){u=v.hasdata(v)&&y.call(this,v);if(u&&r in u){i("jquery.data() always sets/gets camelcased names: "+r);if(arguments.length>2){u[r]=w}return u[r]}}return y.apply(this,arguments)};if(v.fx){var l,z,j=v.tween.prototype.run,p=function(r){return r};v.tween.prototype.run=function(){if(v.easing[this.easing].length>1){i("'jquery.easing."+this.easing.tostring()+"' should use only one argument");v.easing[this.easing]=p}j.apply(this,arguments)};l=v.fx.interval||13;z="jquery.fx.interval is deprecated";if(h.requestanimationframe){object.defineproperty(v.fx,"interval",{configurable:true,enumerable:true,get:function(){if(!h.document.hidden){i(z)}return l},set:function(r){i(z);l=r}})}}var q=v.fn.load,c=v.event.add,e=v.event.fix;v.event.props=[];v.event.fixhooks={};t(v.event.props,"concat",v.event.props.concat,"jquery.event.props.concat() is deprecated and removed");v.event.fix=function(r){var u,t=r.type,v=this.fixhooks[t],s=v.event.props;if(s.length){i("jquery.event.props are deprecated and removed: "+s.join());while(s.length){v.event.addprop(s.pop())}}if(v&&!v._migrated_){v._migrated_=true;i("jquery.event.fixhooks are deprecated and removed: "+t);if((s=v.props)&&s.length){while(s.length){v.event.addprop(s.pop())}}}u=e.call(this,r);return v&&v.filter?v.filter(u,r):u};v.event.add=function(s,r){if(s===h&&r==="load"&&h.document.readystate==="complete"){i("jquery(window).on('load'...) called after load event occurred")}return c.apply(this,arguments)};v.each(["load","unload","error"],function(s,r){v.fn[r]=function(){var t=array.prototype.slice.call(arguments,0);if(r==="load"&&typeof t[0]==="string"){return q.apply(this,t)}i("jquery.fn."+r+"() is deprecated");t.splice(0,0,r);if(arguments.length){return this.on.apply(this,t)}this.triggerhandler.apply(this,t);return this}});v.each(("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu").split(" "),function(s,r){v.fn[r]=function(u,t){i("jquery.fn."+r+"() event shorthand is deprecated");return arguments.length>0?this.on(r,null,u,t):this.trigger(r)}});v(function(){v(h.document).triggerhandler("ready")});v.event.special.ready={setup:function(){if(this===h.document){i("'ready' event is deprecated")}}};v.fn.extend({bind:function(r,t,s){i("jquery.fn.bind() is deprecated");return this.on(r,null,t,s)},unbind:function(r,s){i("jquery.fn.unbind() is deprecated");return this.off(r,null,s)},delegate:function(r,s,u,t){i("jquery.fn.delegate() is deprecated");return this.on(s,r,u,t)},undelegate:function(r,s,t){i("jquery.fn.undelegate() is deprecated");return arguments.length===1?this.off(r,"**"):this.off(s,r||"**",t)},hover:function(r,s){i("jquery.fn.hover() is deprecated");return this.on("mouseenter",r).on("mouseleave",s||r)}});var h=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,o=v.htmlprefilter,m=function(r){var s=h.document.implementation.createhtmldocument("");s.body.innerhtml=r;return s.body&&s.body.innerhtml},o=function(r){var s=r.replace(h,"<$1>");if(s!==r&&m(r)!==m(s)){i("html tags must be properly nested and closed: "+r)}};v.unsafe_restorelegacyhtmlprefilter=function(){v.htmlprefilter=function(r){o(r);return r.replace(h,"<$1>")}};v.htmlprefilter=function(r){o(r);return o(r)};var k=v.fn.offset;v.fn.offset=function(){var r=this[0];if(r&&(!r.nodetype||!r.getboundingclientrect)){i("jquery.fn.offset() requires a valid dom element");return arguments.length?this:undefined}return k.apply(this,arguments)};if(v.ajax){var a=v.param;v.param=function(s,r){var t=v.ajaxsettings&&v.ajaxsettings.traditional;if(r===undefined&&t){i("jquery.param() no longer uses jquery.ajaxsettings.traditional");r=t}return a.call(this,s,r)}}var f=v.fn.andself||v.fn.addback;v.fn.andself=function(){i("jquery.fn.andself() is deprecated and removed, use jquery.fn.addback()");return f.apply(this,arguments)};if(v.deferred){var e=v.deferred,f=[["resolve","done",v.callbacks("once memory"),v.callbacks("once memory"),"resolved"],["reject","fail",v.callbacks("once memory"),v.callbacks("once memory"),"rejected"],["notify","progress",v.callbacks("memory"),v.callbacks("memory")]];v.deferred=function(s){var r=e(),t=r.promise();r.pipe=t.pipe=function(){var u=arguments;i("deferred.pipe() is deprecated");return v.deferred(function(v){v.each(f,function(x,w){var y=typeof u[x]==="function"&&u[x];r[w[1]](function(){var z=y&&y.apply(this,arguments);if(z&&typeof z.promise==="function"){z.promise().done(v.resolve).fail(v.reject).progress(v.notify)}else{v[w[0]+"with"](this===t?v.promise():this,y?[z]:arguments)}})});u=null}).promise()};if(s){s.call(r,r)}return r};v.deferred.exceptionhook=e.exceptionhook}return v});