var g,k=this,l=function(a){var c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var b=Object.prototype.toString.call(a);if("[object Window]"==b)return"object";if("[object Array]"==b||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==b||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==c&&"undefined"==typeof a.call)return"object";return c},m=function(a,c){var b=a.split("."),d=k;b[0]in d||!d.execScript||d.execScript("var "+b[0]);for(var e;b.length&&(e=b.shift());)b.length||void 0===c?d=d[e]?d[e]:d[e]={}:d[e]=c},n=function(a,c){function b(){}b.prototype=c.prototype;a.H=c.prototype;a.prototype=new b;a.G=function(a,b,f){for(var h=Array(arguments.length-2),x=2;x2*this.b&&D(this),!0):!1};var D=function(a){if(a.b!=a.c.length){for(var c=0,b=0;c=d.c.length)throw A;var e=d.c[c++];return a?e:d.h[e]};return e};var E=function(a,c){return Object.prototype.hasOwnProperty.call(a,c)};var F=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,G=function(a,c){if(a)for(var b=a.split("&"),d=0;dc)throw Error("Bad port number "+c);a.w=c}else a.w=null},L=function(a,c,b){J(a);c instanceof N?(a.i=c,a.i.C(a.g)):(b||(c=O(c,T)),a.i=new N(c,0,a.g))},J=function(a){if(a.F)throw Error("Tried to modify a read-only Uri");};H.prototype.C=function(a){this.g=a;this.i&&this.i.C(a);return this}; var M=function(a,c){return a?c?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},O=function(a,c,b){return"string"==typeof a?(a=encodeURI(a).replace(c,U),b&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},U=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},P=/[#\/\?@]/g,R=/[\#\?:]/g,Q=/[\#\?]/g,T=/[\#\?@]/g,S=/#/g,N=function(a,c,b){this.b=this.a=null;this.f=a||null;this.g=!!b},V=function(a){a.a||(a.a=new C,a.b=0,a.f&&G(a.f,function(c,b){a.add(decodeURIComponent(c.replace(/\+/g, " ")),b)}))};g=N.prototype;g.add=function(a,c){V(this);this.f=null;a=W(this,a);var b=this.a.get(a);b||this.a.set(a,b=[]);b.push(c);this.b=v(this.b)+1;return this};g.remove=function(a){V(this);a=W(this,a);return this.a.o(a)?(this.f=null,this.b=v(this.b)-this.a.get(a).length,this.a.remove(a)):!1};g.o=function(a){V(this);a=W(this,a);return this.a.o(a)};g.s=function(){V(this);for(var a=this.a.l(),c=this.a.s(),b=[],d=0;d