/*! jquery migrate v1.2.1 | (c) 2005, 2013 jquery foundation, inc. and other contributors | jquery.org/license */ jquery.migratemute===void 0&&(jquery.migratemute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migratewarnings.push(n),r&&r.warn&&!e.migratemute&&(r.warn("jqmigrate: "+n),e.migratetrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(object.defineproperty)try{return object.defineproperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definepropertybroken=!0,t[a]=i}var i={};e.migratewarnings=[],!e.migratemute&&t.console&&t.console.log&&t.console.log("jqmigrate: logging is active"),e.migratetrace===n&&(e.migratetrace=!0),e.migratereset=function(){i={},e.migratewarnings.length=0},"backcompat"===document.compatmode&&r("jquery is not compatible with quirks mode");var o=e("",{size:1}).attr("size")&&e.attrfn,s=e.attr,u=e.attrhooks.value&&e.attrhooks.value.get||function(){return null},c=e.attrhooks.value&&e.attrhooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrfn",o||{},"jquery.attrfn is deprecated"),e.attr=function(t,a,i,u){var c=a.tolowercase(),g=t&&t.nodetype;return u&&(4>s.length&&r("jquery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isfunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodename)&&t.parentnode&&r("can't change the 'type' of an input or button in ie 6/7/8"),!e.attrhooks[c]&&p.test(c)&&(e.attrhooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getattributenode(r))&&a.nodevalue!==!1?r.tolowercase():n},set:function(t,n,r){var a;return n===!1?e.removeattr(t,r):(a=e.propfix[r]||r,a in t&&(t[a]=!0),t.setattribute(r,r.tolowercase())),r}},f.test(c)&&r("jquery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrhooks.value={get:function(e,t){var n=(e.nodename||"").tolowercase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jquery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodename||"").tolowercase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jquery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parsejson,y=/^([^<]*)(<[\w\w]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isplainobject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charat(0)&&r("$(html) html strings must start with '<' character"),i[3]&&r("$(html) html text after last tag is ignored"),"#"===i[0].charat(0)&&(r("html string cannot start with a '#' character"),e.error("jqmigrate: invalid selector string (xss)")),n&&n.context&&(n=n.context),e.parsehtml)?v.call(this,e.parsehtml(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parsejson=function(e){return e||null===e?m.apply(this,arguments):(r("jquery.parsejson requires a valid json string"),null)},e.uamatch=function(e){e=e.tolowercase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexof("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uamatch(navigator.useragent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jquery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jquery.sub() is deprecated"),t},e.ajaxsetup({converters:{"text json":e.parsejson}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("use of jquery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andself||e.fn.addback;e.fn.andself=function(){return r("jquery.fn.andself() replaced by jquery.fn.addback()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodetype&&a[0]||a,a=a.ownerdocument||a,r("jquery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildfragment(t,a).childnodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentnode?e.parentnode.removechild(e):e):i.appendchild(e):n},s=0;null!=(u=d[s]);s++)e.nodename(u,"script")&&c(u)||(i.appendchild(u),u.getelementsbytagname!==n&&(l=e.grep(e.merge([],u.getelementsbytagname("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var q=e.event.add,x=e.event.remove,k=e.event.trigger,n=e.fn.toggle,t=e.fn.live,m=e.fn.die,s="ajaxstart|ajaxstop|ajaxsend|ajaxcomplete|ajaxerror|ajaxsuccess",c=regexp("\\b(?:"+s+")\\b"),h=/(?:^|\s)hover(\.\s+|)\b/,a=function(t){return"string"!=typeof t||e.event.special.hover?t:(h.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(h,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrchange"!==e.event.props[0]&&e.event.props.unshift("attrchange","attrname","relatednode","srcelement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jquery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&c.test(t)&&r("ajax events should be attached to document: "+t),q.call(this,e,a(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,a(t)||"",n,r,a)},e.fn.error=function(){var e=array.prototype.slice.call(arguments,0);return r("jquery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerhandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isfunction(t)||!e.isfunction(n))return n.apply(this,arguments);r("jquery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lasttoggle"+t.guid)||0)%o;return e._data(this,"lasttoggle"+t.guid,r+1),n.preventdefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jquery.fn.live() is deprecated"),t?t.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jquery.fn.die() is deprecated"),m?m.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||c.test(e)||r("global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(s.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jquery,window);