YUI.add("io-form",function(I,e){var g=encodeURIComponent;I.IO.stringify=function(e,t){return I.IO.prototype._serialize({id:e,useDisabled:(t=t||{}).useDisabled},t.extra&&"object"==typeof t.extra?I.QueryString.stringify(t.extra):t.extra)},I.mix(I.IO.prototype,{_serialize:function(e,t){var i,s,a,r,n,d,o,l,c,u,b=[],f=e.useDisabled||!1,p=0,x="string"==typeof e.id?e.id:e.id.getAttribute("id");if(x||(x=I.guid("io:"),e.id.setAttribute("id",x)),!(s=I.config.doc.getElementById(x))||!s.elements)return t||"";for(d=0,o=s.elements.length;d<o;++d)if(n=(i=s.elements[d]).disabled,a=i.name,f?a:a&&!n)switch(a=g(a)+"=",r=g(i.value),i.type){case"select-one":-1<i.selectedIndex&&(u=i.options[i.selectedIndex],b[p++]=a+g(u.attributes.value&&u.attributes.value.specified?u.value:u.text));break;case"select-multiple":if(-1<i.selectedIndex)for(l=i.selectedIndex,c=i.options.length;l<c;++l)(u=i.options[l]).selected&&(b[p++]=a+g(u.attributes.value&&u.attributes.value.specified?u.value:u.text));break;case"radio":case"checkbox":i.checked&&(b[p++]=a+r);break;case"file":case undefined:case"reset":case"button":break;default:b[p++]=a+r}return t&&(b[p++]=t),b.join("&")}},!0)},"patched-v3.18.7",{requires:["io-base","node-base"]});