;/*!aipage:static/js/third_party/san/san.min.js*/ !function(e){function t(){}function i(e,t){for(var i in t)if(t.hasownproperty(i)){var s=t[i];void 0!==s&&(e[i]=s)}return e}function s(e,t){var s=e.prototype,n=new function;n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e,i(e.prototype,s)}function n(e,t){if(e&&e.length>0)for(var i=0,s=e.length;i..<"+t[1],n=ot[s];n||(n=new regexp(u(t[0])+"\\s*([\\s\\s]+?)\\s*"+u(t[1]),"g"),ot[s]=n);for(var r,a=new v(e),o=0,h={type:7,segs:[]},c=t[1].length;null!=(r=a.match(n));){var l=r[1],p=r[0].length;a.cut(a.index+1-c,a.index+1)===t[1]&&(l+=a.cut(a.index,a.index+1),a.go(1),p++),i(a.cut(o,a.index-p));var d=z(l);h.original=h.original||d.original,h.segs.push(d),o=a.index}return i(a.cut(o)),1===h.segs.length&&1===h.segs[0].type&&(h.value=h.segs[0].value),h}function f(e,t,i,s){"else-if"===t&&(t="elif");var n=ht[t];n&&((e.directives[t]=n(i,s)).raw=i)}function j(e,t,i,s){var n,r,a=t.indexof("-");switch(a>0&&(r=t.slice(0,a),n=t.slice(a+1)),r){case"on":var o={name:n,modifier:{}};e.events.push(o);for(var h;(h=i.indexof(":"))>0;){var c=i.slice(0,h);if(!/^[a-z]+$/i.test(c))break;o.modifier[c]=!0,i=i.slice(h+1)}o.expr=o(i,[g([{type:1,value:"$event"}])]);break;case"san":case"s":f(e,n,i,s);break;case"prop":b(e,n,i,s);break;case"var":e.vars||(e.vars=[]),n=m(n),e.vars.push({name:n,expr:a(i.replace(/(^\{\{|\}\}$)/g,""))});break;default:b(e,t,i,s)}}function b(e,t,i,s){var r=i||"",a=r.match(/^\{=\s*(.*?)\s*=\}$/);if(a)return void e.props.push({name:t,expr:a(a[1]),x:1,raw:r});var o=l(r,s.delimiters);switch(t){case"class":case"style":n(o.segs,function(e){5===e.type&&e.filters.push({type:6,name:g([{type:1,value:"_"+t}]),args:[]})})}if(7===o.type)switch(o.segs.length){case 0:nt[t]&&(o={type:3,value:!0});break;case 1:o=o.segs[0],5===o.type&&0===o.filters.length&&(o=o.expr)}e.props.push({name:t,expr:o,raw:i})}function $(e,t){function i(e){switch(t.trimwhitespace){case"blank":/^\s+$/.test(e)&&(e=null);break;case"all":e=e.replace(/(^\s+|\s+$)/g,"")}e&&h.children.push({textexpr:l(e,t.delimiters)})}t=t||{},t.trimwhitespace=t.trimwhitespace||"none";var s={directives:{},props:[],events:[],children:[]};if("string"!=typeof e)return s;e=e.replace(//gm,"").replace(/(^\s+|\s+$)/g,"");for(var n,r=new v(e),a=/<(\/)?([a-z][a-z0-9-]*)\s*/gi,o=/([-:0-9a-z\[\]_]+)(\s*=\s*(['"])([^\3]*?)\3)?\s*/gi,h=s,c=[s],l=0,p=0;null!=(n=r.match(a));){var d=r.index-n[0].length,u=n[1],f=n[2];if(ge[f]||(f=f.tolowercase()),u){if(62===r.currentcode()){var m=l;for(i(e.slice(p,d));m>0&&c[m].tagname!==f;)m--;m>0&&(l=m-1,h=c[l]),r.go(1)}}else{for(var g={directives:{},props:[],events:[],children:[],tagname:f},y=it[f];;){var x=r.currentcode();if(62===x){r.go(1);break}if(47===x&&62===r.charcode(r.index+1)){r.go(2),y=1;break}if(!x){i(r.cut(p)),g=null;break}var w=r.match(o);w&&j(g,w[1],w[3]?w[4]:void 0,t)}if(g){i(e.slice(p,d));if(g.directives["else"]||g.directives.elif){for(var c=h.children.length,n=null;c--;){var _=h.children[c];{if(!_.textexpr){n=_;break}h.children.splice(c,1)}}n&&(n.elses=n.elses||[],n.elses.push(g))}else{if("tr"===g.tagname&&"table"===h.tagname){var b={directives:{},props:[],events:[],children:[],tagname:"tbody"};h.children.push(b),h=b,c[++l]=b}h.children.push(g)}y||(h=g,c[++l]=g)}}p=r.index}return i(r.cut(p)),s}function m(e){if("object"==typeof e){var t="";for(var i in e)e.hasownproperty(i)&&(t+=i+":"+e[i]+";");return t}return e}function w(e,t,s){if(null!=e.value)return e.value;var n;switch(e.type){case 13:return null;case 9:switch(n=w(e.expr,t,s),e.operator){case 33:n=!n;break;case 45:n=0-n}return n;case 8:n=w(e.segs[0],t,s);var r=w(e.segs[1],t,s);switch(e.operator){case 37:n%=r;break;case 43:n+=r;break;case 45:n-=r;break;case 42:n*=r;break;case 47:n/=r;break;case 60:n=nr;break;case 76:n=n&&r;break;case 94:n=n!=r;break;case 121:n=n<=r;break;case 122:n=n==r;break;case 123:n=n>=r;break;case 155:n=n!==r;break;case 183:n=n===r;break;case 248:n=n||r}return n;case 10:return w(e.segs[w(e.segs[0],t,s)?1:2],t,s);case 12:n=[];for(var a=0,o=e.items.length;a=s)return n;null==e&&(e={});var a=t[i],o=w(a,r),h=e;if(e instanceof array){var c=+o;o=isnan(c)?o:c,h=e.slice(0),h[o]=ne(e[o],t,i+1,s,n,r)}else if("object"==typeof e){h={};for(var l in e)l!==o&&e.hasownproperty(l)&&(h[l]=e[l]);h[o]=ne(e[o],t,i+1,s,n,r)}return null==a.value&&(t[i]={type:"string"==typeof o?1:2,value:o}),h}function re(e,t,i,s){var n=e.expr.args;return function(r){r=s?r:r||window.event;var a=ie(t,e.expr.name,i);if("function"==typeof a&&a.apply(t,n.length?q(n,new se({$event:r},i),t):[]),e.modifier.prevent)return r.preventdefault&&r.preventdefault(),!1;e.modifier.stop&&(r.stoppropagation?r.stoppropagation():r.cancelbubble=!0)}}function ae(e,t){if(t)for(var i=0;i1&&(s.extoverview=n[0].value+"."+n[1].value,s.wildoverview=n[0].value+".*")}if(t[s.overview]||s.wildoverview&&t[s.wildoverview]||s.extoverview&&t[s.extoverview])return!0}}function oe(e,t,i){t&&(i?t.insertbefore(e,i):t.appendchild(e))}function he(e){this.raw=[],this.index=0,this.target=e;for(var t,i=e.firstchild;i;){switch(t=i.nextsibling,i.nodetype){case 3:/^\s*$/.test(i.data||i.textcontent)?p(i):this.raw.push(i);break;case 1:case 8:this.raw.push(i)}i=t}this.current=this.raw[this.index],this.next=this.raw[this.index+1]}function ce(e,t,i,s,n){if(this.anode=e,this.owner=s,this.scope=i,this.parent=t,this.lifecycle=lt.start,this.children=[],this._elfns=[],this.parentcomponent=5===t.nodetype?t:t.parentcomponent,this.tagname=e.tagname,tt&&this.tagname.indexof("-")>0&&(this.tagname="div"),this._sbinddata=se(e.directives.bind,this.scope,this.owner),this.lifecycle=lt.inited,n){var r=n.current;if(!r)throw new error("[san reverse error] element not found. \npaths: "+ae(this).join(" > "));if(1!==r.nodetype)throw new error("[san reverse error] element type not match, expect 1 but "+r.nodetype+".\npaths: "+ae(this).join(" > "));if(r.tagname.tolowercase()!==this.tagname)throw new error("[san reverse error] element tagname not match, expect "+this.tagname+" but meat "+r.tagname.tolowercase()+".\npaths: "+ae(this).join(" > "));this.el=r,n.gonext(),ve(this,this.scope,this.owner),this.lifecycle=lt.created,this._attached(),this.lifecycle=lt.attached}}function le(){this.el=this.el||document.createcomment(this.id)}function pe(e,t,i){for(var s=e&&e.length;s--;)e[s].dispose(t,i)}function de(e){pe(this.children,e,1),e||p(this.el),this.el=null,this.owner=null,this.scope=null,this.children=null,this.lifecycle=lt.disposed,this._ondisposed&&this._ondisposed()}function ue(e,t){this.options=e,this.loader=t,this.id=ke++,this.children=[];var i=e.reversewalker;if(i){var s=this.loader.placeholder;s&&(this.children[0]=new s(e)),this._create(),oe(this.el,i.target,i.current);var n=this;this.loader.start(function(e){n.onload(e)})}e.reversewalker=null}function fe(e,t,i,s,n){if(e.clazz)return new e.clazz(e,t,i,s,n);var r=s.getcomponenttype?s.getcomponenttype(e,i):s.components[e.tagname];return r?"function"==typeof r?new r({source:e,owner:s,scope:i,parent:t,subtag:e.tagname,reversewalker:n}):new ue({source:e,owner:s,scope:i,parent:t,subtag:e.tagname,reversewalker:n},r):new ce(e,t,i,s,n)}function ve(e,t,i){if(!e.anode.directives.html)for(var s=new he(e.el),n=e.anode.children,r=0,a=n.length;r0&&(this.tagname="div"),this.computeddeps={};for(var v in this.computed)this.computed.hasownproperty(v)&&!this.computeddeps[v]&&this._calccomputed(v);if(this._initdatachanger(),this._sbinddata=se(this.anode.directives.bind,this.data,this),this._tophase("inited"),this.el)ve(this,this.data,this),this._tophase("created"),this._attached(),this._tophase("attached");else{var m=e.reversewalker;if(m){var g=this.anode.directives["if"];if(!g||w(g.value,this.data,this)){var y=m.current;y&&1===y.nodetype&&(this.el=y,m.gonext()),ve(this,this.data,this)}else this.el=document.createcomment(this.id),oe(this.el,m.target,m.current);this._tophase("created"),this._attached(),this._tophase("attached")}}}function ze(e,t){function i(e){oe.call(this,e)}return"function"==typeof e?e:(i.prototype=e,s(i,t||oe),i)}function ie(e,t,i){this.load=e,this.placeholder=t,this.fallback=i,this.listeners=[]}function ue(e){var t=e.prototype;if(!t.hasownproperty("_cmptready")){t.components=e.components||t.components||{};var i=t.components;for(var s in i){var n=i[s];"object"!=typeof n||n instanceof ie?"self"===n&&(i[s]=e):i[s]=ze(n)}t._cmptready=1}if(!t.hasownproperty("anode")){var r=$(e.template||t.template,{trimwhitespace:t.trimwhitespace||e.trimwhitespace,delimiters:t.delimiters||e.delimiters}),a=r.children[0];if(a&&a.textexpr&&(a=null),t.anode=a=a||{directives:{},props:[],events:[],children:[]},"template"===a.tagname&&(a.tagname=null),!1!==t.autofillstyleandid&&!1!==e.autofillstyleandid){for(var o={"class":0,style:0,id:0},h=a.props.length;h--;){var c=a.props[h];null!=o[c.name]&&(o[c.name]=c,a.props.splice(h,1))}if(o.id=o.id||{name:"id",expr:a("id")},o["class"]){var l=l("{{class | _xclass}}").segs[0];l.filters[0].args.push(o["class"].expr),o["class"].expr=l}else o["class"]={name:"class",expr:l("{{class | _class}}")};if(o.style){var p=l("{{style | _xstyle}}").segs[0];p.filters[0].args.push(o.style.expr),o.style.expr=p}else o.style={name:"style",expr:l("{{style | _style}}")};a.props.push(o["class"],o.style,o.id)}}}function le(e,t){return 8===e.nodetype&&e.data==="/s-"+t}function fe(e,t,i,s,n){if(this.anode=e,this.owner=s,this.scope=i,this.parent=t,n){var r=n.current;if(r)switch(r.nodetype){case 8:if("s-text"===r.data)for(this.sel=r,r.data=this.id,n.gonext();;){if(!(r=n.current))throw new error("[san reverse error] text end flag not found. \npaths: "+ae(this).join(" > "));if(le(r,"text")){this.el=r,n.gonext(),r.data=this.id;break}n.gonext()}break;case 3:n.gonext(),this.anode.textexpr.original||(this.el=r)}else this.el=document.createtextnode(""),oe(this.el,n.target,n.current)}}function je(e,t){this.sel=document.createcomment(this.id),oe(this.sel,e,t);for(var i=0;i1&&r.push(a[0].value+"."+(a[1].value||"*")),i(a.slice(1),1);break;case 9:r=ve(e.expr,t),s=e.expr.dynamic;break;case 7:case 8:case 10:i(e.segs,t);break;case 5:r=ve(e.expr),s=e.expr.dynamic,n(e.filters,function(e){i(e.name.paths),i(e.args)});break;case 6:i(e.name.paths),i(e.args);break;case 12:case 11:for(var o=0;o",nbsp:" ",quot:'"',emsp:" ",ensp:" ",thinsp:" ",copy:"©",reg:"®",zwnj:"‌",zwj:"‍",amp:"&"},ot={},ht={"for":function(e){var t=new v(e),i=t.match(/^\s*([$0-9a-z_]+)(\s*,\s*([$0-9a-z_]+))?\s+in\s+/gi,1);if(i){var s={item:i[1],value:x(t)};if(i[3]&&(s.index=i[3]),t.match(/\s*trackby\s+/gi,1)){var n=t.index;s.trackby=_(t),s.trackby.raw=t.cut(n,t.index)}return s}},ref:function(e,t){return{value:l(e,t.delimiters)}},"if":function(e){return{value:a(e.replace(/(^\{\{|\}\}$)/g,""))}},elif:function(e){return{value:a(e.replace(/(^\{\{|\}\}$)/g,""))}},"else":function(){return{value:{}}},bind:function(e){return{value:a(e.replace(/(^\{\{|\}\}$)/g,""))}},html:function(e){return{value:a(e.replace(/(^\{\{|\}\}$)/g,""))}},transition:function(e){return{value:o(e)}}},ct={url:encodeuricomponent,_class:function(e){return e instanceof array?e.join(" "):e},_style:m,_xclass:function(e,t){return e instanceof array&&(e=e.join(" ")),e?t?t+" "+e:e:t},_xstyle:function(e,t){return e=e&&m(e),e?t?t+";"+e:e:t}},lt={start:{},compiled:{is:y,compiled:!0},inited:{is:y,compiled:!0,inited:!0},created:{is:y,compiled:!0,inited:!0,created:!0},attached:{is:y,compiled:!0,inited:!0,created:!0,attached:!0},leaving:{is:y,compiled:!0,inited:!0,created:!0,attached:!0,leaving:!0},detached:{is:y,compiled:!0,inited:!0,created:!0,detached:!0},disposed:{is:y,disposed:!0}},pt={text:1,if:2,for:3,elem:4,cmpt:5,slot:6,tpl:7,loader:8},dt={readonly:"readonly",cellpadding:"cellpadding",cellspacing:"cellspacing",colspan:"colspan",rowspan:"rowspan",valign:"valign",usemap:"usemap",frameborder:"frameborder","for":"htmlfor"},ut={style:function(e,t){e.style.csstext=t},"class":function(e,t){(et||e.classname!==t)&&(e.classname=t)},slot:t,draggable:j},ft={checkbox:r,radio:function(e,t){return e===t}},vt={input:{multiple:j,checked:function(e,t,i,s){var n=z(s,t);j(e,null!=n?n:t,"checked",s),et&&et<8&&!s.lifecycle.attached&&j(e,null!=n?n:t,"defaultchecked",s)},readonly:j,disabled:j,autofocus:j,required:j},option:{value:function(e,t,i,s){k(e,t,i,s),q(s,t)&&(e.selected=!0)}},select:{readonly:j,disabled:j,autofocus:j,required:j},textarea:{readonly:j,disabled:j,autofocus:j,required:j},button:{disabled:j,autofocus:j,type:function(e,t){e.setattribute("type",t)}}};se.prototype.listen=function(e){"function"==typeof e&&this.listeners.push(e)},se.prototype.unlisten=function(e){for(var t=this.listeners.length;t--;)e&&this.listeners[t]!==e||this.listeners.splice(t,1)},se.prototype.fire=function(e){if(!(e.option.silent||e.option.silence||e.option.quiet))for(var t=0;ta?r=a:r<0&&(r=a+r)<0&&(r=0);var o=s.slice(0);n=o.splice.apply(o,t),this.raw=ne(this.raw,e.paths,0,e.paths.length,o,this),this.fire({expr:e,type:2,index:r,deletecount:n.length,value:n,insertions:t.slice(2),option:i})}return n},se.prototype.push=function(e,t,i){var s=this.get(e);if(s instanceof array)return this.splice(e,[s.length,0,t],i),s.length+1},se.prototype.pop=function(e,t){var i=this.get(e);if(i instanceof array){var s=i.length;if(s)return this.splice(e,[s-1,1],t)[0]}},se.prototype.shift=function(e,t){return this.splice(e,[0,1],t)[0]},se.prototype.unshift=function(e,t,i){var s=this.get(e);if(s instanceof array)return this.splice(e,[0,0,t],i),s.length+1},se.prototype.removeat=function(e,t,i){this.splice(e,[t,1],i)},se.prototype.remove=function(e,t,i){var s=this.get(e);if(s instanceof array)for(var n=s.length;n--;)if(s[n]===t){this.splice(e,[n,1],i);break}};var mt={"class":1,style:1,id:1};he.prototype.gonext=function(){this.current=this.raw[++this.index],this.next=this.raw[this.index+1]},ce.prototype.nodetype=4,ce.prototype.attach=function(e,t){if(!this.lifecycle.attached){if(!this.el){var i=this.anode.hotspot.sourcenode,s=this.anode.props;if(i?(this.el=i.clonenode(!1),s=this.anode.hotspot.dynamicprops):this.el=l(this.tagname),this._sbinddata)for(var n in this._sbinddata)this._sbinddata.hasownproperty(n)&&ee(this.tagname,n)(this.el,this._sbinddata[n],n,this);for(var r=0,a=s.length;r2&&(r=g([{type:1,value:r}].concat(s.paths.slice(a.paths.length))),a=s),n>=2&&2===e.type?t.data.splice(r,[e.index,e.deletecount].concat(e.insertions),{target:{node:t.owner}}):t.data.set(r,w(a,t.scope,t.owner),{target:{node:t.owner}}))}),n(t.sourceslotnameprops,function(e){return!(i=i||v(s,e.expr,t.scope))})}),i)this._initsourceslots(),this._repaintchildren();else for(var s=this.slotchildren.length;s--;){var r=this.slotchildren[s];r.lifecycle.disposed?this.slotchildren.splice(s,1):r.isinserted&&r._update(e,1)}var a=this._datachanges;if(a){this._datachanges=null;var o=this.anode.directives["if"],h=!o||w(o.value,this.data,this)?1:8;if(this._sbinddata=re(this.anode.directives.bind,this._sbinddata,this.data,this,a,function(e,i){1!==t.el.nodetype||e in t.anode.hotspot.props||ee(t.tagname,e)(t.el,i,e,t)}),this.el.nodetype===h){if(1===h){for(var c=this.anode.hotspot.dynamicprops,l=0;l1&&(r=g(s.expr.paths.concat(n.paths.slice(1)))),t=1,i.scope.set(r,w(n,i.data,i),{target:{node:i,prop:s.name}})}})}),t},oe.prototype._repaintchildren=function(){if(1===this.el.nodetype){pe(this.children,0,1),this.children=[],this.slotchildren=[];for(var e=0,t=this.anode.children.length;e=a&&t&&t()}var s=this.el.parentnode,n=s.firstchild,r=s.lastchild,a=this.children.length,o=!this.anode.directives.transition&&!e&&a&&n===this.children[0].el&&r===this.el;e||(e=this.children,this.children=[]);var h=0;a=e.length;for(var c=0;c2){var v=u.expr.paths,m=this.param.value.paths.length,y=+w(v[m],this.scope,this.owner);isnan(y)?i(u):n||(h=!1,c&&(c[y]=1),a[y]=a[y]||[],this.param.index&&a[y].push(u),u=1===u.type?{type:u.type,expr:g(this.itempaths.concat(v.slice(m+1))),value:u.value,option:u.option}:{index:u.index,deletecount:u.deletecount,insertions:u.insertions,type:u.type,expr:g(this.itempaths.concat(v.slice(m+1))),value:u.value,option:u.option},a[y].push(u),1===u.type?this.children[y]?this.children[y].scope._set(u.expr,u.value,{silent:1}):this.children[y]=0:this.children[y]&&this.children[y].scope._splice(u.expr,[].concat(u.index,u.deletecount,u.insertions),{silent:1}))}else{if(n)continue;if(2!==f||2!==u.type||"optimized"===this.owner.updatemode&&this.opti&&!this.anode.directives.transition)if(c=null,h=!1,n=1,p&&l&&r){for(var x=[],w=[],c={},n=[],_={},b=0;be&&s>d&&x[t-1]===w[s-1];)t--,s--,this.listdata[s]!==t[t]&&(this.children[s].scope.raw[this.param.item]=t[t],(a[s]=a[s]||[]).push({type:1,option:u.option,expr:this.itemexpr,value:t[t]})),t!==s&&(this.children[s].scope.raw[this.children[s].scope.indexname]=t,p&&(a[s]=a[s]||[]).push(p)),f<2&&(a[s]=a[s]||[]).push(u);for(var r=[],a=[],o=-1,z=n.slice(d,s),i=s-d,u=new array(i),b=0;b0&&r[j-1]<=l)f=j-1;else for(;j-f>1;){var b=math.floor((f+j)/2);r[b]>l?j=b:f=b}-1!==f&&(u[b]=a[f]),f===o?(o++,r[o]=l,a[o]=b):l=0;b=u[b],o--)r[o]=b;for(var $=r.length,m=$?n[r[--$]+d]:-1,q=[],h=[],b=l-1;b>=0;b--)if(b>=t)q[b]=this.children[r-l+b],h[b]=a[r-l+b];else if(bl&&(o=o.concat(this.children.slice(l)),a=a.slice(0,l),this.children=this.children.slice(0,l));for(var b=0;b0){h=!1;var te=[k+g,0].concat(new array(z));this.children.splice.apply(this.children,te),a.splice.apply(a,te)}}}else i(u)}if(l!==r&&this.param.value.paths){var ie={type:1,option:{},expr:g(this.param.value.paths.concat({type:1,value:"length"}))};ae([ie],this.anode.hotspot.data)&&i(ie)}this._docreateandupdate=s;var se=this;0===o.length?s():this._disposechildren(o,function(){s===se._docreateandupdate&&s()})},we.prototype.nodetype=2,we.prototype._create=le,we.prototype.dispose=de,we.prototype.attach=function(e,t){var i,s,r=this;w(this.anode.directives["if"].value,this.scope,this.owner)?(s=me(this.anode.ifrinsed,this,this.scope,this.owner),i=-1):n(this.anode.elses,function(e,t){var n=e.directives.elif;if(!n||n&&w(n.value,r.scope,r.owner))return s=me(e,r,r.scope,r.owner),i=t,!1}),s&&(this.children[0]=s,s.attach(e,t),this.elseindex=i),this._create(),oe(this.el,e,t)},we.prototype._update=function(e){function t(){void 0!==i&&(s.children[0]=me(r,s,s.scope,s.owner)).attach(s.el.parentnode,s.el)}var i,s=this,r=this.anode.ifrinsed;w(this.anode.directives["if"].value,this.scope,this.owner)?i=-1:n(this.anode.elses,function(e,t){var n=e.directives.elif;if(n&&w(n.value,s.scope,s.owner)||!n)return i=t,r=e,!1});var a=this.children[0];i===this.elseindex?a&&a._update(e):(this.children=[],a?(a._ondisposed=t,a.dispose()):t(),this.elseindex=i)},qe.prototype.nodetype=7,qe.prototype.attach=je,qe.prototype.dispose=function(e,t){pe(this.children,e,t),e||(p(this.el),p(this.sel)),this.sel=null,this.el=null,this.owner=null,this.scope=null,this.children=null,this.lifecycle=lt.disposed,this._ondisposed&&this._ondisposed()},qe.prototype._update=function(e){for(var t=0;ti;i++){var u=e[i].id,s=e[i].url;if(!(s in c)){c[s]=!0;var p=document.createelement("script");t&&!function(e,a){var r=settimeout(function(){t(a)},n.timeout);e.onerror=function(){cleartimeout(r),t(a)};var i=function(){cleartimeout(r)};"onload"in e?e.onload=i:e.onreadystatechange=function(){("loaded"===this.readystate||"complete"===this.readystate)&&i()}}(p,u),p.type="text/javascript",p.src=s,a.appendchild(p)}}r.appendchild(a)},f=function(e,n,t){for(var a=[],r=0,o=e.length;o>r;r++){var u=e[r],c=i[u]||(i[u]=[]);c.push(n);var f,l=s[u]||s[u+".js"]||{},h=l.pkg;f=h?p[h].url||p[h].uri:l.url||l.uri||u,a.push({id:u,url:f})}d(a,t)};t=function(e,n){e=e.replace(/\.js$/i,""),o[e]=n;var t=i[e];if(t){for(var a=0,r=t.length;r>a;a++)t[a]();delete i[e]}},n=function(e){if(e&&e.splice)return n.async.apply(this,arguments);e=n.alias(e);var t=u[e];if(t)return t.exports;var a=o[e];if(!a)throw"[modjs] cannot find module `"+e+"`";t=u[e]={exports:{}};var r="function"==typeof a?a.apply(t,[n,t.exports,t]):a;return r&&(t.exports=r),t.exports},n.async=function(t,a,r){function i(e){for(var t,a=0,r=e.length;r>a;a++){var u=n.alias(e[a]);u in c||(c[u]=!0,u in o?(t=s[u]||s[u+".js"],t&&"deps"in t&&i(t.deps)):(d.push(u),p++,t=s[u]||s[u+".js"],t&&"deps"in t&&i(t.deps)))}}function u(){if(0===p--){for(var r=[],i=0,o=t.length;o>i;i++)r[i]=n(t[i]);a&&a.apply(e,r)}}"string"==typeof t&&(t=[t]);var c={},p=0,d=[];i(t),f(d,u,r),u()},n.ensure=function(e,t){n.async(e,function(){t&&t.call(this,n)})},n.resourcemap=function(e){var n,t;t=e.res;for(n in t)t.hasownproperty(n)&&(s[n]=t[n]);t=e.pkg;for(n in t)t.hasownproperty(n)&&(p[n]=t[n])},n.loadjs=function(e,n){if(e in c)return void(n&&n());var t=document.createelement("script");t.type="text/javascript",t.readystate?t.onreadystatechange=function(){("loaded"==t.readystate||"complete"==t.readystate)&&(t.onreadystatechange=null,c[e]=!0,n&&n())}:t.onload=function(){c[e]=!0,n&&n()},t.src=e,r.appendchild(t)},n.alias=function(e){return e.replace(/\.js$/i,"")},n.timeout=5e3,a.require=n,a.define=t,window.aipage=window.aipage||{},window.aipage.require=a.require,window.aipage.define=a.define}(this); ;/*!aipage:static/js/third_party/jquery/jquery.min.js*/ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new error("jquery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(c,e){"use strict";var t=[],r=object.getprototypeof,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexof,n={},o=n.tostring,v=n.hasownproperty,a=v.tostring,l=a.call(object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodetype&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},e=c.document,c={type:!0,src:!0,nonce:!0,nomodule:!0};function b(e,t,n){var r,i,o=(n=n||e).createelement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getattribute&&t.getattribute(r))&&o.setattribute(r,i);n.head.appendchild(o).parentnode.removechild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",s=function(e,t){return new s.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+m+")"+m+"*"),u=new regexp(m+"|>"),x=new regexp(f),v=new regexp("^"+i+"$"),g={id:new regexp("^#("+i+")"),class:new regexp("^\\.("+i+")"),tag:new regexp("^("+i+"|[*])"),attr:new regexp("^"+w),pseudo:new regexp("^"+f),child:new regexp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+m+"*(even|odd|(([+-]|)(\\d*)n|)"+m+"*(?:([+-]|)"+m+"*(\\d+)|))"+m+"*\\)|)","i"),bool:new regexp("^(?:"+r+")$","i"),needscontext:new regexp("^"+m+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+m+"*((?:-\\d)?\\d*)"+m+"*\\)|)(?=[^-]|$)","i")},y=/html$/i,q=/^(?:input|select|textarea|button)$/i,j=/^h\d$/i,k=/^[^{]+\{\s*\[native \w/,z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new regexp("\\\\[\\da-fa-f]{1,6}"+m+"?|\\\\([^\\r\\n\\f])","g"),ne=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))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uffff\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charcodeat(e.length-1).tostring(16)+" ":"\\"+e},oe=function(){t()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodename.tolowercase()},{dir:"parentnode",next:"legend"});try{h.apply(t=o.call(p.childnodes),p.childnodes),t[p.childnodes.length].nodetype}catch(e){h={apply:t.length?function(e,t){l.apply(e,o.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerdocument,p=e?e.nodetype:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(t(e),e=e||c,e)){if(11!==p&&(u=z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getelementbyid(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getelementbyid(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return h.apply(n,e.getelementsbytagname(t)),n;if((i=u[3])&&d.getelementsbyclassname&&e.getelementsbyclassname)return h.apply(n,e.getelementsbyclassname(i)),n}if(d.qsa&&!n[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodename.tolowercase())){if(c=t,f=e,1===p&&(u.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentnode)||e)===e&&d.scope||((s=e.getattribute("id"))?s=s.replace(re,ie):e.setattribute("id",s=s)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return h.apply(n,f.queryselectorall(c)),n}catch(e){n(t,!0)}finally{s===s&&e.removeattribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cachelength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[s]=!0,e}function ce(e){var t=c.createelement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentnode&&t.parentnode.removechild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrhandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodetype&&1===t.nodetype&&e.sourceindex-t.sourceindex;if(r)return r;if(n)while(n=n.nextsibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodename.tolowercase()&&e.type===t}}function he(n){return function(e){var t=e.nodename.tolowercase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentnode&&!1===e.disabled?"label"in e?"label"in e.parentnode?e.parentnode.disabled===t:e.disabled===t:e.isdisabled===t||e.isdisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getelementsbytagname&&e}for(e in d=se.support={},i=se.isxml=function(e){var t=e&&e.namespaceuri,n=e&&(e.ownerdocument||e).documentelement;return!y.test(t||n&&n.nodename||"html")},t=se.setdocument=function(e){var t,n,r=e?e.ownerdocument||e:p;return r!=c&&9===r.nodetype&&r.documentelement&&(a=(c=r).documentelement,e=!i(c),p!=c&&(n=c.defaultview)&&n.top!==n&&(n.addeventlistener?n.addeventlistener("unload",oe,!1):n.attachevent&&n.attachevent("onunload",oe)),d.scope=ce(function(e){return a.appendchild(e).appendchild(c.createelement("div")),"undefined"!=typeof e.queryselectorall&&!e.queryselectorall(":scope fieldset div").length}),d.attributes=ce(function(e){return e.classname="i",!e.getattribute("classname")}),d.getelementsbytagname=ce(function(e){return e.appendchild(c.createcomment("")),!e.getelementsbytagname("*").length}),d.getelementsbyclassname=k.test(c.getelementsbyclassname),d.getbyid=ce(function(e){return a.appendchild(e).id=s,!c.getelementsbyname||!c.getelementsbyname(s).length}),d.getbyid?(b.filter.id=function(e){var t=e.replace(te,ne);return function(e){return e.getattribute("id")===t}},b.find.id=function(e,t){if("undefined"!=typeof t.getelementbyid&&e){var n=t.getelementbyid(e);return n?[n]:[]}}):(b.filter.id=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getattributenode&&e.getattributenode("id");return t&&t.value===n}},b.find.id=function(e,t){if("undefined"!=typeof t.getelementbyid&&e){var n,r,i,o=t.getelementbyid(e);if(o){if((n=o.getattributenode("id"))&&n.value===e)return[o];i=t.getelementsbyname(e),r=0;while(o=i[r++])if((n=o.getattributenode("id"))&&n.value===e)return[o]}return[]}}),b.find.tag=d.getelementsbytagname?function(e,t){return"undefined"!=typeof t.getelementsbytagname?t.getelementsbytagname(e):d.qsa?t.queryselectorall(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getelementsbytagname(e);if("*"===e){while(n=o[i++])1===n.nodetype&&r.push(n);return r}return o},b.find.class=d.getelementsbyclassname&&function(e,t){if("undefined"!=typeof t.getelementsbyclassname&&e)return t.getelementsbyclassname(e)},s=[],v=[],(d.qsa=k.test(c.queryselectorall))&&(ce(function(e){var t;a.appendchild(e).innerhtml="",e.queryselectorall("[msallowcapture^='']").length&&v.push("[*^$]="+m+"*(?:''|\"\")"),e.queryselectorall("[selected]").length||v.push("\\["+m+"*(?:value|"+r+")"),e.queryselectorall("[id~="+s+"-]").length||v.push("~="),(t=c.createelement("input")).setattribute("name",""),e.appendchild(t),e.queryselectorall("[name='']").length||v.push("\\["+m+"*name"+m+"*="+m+"*(?:''|\"\")"),e.queryselectorall(":checked").length||v.push(":checked"),e.queryselectorall("a#"+s+"+*").length||v.push(".#.+[+~]"),e.queryselectorall("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerhtml="";var t=c.createelement("input");t.setattribute("type","hidden"),e.appendchild(t).setattribute("name","d"),e.queryselectorall("[name=d]").length&&v.push("name"+m+"*[*^$|!~]?="),2!==e.queryselectorall(":enabled").length&&v.push(":enabled",":disabled"),a.appendchild(e).disabled=!0,2!==e.queryselectorall(":disabled").length&&v.push(":enabled",":disabled"),e.queryselectorall("*,:x"),v.push(",.*:")})),(d.matchesselector=k.test(c=a.matches||a.webkitmatchesselector||a.mozmatchesselector||a.omatchesselector||a.msmatchesselector))&&ce(function(e){d.disconnectedmatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",f)}),v=v.length&&new regexp(v.join("|")),s=s.length&&new regexp(s.join("|")),t=k.test(a.comparedocumentposition),y=t||k.test(a.contains)?function(e,t){var n=9===e.nodetype?e.documentelement:e,r=t&&t.parentnode;return e===r||!(!r||1!==r.nodetype||!(n.contains?n.contains(r):e.comparedocumentposition&&16&e.comparedocumentposition(r)))}:function(e,t){if(t)while(t=t.parentnode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.comparedocumentposition-!t.comparedocumentposition;return n||(1&(n=(e.ownerdocument||e)==(t.ownerdocument||t)?e.comparedocumentposition(t):1)||!d.sortdetached&&t.comparedocumentposition(e)===n?e==c||e.ownerdocument==p&&y(p,e)?-1:t==c||t.ownerdocument==p&&y(p,t)?1:u?p(u,e)-p(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentnode,o=t.parentnode,a=[e],s=[t];if(!i||!o)return e==c?-1:t==c?1:i?-1:o?1:u?p(u,e)-p(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentnode)a.unshift(n);n=t;while(n=n.parentnode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),c},se.matches=function(e,t){return se(e,null,null,t)},se.matchesselector=function(e,t){if(t(e),d.matchesselector&&e&&!n[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedmatch||e.document&&11!==e.document.nodetype)return n}catch(e){n(t,!0)}return 0":{dir:"parentnode",first:!0}," ":{dir:"parentnode"},"+":{dir:"previoussibling",first:!0},"~":{dir:"previoussibling"}},prefilter:{attr:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},pseudo:function(e){var t,n=!e[6]&&e[2];return g.child.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&x.test(n)&&(t=h(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(te,ne).tolowercase();return"*"===e?function(){return!0}:function(e){return e.nodename&&e.nodename.tolowercase()===t}},class:function(e){var t=m[e+" "];return t||(t=new regexp("(^|"+m+")"+e+"("+m+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.classname&&e.classname||"undefined"!=typeof e.getattribute&&e.getattribute("class")||"")})},attr:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexof(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?s.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodetype?s.grep(e,function(e){return e===n!==r}):"string"!=typeof n?s.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(s.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||d,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof s?t[0]:t,s.merge(this,s.parsehtml(r[1],t&&t.nodetype?t.ownerdocument||t:e,!0)),n.test(r[1])&&s.isplainobject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=e.getelementbyid(r[2]))&&(this[0]=i,this.length=1),this}return e.nodetype?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(s):s.makearray(e,this)}).prototype=s.fn,d=s(e);var l=/^(?:parents|prev(?:until|all))/,h={children:!0,contents:!0,next:!0,prev:!0};function o(e,t){while((e=e[t])&&1!==e.nodetype);return e}s.fn.extend({has:function(e){var t=s(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=e.createdocumentfragment().appendchild(e.createelement("div")),(fe=e.createelement("input")).setattribute("type","radio"),fe.setattribute("checked","checked"),fe.setattribute("name","t"),ce.appendchild(fe),y.checkclone=ce.clonenode(!0).clonenode(!0).lastchild.checked,ce.innerhtml="",y.noclonechecked=!!ce.clonenode(!0).lastchild.defaultvalue,ce.innerhtml="",y.option=!!ce.lastchild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getelementsbytagname?e.getelementsbytagname(t||"*"):"undefined"!=typeof e.queryselectorall?e.queryselectorall(t||"*"):[],void 0===t||t&&a(e,t)?s.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createdocumentfragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return a(e,"table")&&a(11!==t.nodetype?t:t.firstchild,"tr")&&s(e).children("tbody")[0]||e}function de(e){return e.type=(null!==e.getattribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeattribute("type"),e}function le(e,t){var n,r,i,o,a,s;if(1===t.nodetype){if(y.hasdata(e)&&(s=y.get(e).events))for(i in y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptattrs||{}).prop({charset:n.scriptcharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),e.head.appendchild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],ut=/(=)\?(?=&|$)|\?\?/;s.ajaxsetup({jsonp:"callback",jsonpcallback:function(){var e=zt.pop()||s.expando+"_"+wt.guid++;return this[e]=!0,e}}),s.ajaxprefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contenttype||"").indexof("application/x-www-form-urlencoded")&&ut.test(e.data)&&"data");if(a||"jsonp"===e.datatypes[0])return r=e.jsonpcallback=m(e.jsonpcallback)?e.jsonpcallback():e.jsonpcallback,a?e[a]=e[a].replace(ut,"$1"+r):!1!==e.jsonp&&(e.url+=(tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||s.error(r+" was not called"),o[0]},e.datatypes[0]="json",i=c[r],c[r]=function(){o=arguments},n.always(function(){void 0===i?s(c).removeprop(r):c[r]=i,e[r]&&(e.jsonpcallback=t.jsonpcallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createhtmldocument=((_t=e.implementation.createhtmldocument("").body).innerhtml="
",2===_t.childnodes.length),s.parsehtml=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createhtmldocument?((r=(t=e.implementation.createhtmldocument("")).createelement("base")).href=e.location.href,t.head.appendchild(r)):t=e),o=!n&&[],(i=n.exec(e))?[t.createelement(i[1])]:(i=xe([e],t,o),o&&o.length&&s(o).remove(),s.merge([],i.childnodes)));var r,i,o},s.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexof(" ");return-1").append(s.parsehtml(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responsetext,t,e])})}),this},s.expr.pseudos.animated=function(t){return s.grep(s.timers,function(e){return t===e.elem}).length},s.offset={setoffset:function(e,t,n){var r,i,o,a,s,u,l=s.css(e,"position"),c=s(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=s.css(e,"top"),u=s.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexof("auto")?(a=(r=c.position()).top,i=r.left):(a=parsefloat(o)||0,i=parsefloat(u)||0),m(t)&&(t=t.call(e,n,s.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},s.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){s.offset.setoffset(this,t,e)});var e,n,r=this[0];return r?r.getclientrects().length?(e=r.getboundingclientrect(),n=r.ownerdocument.defaultview,{top:e.top+n.pageyoffset,left:e.left+n.pagexoffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===s.css(r,"position"))t=r.getboundingclientrect();else{t=this.offset(),n=r.ownerdocument,e=r.offsetparent||n.documentelement;while(e&&(e===n.body||e===n.documentelement)&&"static"===s.css(e,"position"))e=e.parentnode;e&&e!==r&&1===e.nodetype&&((i=s(e).offset()).top+=s.css(e,"bordertopwidth",!0),i.left+=s.css(e,"borderleftwidth",!0))}return{top:t.top-i.top-s.css(r,"margintop",!0),left:t.left-i.left-s.css(r,"marginleft",!0)}}},offsetparent:function(){return this.map(function(){var e=this.offsetparent;while(e&&"static"===s.css(e,"position"))e=e.offsetparent;return e||re})}}),s.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},function(t,i){var o="pageyoffset"===i;s.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodetype&&(r=e.defaultview),void 0===n)return r?r[i]:e[t];r?r.scrollto(o?r.pagexoffset:n,o?n:r.pageyoffset):e[t]=n},t,e,arguments.length)}}),s.each(["top","left"],function(e,n){s.csshooks[n]=fe(y.pixelposition,function(e,t){if(t)return t=we(e,n),pe.test(t)?s(e).position()[n]+"px":t})}),s.each({height:"height",width:"width"},function(a,s){s.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){s.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexof("outer")?e["inner"+a]:e.document.documentelement["client"+a]:9===e.nodetype?(r=e.documentelement,math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?s.css(e,t,i):s.style(e,t,n,i)},s,n?e:void 0,n)}})}),s.each(["ajaxstart","ajaxstop","ajaxcomplete","ajaxerror","ajaxsuccess","ajaxsend"],function(e,t){s.fn[t]=function(e){return this.on(t,e)}}),s.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),s.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(e,n){s.fn[n]=function(e,t){return 0