diff --git a/src/grammar/dist/grammar.js b/src/grammar/dist/grammar.js index 46bcac4d9..fde30b305 100644 --- a/src/grammar/dist/grammar.js +++ b/src/grammar/dist/grammar.js @@ -161,7 +161,6 @@ JsSIP.grammar = (function(){ "contact_params": parse_contact_params, "c_p_q": parse_c_p_q, "c_p_expires": parse_c_p_expires, - "contact_extension": parse_contact_extension, "delta_seconds": parse_delta_seconds, "qvalue": parse_qvalue, "generic_param": parse_generic_param, @@ -187,7 +186,6 @@ JsSIP.grammar = (function(){ "Expires": parse_Expires, "Event": parse_Event, "event_type": parse_event_type, - "event_param": parse_event_param, "From": parse_From, "from_param": parse_from_param, "tag_param": parse_tag_param, @@ -8044,7 +8042,7 @@ JsSIP.grammar = (function(){ if (result0 === null) { result0 = parse_c_p_expires(); if (result0 === null) { - result0 = parse_contact_extension(); + result0 = parse_generic_param(); } } return result0; @@ -8138,28 +8136,6 @@ JsSIP.grammar = (function(){ return result0; } - function parse_contact_extension() { - var result0; - var pos0; - - pos0 = pos; - result0 = parse_generic_param(); - if (result0 !== null) { - result0 = (function(offset, c_e) { - if(!data.params) data.params = {}; - if(c_e[1]) { - data.params[c_e[0]] = c_e[1]; - } - else { - data.params[c_e[0]] = true; - }; })(pos0, result0); - } - if (result0 === null) { - pos = pos0; - } - return result0; - } - function parse_delta_seconds() { var result0, result1; var pos0; @@ -8294,11 +8270,16 @@ JsSIP.grammar = (function(){ } if (result0 !== null) { result0 = (function(offset, param, value) { - if(typeof value === 'undefined') - var value = null; - else + if(!data.params) data.params = {}; + if (typeof value === 'undefined'){ + value = undefined; + } + else { value = value[1]; - return [ param, value ]; })(pos0, result0[0], result0[1]); + } + + data.params[param] = value; + })(pos0, result0[0], result0[1]); } if (result0 === null) { pos = pos0; @@ -8912,7 +8893,7 @@ JsSIP.grammar = (function(){ pos2 = pos; result2 = parse_SEMI(); if (result2 !== null) { - result3 = parse_event_param(); + result3 = parse_generic_param(); if (result3 !== null) { result2 = [result2, result3]; } else { @@ -8928,7 +8909,7 @@ JsSIP.grammar = (function(){ pos2 = pos; result2 = parse_SEMI(); if (result2 !== null) { - result3 = parse_event_param(); + result3 = parse_generic_param(); if (result3 !== null) { result2 = [result2, result3]; } else { @@ -9028,28 +9009,6 @@ JsSIP.grammar = (function(){ return result0; } - function parse_event_param() { - var result0; - var pos0; - - pos0 = pos; - result0 = parse_generic_param(); - if (result0 !== null) { - result0 = (function(offset, e_v) { - if(!data.params) data.params = {}; - if(e_v[1]) { - data.params[e_v[0]] = e_v[1]; - } - else { - data.params[e_v[0]] = true; - }; })(pos0, result0); - } - if (result0 === null) { - pos = pos0; - } - return result0; - } - function parse_From() { var result0, result1, result2, result3; var pos0, pos1; @@ -10455,19 +10414,7 @@ JsSIP.grammar = (function(){ pos = pos0; } if (result0 === null) { - pos0 = pos; result0 = parse_generic_param(); - if (result0 !== null) { - result0 = (function(offset, g_p) { - if (typeof g_p !== 'undefined') { - if(!data.params) data.params = {}; - if(g_p[1]) data.params[g_p[0]] = g_p[1]; - else data.params[g_p[0]] = true; - }; })(pos0, result0); - } - if (result0 === null) { - pos = pos0; - } } } } diff --git a/src/grammar/dist/grammar.min.js b/src/grammar/dist/grammar.min.js index 87fa47be5..1dc65859c 100644 --- a/src/grammar/dist/grammar.min.js +++ b/src/grammar/dist/grammar.min.js @@ -1,149 +1,151 @@ -JsSIP.grammar=function(){function gb(f){return'"'+f.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g,escape)+'"'}var J={parse:function(f,C){function h(a){bO&&(O=b,wa=[]),wa.push(a))}function hb(){var a;"\r\n"===f.substr(b,2)?(a="\r\n",b+=2):(a=null,0===g&&h('"\\r\\n"'));return a}function p(){var a;/^[0-9]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a= -null,0===g&&h("[0-9]"));return a}function P(){var a;/^[a-zA-Z]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[a-zA-Z]"));return a}function G(){var a;/^[0-9a-fA-F]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[0-9a-fA-F]"));return a}function Q(){var a;a=z();null===a&&(a=H());return a}function xa(){var a;/^[\0-\xFF]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[\\0-\\xFF]"));return a}function D(){var a;/^["]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h('["]')); -return a}function z(){var a;32===f.charCodeAt(b)?(a=" ",b++):(a=null,0===g&&h('" "'));return a}function H(){var a;9===f.charCodeAt(b)?(a="\t",b++):(a=null,0===g&&h('"\\t"'));return a}function E(){var a;/^[a-zA-Z0-9]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[a-zA-Z0-9]"));return a}function da(){var a;59===f.charCodeAt(b)?(a=";",b++):(a=null,0===g&&h('";"'));if(null===a&&(47===f.charCodeAt(b)?(a="/",b++):(a=null,0===g&&h('"/"')),null===a))if(63===f.charCodeAt(b)?(a="?",b++):(a=null, -0===g&&h('"?"')),null===a)if(58===f.charCodeAt(b)?(a=":",b++):(a=null,0===g&&h('":"')),null===a)if(64===f.charCodeAt(b)?(a="@",b++):(a=null,0===g&&h('"@"')),null===a)if(38===f.charCodeAt(b)?(a="&",b++):(a=null,0===g&&h('"&"')),null===a)if(61===f.charCodeAt(b)?(a="=",b++):(a=null,0===g&&h('"="')),null===a)if(43===f.charCodeAt(b)?(a="+",b++):(a=null,0===g&&h('"+"')),null===a)if(36===f.charCodeAt(b)?(a="$",b++):(a=null,0===g&&h('"$"')),null===a)44===f.charCodeAt(b)?(a=",",b++):(a=null,0===g&&h('","')); -return a}function w(){var a;a=E();null===a&&(a=J());return a}function J(){var a;45===f.charCodeAt(b)?(a="-",b++):(a=null,0===g&&h('"-"'));if(null===a&&(95===f.charCodeAt(b)?(a="_",b++):(a=null,0===g&&h('"_"')),null===a))if(46===f.charCodeAt(b)?(a=".",b++):(a=null,0===g&&h('"."')),null===a)if(33===f.charCodeAt(b)?(a="!",b++):(a=null,0===g&&h('"!"')),null===a)if(126===f.charCodeAt(b)?(a="~",b++):(a=null,0===g&&h('"~"')),null===a)if(42===f.charCodeAt(b)?(a="*",b++):(a=null,0===g&&h('"*"')),null===a)if(39=== -f.charCodeAt(b)?(a="'",b++):(a=null,0===g&&h('"\'"')),null===a)if(40===f.charCodeAt(b)?(a="(",b++):(a=null,0===g&&h('"("')),null===a)41===f.charCodeAt(b)?(a=")",b++):(a=null,0===g&&h('")"'));return a}function x(){var a,c,d,e;e=b;37===f.charCodeAt(b)?(a="%",b++):(a=null,0===g&&h('"%"'));null!==a?(c=G(),null!==c?(d=G(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function y(){var a,c,d,e,f;d=f=e=b;a=[];for(c=Q();null!==c;)a.push(c),c=Q();null!==a?(c=hb(),null!==c?a=[a,c]:(a= -null,b=d)):(a=null,b=d);a=null!==a?a:"";if(null!==a){d=Q();if(null!==d)for(c=[];null!==d;)c.push(d),d=Q();else c=null;null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;null!==a&&(a=" ");null===a&&(b=e);return a}function s(){var a;a=y();return null!==a?a:""}function ib(){var a,c,d,e,i;i=e=b;a=[];c=z();for(null===c&&(c=H());null!==c;)a.push(c),c=z(),null===c&&(c=H());null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null, -b=i);null!==a&&(a=":");null===a&&(b=e);return a}function jb(){var a,c,d,e,i,h,g;h=i=b;c=I();if(null!==c)for(a=[];null!==c;)a.push(c),c=I();else a=null;if(null!==a){c=[];g=b;d=[];for(e=y();null!==e;)d.push(e),e=y();null!==d?(e=I(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;){c.push(d);g=b;d=[];for(e=y();null!==e;)d.push(e),e=y();null!==d?(e=I(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g)}null!==c?a=[a,c]:(a=null,b=h)}else a=null,b=h;null!==a&&(a=f.substring(b,i));null===a&&(b=i);return a} -function I(){var a;/^[!-~]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[!-~]"));null===a&&(a=K());return a}function K(){var a;/^[\x80-\uFFFF]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[\\x80-\\uFFFF]"));return a}function R(){var a;/^[\x80-\xBF]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[\\x80-\\xBF]"));return a}function r(){var a,c,d;d=b;c=E();if(null===c&&(45===f.charCodeAt(b)?(c="-",b++):(c=null,0===g&&h('"-"')),null===c))if(46===f.charCodeAt(b)?(c=".", -b++):(c=null,0===g&&h('"."')),null===c)if(33===f.charCodeAt(b)?(c="!",b++):(c=null,0===g&&h('"!"')),null===c)if(37===f.charCodeAt(b)?(c="%",b++):(c=null,0===g&&h('"%"')),null===c)if(42===f.charCodeAt(b)?(c="*",b++):(c=null,0===g&&h('"*"')),null===c)if(95===f.charCodeAt(b)?(c="_",b++):(c=null,0===g&&h('"_"')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"')),null===c)if(96===f.charCodeAt(b)?(c="`",b++):(c=null,0===g&&h('"`"')),null===c)if(39===f.charCodeAt(b)?(c="'",b++):(c=null, -0===g&&h('"\'"')),null===c)126===f.charCodeAt(b)?(c="~",b++):(c=null,0===g&&h('"~"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=E(),null===c&&(45===f.charCodeAt(b)?(c="-",b++):(c=null,0===g&&h('"-"')),null===c))if(46===f.charCodeAt(b)?(c=".",b++):(c=null,0===g&&h('"."')),null===c)if(33===f.charCodeAt(b)?(c="!",b++):(c=null,0===g&&h('"!"')),null===c)if(37===f.charCodeAt(b)?(c="%",b++):(c=null,0===g&&h('"%"')),null===c)if(42===f.charCodeAt(b)?(c="*",b++):(c=null,0===g&&h('"*"')),null===c)if(95=== -f.charCodeAt(b)?(c="_",b++):(c=null,0===g&&h('"_"')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"')),null===c)if(96===f.charCodeAt(b)?(c="`",b++):(c=null,0===g&&h('"`"')),null===c)if(39===f.charCodeAt(b)?(c="'",b++):(c=null,0===g&&h('"\'"')),null===c)126===f.charCodeAt(b)?(c="~",b++):(c=null,0===g&&h('"~"'))}else a=null;null!==a&&(a=f.substring(b,d));null===a&&(b=d);return a}function ea(){var a,c,d;d=b;c=E();if(null===c&&(45===f.charCodeAt(b)?(c="-",b++):(c=null,0===g&&h('"-"')), -null===c))if(33===f.charCodeAt(b)?(c="!",b++):(c=null,0===g&&h('"!"')),null===c)if(37===f.charCodeAt(b)?(c="%",b++):(c=null,0===g&&h('"%"')),null===c)if(42===f.charCodeAt(b)?(c="*",b++):(c=null,0===g&&h('"*"')),null===c)if(95===f.charCodeAt(b)?(c="_",b++):(c=null,0===g&&h('"_"')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"')),null===c)if(96===f.charCodeAt(b)?(c="`",b++):(c=null,0===g&&h('"`"')),null===c)if(39===f.charCodeAt(b)?(c="'",b++):(c=null,0===g&&h('"\'"')),null===c)126=== -f.charCodeAt(b)?(c="~",b++):(c=null,0===g&&h('"~"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=E(),null===c&&(45===f.charCodeAt(b)?(c="-",b++):(c=null,0===g&&h('"-"')),null===c))if(33===f.charCodeAt(b)?(c="!",b++):(c=null,0===g&&h('"!"')),null===c)if(37===f.charCodeAt(b)?(c="%",b++):(c=null,0===g&&h('"%"')),null===c)if(42===f.charCodeAt(b)?(c="*",b++):(c=null,0===g&&h('"*"')),null===c)if(95===f.charCodeAt(b)?(c="_",b++):(c=null,0===g&&h('"_"')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c= -null,0===g&&h('"+"')),null===c)if(96===f.charCodeAt(b)?(c="`",b++):(c=null,0===g&&h('"`"')),null===c)if(39===f.charCodeAt(b)?(c="'",b++):(c=null,0===g&&h('"\'"')),null===c)126===f.charCodeAt(b)?(c="~",b++):(c=null,0===g&&h('"~"'))}else a=null;null!==a&&(a=f.substring(b,d));null===a&&(b=d);return a}function ya(){var a,c,d;d=b;c=E();if(null===c&&(45===f.charCodeAt(b)?(c="-",b++):(c=null,0===g&&h('"-"')),null===c))if(46===f.charCodeAt(b)?(c=".",b++):(c=null,0===g&&h('"."')),null===c)if(33===f.charCodeAt(b)? -(c="!",b++):(c=null,0===g&&h('"!"')),null===c)if(37===f.charCodeAt(b)?(c="%",b++):(c=null,0===g&&h('"%"')),null===c)if(42===f.charCodeAt(b)?(c="*",b++):(c=null,0===g&&h('"*"')),null===c)if(95===f.charCodeAt(b)?(c="_",b++):(c=null,0===g&&h('"_"')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"')),null===c)if(96===f.charCodeAt(b)?(c="`",b++):(c=null,0===g&&h('"`"')),null===c)if(39===f.charCodeAt(b)?(c="'",b++):(c=null,0===g&&h('"\'"')),null===c)if(126===f.charCodeAt(b)?(c="~",b++): -(c=null,0===g&&h('"~"')),null===c)if(40===f.charCodeAt(b)?(c="(",b++):(c=null,0===g&&h('"("')),null===c)if(41===f.charCodeAt(b)?(c=")",b++):(c=null,0===g&&h('")"')),null===c)if(60===f.charCodeAt(b)?(c="<",b++):(c=null,0===g&&h('"<"')),null===c)if(62===f.charCodeAt(b)?(c=">",b++):(c=null,0===g&&h('">"')),null===c)if(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null===c)if(92===f.charCodeAt(b)?(c="\\",b++):(c=null,0===g&&h('"\\\\"')),null===c)if(c=D(),null===c&&(47===f.charCodeAt(b)?(c= -"/",b++):(c=null,0===g&&h('"/"')),null===c))if(91===f.charCodeAt(b)?(c="[",b++):(c=null,0===g&&h('"["')),null===c)if(93===f.charCodeAt(b)?(c="]",b++):(c=null,0===g&&h('"]"')),null===c)if(63===f.charCodeAt(b)?(c="?",b++):(c=null,0===g&&h('"?"')),null===c)if(123===f.charCodeAt(b)?(c="{",b++):(c=null,0===g&&h('"{"')),null===c)125===f.charCodeAt(b)?(c="}",b++):(c=null,0===g&&h('"}"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=E(),null===c&&(45===f.charCodeAt(b)?(c="-",b++):(c=null,0===g&&h('"-"')), -null===c))if(46===f.charCodeAt(b)?(c=".",b++):(c=null,0===g&&h('"."')),null===c)if(33===f.charCodeAt(b)?(c="!",b++):(c=null,0===g&&h('"!"')),null===c)if(37===f.charCodeAt(b)?(c="%",b++):(c=null,0===g&&h('"%"')),null===c)if(42===f.charCodeAt(b)?(c="*",b++):(c=null,0===g&&h('"*"')),null===c)if(95===f.charCodeAt(b)?(c="_",b++):(c=null,0===g&&h('"_"')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"')),null===c)if(96===f.charCodeAt(b)?(c="`",b++):(c=null,0===g&&h('"`"')),null===c)if(39=== -f.charCodeAt(b)?(c="'",b++):(c=null,0===g&&h('"\'"')),null===c)if(126===f.charCodeAt(b)?(c="~",b++):(c=null,0===g&&h('"~"')),null===c)if(40===f.charCodeAt(b)?(c="(",b++):(c=null,0===g&&h('"("')),null===c)if(41===f.charCodeAt(b)?(c=")",b++):(c=null,0===g&&h('")"')),null===c)if(60===f.charCodeAt(b)?(c="<",b++):(c=null,0===g&&h('"<"')),null===c)if(62===f.charCodeAt(b)?(c=">",b++):(c=null,0===g&&h('">"')),null===c)if(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null===c)if(92===f.charCodeAt(b)? -(c="\\",b++):(c=null,0===g&&h('"\\\\"')),null===c)if(c=D(),null===c&&(47===f.charCodeAt(b)?(c="/",b++):(c=null,0===g&&h('"/"')),null===c))if(91===f.charCodeAt(b)?(c="[",b++):(c=null,0===g&&h('"["')),null===c)if(93===f.charCodeAt(b)?(c="]",b++):(c=null,0===g&&h('"]"')),null===c)if(63===f.charCodeAt(b)?(c="?",b++):(c=null,0===g&&h('"?"')),null===c)if(123===f.charCodeAt(b)?(c="{",b++):(c=null,0===g&&h('"{"')),null===c)125===f.charCodeAt(b)?(c="}",b++):(c=null,0===g&&h('"}"'))}else a=null;null!==a&&(a= -f.substring(b,d));null===a&&(b=d);return a}function kb(){var a,c,d,e,i;i=e=b;a=s();null!==a?(42===f.charCodeAt(b)?(c="*",b++):(c=null,0===g&&h('"*"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="*");null===a&&(b=e);return a}function fa(){var a,c,d,e,i;i=e=b;a=s();null!==a?(47===f.charCodeAt(b)?(c="/",b++):(c=null,0===g&&h('"/"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="/");null===a&&(b=e);return a}function t(){var a, -c,d,e,i;i=e=b;a=s();null!==a?(61===f.charCodeAt(b)?(c="=",b++):(c=null,0===g&&h('"="')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="=");null===a&&(b=e);return a}function lb(){var a,c,d,e,i;i=e=b;a=s();null!==a?(40===f.charCodeAt(b)?(c="(",b++):(c=null,0===g&&h('"("')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="(");null===a&&(b=e);return a}function mb(){var a,c,d,e,i;i=e=b;a=s();null!==a?(41===f.charCodeAt(b)? -(c=")",b++):(c=null,0===g&&h('")"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=")");null===a&&(b=e);return a}function nb(){var a,c,d,e;e=d=b;62===f.charCodeAt(b)?(a=">",b++):(a=null,0===g&&h('">"'));null!==a?(c=s(),null!==c?a=[a,c]:(a=null,b=e)):(a=null,b=e);null!==a&&(a=">");null===a&&(b=d);return a}function ob(){var a,c,d,e;e=d=b;a=s();null!==a?(60===f.charCodeAt(b)?(c="<",b++):(c=null,0===g&&h('"<"')),null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);null!== -a&&(a="<");null===a&&(b=d);return a}function u(){var a,c,d,e,i;i=e=b;a=s();null!==a?(44===f.charCodeAt(b)?(c=",",b++):(c=null,0===g&&h('","')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=",");null===a&&(b=e);return a}function v(){var a,c,d,e,i;i=e=b;a=s();null!==a?(59===f.charCodeAt(b)?(c=";",b++):(c=null,0===g&&h('";"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=";");null===a&&(b=e);return a}function pb(){var a, -c,d,e,i;i=e=b;a=s();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=":");null===a&&(b=e);return a}function za(){var a,c,d,e;e=d=b;a=s();null!==a?(c=D(),null!==c?a=[a,c]:(a=null,b=e)):(a=null,b=e);null!==a&&(a='"');null===a&&(b=d);return a}function Aa(){var a,c,d,e;e=d=b;a=D();null!==a?(c=s(),null!==c?a=[a,c]:(a=null,b=e)):(a=null,b=e);null!==a&&(a='"');null===a&&(b=d);return a}function Ba(){var a, -c,d,e;e=b;a=lb();if(null!==a){c=[];d=Ca();null===d&&(d=S(),null===d&&(d=Ba()));for(;null!==d;)c.push(d),d=Ca(),null===d&&(d=S(),null===d&&(d=Ba()));null!==c?(d=mb(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)}else a=null,b=e;return a}function Ca(){var a;/^[!-']/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[!-']"));if(null===a&&(/^[*-[]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[*-[]")),null===a))if(/^[\]-~]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[\\]-~]")), -null===a)a=K(),null===a&&(a=y());return a}function F(){var a,c,d,e,i,g;g=i=b;a=s();if(null!==a)if(c=D(),null!==c){d=[];e=Da();for(null===e&&(e=S());null!==e;)d.push(e),e=Da(),null===e&&(e=S());null!==d?(e=D(),null!==e?a=[a,c,d,e]:(a=null,b=g)):(a=null,b=g)}else a=null,b=g;else a=null,b=g;null!==a&&(a=f.substring(b,i));null===a&&(b=i);return a}function Da(){var a;a=y();if(null===a&&(33===f.charCodeAt(b)?(a="!",b++):(a=null,0===g&&h('"!"')),null===a))if(/^[#-[]/.test(f.charAt(b))?(a=f.charAt(b),b++): -(a=null,0===g&&h("[#-[]")),null===a)/^[\]-~]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[\\]-~]")),null===a&&(a=K());return a}function S(){var a,c,d;d=b;92===f.charCodeAt(b)?(a="\\",b++):(a=null,0===g&&h('"\\\\"'));if(null!==a){/^[\0-\t]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[\\0-\\t]"));if(null===c&&(/^[\x0B-\f]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[\\x0B-\\f]")),null===c))/^[\x0E-\u007f]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[\\x0E-\u007f]")); -null!==c?a=[a,c]:(a=null,b=d)}else a=null,b=d;return a}function qb(){var a,c,d,e,i,j;j=i=b;a=ga();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=ha(),d=null!==d?d:"",null!==d?(e=T(),null!==e?a=[a,c,d,e]:(a=null,b=j)):(a=null,b=j)):(a=null,b=j):(a=null,b=j);null!==a&&(o.uri=f.substring(b,i),a=void 0);null===a&&(b=i);return a}function Ea(){var a,c,d,e,i,j,l,m;m=l=b;a=ga();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=ha(),d=null!== -d?d:"",null!==d?(e=T(),null!==e?(i=Fa(),null!==i?(j=rb(),j=null!==j?j:"",null!==j?a=[a,c,d,e,i,j]:(a=null,b=m)):(a=null,b=m)):(a=null,b=m)):(a=null,b=m)):(a=null,b=m):(a=null,b=m);null!==a&&(o.uri=f.substring(b,l),a=void 0);null===a&&(b=l);return a}function ga(){var a,c;c=b;"sip"===f.substr(b,3)?(a="sip",b+=3):(a=null,0===g&&h('"sip"'));null!==a&&(o.scheme=a,a=void 0);null===a&&(b=c);return a}function ha(){var a,c,d,e,i,j;i=e=b;a=Ga();null!==a?(j=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&& -h('":"')),null!==c?(d=Ha(),null!==d?c=[c,d]:(c=null,b=j)):(c=null,b=j),c=null!==c?c:"",null!==c)?(64===f.charCodeAt(b)?(d="@",b++):(d=null,0===g&&h('"@"')),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.user=f.substring(b-1,e),a=void 0);null===a&&(b=e);return a}function Ga(){var a,c,d;d=b;c=w();null===c&&(c=x(),null===c&&(c=Ia()));if(null!==c)for(a=[];null!==c;)a.push(c),c=w(),null===c&&(c=x(),null===c&&(c=Ia()));else a=null;null!==a&&(o.user=f.substring(b,d),a=void 0);null=== -a&&(b=d);return a}function Ia(){var a;38===f.charCodeAt(b)?(a="&",b++):(a=null,0===g&&h('"&"'));if(null===a&&(61===f.charCodeAt(b)?(a="=",b++):(a=null,0===g&&h('"="')),null===a))if(43===f.charCodeAt(b)?(a="+",b++):(a=null,0===g&&h('"+"')),null===a)if(36===f.charCodeAt(b)?(a="$",b++):(a=null,0===g&&h('"$"')),null===a)if(44===f.charCodeAt(b)?(a=",",b++):(a=null,0===g&&h('","')),null===a)if(59===f.charCodeAt(b)?(a=";",b++):(a=null,0===g&&h('";"')),null===a)if(63===f.charCodeAt(b)?(a="?",b++):(a=null, -0===g&&h('"?"')),null===a)47===f.charCodeAt(b)?(a="/",b++):(a=null,0===g&&h('"/"'));return a}function Ha(){var a,c,d;d=b;a=[];c=w();if(null===c&&(c=x(),null===c&&(38===f.charCodeAt(b)?(c="&",b++):(c=null,0===g&&h('"&"')),null===c)))if(61===f.charCodeAt(b)?(c="=",b++):(c=null,0===g&&h('"="')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"')),null===c)if(36===f.charCodeAt(b)?(c="$",b++):(c=null,0===g&&h('"$"')),null===c)44===f.charCodeAt(b)?(c=",",b++):(c=null,0===g&&h('","'));for(;null!== -c;)if(a.push(c),c=w(),null===c&&(c=x(),null===c&&(38===f.charCodeAt(b)?(c="&",b++):(c=null,0===g&&h('"&"')),null===c)))if(61===f.charCodeAt(b)?(c="=",b++):(c=null,0===g&&h('"="')),null===c)if(43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"')),null===c)if(36===f.charCodeAt(b)?(c="$",b++):(c=null,0===g&&h('"$"')),null===c)44===f.charCodeAt(b)?(c=",",b++):(c=null,0===g&&h('","'));null!==a&&(o.password=f.substring(b,d),a=void 0);null===a&&(b=d);return a}function T(){var a,c,d,e,i;e=b;a=U();null!== -a?(i=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=Ja(),null!==d?c=[c,d]:(c=null,b=i)):(c=null,b=i),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);return a}function U(){var a,c;c=b;a=Ka();null===a&&(a=L(),null===a&&(a=ia()));null!==a&&(o.host=f.substring(b,c),a=void 0);null===a&&(b=c);return a}function Ka(){var a,c,d,e,i,j;i=e=b;a=[];j=b;c=La();null!==c?(46===f.charCodeAt(b)?(d=".",b++):(d=null,0===g&&h('"."')),null!==d)?c=[c,d]:(c=null,b=j):(c=null,b=j);for(;null!== -c;)(a.push(c),j=b,c=La(),null!==c)?(46===f.charCodeAt(b)?(d=".",b++):(d=null,0===g&&h('"."')),null!==d)?c=[c,d]:(c=null,b=j):(c=null,b=j);null!==a?(c=sb(),null!==c)?(46===f.charCodeAt(b)?(d=".",b++):(d=null,0===g&&h('"."')),d=null!==d?d:"",null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.host_type="domain",a=f.substring(b,e));null===a&&(b=e);return a}function La(){var a,c;/^[a-zA-Z0-9_\-]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[a-zA-Z0-9_\\-]"));if(null!== -c)for(a=[];null!==c;)a.push(c),/^[a-zA-Z0-9_\-]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[a-zA-Z0-9_\\-]"));else a=null;return a}function sb(){var a,c;/^[a-zA-Z_\-]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[a-zA-Z_\\-]"));if(null!==c)for(a=[];null!==c;)a.push(c),/^[a-zA-Z_\-]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[a-zA-Z_\\-]"));else a=null;return a}function ia(){var a,c,d,e,i;i=e=b;91===f.charCodeAt(b)?(a="[",b++):(a=null,0===g&&h('"["'));null!== -a?(c=Ma(),null!==c)?(93===f.charCodeAt(b)?(d="]",b++):(d=null,0===g&&h('"]"')),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.host_type="IPv6",a=f.substring(b,e));null===a&&(b=e);return a}function Ma(){var a,c,d,e,i,j,l,m,n,p,r,s,t,u,k;k=u=b;a=q();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=q(),null!==d)?(58===f.charCodeAt(b)?(e=":",b++):(e=null,0===g&&h('":"')),null!==e)?(i=q(),null!==i)?(58===f.charCodeAt(b)?(j=":",b++):(j=null,0===g&& -h('":"')),null!==j)?(l=q(),null!==l)?(58===f.charCodeAt(b)?(m=":",b++):(m=null,0===g&&h('":"')),null!==m)?(n=q(),null!==n)?(58===f.charCodeAt(b)?(p=":",b++):(p=null,0===g&&h('":"')),null!==p)?(r=q(),null!==r)?(58===f.charCodeAt(b)?(s=":",b++):(s=null,0===g&&h('":"')),null!==s)?(t=A(),null!==t?a=[a,c,d,e,i,j,l,m,n,p,r,s,t]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k);if(null=== -a&&(k=b,"::"===f.substr(b,2)?(a="::",b+=2):(a=null,0===g&&h('"::"')),null!==a?(c=q(),null!==c)?(58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d)?(e=q(),null!==e)?(58===f.charCodeAt(b)?(i=":",b++):(i=null,0===g&&h('":"')),null!==i)?(j=q(),null!==j)?(58===f.charCodeAt(b)?(l=":",b++):(l=null,0===g&&h('":"')),null!==l)?(m=q(),null!==m)?(58===f.charCodeAt(b)?(n=":",b++):(n=null,0===g&&h('":"')),null!==n)?(p=q(),null!==p)?(58===f.charCodeAt(b)?(r=":",b++):(r=null,0===g&&h('":"')),null!== -r)?(s=A(),null!==s?a=[a,c,d,e,i,j,l,m,n,p,r,s]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a))if(k=b,"::"===f.substr(b,2)?(a="::",b+=2):(a=null,0===g&&h('"::"')),null!==a?(c=q(),null!==c)?(58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d)?(e=q(),null!==e)?(58===f.charCodeAt(b)?(i=":",b++):(i=null,0===g&&h('":"')),null!==i)?(j=q(),null!==j)?(58===f.charCodeAt(b)? -(l=":",b++):(l=null,0===g&&h('":"')),null!==l)?(m=q(),null!==m)?(58===f.charCodeAt(b)?(n=":",b++):(n=null,0===g&&h('":"')),null!==n)?(p=A(),null!==p?a=[a,c,d,e,i,j,l,m,n,p]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,"::"===f.substr(b,2)?(a="::",b+=2):(a=null,0===g&&h('"::"')),null!==a?(c=q(),null!==c)?(58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d)?(e=q(),null!==e)?(58===f.charCodeAt(b)? -(i=":",b++):(i=null,0===g&&h('":"')),null!==i)?(j=q(),null!==j)?(58===f.charCodeAt(b)?(l=":",b++):(l=null,0===g&&h('":"')),null!==l)?(m=A(),null!==m?a=[a,c,d,e,i,j,l,m]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,"::"===f.substr(b,2)?(a="::",b+=2):(a=null,0===g&&h('"::"')),null!==a?(c=q(),null!==c)?(58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d)?(e=q(),null!==e)?(58===f.charCodeAt(b)?(i=":",b++):(i=null, -0===g&&h('":"')),null!==i)?(j=A(),null!==j?a=[a,c,d,e,i,j]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,"::"===f.substr(b,2)?(a="::",b+=2):(a=null,0===g&&h('"::"')),null!==a?(c=q(),null!==c)?(58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d)?(e=A(),null!==e?a=[a,c,d,e]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,"::"===f.substr(b,2)?(a="::",b+=2):(a=null,0===g&&h('"::"')),null!==a?(c=A(),null!==c?a=[a,c]: -(a=null,b=k)):(a=null,b=k),null===a)if(k=b,"::"===f.substr(b,2)?(a="::",b+=2):(a=null,0===g&&h('"::"')),null!==a?(c=q(),null!==c?a=[a,c]:(a=null,b=k)):(a=null,b=k),null===a)if(k=b,a=q(),null!==a?("::"===f.substr(b,2)?(c="::",b+=2):(c=null,0===g&&h('"::"')),null!==c)?(d=q(),null!==d)?(58===f.charCodeAt(b)?(e=":",b++):(e=null,0===g&&h('":"')),null!==e)?(i=q(),null!==i)?(58===f.charCodeAt(b)?(j=":",b++):(j=null,0===g&&h('":"')),null!==j)?(l=q(),null!==l)?(58===f.charCodeAt(b)?(m=":",b++):(m=null,0=== -g&&h('":"')),null!==m)?(n=q(),null!==n)?(58===f.charCodeAt(b)?(p=":",b++):(p=null,0===g&&h('":"')),null!==p)?(r=A(),null!==r?a=[a,c,d,e,i,j,l,m,n,p,r]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,a=q(),null!==a?(n=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?("::"===f.substr(b,2)?(d="::", -b+=2):(d=null,0===g&&h('"::"')),null!==d)?(e=q(),null!==e)?(58===f.charCodeAt(b)?(i=":",b++):(i=null,0===g&&h('":"')),null!==i)?(j=q(),null!==j)?(58===f.charCodeAt(b)?(l=":",b++):(l=null,0===g&&h('":"')),null!==l)?(m=q(),null!==m)?(58===f.charCodeAt(b)?(n=":",b++):(n=null,0===g&&h('":"')),null!==n)?(p=A(),null!==p?a=[a,c,d,e,i,j,l,m,n,p]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,a=q(),null!==a? -(n=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d?(e=q(),null!==e?d=[d,e]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?("::"===f.substr(b,2)?(e="::",b+=2):(e=null,0===g&&h('"::"')),null!==e)?(i=q(),null!==i)?(58===f.charCodeAt(b)?(j=":",b++):(j=null,0===g&&h('":"')),null!==j)?(l=q(),null!==l)?(58===f.charCodeAt(b)?(m=":", -b++):(m=null,0===g&&h('":"')),null!==m)?(n=A(),null!==n?a=[a,c,d,e,i,j,l,m,n]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,a=q(),null!==a?(n=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d?(e=q(),null!==e?d=[d,e]:(d=null,b=n)):(d=null,b=n),d= -null!==d?d:"",null!==d)?(n=b,58===f.charCodeAt(b)?(e=":",b++):(e=null,0===g&&h('":"')),null!==e?(i=q(),null!==i?e=[e,i]:(e=null,b=n)):(e=null,b=n),e=null!==e?e:"",null!==e)?("::"===f.substr(b,2)?(i="::",b+=2):(i=null,0===g&&h('"::"')),null!==i)?(j=q(),null!==j)?(58===f.charCodeAt(b)?(l=":",b++):(l=null,0===g&&h('":"')),null!==l)?(m=A(),null!==m?a=[a,c,d,e,i,j,l,m]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,a=q(),null!== -a?(n=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d?(e=q(),null!==e?d=[d,e]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?(n=b,58===f.charCodeAt(b)?(e=":",b++):(e=null,0===g&&h('":"')),null!==e?(i=q(),null!==i?e=[e,i]:(e=null,b=n)):(e=null,b=n),e=null!==e?e:"",null!==e)?(n=b,58===f.charCodeAt(b)?(i=":",b++):(i=null,0===g&& -h('":"')),null!==i?(j=q(),null!==j?i=[i,j]:(i=null,b=n)):(i=null,b=n),i=null!==i?i:"",null!==i)?("::"===f.substr(b,2)?(j="::",b+=2):(j=null,0===g&&h('"::"')),null!==j)?(l=A(),null!==l?a=[a,c,d,e,i,j,l]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)if(k=b,a=q(),null!==a?(n=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===f.charCodeAt(b)?(d= -":",b++):(d=null,0===g&&h('":"')),null!==d?(e=q(),null!==e?d=[d,e]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?(n=b,58===f.charCodeAt(b)?(e=":",b++):(e=null,0===g&&h('":"')),null!==e?(i=q(),null!==i?e=[e,i]:(e=null,b=n)):(e=null,b=n),e=null!==e?e:"",null!==e)?(n=b,58===f.charCodeAt(b)?(i=":",b++):(i=null,0===g&&h('":"')),null!==i?(j=q(),null!==j?i=[i,j]:(i=null,b=n)):(i=null,b=n),i=null!==i?i:"",null!==i)?(n=b,58===f.charCodeAt(b)?(j=":",b++):(j=null,0===g&&h('":"')),null!==j?(l=q(),null!== -l?j=[j,l]:(j=null,b=n)):(j=null,b=n),j=null!==j?j:"",null!==j)?("::"===f.substr(b,2)?(l="::",b+=2):(l=null,0===g&&h('"::"')),null!==l)?(m=q(),null!==m?a=[a,c,d,e,i,j,l,m]:(a=null,b=k)):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k),null===a)(k=b,a=q(),null!==a)?(n=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===f.charCodeAt(b)?(d=":",b++):(d=null, -0===g&&h('":"')),null!==d?(e=q(),null!==e?d=[d,e]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?(n=b,58===f.charCodeAt(b)?(e=":",b++):(e=null,0===g&&h('":"')),null!==e?(i=q(),null!==i?e=[e,i]:(e=null,b=n)):(e=null,b=n),e=null!==e?e:"",null!==e)?(n=b,58===f.charCodeAt(b)?(i=":",b++):(i=null,0===g&&h('":"')),null!==i?(j=q(),null!==j?i=[i,j]:(i=null,b=n)):(i=null,b=n),i=null!==i?i:"",null!==i)?(n=b,58===f.charCodeAt(b)?(j=":",b++):(j=null,0===g&&h('":"')),null!==j?(l=q(),null!==l?j=[j,l]:(j=null, -b=n)):(j=null,b=n),j=null!==j?j:"",null!==j)?(n=b,58===f.charCodeAt(b)?(l=":",b++):(l=null,0===g&&h('":"')),null!==l?(m=q(),null!==m?l=[l,m]:(l=null,b=n)):(l=null,b=n),l=null!==l?l:"",null!==l)?("::"===f.substr(b,2)?(m="::",b+=2):(m=null,0===g&&h('"::"')),null!==m)?a=[a,c,d,e,i,j,l,m]:(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k):(a=null,b=k);null!==a&&(o.host_type="IPv6",a=f.substring(b,u));null===a&&(b=u);return a}function q(){var a,c,d,e,f;f=b;a=G(); -null!==a?(c=G(),c=null!==c?c:"",null!==c?(d=G(),d=null!==d?d:"",null!==d?(e=G(),e=null!==e?e:"",null!==e?a=[a,c,d,e]:(a=null,b=f)):(a=null,b=f)):(a=null,b=f)):(a=null,b=f);return a}function A(){var a,c,d,e;e=b;a=q();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=q(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e):(a=null,b=e);null===a&&(a=L());return a}function L(){var a,c,d,e,i,j,l,m,n;n=m=b;a=V();null!==a?(46===f.charCodeAt(b)?(c=".",b++):(c=null,0===g&&h('"."')), -null!==c)?(d=V(),null!==d)?(46===f.charCodeAt(b)?(e=".",b++):(e=null,0===g&&h('"."')),null!==e)?(i=V(),null!==i)?(46===f.charCodeAt(b)?(j=".",b++):(j=null,0===g&&h('"."')),null!==j)?(l=V(),null!==l?a=[a,c,d,e,i,j,l]:(a=null,b=n)):(a=null,b=n):(a=null,b=n):(a=null,b=n):(a=null,b=n):(a=null,b=n):(a=null,b=n);null!==a&&(o.host_type="IPv4",a=f.substring(b,m));null===a&&(b=m);return a}function V(){var a,c,d,e;e=b;"25"===f.substr(b,2)?(a="25",b+=2):(a=null,0===g&&h('"25"'));null!==a?(/^[0-5]/.test(f.charAt(b))? -(c=f.charAt(b),b++):(c=null,0===g&&h("[0-5]")),null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);if(null===a&&(e=b,50===f.charCodeAt(b)?(a="2",b++):(a=null,0===g&&h('"2"')),null!==a?(/^[0-4]/.test(f.charAt(b))?(c=f.charAt(b),b++):(c=null,0===g&&h("[0-4]")),null!==c)?(d=p(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e):(a=null,b=e),null===a))if(e=b,49===f.charCodeAt(b)?(a="1",b++):(a=null,0===g&&h('"1"')),null!==a?(c=p(),null!==c?(d=p(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e),null=== -a)e=b,/^[1-9]/.test(f.charAt(b))?(a=f.charAt(b),b++):(a=null,0===g&&h("[1-9]")),null!==a?(c=p(),null!==c?a=[a,c]:(a=null,b=e)):(a=null,b=e),null===a&&(a=p());return a}function Ja(){var a,c,d,e,f,g,h;h=g=b;a=p();a=null!==a?a:"";null!==a?(c=p(),c=null!==c?c:"",null!==c?(d=p(),d=null!==d?d:"",null!==d?(e=p(),e=null!==e?e:"",null!==e?(f=p(),f=null!==f?f:"",null!==f?a=[a,c,d,e,f]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h)):(a=null,b=h)):(a=null,b=h);null!==a&&(a=parseInt(a.join("")),o.port=a);null===a&& -(b=g);return a}function Fa(){var a,c,d,e;a=[];e=b;59===f.charCodeAt(b)?(c=";",b++):(c=null,0===g&&h('";"'));null!==c?(d=Na(),null!==d?c=[c,d]:(c=null,b=e)):(c=null,b=e);for(;null!==c;)(a.push(c),e=b,59===f.charCodeAt(b)?(c=";",b++):(c=null,0===g&&h('";"')),null!==c)?(d=Na(),null!==d?c=[c,d]:(c=null,b=e)):(c=null,b=e);return a}function Na(){var a;a=tb();null===a&&(a=ub(),null===a&&(a=vb(),null===a&&(a=wb(),null===a&&(a=xb(),null===a&&(a=yb(),null===a&&(a=zb()))))));return a}function tb(){var a,c,d, -e;e=d=b;"transport="===f.substr(b,10)?(a="transport=",b+=10):(a=null,0===g&&h('"transport="'));if(null!==a){"udp"===f.substr(b,3)?(c="udp",b+=3):(c=null,0===g&&h('"udp"'));if(null===c&&("tcp"===f.substr(b,3)?(c="tcp",b+=3):(c=null,0===g&&h('"tcp"')),null===c))if("sctp"===f.substr(b,4)?(c="sctp",b+=4):(c=null,0===g&&h('"sctp"')),null===c)"tls"===f.substr(b,3)?(c="tls",b+=3):(c=null,0===g&&h('"tls"')),null===c&&(c=r());null!==c?a=[a,c]:(a=null,b=e)}else a=null,b=e;null!==a&&(a=a[1],o.params||(o.params= -{}),o.params.transport=a,a=void 0);null===a&&(b=d);return a}function ub(){var a,c,d,e;e=d=b;"user="===f.substr(b,5)?(a="user=",b+=5):(a=null,0===g&&h('"user="'));null!==a?("phone"===f.substr(b,5)?(c="phone",b+=5):(c=null,0===g&&h('"phone"')),null===c&&("ip"===f.substr(b,2)?(c="ip",b+=2):(c=null,0===g&&h('"ip"')),null===c&&(c=r())),null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);null!==a&&(a=a[1],o.params||(o.params={}),o.params.user=a,a=void 0);null===a&&(b=d);return a}function vb(){var a,c,d,e;e=d=b; -"method="===f.substr(b,7)?(a="method=",b+=7):(a=null,0===g&&h('"method="'));null!==a?(c=ja(),null!==c?a=[a,c]:(a=null,b=e)):(a=null,b=e);null!==a&&(a=a[1],o.params||(o.params={}),o.params.method=a,a=void 0);null===a&&(b=d);return a}function wb(){var a,c,d,e;e=d=b;"ttl="===f.substr(b,4)?(a="ttl=",b+=4):(a=null,0===g&&h('"ttl="'));null!==a?(c=Oa(),null!==c?a=[a,c]:(a=null,b=e)):(a=null,b=e);null!==a&&(a=a[1],o.params||(o.params={}),o.params.ttl=a,a=void 0);null===a&&(b=d);return a}function xb(){var a, -c,d,e;e=d=b;"maddr="===f.substr(b,6)?(a="maddr=",b+=6):(a=null,0===g&&h('"maddr="'));null!==a?(c=U(),null!==c?a=[a,c]:(a=null,b=e)):(a=null,b=e);null!==a&&(a=a[1],o.params||(o.params={}),o.params.maddr=a,a=void 0);null===a&&(b=d);return a}function yb(){var a,c;c=b;"lr"===f.substr(b,2)?(a="lr",b+=2):(a=null,0===g&&h('"lr"'));null!==a&&(o.params||(o.params={}),o.params.lr=!0,a=void 0);null===a&&(b=c);return a}function zb(){var a,c,d,e,i,j;i=e=b;a=Ab();null!==a?(j=b,61===f.charCodeAt(b)?(c="=",b++): -(c=null,0===g&&h('"="')),null!==c?(d=Bb(),null!==d?c=[c,d]:(c=null,b=j)):(c=null,b=j),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=i):(a=null,b=i);null!==a&&(a=a[0],o.params||(o.params={}),o.params[a]=a.length===b-e?!0:f.substring(b,e+a.length+1),a=void 0);null===a&&(b=e);return a}function Ab(){var a,c,d;d=b;c=W();if(null!==c)for(a=[];null!==c;)a.push(c),c=W();else a=null;null!==a&&(a=a.join(""));null===a&&(b=d);return a}function Bb(){var a,c,d;d=b;c=W();if(null!==c)for(a=[];null!==c;)a.push(c),c= -W();else a=null;null!==a&&(a=a.join(""));null===a&&(b=d);return a}function W(){var a;a=Cb();null===a&&(a=w(),null===a&&(a=x()));return a}function Cb(){var a;91===f.charCodeAt(b)?(a="[",b++):(a=null,0===g&&h('"["'));if(null===a&&(93===f.charCodeAt(b)?(a="]",b++):(a=null,0===g&&h('"]"')),null===a))if(47===f.charCodeAt(b)?(a="/",b++):(a=null,0===g&&h('"/"')),null===a)if(58===f.charCodeAt(b)?(a=":",b++):(a=null,0===g&&h('":"')),null===a)if(38===f.charCodeAt(b)?(a="&",b++):(a=null,0===g&&h('"&"')),null=== -a)if(43===f.charCodeAt(b)?(a="+",b++):(a=null,0===g&&h('"+"')),null===a)36===f.charCodeAt(b)?(a="$",b++):(a=null,0===g&&h('"$"'));return a}function rb(){var a,c,d,e,i,j,l;j=b;63===f.charCodeAt(b)?(a="?",b++):(a=null,0===g&&h('"?"'));if(null!==a)if(c=ka(),null!==c){d=[];l=b;38===f.charCodeAt(b)?(e="&",b++):(e=null,0===g&&h('"&"'));null!==e?(i=ka(),null!==i?e=[e,i]:(e=null,b=l)):(e=null,b=l);for(;null!==e;)(d.push(e),l=b,38===f.charCodeAt(b)?(e="&",b++):(e=null,0===g&&h('"&"')),null!==e)?(i=ka(),null!== -i?e=[e,i]:(e=null,b=l)):(e=null,b=l);null!==d?a=[a,c,d]:(a=null,b=j)}else a=null,b=j;else a=null,b=j;return a}function ka(){var a,c,d,e;e=b;a=Db();null!==a?(61===f.charCodeAt(b)?(c="=",b++):(c=null,0===g&&h('"="')),null!==c)?(d=Eb(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e):(a=null,b=e);return a}function Db(){var a,b;b=X();null===b&&(b=w(),null===b&&(b=x()));if(null!==b)for(a=[];null!==b;)a.push(b),b=X(),null===b&&(b=w(),null===b&&(b=x()));else a=null;return a}function Eb(){var a,b;a=[];b=X(); -null===b&&(b=w(),null===b&&(b=x()));for(;null!==b;)a.push(b),b=X(),null===b&&(b=w(),null===b&&(b=x()));return a}function X(){var a;91===f.charCodeAt(b)?(a="[",b++):(a=null,0===g&&h('"["'));if(null===a&&(93===f.charCodeAt(b)?(a="]",b++):(a=null,0===g&&h('"]"')),null===a))if(47===f.charCodeAt(b)?(a="/",b++):(a=null,0===g&&h('"/"')),null===a)if(63===f.charCodeAt(b)?(a="?",b++):(a=null,0===g&&h('"?"')),null===a)if(58===f.charCodeAt(b)?(a=":",b++):(a=null,0===g&&h('":"')),null===a)if(43===f.charCodeAt(b)? -(a="+",b++):(a=null,0===g&&h('"+"')),null===a)36===f.charCodeAt(b)?(a="$",b++):(a=null,0===g&&h('"$"'));return a}function Fb(){var a,c,d,e,f,g;g=b;a=ja();null!==a?(c=z(),null!==c?(d=Gb(),null!==d?(e=z(),null!==e?(f=Pa(),null!==f?a=[a,c,d,e,f]:(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g);return a}function Gb(){var a;a=Ea();null===a&&(a=Y());return a}function Y(){var a,c,d,e;e=b;a=Hb();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=Ib(),null=== -d&&(d=Jb()),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e):(a=null,b=e);return a}function Ib(){var a,c,d,e,i;e=b;a=Kb();null===a&&(a=la());null!==a?(i=b,63===f.charCodeAt(b)?(c="?",b++):(c=null,0===g&&h('"?"')),null!==c?(d=Lb(),null!==d?c=[c,d]:(c=null,b=i)):(c=null,b=i),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);return a}function Kb(){var a,c,d,e;e=b;"//"===f.substr(b,2)?(a="//",b+=2):(a=null,0===g&&h('"//"'));null!==a?(c=Mb(),null!==c?(d=la(),d=null!==d?d:"",null!==d?a=[a,c,d]:(a= -null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function la(){var a,c,d;d=b;47===f.charCodeAt(b)?(a="/",b++):(a=null,0===g&&h('"/"'));null!==a?(c=Nb(),null!==c?a=[a,c]:(a=null,b=d)):(a=null,b=d);return a}function Jb(){var a,c,d,e;e=b;a=Ob();if(null!==a){c=[];for(d=Z();null!==d;)c.push(d),d=Z();null!==c?a=[a,c]:(a=null,b=e)}else a=null,b=e;return a}function Z(){var a;a=da();null===a&&(a=w(),null===a&&(a=x()));return a}function Ob(){var a;a=w();if(null===a&&(a=x(),null===a&&(59===f.charCodeAt(b)?(a= -";",b++):(a=null,0===g&&h('";"')),null===a)))if(63===f.charCodeAt(b)?(a="?",b++):(a=null,0===g&&h('"?"')),null===a)if(58===f.charCodeAt(b)?(a=":",b++):(a=null,0===g&&h('":"')),null===a)if(64===f.charCodeAt(b)?(a="@",b++):(a=null,0===g&&h('"@"')),null===a)if(38===f.charCodeAt(b)?(a="&",b++):(a=null,0===g&&h('"&"')),null===a)if(61===f.charCodeAt(b)?(a="=",b++):(a=null,0===g&&h('"="')),null===a)if(43===f.charCodeAt(b)?(a="+",b++):(a=null,0===g&&h('"+"')),null===a)if(36===f.charCodeAt(b)?(a="$",b++): -(a=null,0===g&&h('"$"')),null===a)44===f.charCodeAt(b)?(a=",",b++):(a=null,0===g&&h('","'));return a}function Nb(){var a,c,d,e,i,j;i=b;a=ma();if(null!==a){c=[];j=b;47===f.charCodeAt(b)?(d="/",b++):(d=null,0===g&&h('"/"'));null!==d?(e=ma(),null!==e?d=[d,e]:(d=null,b=j)):(d=null,b=j);for(;null!==d;)(c.push(d),j=b,47===f.charCodeAt(b)?(d="/",b++):(d=null,0===g&&h('"/"')),null!==d)?(e=ma(),null!==e?d=[d,e]:(d=null,b=j)):(d=null,b=j);null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;return a}function ma(){var a, -c,d,e,i,j;i=b;a=[];for(c=$();null!==c;)a.push(c),c=$();if(null!==a){c=[];j=b;59===f.charCodeAt(b)?(d=";",b++):(d=null,0===g&&h('";"'));null!==d?(e=Qa(),null!==e?d=[d,e]:(d=null,b=j)):(d=null,b=j);for(;null!==d;)(c.push(d),j=b,59===f.charCodeAt(b)?(d=";",b++):(d=null,0===g&&h('";"')),null!==d)?(e=Qa(),null!==e?d=[d,e]:(d=null,b=j)):(d=null,b=j);null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;return a}function Qa(){var a,b;a=[];for(b=$();null!==b;)a.push(b),b=$();return a}function $(){var a;a=w();if(null=== -a&&(a=x(),null===a&&(58===f.charCodeAt(b)?(a=":",b++):(a=null,0===g&&h('":"')),null===a)))if(64===f.charCodeAt(b)?(a="@",b++):(a=null,0===g&&h('"@"')),null===a)if(38===f.charCodeAt(b)?(a="&",b++):(a=null,0===g&&h('"&"')),null===a)if(61===f.charCodeAt(b)?(a="=",b++):(a=null,0===g&&h('"="')),null===a)if(43===f.charCodeAt(b)?(a="+",b++):(a=null,0===g&&h('"+"')),null===a)if(36===f.charCodeAt(b)?(a="$",b++):(a=null,0===g&&h('"$"')),null===a)44===f.charCodeAt(b)?(a=",",b++):(a=null,0===g&&h('","'));return a} -function Hb(){var a,c,d,e,i;i=e=b;a=P();if(null!==a){c=[];d=P();if(null===d&&(d=p(),null===d&&(43===f.charCodeAt(b)?(d="+",b++):(d=null,0===g&&h('"+"')),null===d)))if(45===f.charCodeAt(b)?(d="-",b++):(d=null,0===g&&h('"-"')),null===d)46===f.charCodeAt(b)?(d=".",b++):(d=null,0===g&&h('"."'));for(;null!==d;)if(c.push(d),d=P(),null===d&&(d=p(),null===d&&(43===f.charCodeAt(b)?(d="+",b++):(d=null,0===g&&h('"+"')),null===d)))if(45===f.charCodeAt(b)?(d="-",b++):(d=null,0===g&&h('"-"')),null===d)46===f.charCodeAt(b)? -(d=".",b++):(d=null,0===g&&h('"."'));null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;null!==a&&(o.scheme=f.substring(b,e),a=void 0);null===a&&(b=e);return a}function Mb(){var a;a=Pb();null===a&&(a=aa());return a}function Pb(){var a,c,d,e;e=d=b;a=ha();null!==a?(64===f.charCodeAt(b)?(c="@",b++):(c=null,0===g&&h('"@"')),null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);a=null!==a?a:"";null!==a?(c=T(),null!==c?a=[a,c]:(a=null,b=d)):(a=null,b=d);return null!==a?a:""}function aa(){var a,c;c=w();if(null===c&&(c= -x(),null===c&&(36===f.charCodeAt(b)?(c="$",b++):(c=null,0===g&&h('"$"')),null===c)))if(44===f.charCodeAt(b)?(c=",",b++):(c=null,0===g&&h('","')),null===c)if(59===f.charCodeAt(b)?(c=";",b++):(c=null,0===g&&h('";"')),null===c)if(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null===c)if(64===f.charCodeAt(b)?(c="@",b++):(c=null,0===g&&h('"@"')),null===c)if(38===f.charCodeAt(b)?(c="&",b++):(c=null,0===g&&h('"&"')),null===c)if(61===f.charCodeAt(b)?(c="=",b++):(c=null,0===g&&h('"="')),null=== -c)43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=w(),null===c&&(c=x(),null===c&&(36===f.charCodeAt(b)?(c="$",b++):(c=null,0===g&&h('"$"')),null===c)))if(44===f.charCodeAt(b)?(c=",",b++):(c=null,0===g&&h('","')),null===c)if(59===f.charCodeAt(b)?(c=";",b++):(c=null,0===g&&h('";"')),null===c)if(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null===c)if(64===f.charCodeAt(b)?(c="@",b++):(c=null,0===g&&h('"@"')),null===c)if(38===f.charCodeAt(b)? -(c="&",b++):(c=null,0===g&&h('"&"')),null===c)if(61===f.charCodeAt(b)?(c="=",b++):(c=null,0===g&&h('"="')),null===c)43===f.charCodeAt(b)?(c="+",b++):(c=null,0===g&&h('"+"'))}else a=null;return a}function Lb(){var a,b;a=[];for(b=Z();null!==b;)a.push(b),b=Z();return a}function Pa(){var a,c,d,e,i,j,l,m;m=l=b;"SIP"===f.substr(b,3)?(a="SIP",b+=3):(a=null,0===g&&h('"SIP"'));if(null!==a)if(47===f.charCodeAt(b)?(c="/",b++):(c=null,0===g&&h('"/"')),null!==c){e=p();if(null!==e)for(d=[];null!==e;)d.push(e), -e=p();else d=null;if(null!==d)if(46===f.charCodeAt(b)?(e=".",b++):(e=null,0===g&&h('"."')),null!==e){j=p();if(null!==j)for(i=[];null!==j;)i.push(j),j=p();else i=null;null!==i?a=[a,c,d,e,i]:(a=null,b=m)}else a=null,b=m;else a=null,b=m}else a=null,b=m;else a=null,b=m;null!==a&&(o.sip_version=f.substring(b,l),a=void 0);null===a&&(b=l);return a}function Qb(){var a;"INVITE"===f.substr(b,6)?(a="INVITE",b+=6):(a=null,0===g&&h('"INVITE"'));return a}function Rb(){var a;"ACK"===f.substr(b,3)?(a="ACK",b+=3): -(a=null,0===g&&h('"ACK"'));return a}function Sb(){var a;"OPTIONS"===f.substr(b,7)?(a="OPTIONS",b+=7):(a=null,0===g&&h('"OPTIONS"'));return a}function Tb(){var a;"BYE"===f.substr(b,3)?(a="BYE",b+=3):(a=null,0===g&&h('"BYE"'));return a}function Ub(){var a;"CANCEL"===f.substr(b,6)?(a="CANCEL",b+=6):(a=null,0===g&&h('"CANCEL"'));return a}function Vb(){var a;"REGISTER"===f.substr(b,8)?(a="REGISTER",b+=8):(a=null,0===g&&h('"REGISTER"'));return a}function Wb(){var a;"SUBSCRIBE"===f.substr(b,9)?(a="SUBSCRIBE", -b+=9):(a=null,0===g&&h('"SUBSCRIBE"'));return a}function Xb(){var a;"NOTIFY"===f.substr(b,6)?(a="NOTIFY",b+=6):(a=null,0===g&&h('"NOTIFY"'));return a}function ja(){var a,c;c=b;a=Qb();null===a&&(a=Rb(),null===a&&(a=Sb(),null===a&&(a=Tb(),null===a&&(a=Ub(),null===a&&(a=Vb(),null===a&&(a=Wb(),null===a&&(a=Xb(),null===a&&(a=r()))))))));null!==a&&(o.method=f.substring(b,c),a=void 0);null===a&&(b=c);return a}function Yb(){var a,c,d,e,f,g;g=b;a=Pa();null!==a?(c=z(),null!==c?(d=Zb(),null!==d?(e=z(),null!== -e?(f=$b(),null!==f?a=[a,c,d,e,f]:(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g);return a}function Zb(){var a,c;c=b;a=ac();null!==a&&(o.status_code=parseInt(a.join("")),a=void 0);null===a&&(b=c);return a}function ac(){var a,c,d,e;e=b;a=p();null!==a?(c=p(),null!==c?(d=p(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function $b(){var a,c,d;d=b;a=[];c=da();null===c&&(c=w(),null===c&&(c=x(),null===c&&(c=K(),null===c&&(c=R(),null===c&&(c=z(),null===c&&(c=H())))))); -for(;null!==c;)a.push(c),c=da(),null===c&&(c=w(),null===c&&(c=x(),null===c&&(c=K(),null===c&&(c=R(),null===c&&(c=z(),null===c&&(c=H()))))));null!==a&&(o.reason_phrase=f.substring(b,d),a=void 0);null===a&&(b=d);return a}function na(){var a,c,d,e,f,g;f=b;a=Ra();null===a&&(a=M());if(null!==a){c=[];g=b;d=v();null!==d?(e=Sa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=Sa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null, -b=f;return a}function M(){var a,c,d,e,f;f=b;a=bc();a=null!==a?a:"";null!==a?(c=ob(),null!==c?(d=Ra(),null!==d?(e=nb(),null!==e?a=[a,c,d,e]:(a=null,b=f)):(a=null,b=f)):(a=null,b=f)):(a=null,b=f);return a}function Ra(){var a;a=Ea();null===a&&(a=Y());return a}function Ta(){var a;a=qb();null===a&&(a=Y());return a}function bc(){var a,c,d,e,f,g,h;g=f=b;a=r();if(null!==a){c=[];h=b;d=y();null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=h)):(d=null,b=h);for(;null!==d;)c.push(d),h=b,d=y(),null!==d?(e=r(),null!== -e?d=[d,e]:(d=null,b=h)):(d=null,b=h);null!==c?a=[a,c]:(a=null,b=g)}else a=null,b=g;null===a&&(a=F());null!==a&&(o.display_name=a,a=void 0);null===a&&(b=f);return a}function Sa(){var a;a=cc();null===a&&(a=dc(),null===a&&(a=ec()));return a}function cc(){var a,c,d,e,i;i=e=b;113===f.charCodeAt(b)?(a="q",b++):(a=null,0===g&&h('"q"'));null!==a?(c=t(),null!==c?(d=fc(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(a=a[2],o.params||(o.params={}),o.params.q=a,a=void 0);null===a&&(b= -e);return a}function dc(){var a,c,d,e,i;i=e=b;"expires"===f.substr(b,7)?(a="expires",b+=7):(a=null,0===g&&h('"expires"'));null!==a?(c=t(),null!==c?(d=N(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(a=a[2],o.params||(o.params={}),o.params.expires=a,a=void 0);null===a&&(b=e);return a}function ec(){var a,c;c=b;a=B();null!==a&&(o.params||(o.params={}),o.params[a[0]]=a[1]?a[1]:!0,a=void 0);null===a&&(b=c);return a}function N(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!== -c;)a.push(c),c=p();else a=null;null!==a&&(a=parseInt(a.join("")));null===a&&(b=d);return a}function fc(){var a,c,d,e,i,j,l,m;l=j=b;48===f.charCodeAt(b)?(a="0",b++):(a=null,0===g&&h('"0"'));null!==a?(m=b,46===f.charCodeAt(b)?(c=".",b++):(c=null,0===g&&h('"."')),null!==c?(d=p(),d=null!==d?d:"",null!==d?(e=p(),e=null!==e?e:"",null!==e?(i=p(),i=null!==i?i:"",null!==i?c=[c,d,e,i]:(c=null,b=m)):(c=null,b=m)):(c=null,b=m)):(c=null,b=m),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=l):(a=null,b=l);null!==a&& -(a=parseFloat(f.substring(b,j)));null===a&&(b=j);return a}function B(){var a,c,d,e,f,g;f=e=b;a=r();null!==a?(g=b,c=t(),null!==c?(d=gc(),null!==d?c=[c,d]:(c=null,b=g)):(c=null,b=g),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=f):(a=null,b=f);null!==a&&(c=a[1],c="undefined"===typeof c?null:c[1],a=[a[0],c]);null===a&&(b=e);return a}function gc(){var a;a=r();null===a&&(a=U(),null===a&&(a=F()));return a}function hc(){var a;"render"===f.substr(b,6)?(a="render",b+=6):(a=null,0===g&&h('"render"'));if(null=== -a&&("session"===f.substr(b,7)?(a="session",b+=7):(a=null,0===g&&h('"session"')),null===a))if("icon"===f.substr(b,4)?(a="icon",b+=4):(a=null,0===g&&h('"icon"')),null===a)"alert"===f.substr(b,5)?(a="alert",b+=5):(a=null,0===g&&h('"alert"')),null===a&&(a=r());return a}function Ua(){var a;a=ic();null===a&&(a=B());return a}function ic(){var a,c,d,e;e=b;"handling"===f.substr(b,8)?(a="handling",b+=8):(a=null,0===g&&h('"handling"'));null!==a?(c=t(),null!==c)?("optional"===f.substr(b,8)?(d="optional",b+=8): -(d=null,0===g&&h('"optional"')),null===d&&("required"===f.substr(b,8)?(d="required",b+=8):(d=null,0===g&&h('"required"')),null===d&&(d=r())),null!==d)?a=[a,c,d]:(a=null,b=e):(a=null,b=e):(a=null,b=e);return a}function jc(){var a,c,d,e,f,g,h,m;h=b;a=kc();if(null!==a)if(c=fa(),null!==c)if(d=lc(),null!==d){e=[];m=b;f=v();null!==f?(g=Va(),null!==g?f=[f,g]:(f=null,b=m)):(f=null,b=m);for(;null!==f;)e.push(f),m=b,f=v(),null!==f?(g=Va(),null!==g?f=[f,g]:(f=null,b=m)):(f=null,b=m);null!==e?a=[a,c,d,e]:(a= -null,b=h)}else a=null,b=h;else a=null,b=h;else a=null,b=h;return a}function kc(){var a;a=mc();null===a&&(a=nc());return a}function mc(){var a;"text"===f.substr(b,4)?(a="text",b+=4):(a=null,0===g&&h('"text"'));if(null===a&&("image"===f.substr(b,5)?(a="image",b+=5):(a=null,0===g&&h('"image"')),null===a))if("audio"===f.substr(b,5)?(a="audio",b+=5):(a=null,0===g&&h('"audio"')),null===a)if("video"===f.substr(b,5)?(a="video",b+=5):(a=null,0===g&&h('"video"')),null===a)"application"===f.substr(b,11)?(a= -"application",b+=11):(a=null,0===g&&h('"application"')),null===a&&(a=oa());return a}function nc(){var a;"message"===f.substr(b,7)?(a="message",b+=7):(a=null,0===g&&h('"message"'));null===a&&("multipart"===f.substr(b,9)?(a="multipart",b+=9):(a=null,0===g&&h('"multipart"')),null===a&&(a=oa()));return a}function oa(){var a;a=r();null===a&&(a=oc());return a}function oc(){var a,c,d;d=b;"x-"===f.substr(b,2)?(a="x-",b+=2):(a=null,0===g&&h('"x-"'));null!==a?(c=r(),null!==c?a=[a,c]:(a=null,b=d)):(a=null,b= -d);return a}function lc(){var a;a=oa();null===a&&(a=r());return a}function Va(){var a,c,d,e;e=b;a=r();null!==a?(c=t(),null!==c?(d=pc(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function pc(){var a;a=r();null===a&&(a=F());return a}function qc(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!==c;)a.push(c),c=p();else a=null;null!==a&&(o.value=parseInt(a.join("")),a=void 0);null===a&&(b=d);return a}function ba(){var a,c,d,e,i,j;i=b;a=ea();if(null!==a){c=[];j=b;46===f.charCodeAt(b)? -(d=".",b++):(d=null,0===g&&h('"."'));null!==d?(e=ea(),null!==e?d=[d,e]:(d=null,b=j)):(d=null,b=j);for(;null!==d;)(c.push(d),j=b,46===f.charCodeAt(b)?(d=".",b++):(d=null,0===g&&h('"."')),null!==d)?(e=ea(),null!==e?d=[d,e]:(d=null,b=j)):(d=null,b=j);null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;return a}function Wa(){var a,c;c=b;a=B();null!==a&&(o.params||(o.params={}),o.params[a[0]]=a[1]?a[1]:!0,a=void 0);null===a&&(b=c);return a}function Xa(){var a;a=Ya();null===a&&(a=B());return a}function Ya(){var a, -c,d,e,i;i=e=b;"tag"===f.substr(b,3)?(a="tag",b+=3):(a=null,0===g&&h('"tag"'));null!==a?(c=t(),null!==c?(d=r(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.tag=a[2],a=void 0);null===a&&(b=e);return a}function Za(){var a,c,d,e,i,j,l,m;l=b;"Digest"===f.substr(b,6)?(a="Digest",b+=6):(a=null,0===g&&h('"Digest"'));if(null!==a)if(c=y(),null!==c)if(d=pa(),null!==d){e=[];m=b;i=u();null!==i?(j=pa(),null!==j?i=[i,j]:(i=null,b=m)):(i=null,b=m);for(;null!==i;)e.push(i),m=b,i=u(),null!== -i?(j=pa(),null!==j?i=[i,j]:(i=null,b=m)):(i=null,b=m);null!==e?a=[a,c,d,e]:(a=null,b=l)}else a=null,b=l;else a=null,b=l;else a=null,b=l;null===a&&(a=rc());return a}function rc(){var a,c,d,e,f,g,h,m;h=b;a=r();if(null!==a)if(c=y(),null!==c)if(d=ca(),null!==d){e=[];m=b;f=u();null!==f?(g=ca(),null!==g?f=[f,g]:(f=null,b=m)):(f=null,b=m);for(;null!==f;)e.push(f),m=b,f=u(),null!==f?(g=ca(),null!==g?f=[f,g]:(f=null,b=m)):(f=null,b=m);null!==e?a=[a,c,d,e]:(a=null,b=h)}else a=null,b=h;else a=null,b=h;else a= -null,b=h;return a}function ca(){var a,c,d,e;e=b;a=r();null!==a?(c=t(),null!==c?(d=r(),null===d&&(d=F()),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function pa(){var a;a=sc();null===a&&(a=tc(),null===a&&(a=uc(),null===a&&(a=vc(),null===a&&(a=wc(),null===a&&(a=xc(),null===a&&(a=yc(),null===a&&(a=ca())))))));return a}function sc(){var a,c,d,e;e=b;"realm"===f.substr(b,5)?(a="realm",b+=5):(a=null,0===g&&h('"realm"'));null!==a?(c=t(),null!==c?(d=zc(),null!==d?a=[a,c,d]:(a=null, -b=e)):(a=null,b=e)):(a=null,b=e);return a}function zc(){var a,c;c=b;a=F();null!==a&&(o.realm=a,a=void 0);null===a&&(b=c);return a}function tc(){var a,c,d,e,i,j,l,m,n;m=b;"domain"===f.substr(b,6)?(a="domain",b+=6):(a=null,0===g&&h('"domain"'));if(null!==a)if(c=t(),null!==c)if(d=za(),null!==d)if(e=qa(),null!==e){i=[];n=b;l=z();if(null!==l)for(j=[];null!==l;)j.push(l),l=z();else j=null;null!==j?(l=qa(),null!==l?j=[j,l]:(j=null,b=n)):(j=null,b=n);for(;null!==j;){i.push(j);n=b;l=z();if(null!==l)for(j= -[];null!==l;)j.push(l),l=z();else j=null;null!==j?(l=qa(),null!==l?j=[j,l]:(j=null,b=n)):(j=null,b=n)}null!==i?(j=Aa(),null!==j?a=[a,c,d,e,i,j]:(a=null,b=m)):(a=null,b=m)}else a=null,b=m;else a=null,b=m;else a=null,b=m;else a=null,b=m;return a}function qa(){var a;a=Y();null===a&&(a=la());return a}function uc(){var a,c,d,e;e=b;"nonce"===f.substr(b,5)?(a="nonce",b+=5):(a=null,0===g&&h('"nonce"'));null!==a?(c=t(),null!==c?(d=Ac(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function Ac(){var a, -c;c=b;a=F();null!==a&&(o.nonce=a,a=void 0);null===a&&(b=c);return a}function vc(){var a,c,d,e,i;i=e=b;"opaque"===f.substr(b,6)?(a="opaque",b+=6):(a=null,0===g&&h('"opaque"'));null!==a?(c=t(),null!==c?(d=F(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.opaque=a[2],a=void 0);null===a&&(b=e);return a}function wc(){var a,c,d,e,i;i=e=b;"stale"===f.substr(b,5)?(a="stale",b+=5):(a=null,0===g&&h('"stale"'));null!==a?(c=t(),null!==c)?("true"===f.substr(b,4)?(d="true",b+=4):(d=null, -0===g&&h('"true"')),null===d&&("false"===f.substr(b,5)?(d="false",b+=5):(d=null,0===g&&h('"false"'))),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.stale=a[2],a=void 0);null===a&&(b=e);return a}function xc(){var a,c,d,e,i;i=e=b;"algorithm"===f.substr(b,9)?(a="algorithm",b+=9):(a=null,0===g&&h('"algorithm"'));null!==a?(c=t(),null!==c)?("MD5"===f.substr(b,3)?(d="MD5",b+=3):(d=null,0===g&&h('"MD5"')),null===d&&("MD5-sess"===f.substr(b,8)?(d="MD5-sess",b+=8):(d=null,0===g&&h('"MD5-sess"')), -null===d&&(d=r())),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.algorithm=a[2],a=void 0);null===a&&(b=e);return a}function yc(){var a,c,d,e,i,j,l,m,n,q,p;n=m=b;"qop"===f.substr(b,3)?(a="qop",b+=3):(a=null,0===g&&h('"qop"'));if(null!==a)if(c=t(),null!==c)if(d=za(),null!==d){q=b;e=ra();if(null!==e){i=[];p=b;44===f.charCodeAt(b)?(j=",",b++):(j=null,0===g&&h('","'));null!==j?(l=ra(),null!==l?j=[j,l]:(j=null,b=p)):(j=null,b=p);for(;null!==j;)(i.push(j),p=b,44===f.charCodeAt(b)? -(j=",",b++):(j=null,0===g&&h('","')),null!==j)?(l=ra(),null!==l?j=[j,l]:(j=null,b=p)):(j=null,b=p);null!==i?e=[e,i]:(e=null,b=q)}else e=null,b=q;null!==e?(i=Aa(),null!==i?a=[a,c,d,e,i]:(a=null,b=n)):(a=null,b=n)}else a=null,b=n;else a=null,b=n;else a=null,b=n;null!==a&&(o.qop=f.substring(b-1,m+5),a=void 0);null===a&&(b=m);return a}function ra(){var a;"auth-int"===f.substr(b,8)?(a="auth-int",b+=8):(a=null,0===g&&h('"auth-int"'));null===a&&("auth"===f.substr(b,4)?(a="auth",b+=4):(a=null,0===g&&h('"auth"')), -null===a&&(a=r()));return a}function sa(){var a,c,d,e,f,g;f=b;a=M();if(null!==a){c=[];g=b;d=v();null!==d?(e=B(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=B(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a}function ta(){var a,c,d,e,f,g;f=b;a=M();if(null!==a){c=[];g=b;d=v();null!==d?(e=B(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=B(),null!==e?d=[d,e]: -(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a}function Bc(){var a,c;c=b;"active"===f.substr(b,6)?(a="active",b+=6):(a=null,0===g&&h('"active"'));if(null===a&&("pending"===f.substr(b,7)?(a="pending",b+=7):(a=null,0===g&&h('"pending"')),null===a))"terminated"===f.substr(b,10)?(a="terminated",b+=10):(a=null,0===g&&h('"terminated"')),null===a&&(a=r());null!==a&&(o.state=f.substring(b,c),a=void 0);null===a&&(b=c);return a}function $a(){var a,c,d,e,i;i=e=b;"reason"=== -f.substr(b,6)?(a="reason",b+=6):(a=null,0===g&&h('"reason"'));null!==a?(c=t(),null!==c?(d=Cc(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(a=function(a,b){if(typeof b!=="undefined")o.reason=b}(e,a[2]));null===a&&(b=e);if(null===a&&(i=e=b,"expires"===f.substr(b,7)?(a="expires",b+=7):(a=null,0===g&&h('"expires"')),null!==a?(c=t(),null!==c?(d=N(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i),null!==a&&(a=function(a,b){if(typeof b!=="undefined")o.expires=b}(e, -a[2])),null===a&&(b=e),null===a))if(i=e=b,"retry_after"===f.substr(b,11)?(a="retry_after",b+=11):(a=null,0===g&&h('"retry_after"')),null!==a?(c=t(),null!==c?(d=N(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i),null!==a&&(a=function(a,b){if(typeof b!=="undefined")o.retry_after=b}(e,a[2])),null===a&&(b=e),null===a)e=b,a=B(),null!==a&&(a=function(a,b){if(typeof b!=="undefined"){if(!o.params)o.params={};o.params[b[0]]=b[1]?b[1]:true}}(e,a)),null===a&&(b=e);return a}function Cc(){var a;"deactivated"=== -f.substr(b,11)?(a="deactivated",b+=11):(a=null,0===g&&h('"deactivated"'));if(null===a&&("probation"===f.substr(b,9)?(a="probation",b+=9):(a=null,0===g&&h('"probation"')),null===a))if("rejected"===f.substr(b,8)?(a="rejected",b+=8):(a=null,0===g&&h('"rejected"')),null===a)if("timeout"===f.substr(b,7)?(a="timeout",b+=7):(a=null,0===g&&h('"timeout"')),null===a)if("giveup"===f.substr(b,6)?(a="giveup",b+=6):(a=null,0===g&&h('"giveup"')),null===a)if("noresource"===f.substr(b,10)?(a="noresource",b+=10):(a= -null,0===g&&h('"noresource"')),null===a)"invariant"===f.substr(b,9)?(a="invariant",b+=9):(a=null,0===g&&h('"invariant"')),null===a&&(a=r());return a}function ab(){var a;a=Ya();null===a&&(a=B());return a}function ua(){var a,c,d,e,f,g,h,m;h=b;a=Dc();if(null!==a)if(c=y(),null!==c)if(d=Ec(),null!==d){e=[];m=b;f=v();null!==f?(g=bb(),null!==g?f=[f,g]:(f=null,b=m)):(f=null,b=m);for(;null!==f;)e.push(f),m=b,f=v(),null!==f?(g=bb(),null!==g?f=[f,g]:(f=null,b=m)):(f=null,b=m);null!==e?a=[a,c,d,e]:(a=null,b= -h)}else a=null,b=h;else a=null,b=h;else a=null,b=h;return a}function bb(){var a;a=Fc();null===a&&(a=Gc(),null===a&&(a=Hc(),null===a&&(a=Ic(),null===a&&(a=Jc(),null===a&&(a=B())))));return a}function Fc(){var a,c,d,e,i;i=e=b;"ttl"===f.substr(b,3)?(a="ttl",b+=3):(a=null,0===g&&h('"ttl"'));null!==a?(c=t(),null!==c?(d=Oa(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.ttl=a[2],a=void 0);null===a&&(b=e);return a}function Gc(){var a,c,d,e,i;i=e=b;"maddr"===f.substr(b,5)?(a="maddr", -b+=5):(a=null,0===g&&h('"maddr"'));null!==a?(c=t(),null!==c?(d=U(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.maddr=a[2],a=void 0);null===a&&(b=e);return a}function Hc(){var a,c,d,e,i;i=e=b;"received"===f.substr(b,8)?(a="received",b+=8):(a=null,0===g&&h('"received"'));null!==a?(c=t(),null!==c?(d=L(),null===d&&(d=Ma()),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.received=a[2],a=void 0);null===a&&(b=e);return a}function Ic(){var a,c,d,e,i;i= -e=b;"branch"===f.substr(b,6)?(a="branch",b+=6):(a=null,0===g&&h('"branch"'));null!==a?(c=t(),null!==c?(d=r(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.branch=a[2],a=void 0);null===a&&(b=e);return a}function Jc(){var a,c,d,e,i,j,l;j=i=b;"rport"===f.substr(b,5)?(a="rport",b+=5):(a=null,0===g&&h('"rport"'));if(null!==a){l=b;c=t();if(null!==c){d=[];for(e=p();null!==e;)d.push(e),e=p();null!==d?c=[c,d]:(c=null,b=l)}else c=null,b=l;c=null!==c?c:"";null!==c?a=[a,c]:(a=null, -b=j)}else a=null,b=j;null!==a&&("undefined"!==typeof response_port&&(o.rport=response_port.join("")),a=void 0);null===a&&(b=i);return a}function Dc(){var a,c,d,e,f,g;g=b;a=Kc();null!==a?(c=fa(),null!==c?(d=r(),null!==d?(e=fa(),null!==e?(f=va(),null!==f?a=[a,c,d,e,f]:(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g);return a}function Kc(){var a,c;c=b;"SIP"===f.substr(b,3)?(a="SIP",b+=3):(a=null,0===g&&h('"SIP"'));null===a&&(a=r());null!==a&&(o.protocol=a,a=void 0);null===a&&(b=c); -return a}function va(){var a,c;c=b;"UDP"===f.substr(b,3)?(a="UDP",b+=3):(a=null,0===g&&h('"UDP"'));if(null===a&&("TCP"===f.substr(b,3)?(a="TCP",b+=3):(a=null,0===g&&h('"TCP"')),null===a))if("TLS"===f.substr(b,3)?(a="TLS",b+=3):(a=null,0===g&&h('"TLS"')),null===a)"SCTP"===f.substr(b,4)?(a="SCTP",b+=4):(a=null,0===g&&h('"SCTP"')),null===a&&(a=r());null!==a&&(o.transport=a,a=void 0);null===a&&(b=c);return a}function Ec(){var a,c,d,e,f;e=b;a=Lc();null!==a?(f=b,c=pb(),null!==c?(d=Mc(),null!==d?c=[c,d]: -(c=null,b=f)):(c=null,b=f),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);return a}function Lc(){var a,c;c=b;a=Ka();null===a&&(a=L(),null===a&&(a=ia()));null!==a&&(o.host=f.substring(b,c),a=void 0);null===a&&(b=c);return a}function Mc(){var a,c,d,e,f,g,h;h=g=b;a=p();a=null!==a?a:"";null!==a?(c=p(),c=null!==c?c:"",null!==c?(d=p(),d=null!==d?d:"",null!==d?(e=p(),e=null!==e?e:"",null!==e?(f=p(),f=null!==f?f:"",null!==f?a=[a,c,d,e,f]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h)):(a=null,b=h)): -(a=null,b=h);null!==a&&(o.port=parseInt(a.join("")),a=void 0);null===a&&(b=g);return a}function Oa(){var a,c,d,e,f;f=e=b;a=p();null!==a?(c=p(),c=null!==c?c:"",null!==c?(d=p(),d=null!==d?d:"",null!==d?a=[a,c,d]:(a=null,b=f)):(a=null,b=f)):(a=null,b=f);null!==a&&(a=parseInt(a.join("")));null===a&&(b=e);return a}function Nc(){var a,b;a=[];b=I();null===b&&(b=R(),null===b&&(b=y()));for(;null!==b;)a.push(b),b=I(),null===b&&(b=R(),null===b&&(b=y()));return a}function Oc(){var a,c;c=b;"stuns"===f.substr(b, -5)?(a="stuns",b+=5):(a=null,0===g&&h('"stuns"'));null===a&&("stun"===f.substr(b,4)?(a="stun",b+=4):(a=null,0===g&&h('"stun"')));null!==a&&(o.scheme=a,a=void 0);null===a&&(b=c);return a}function cb(){var a,c,d,e,i;e=b;a=Pc();null!==a?(i=b,58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c?(d=Ja(),null!==d?c=[c,d]:(c=null,b=i)):(c=null,b=i),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);return a}function Pc(){var a,c;c=b;a=aa();null===a&&(a=L(),null===a&&(a=ia()));null!== -a&&(o.host=a.join(""),a=void 0);null===a&&(b=c);return a}function aa(){var a,b;a=[];b=db();null===b&&(b=x(),null===b&&(b=eb()));for(;null!==b;)a.push(b),b=db(),null===b&&(b=x(),null===b&&(b=eb()));return a}function db(){var a;a=P();if(null===a&&(a=p(),null===a&&(45===f.charCodeAt(b)?(a="-",b++):(a=null,0===g&&h('"-"')),null===a)))if(46===f.charCodeAt(b)?(a=".",b++):(a=null,0===g&&h('"."')),null===a)if(95===f.charCodeAt(b)?(a="_",b++):(a=null,0===g&&h('"_"')),null===a)126===f.charCodeAt(b)?(a="~", -b++):(a=null,0===g&&h('"~"'));return a}function eb(){var a;33===f.charCodeAt(b)?(a="!",b++):(a=null,0===g&&h('"!"'));if(null===a&&(36===f.charCodeAt(b)?(a="$",b++):(a=null,0===g&&h('"$"')),null===a))if(38===f.charCodeAt(b)?(a="&",b++):(a=null,0===g&&h('"&"')),null===a)if(39===f.charCodeAt(b)?(a="'",b++):(a=null,0===g&&h('"\'"')),null===a)if(40===f.charCodeAt(b)?(a="(",b++):(a=null,0===g&&h('"("')),null===a)if(41===f.charCodeAt(b)?(a=")",b++):(a=null,0===g&&h('")"')),null===a)if(42===f.charCodeAt(b)? -(a="*",b++):(a=null,0===g&&h('"*"')),null===a)if(43===f.charCodeAt(b)?(a="+",b++):(a=null,0===g&&h('"+"')),null===a)if(44===f.charCodeAt(b)?(a=",",b++):(a=null,0===g&&h('","')),null===a)if(59===f.charCodeAt(b)?(a=";",b++):(a=null,0===g&&h('";"')),null===a)61===f.charCodeAt(b)?(a="=",b++):(a=null,0===g&&h('"="'));return a}function Qc(){var a,c;c=b;"turns"===f.substr(b,5)?(a="turns",b+=5):(a=null,0===g&&h('"turns"'));null===a&&("turn"===f.substr(b,4)?(a="turn",b+=4):(a=null,0===g&&h('"turn"')));null!== -a&&(o.scheme=a,a=void 0);null===a&&(b=c);return a}function Tc(a){a.sort();for(var b=null,d=[],e=0;e",b++):(a=null,0===g&&h('">"')),null===a)if(64=== -f.charCodeAt(b)?(a="@",b++):(a=null,0===g&&h('"@"')),null===a)if(44===f.charCodeAt(b)?(a=",",b++):(a=null,0===g&&h('","')),null===a)if(59===f.charCodeAt(b)?(a=";",b++):(a=null,0===g&&h('";"')),null===a)if(58===f.charCodeAt(b)?(a=":",b++):(a=null,0===g&&h('":"')),null===a)if(92===f.charCodeAt(b)?(a="\\",b++):(a=null,0===g&&h('"\\\\"')),null===a)if(a=D(),null===a&&(47===f.charCodeAt(b)?(a="/",b++):(a=null,0===g&&h('"/"')),null===a))if(91===f.charCodeAt(b)?(a="[",b++):(a=null,0===g&&h('"["')),null=== -a)if(93===f.charCodeAt(b)?(a="]",b++):(a=null,0===g&&h('"]"')),null===a)if(63===f.charCodeAt(b)?(a="?",b++):(a=null,0===g&&h('"?"')),null===a)if(61===f.charCodeAt(b)?(a="=",b++):(a=null,0===g&&h('"="')),null===a)if(123===f.charCodeAt(b)?(a="{",b++):(a=null,0===g&&h('"{"')),null===a)if(125===f.charCodeAt(b)?(a="}",b++):(a=null,0===g&&h('"}"')),null===a)a=z(),null===a&&(a=H());return a},word:ya,STAR:kb,SLASH:fa,EQUAL:t,LPAREN:lb,RPAREN:mb,RAQUOT:nb,LAQUOT:ob,COMMA:u,SEMI:v,COLON:pb,LDQUOT:za,RDQUOT:Aa, -comment:Ba,ctext:Ca,quoted_string:F,qdtext:Da,quoted_pair:S,SIP_URI_simple:qb,SIP_URI:Ea,uri_scheme:ga,userinfo:ha,user:Ga,user_unreserved:Ia,password:Ha,hostport:T,host:U,hostname:Ka,domainlabel:La,toplabel:sb,IPv6reference:ia,IPv6address:Ma,h16:q,ls32:A,IPv4address:L,dec_octet:V,port:Ja,uri_parameters:Fa,uri_parameter:Na,transport_param:tb,user_param:ub,method_param:vb,ttl_param:wb,maddr_param:xb,lr_param:yb,other_param:zb,pname:Ab,pvalue:Bb,paramchar:W,param_unreserved:Cb,headers:rb,header:ka, -hname:Db,hvalue:Eb,hnv_unreserved:X,Request_Response:function(){var a;a=Yb();null===a&&(a=Fb());return a},Request_Line:Fb,Request_URI:Gb,absoluteURI:Y,hier_part:Ib,net_path:Kb,abs_path:la,opaque_part:Jb,uric:Z,uric_no_slash:Ob,path_segments:Nb,segment:ma,param:Qa,pchar:$,scheme:Hb,authority:Mb,srvr:Pb,reg_name:aa,query:Lb,SIP_Version:Pa,INVITEm:Qb,ACKm:Rb,OPTIONSm:Sb,BYEm:Tb,CANCELm:Ub,REGISTERm:Vb,SUBSCRIBEm:Wb,NOTIFYm:Xb,Method:ja,Status_Line:Yb,Status_Code:Zb,extension_code:ac,Reason_Phrase:$b, -Allow_Events:function(){var a,c,d,e,f,g;f=b;a=ba();if(null!==a){c=[];g=b;d=u();null!==d?(e=ba(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=ba(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},Call_ID:function(){var a,c,d,e,i,j;i=e=b;a=ya();null!==a?(j=b,64===f.charCodeAt(b)?(c="@",b++):(c=null,0===g&&h('"@"')),null!==c?(d=ya(),null!==d?c=[c,d]:(c=null,b=j)):(c=null,b=j),c=null!==c?c:"",null!==c)?a= -[a,c]:(a=null,b=i):(a=null,b=i);null!==a&&(o=f.substring(b,e),a=void 0);null===a&&(b=e);return a},Contact:function(){var a,c,d,e,f,g;a=kb();if(null===a)if(f=b,a=na(),null!==a){c=[];g=b;d=u();null!==d?(e=na(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=na(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},contact_param:na,name_addr:M,addr_spec:Ra,addr_spec_simple:Ta,display_name:bc,contact_params:Sa,c_p_q:cc, -c_p_expires:dc,contact_extension:ec,delta_seconds:N,qvalue:fc,generic_param:B,gen_value:gc,Content_Disposition:function(){var a,c,d,e,f,g;f=b;a=hc();if(null!==a){c=[];g=b;d=v();null!==d?(e=Ua(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=Ua(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},disp_type:hc,disp_param:Ua,handling_param:ic,Content_Encoding:function(){var a,c,d,e,f,g;f=b;a=r();if(null!==a){c= -[];g=b;d=u();null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},Content_Length:function(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!==c;)a.push(c),c=p();else a=null;null!==a&&(o=parseInt(a.join("")),a=void 0);null===a&&(b=d);return a},Content_Type:function(){var a,c;c=b;a=jc();null!==a&&(o=f.substring(b,c),a=void 0);null===a&&(b=c);return a}, -media_type:jc,m_type:kc,discrete_type:mc,composite_type:nc,extension_token:oa,x_token:oc,m_subtype:lc,m_parameter:Va,m_value:pc,CSeq:function(){var a,c,d,e;e=b;a=qc();null!==a?(c=y(),null!==c?(d=ja(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a},CSeq_value:qc,Expires:function(){var a,c;c=b;a=N();null!==a&&(o=a,a=void 0);null===a&&(b=c);return a},Event:function(){var a,c,d,e,f,g,h;g=f=b;a=ba();if(null!==a){c=[];h=b;d=v();null!==d?(e=Wa(),null!==e?d=[d,e]:(d=null,b=h)):(d=null, -b=h);for(;null!==d;)c.push(d),h=b,d=v(),null!==d?(e=Wa(),null!==e?d=[d,e]:(d=null,b=h)):(d=null,b=h);null!==c?a=[a,c]:(a=null,b=g)}else a=null,b=g;null!==a&&(o.event=a[0].join(""),a=void 0);null===a&&(b=f);return a},event_type:ba,event_param:Wa,From:function(){var a,c,d,e,f,g;f=b;a=Ta();null===a&&(a=M());if(null!==a){c=[];g=b;d=v();null!==d?(e=Xa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=Xa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a= -[a,c]:(a=null,b=f)}else a=null,b=f;return a},from_param:Xa,tag_param:Ya,Max_Forwards:function(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!==c;)a.push(c),c=p();else a=null;null!==a&&(o=parseInt(a.join("")),a=void 0);null===a&&(b=d);return a},Min_Expires:function(){var a,c;c=b;a=N();null!==a&&(o=a,a=void 0);null===a&&(b=c);return a},Proxy_Authenticate:function(){return Za()},challenge:Za,other_challenge:rc,auth_param:ca,digest_cln:pa,realm:sc,realm_value:zc,domain:tc,URI:qa,nonce:uc,nonce_value:Ac, -opaque:vc,stale:wc,algorithm:xc,qop_options:yc,qop_value:ra,Proxy_Require:function(){var a,c,d,e,f,g;f=b;a=r();if(null!==a){c=[];g=b;d=u();null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},Record_Route:function(){var a,c,d,e,f,g;f=b;a=sa();if(null!==a){c=[];g=b;d=u();null!==d?(e=sa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!== +JsSIP.grammar=function(){function fb(e){return'"'+e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g,escape)+'"'}var J={parse:function(e,C){function g(a){bO&&(O=b,wa=[]),wa.push(a))}function gb(){var a;"\r\n"===e.substr(b,2)?(a="\r\n",b+=2):(a=null,0===f&&g('"\\r\\n"'));return a}function p(){var a;/^[0-9]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a= +null,0===f&&g("[0-9]"));return a}function P(){var a;/^[a-zA-Z]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[a-zA-Z]"));return a}function G(){var a;/^[0-9a-fA-F]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[0-9a-fA-F]"));return a}function Q(){var a;a=z();null===a&&(a=H());return a}function xa(){var a;/^[\0-\xFF]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[\\0-\\xFF]"));return a}function D(){var a;/^["]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g('["]')); +return a}function z(){var a;32===e.charCodeAt(b)?(a=" ",b++):(a=null,0===f&&g('" "'));return a}function H(){var a;9===e.charCodeAt(b)?(a="\t",b++):(a=null,0===f&&g('"\\t"'));return a}function E(){var a;/^[a-zA-Z0-9]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[a-zA-Z0-9]"));return a}function da(){var a;59===e.charCodeAt(b)?(a=";",b++):(a=null,0===f&&g('";"'));if(null===a&&(47===e.charCodeAt(b)?(a="/",b++):(a=null,0===f&&g('"/"')),null===a))if(63===e.charCodeAt(b)?(a="?",b++):(a=null, +0===f&&g('"?"')),null===a)if(58===e.charCodeAt(b)?(a=":",b++):(a=null,0===f&&g('":"')),null===a)if(64===e.charCodeAt(b)?(a="@",b++):(a=null,0===f&&g('"@"')),null===a)if(38===e.charCodeAt(b)?(a="&",b++):(a=null,0===f&&g('"&"')),null===a)if(61===e.charCodeAt(b)?(a="=",b++):(a=null,0===f&&g('"="')),null===a)if(43===e.charCodeAt(b)?(a="+",b++):(a=null,0===f&&g('"+"')),null===a)if(36===e.charCodeAt(b)?(a="$",b++):(a=null,0===f&&g('"$"')),null===a)44===e.charCodeAt(b)?(a=",",b++):(a=null,0===f&&g('","')); +return a}function w(){var a;a=E();null===a&&(a=J());return a}function J(){var a;45===e.charCodeAt(b)?(a="-",b++):(a=null,0===f&&g('"-"'));if(null===a&&(95===e.charCodeAt(b)?(a="_",b++):(a=null,0===f&&g('"_"')),null===a))if(46===e.charCodeAt(b)?(a=".",b++):(a=null,0===f&&g('"."')),null===a)if(33===e.charCodeAt(b)?(a="!",b++):(a=null,0===f&&g('"!"')),null===a)if(126===e.charCodeAt(b)?(a="~",b++):(a=null,0===f&&g('"~"')),null===a)if(42===e.charCodeAt(b)?(a="*",b++):(a=null,0===f&&g('"*"')),null===a)if(39=== +e.charCodeAt(b)?(a="'",b++):(a=null,0===f&&g('"\'"')),null===a)if(40===e.charCodeAt(b)?(a="(",b++):(a=null,0===f&&g('"("')),null===a)41===e.charCodeAt(b)?(a=")",b++):(a=null,0===f&&g('")"'));return a}function x(){var a,c,d,h;h=b;37===e.charCodeAt(b)?(a="%",b++):(a=null,0===f&&g('"%"'));null!==a?(c=G(),null!==c?(d=G(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h);return a}function y(){var a,c,d,h,e;d=e=h=b;a=[];for(c=Q();null!==c;)a.push(c),c=Q();null!==a?(c=gb(),null!==c?a=[a,c]:(a= +null,b=d)):(a=null,b=d);a=null!==a?a:"";if(null!==a){d=Q();if(null!==d)for(c=[];null!==d;)c.push(d),d=Q();else c=null;null!==c?a=[a,c]:(a=null,b=e)}else a=null,b=e;null!==a&&(a=" ");null===a&&(b=h);return a}function s(){var a;a=y();return null!==a?a:""}function hb(){var a,c,d,h,i;i=h=b;a=[];c=z();for(null===c&&(c=H());null!==c;)a.push(c),c=z(),null===c&&(c=H());null!==a?(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null, +b=i);null!==a&&(a=":");null===a&&(b=h);return a}function ib(){var a,c,d,h,i,g,f;g=i=b;c=I();if(null!==c)for(a=[];null!==c;)a.push(c),c=I();else a=null;if(null!==a){c=[];f=b;d=[];for(h=y();null!==h;)d.push(h),h=y();null!==d?(h=I(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f);for(;null!==d;){c.push(d);f=b;d=[];for(h=y();null!==h;)d.push(h),h=y();null!==d?(h=I(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f)}null!==c?a=[a,c]:(a=null,b=g)}else a=null,b=g;null!==a&&(a=e.substring(b,i));null===a&&(b=i);return a} +function I(){var a;/^[!-~]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[!-~]"));null===a&&(a=K());return a}function K(){var a;/^[\x80-\uFFFF]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[\\x80-\\uFFFF]"));return a}function R(){var a;/^[\x80-\xBF]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[\\x80-\\xBF]"));return a}function r(){var a,c,d;d=b;c=E();if(null===c&&(45===e.charCodeAt(b)?(c="-",b++):(c=null,0===f&&g('"-"')),null===c))if(46===e.charCodeAt(b)?(c=".", +b++):(c=null,0===f&&g('"."')),null===c)if(33===e.charCodeAt(b)?(c="!",b++):(c=null,0===f&&g('"!"')),null===c)if(37===e.charCodeAt(b)?(c="%",b++):(c=null,0===f&&g('"%"')),null===c)if(42===e.charCodeAt(b)?(c="*",b++):(c=null,0===f&&g('"*"')),null===c)if(95===e.charCodeAt(b)?(c="_",b++):(c=null,0===f&&g('"_"')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"')),null===c)if(96===e.charCodeAt(b)?(c="`",b++):(c=null,0===f&&g('"`"')),null===c)if(39===e.charCodeAt(b)?(c="'",b++):(c=null, +0===f&&g('"\'"')),null===c)126===e.charCodeAt(b)?(c="~",b++):(c=null,0===f&&g('"~"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=E(),null===c&&(45===e.charCodeAt(b)?(c="-",b++):(c=null,0===f&&g('"-"')),null===c))if(46===e.charCodeAt(b)?(c=".",b++):(c=null,0===f&&g('"."')),null===c)if(33===e.charCodeAt(b)?(c="!",b++):(c=null,0===f&&g('"!"')),null===c)if(37===e.charCodeAt(b)?(c="%",b++):(c=null,0===f&&g('"%"')),null===c)if(42===e.charCodeAt(b)?(c="*",b++):(c=null,0===f&&g('"*"')),null===c)if(95=== +e.charCodeAt(b)?(c="_",b++):(c=null,0===f&&g('"_"')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"')),null===c)if(96===e.charCodeAt(b)?(c="`",b++):(c=null,0===f&&g('"`"')),null===c)if(39===e.charCodeAt(b)?(c="'",b++):(c=null,0===f&&g('"\'"')),null===c)126===e.charCodeAt(b)?(c="~",b++):(c=null,0===f&&g('"~"'))}else a=null;null!==a&&(a=e.substring(b,d));null===a&&(b=d);return a}function ea(){var a,c,d;d=b;c=E();if(null===c&&(45===e.charCodeAt(b)?(c="-",b++):(c=null,0===f&&g('"-"')), +null===c))if(33===e.charCodeAt(b)?(c="!",b++):(c=null,0===f&&g('"!"')),null===c)if(37===e.charCodeAt(b)?(c="%",b++):(c=null,0===f&&g('"%"')),null===c)if(42===e.charCodeAt(b)?(c="*",b++):(c=null,0===f&&g('"*"')),null===c)if(95===e.charCodeAt(b)?(c="_",b++):(c=null,0===f&&g('"_"')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"')),null===c)if(96===e.charCodeAt(b)?(c="`",b++):(c=null,0===f&&g('"`"')),null===c)if(39===e.charCodeAt(b)?(c="'",b++):(c=null,0===f&&g('"\'"')),null===c)126=== +e.charCodeAt(b)?(c="~",b++):(c=null,0===f&&g('"~"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=E(),null===c&&(45===e.charCodeAt(b)?(c="-",b++):(c=null,0===f&&g('"-"')),null===c))if(33===e.charCodeAt(b)?(c="!",b++):(c=null,0===f&&g('"!"')),null===c)if(37===e.charCodeAt(b)?(c="%",b++):(c=null,0===f&&g('"%"')),null===c)if(42===e.charCodeAt(b)?(c="*",b++):(c=null,0===f&&g('"*"')),null===c)if(95===e.charCodeAt(b)?(c="_",b++):(c=null,0===f&&g('"_"')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c= +null,0===f&&g('"+"')),null===c)if(96===e.charCodeAt(b)?(c="`",b++):(c=null,0===f&&g('"`"')),null===c)if(39===e.charCodeAt(b)?(c="'",b++):(c=null,0===f&&g('"\'"')),null===c)126===e.charCodeAt(b)?(c="~",b++):(c=null,0===f&&g('"~"'))}else a=null;null!==a&&(a=e.substring(b,d));null===a&&(b=d);return a}function ya(){var a,c,d;d=b;c=E();if(null===c&&(45===e.charCodeAt(b)?(c="-",b++):(c=null,0===f&&g('"-"')),null===c))if(46===e.charCodeAt(b)?(c=".",b++):(c=null,0===f&&g('"."')),null===c)if(33===e.charCodeAt(b)? +(c="!",b++):(c=null,0===f&&g('"!"')),null===c)if(37===e.charCodeAt(b)?(c="%",b++):(c=null,0===f&&g('"%"')),null===c)if(42===e.charCodeAt(b)?(c="*",b++):(c=null,0===f&&g('"*"')),null===c)if(95===e.charCodeAt(b)?(c="_",b++):(c=null,0===f&&g('"_"')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"')),null===c)if(96===e.charCodeAt(b)?(c="`",b++):(c=null,0===f&&g('"`"')),null===c)if(39===e.charCodeAt(b)?(c="'",b++):(c=null,0===f&&g('"\'"')),null===c)if(126===e.charCodeAt(b)?(c="~",b++): +(c=null,0===f&&g('"~"')),null===c)if(40===e.charCodeAt(b)?(c="(",b++):(c=null,0===f&&g('"("')),null===c)if(41===e.charCodeAt(b)?(c=")",b++):(c=null,0===f&&g('")"')),null===c)if(60===e.charCodeAt(b)?(c="<",b++):(c=null,0===f&&g('"<"')),null===c)if(62===e.charCodeAt(b)?(c=">",b++):(c=null,0===f&&g('">"')),null===c)if(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null===c)if(92===e.charCodeAt(b)?(c="\\",b++):(c=null,0===f&&g('"\\\\"')),null===c)if(c=D(),null===c&&(47===e.charCodeAt(b)?(c= +"/",b++):(c=null,0===f&&g('"/"')),null===c))if(91===e.charCodeAt(b)?(c="[",b++):(c=null,0===f&&g('"["')),null===c)if(93===e.charCodeAt(b)?(c="]",b++):(c=null,0===f&&g('"]"')),null===c)if(63===e.charCodeAt(b)?(c="?",b++):(c=null,0===f&&g('"?"')),null===c)if(123===e.charCodeAt(b)?(c="{",b++):(c=null,0===f&&g('"{"')),null===c)125===e.charCodeAt(b)?(c="}",b++):(c=null,0===f&&g('"}"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=E(),null===c&&(45===e.charCodeAt(b)?(c="-",b++):(c=null,0===f&&g('"-"')), +null===c))if(46===e.charCodeAt(b)?(c=".",b++):(c=null,0===f&&g('"."')),null===c)if(33===e.charCodeAt(b)?(c="!",b++):(c=null,0===f&&g('"!"')),null===c)if(37===e.charCodeAt(b)?(c="%",b++):(c=null,0===f&&g('"%"')),null===c)if(42===e.charCodeAt(b)?(c="*",b++):(c=null,0===f&&g('"*"')),null===c)if(95===e.charCodeAt(b)?(c="_",b++):(c=null,0===f&&g('"_"')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"')),null===c)if(96===e.charCodeAt(b)?(c="`",b++):(c=null,0===f&&g('"`"')),null===c)if(39=== +e.charCodeAt(b)?(c="'",b++):(c=null,0===f&&g('"\'"')),null===c)if(126===e.charCodeAt(b)?(c="~",b++):(c=null,0===f&&g('"~"')),null===c)if(40===e.charCodeAt(b)?(c="(",b++):(c=null,0===f&&g('"("')),null===c)if(41===e.charCodeAt(b)?(c=")",b++):(c=null,0===f&&g('")"')),null===c)if(60===e.charCodeAt(b)?(c="<",b++):(c=null,0===f&&g('"<"')),null===c)if(62===e.charCodeAt(b)?(c=">",b++):(c=null,0===f&&g('">"')),null===c)if(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null===c)if(92===e.charCodeAt(b)? +(c="\\",b++):(c=null,0===f&&g('"\\\\"')),null===c)if(c=D(),null===c&&(47===e.charCodeAt(b)?(c="/",b++):(c=null,0===f&&g('"/"')),null===c))if(91===e.charCodeAt(b)?(c="[",b++):(c=null,0===f&&g('"["')),null===c)if(93===e.charCodeAt(b)?(c="]",b++):(c=null,0===f&&g('"]"')),null===c)if(63===e.charCodeAt(b)?(c="?",b++):(c=null,0===f&&g('"?"')),null===c)if(123===e.charCodeAt(b)?(c="{",b++):(c=null,0===f&&g('"{"')),null===c)125===e.charCodeAt(b)?(c="}",b++):(c=null,0===f&&g('"}"'))}else a=null;null!==a&&(a= +e.substring(b,d));null===a&&(b=d);return a}function jb(){var a,c,d,h,i;i=h=b;a=s();null!==a?(42===e.charCodeAt(b)?(c="*",b++):(c=null,0===f&&g('"*"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="*");null===a&&(b=h);return a}function fa(){var a,c,d,h,i;i=h=b;a=s();null!==a?(47===e.charCodeAt(b)?(c="/",b++):(c=null,0===f&&g('"/"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="/");null===a&&(b=h);return a}function t(){var a, +c,d,h,i;i=h=b;a=s();null!==a?(61===e.charCodeAt(b)?(c="=",b++):(c=null,0===f&&g('"="')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="=");null===a&&(b=h);return a}function kb(){var a,c,d,h,i;i=h=b;a=s();null!==a?(40===e.charCodeAt(b)?(c="(",b++):(c=null,0===f&&g('"("')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a="(");null===a&&(b=h);return a}function lb(){var a,c,d,h,i;i=h=b;a=s();null!==a?(41===e.charCodeAt(b)? +(c=")",b++):(c=null,0===f&&g('")"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=")");null===a&&(b=h);return a}function mb(){var a,c,d,h;h=d=b;62===e.charCodeAt(b)?(a=">",b++):(a=null,0===f&&g('">"'));null!==a?(c=s(),null!==c?a=[a,c]:(a=null,b=h)):(a=null,b=h);null!==a&&(a=">");null===a&&(b=d);return a}function nb(){var a,c,d,h;h=d=b;a=s();null!==a?(60===e.charCodeAt(b)?(c="<",b++):(c=null,0===f&&g('"<"')),null!==c)?a=[a,c]:(a=null,b=h):(a=null,b=h);null!== +a&&(a="<");null===a&&(b=d);return a}function u(){var a,c,d,h,i;i=h=b;a=s();null!==a?(44===e.charCodeAt(b)?(c=",",b++):(c=null,0===f&&g('","')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=",");null===a&&(b=h);return a}function v(){var a,c,d,h,i;i=h=b;a=s();null!==a?(59===e.charCodeAt(b)?(c=";",b++):(c=null,0===f&&g('";"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=";");null===a&&(b=h);return a}function ob(){var a, +c,d,h,i;i=h=b;a=s();null!==a?(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c)?(d=s(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i):(a=null,b=i);null!==a&&(a=":");null===a&&(b=h);return a}function za(){var a,c,d,h;h=d=b;a=s();null!==a?(c=D(),null!==c?a=[a,c]:(a=null,b=h)):(a=null,b=h);null!==a&&(a='"');null===a&&(b=d);return a}function Aa(){var a,c,d,h;h=d=b;a=D();null!==a?(c=s(),null!==c?a=[a,c]:(a=null,b=h)):(a=null,b=h);null!==a&&(a='"');null===a&&(b=d);return a}function Ba(){var a, +c,d,h;h=b;a=kb();if(null!==a){c=[];d=Ca();null===d&&(d=S(),null===d&&(d=Ba()));for(;null!==d;)c.push(d),d=Ca(),null===d&&(d=S(),null===d&&(d=Ba()));null!==c?(d=lb(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)}else a=null,b=h;return a}function Ca(){var a;/^[!-']/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[!-']"));if(null===a&&(/^[*-[]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[*-[]")),null===a))if(/^[\]-~]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[\\]-~]")), +null===a)a=K(),null===a&&(a=y());return a}function F(){var a,c,d,h,i,f;f=i=b;a=s();if(null!==a)if(c=D(),null!==c){d=[];h=Da();for(null===h&&(h=S());null!==h;)d.push(h),h=Da(),null===h&&(h=S());null!==d?(h=D(),null!==h?a=[a,c,d,h]:(a=null,b=f)):(a=null,b=f)}else a=null,b=f;else a=null,b=f;null!==a&&(a=e.substring(b,i));null===a&&(b=i);return a}function Da(){var a;a=y();if(null===a&&(33===e.charCodeAt(b)?(a="!",b++):(a=null,0===f&&g('"!"')),null===a))if(/^[#-[]/.test(e.charAt(b))?(a=e.charAt(b),b++): +(a=null,0===f&&g("[#-[]")),null===a)/^[\]-~]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[\\]-~]")),null===a&&(a=K());return a}function S(){var a,c,d;d=b;92===e.charCodeAt(b)?(a="\\",b++):(a=null,0===f&&g('"\\\\"'));if(null!==a){/^[\0-\t]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[\\0-\\t]"));if(null===c&&(/^[\x0B-\f]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[\\x0B-\\f]")),null===c))/^[\x0E-\u007f]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[\\x0E-\u007f]")); +null!==c?a=[a,c]:(a=null,b=d)}else a=null,b=d;return a}function pb(){var a,c,d,h,i,j;j=i=b;a=ga();null!==a?(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c)?(d=ha(),d=null!==d?d:"",null!==d?(h=T(),null!==h?a=[a,c,d,h]:(a=null,b=j)):(a=null,b=j)):(a=null,b=j):(a=null,b=j);null!==a&&(o.uri=e.substring(b,i),a=void 0);null===a&&(b=i);return a}function Ea(){var a,c,d,h,i,j,k,m;m=k=b;a=ga();null!==a?(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c)?(d=ha(),d=null!== +d?d:"",null!==d?(h=T(),null!==h?(i=Fa(),null!==i?(j=qb(),j=null!==j?j:"",null!==j?a=[a,c,d,h,i,j]:(a=null,b=m)):(a=null,b=m)):(a=null,b=m)):(a=null,b=m)):(a=null,b=m):(a=null,b=m);null!==a&&(o.uri=e.substring(b,k),a=void 0);null===a&&(b=k);return a}function ga(){var a,c;c=b;"sip"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"sip"'));null!==a&&(o.scheme=a,a=void 0);null===a&&(b=c);return a}function ha(){var a,c,d,h,i,j;i=h=b;a=Ga();null!==a?(j=b,58===e.charCodeAt(b)?(c=":", +b++):(c=null,0===f&&g('":"')),null!==c?(d=Ha(),null!==d?c=[c,d]:(c=null,b=j)):(c=null,b=j),c=null!==c?c:"",null!==c)?(64===e.charCodeAt(b)?(d="@",b++):(d=null,0===f&&g('"@"')),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.user=e.substring(b-1,h),a=void 0);null===a&&(b=h);return a}function Ga(){var a,c,d;d=b;c=w();null===c&&(c=x(),null===c&&(c=Ia()));if(null!==c)for(a=[];null!==c;)a.push(c),c=w(),null===c&&(c=x(),null===c&&(c=Ia()));else a=null;null!==a&&(o.user=e.substring(b, +d),a=void 0);null===a&&(b=d);return a}function Ia(){var a;38===e.charCodeAt(b)?(a="&",b++):(a=null,0===f&&g('"&"'));if(null===a&&(61===e.charCodeAt(b)?(a="=",b++):(a=null,0===f&&g('"="')),null===a))if(43===e.charCodeAt(b)?(a="+",b++):(a=null,0===f&&g('"+"')),null===a)if(36===e.charCodeAt(b)?(a="$",b++):(a=null,0===f&&g('"$"')),null===a)if(44===e.charCodeAt(b)?(a=",",b++):(a=null,0===f&&g('","')),null===a)if(59===e.charCodeAt(b)?(a=";",b++):(a=null,0===f&&g('";"')),null===a)if(63===e.charCodeAt(b)? +(a="?",b++):(a=null,0===f&&g('"?"')),null===a)47===e.charCodeAt(b)?(a="/",b++):(a=null,0===f&&g('"/"'));return a}function Ha(){var a,c,d;d=b;a=[];c=w();if(null===c&&(c=x(),null===c&&(38===e.charCodeAt(b)?(c="&",b++):(c=null,0===f&&g('"&"')),null===c)))if(61===e.charCodeAt(b)?(c="=",b++):(c=null,0===f&&g('"="')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"')),null===c)if(36===e.charCodeAt(b)?(c="$",b++):(c=null,0===f&&g('"$"')),null===c)44===e.charCodeAt(b)?(c=",",b++):(c=null, +0===f&&g('","'));for(;null!==c;)if(a.push(c),c=w(),null===c&&(c=x(),null===c&&(38===e.charCodeAt(b)?(c="&",b++):(c=null,0===f&&g('"&"')),null===c)))if(61===e.charCodeAt(b)?(c="=",b++):(c=null,0===f&&g('"="')),null===c)if(43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"')),null===c)if(36===e.charCodeAt(b)?(c="$",b++):(c=null,0===f&&g('"$"')),null===c)44===e.charCodeAt(b)?(c=",",b++):(c=null,0===f&&g('","'));null!==a&&(o.password=e.substring(b,d),a=void 0);null===a&&(b=d);return a}function T(){var a, +c,d,h,i;h=b;a=U();null!==a?(i=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=Ja(),null!==d?c=[c,d]:(c=null,b=i)):(c=null,b=i),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=h):(a=null,b=h);return a}function U(){var a,c;c=b;a=Ka();null===a&&(a=L(),null===a&&(a=ia()));null!==a&&(o.host=e.substring(b,c),a=void 0);null===a&&(b=c);return a}function Ka(){var a,c,d,h,i,j;i=h=b;a=[];j=b;c=La();null!==c?(46===e.charCodeAt(b)?(d=".",b++):(d=null,0===f&&g('"."')),null!==d)?c=[c,d]:(c=null, +b=j):(c=null,b=j);for(;null!==c;)(a.push(c),j=b,c=La(),null!==c)?(46===e.charCodeAt(b)?(d=".",b++):(d=null,0===f&&g('"."')),null!==d)?c=[c,d]:(c=null,b=j):(c=null,b=j);null!==a?(c=rb(),null!==c)?(46===e.charCodeAt(b)?(d=".",b++):(d=null,0===f&&g('"."')),d=null!==d?d:"",null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.host_type="domain",a=e.substring(b,h));null===a&&(b=h);return a}function La(){var a,c;/^[a-zA-Z0-9_\-]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[a-zA-Z0-9_\\-]")); +if(null!==c)for(a=[];null!==c;)a.push(c),/^[a-zA-Z0-9_\-]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[a-zA-Z0-9_\\-]"));else a=null;return a}function rb(){var a,c;/^[a-zA-Z_\-]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[a-zA-Z_\\-]"));if(null!==c)for(a=[];null!==c;)a.push(c),/^[a-zA-Z_\-]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[a-zA-Z_\\-]"));else a=null;return a}function ia(){var a,c,d,h,i;i=h=b;91===e.charCodeAt(b)?(a="[",b++):(a=null,0===f&&g('"["')); +null!==a?(c=Ma(),null!==c)?(93===e.charCodeAt(b)?(d="]",b++):(d=null,0===f&&g('"]"')),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.host_type="IPv6",a=e.substring(b,h));null===a&&(b=h);return a}function Ma(){var a,c,d,h,i,j,k,m,n,p,r,s,t,u,l;l=u=b;a=q();null!==a?(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c)?(d=q(),null!==d)?(58===e.charCodeAt(b)?(h=":",b++):(h=null,0===f&&g('":"')),null!==h)?(i=q(),null!==i)?(58===e.charCodeAt(b)?(j=":",b++):(j=null, +0===f&&g('":"')),null!==j)?(k=q(),null!==k)?(58===e.charCodeAt(b)?(m=":",b++):(m=null,0===f&&g('":"')),null!==m)?(n=q(),null!==n)?(58===e.charCodeAt(b)?(p=":",b++):(p=null,0===f&&g('":"')),null!==p)?(r=q(),null!==r)?(58===e.charCodeAt(b)?(s=":",b++):(s=null,0===f&&g('":"')),null!==s)?(t=A(),null!==t?a=[a,c,d,h,i,j,k,m,n,p,r,s,t]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l); +if(null===a&&(l=b,"::"===e.substr(b,2)?(a="::",b+=2):(a=null,0===f&&g('"::"')),null!==a?(c=q(),null!==c)?(58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d)?(h=q(),null!==h)?(58===e.charCodeAt(b)?(i=":",b++):(i=null,0===f&&g('":"')),null!==i)?(j=q(),null!==j)?(58===e.charCodeAt(b)?(k=":",b++):(k=null,0===f&&g('":"')),null!==k)?(m=q(),null!==m)?(58===e.charCodeAt(b)?(n=":",b++):(n=null,0===f&&g('":"')),null!==n)?(p=q(),null!==p)?(58===e.charCodeAt(b)?(r=":",b++):(r=null,0===f&&g('":"')), +null!==r)?(s=A(),null!==s?a=[a,c,d,h,i,j,k,m,n,p,r,s]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a))if(l=b,"::"===e.substr(b,2)?(a="::",b+=2):(a=null,0===f&&g('"::"')),null!==a?(c=q(),null!==c)?(58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d)?(h=q(),null!==h)?(58===e.charCodeAt(b)?(i=":",b++):(i=null,0===f&&g('":"')),null!==i)?(j=q(),null!==j)?(58===e.charCodeAt(b)? +(k=":",b++):(k=null,0===f&&g('":"')),null!==k)?(m=q(),null!==m)?(58===e.charCodeAt(b)?(n=":",b++):(n=null,0===f&&g('":"')),null!==n)?(p=A(),null!==p?a=[a,c,d,h,i,j,k,m,n,p]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,"::"===e.substr(b,2)?(a="::",b+=2):(a=null,0===f&&g('"::"')),null!==a?(c=q(),null!==c)?(58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d)?(h=q(),null!==h)?(58===e.charCodeAt(b)? +(i=":",b++):(i=null,0===f&&g('":"')),null!==i)?(j=q(),null!==j)?(58===e.charCodeAt(b)?(k=":",b++):(k=null,0===f&&g('":"')),null!==k)?(m=A(),null!==m?a=[a,c,d,h,i,j,k,m]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,"::"===e.substr(b,2)?(a="::",b+=2):(a=null,0===f&&g('"::"')),null!==a?(c=q(),null!==c)?(58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d)?(h=q(),null!==h)?(58===e.charCodeAt(b)?(i=":",b++):(i=null, +0===f&&g('":"')),null!==i)?(j=A(),null!==j?a=[a,c,d,h,i,j]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,"::"===e.substr(b,2)?(a="::",b+=2):(a=null,0===f&&g('"::"')),null!==a?(c=q(),null!==c)?(58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d)?(h=A(),null!==h?a=[a,c,d,h]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,"::"===e.substr(b,2)?(a="::",b+=2):(a=null,0===f&&g('"::"')),null!==a?(c=A(),null!==c?a=[a,c]: +(a=null,b=l)):(a=null,b=l),null===a)if(l=b,"::"===e.substr(b,2)?(a="::",b+=2):(a=null,0===f&&g('"::"')),null!==a?(c=q(),null!==c?a=[a,c]:(a=null,b=l)):(a=null,b=l),null===a)if(l=b,a=q(),null!==a?("::"===e.substr(b,2)?(c="::",b+=2):(c=null,0===f&&g('"::"')),null!==c)?(d=q(),null!==d)?(58===e.charCodeAt(b)?(h=":",b++):(h=null,0===f&&g('":"')),null!==h)?(i=q(),null!==i)?(58===e.charCodeAt(b)?(j=":",b++):(j=null,0===f&&g('":"')),null!==j)?(k=q(),null!==k)?(58===e.charCodeAt(b)?(m=":",b++):(m=null,0=== +f&&g('":"')),null!==m)?(n=q(),null!==n)?(58===e.charCodeAt(b)?(p=":",b++):(p=null,0===f&&g('":"')),null!==p)?(r=A(),null!==r?a=[a,c,d,h,i,j,k,m,n,p,r]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,a=q(),null!==a?(n=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?("::"===e.substr(b,2)?(d="::", +b+=2):(d=null,0===f&&g('"::"')),null!==d)?(h=q(),null!==h)?(58===e.charCodeAt(b)?(i=":",b++):(i=null,0===f&&g('":"')),null!==i)?(j=q(),null!==j)?(58===e.charCodeAt(b)?(k=":",b++):(k=null,0===f&&g('":"')),null!==k)?(m=q(),null!==m)?(58===e.charCodeAt(b)?(n=":",b++):(n=null,0===f&&g('":"')),null!==n)?(p=A(),null!==p?a=[a,c,d,h,i,j,k,m,n,p]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,a=q(),null!==a? +(n=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d?(h=q(),null!==h?d=[d,h]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?("::"===e.substr(b,2)?(h="::",b+=2):(h=null,0===f&&g('"::"')),null!==h)?(i=q(),null!==i)?(58===e.charCodeAt(b)?(j=":",b++):(j=null,0===f&&g('":"')),null!==j)?(k=q(),null!==k)?(58===e.charCodeAt(b)?(m=":", +b++):(m=null,0===f&&g('":"')),null!==m)?(n=A(),null!==n?a=[a,c,d,h,i,j,k,m,n]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,a=q(),null!==a?(n=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d?(h=q(),null!==h?d=[d,h]:(d=null,b=n)):(d=null,b=n),d= +null!==d?d:"",null!==d)?(n=b,58===e.charCodeAt(b)?(h=":",b++):(h=null,0===f&&g('":"')),null!==h?(i=q(),null!==i?h=[h,i]:(h=null,b=n)):(h=null,b=n),h=null!==h?h:"",null!==h)?("::"===e.substr(b,2)?(i="::",b+=2):(i=null,0===f&&g('"::"')),null!==i)?(j=q(),null!==j)?(58===e.charCodeAt(b)?(k=":",b++):(k=null,0===f&&g('":"')),null!==k)?(m=A(),null!==m?a=[a,c,d,h,i,j,k,m]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,a=q(),null!== +a?(n=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===e.charCodeAt(b)?(d=":",b++):(d=null,0===f&&g('":"')),null!==d?(h=q(),null!==h?d=[d,h]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?(n=b,58===e.charCodeAt(b)?(h=":",b++):(h=null,0===f&&g('":"')),null!==h?(i=q(),null!==i?h=[h,i]:(h=null,b=n)):(h=null,b=n),h=null!==h?h:"",null!==h)?(n=b,58===e.charCodeAt(b)?(i=":",b++):(i=null,0===f&& +g('":"')),null!==i?(j=q(),null!==j?i=[i,j]:(i=null,b=n)):(i=null,b=n),i=null!==i?i:"",null!==i)?("::"===e.substr(b,2)?(j="::",b+=2):(j=null,0===f&&g('"::"')),null!==j)?(k=A(),null!==k?a=[a,c,d,h,i,j,k]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)if(l=b,a=q(),null!==a?(n=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===e.charCodeAt(b)?(d= +":",b++):(d=null,0===f&&g('":"')),null!==d?(h=q(),null!==h?d=[d,h]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?(n=b,58===e.charCodeAt(b)?(h=":",b++):(h=null,0===f&&g('":"')),null!==h?(i=q(),null!==i?h=[h,i]:(h=null,b=n)):(h=null,b=n),h=null!==h?h:"",null!==h)?(n=b,58===e.charCodeAt(b)?(i=":",b++):(i=null,0===f&&g('":"')),null!==i?(j=q(),null!==j?i=[i,j]:(i=null,b=n)):(i=null,b=n),i=null!==i?i:"",null!==i)?(n=b,58===e.charCodeAt(b)?(j=":",b++):(j=null,0===f&&g('":"')),null!==j?(k=q(),null!== +k?j=[j,k]:(j=null,b=n)):(j=null,b=n),j=null!==j?j:"",null!==j)?("::"===e.substr(b,2)?(k="::",b+=2):(k=null,0===f&&g('"::"')),null!==k)?(m=q(),null!==m?a=[a,c,d,h,i,j,k,m]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l),null===a)(l=b,a=q(),null!==a)?(n=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=q(),null!==d?c=[c,d]:(c=null,b=n)):(c=null,b=n),c=null!==c?c:"",null!==c)?(n=b,58===e.charCodeAt(b)?(d=":",b++):(d=null, +0===f&&g('":"')),null!==d?(h=q(),null!==h?d=[d,h]:(d=null,b=n)):(d=null,b=n),d=null!==d?d:"",null!==d)?(n=b,58===e.charCodeAt(b)?(h=":",b++):(h=null,0===f&&g('":"')),null!==h?(i=q(),null!==i?h=[h,i]:(h=null,b=n)):(h=null,b=n),h=null!==h?h:"",null!==h)?(n=b,58===e.charCodeAt(b)?(i=":",b++):(i=null,0===f&&g('":"')),null!==i?(j=q(),null!==j?i=[i,j]:(i=null,b=n)):(i=null,b=n),i=null!==i?i:"",null!==i)?(n=b,58===e.charCodeAt(b)?(j=":",b++):(j=null,0===f&&g('":"')),null!==j?(k=q(),null!==k?j=[j,k]:(j=null, +b=n)):(j=null,b=n),j=null!==j?j:"",null!==j)?(n=b,58===e.charCodeAt(b)?(k=":",b++):(k=null,0===f&&g('":"')),null!==k?(m=q(),null!==m?k=[k,m]:(k=null,b=n)):(k=null,b=n),k=null!==k?k:"",null!==k)?("::"===e.substr(b,2)?(m="::",b+=2):(m=null,0===f&&g('"::"')),null!==m)?a=[a,c,d,h,i,j,k,m]:(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l);null!==a&&(o.host_type="IPv6",a=e.substring(b,u));null===a&&(b=u);return a}function q(){var a,c,d,h,e;e=b;a=G(); +null!==a?(c=G(),c=null!==c?c:"",null!==c?(d=G(),d=null!==d?d:"",null!==d?(h=G(),h=null!==h?h:"",null!==h?a=[a,c,d,h]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function A(){var a,c,d,h;h=b;a=q();null!==a?(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c)?(d=q(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h):(a=null,b=h);null===a&&(a=L());return a}function L(){var a,c,d,h,i,j,k,m,n;n=m=b;a=V();null!==a?(46===e.charCodeAt(b)?(c=".",b++):(c=null,0===f&&g('"."')), +null!==c)?(d=V(),null!==d)?(46===e.charCodeAt(b)?(h=".",b++):(h=null,0===f&&g('"."')),null!==h)?(i=V(),null!==i)?(46===e.charCodeAt(b)?(j=".",b++):(j=null,0===f&&g('"."')),null!==j)?(k=V(),null!==k?a=[a,c,d,h,i,j,k]:(a=null,b=n)):(a=null,b=n):(a=null,b=n):(a=null,b=n):(a=null,b=n):(a=null,b=n):(a=null,b=n);null!==a&&(o.host_type="IPv4",a=e.substring(b,m));null===a&&(b=m);return a}function V(){var a,c,d,h;h=b;"25"===e.substr(b,2)?(a="25",b+=2):(a=null,0===f&&g('"25"'));null!==a?(/^[0-5]/.test(e.charAt(b))? +(c=e.charAt(b),b++):(c=null,0===f&&g("[0-5]")),null!==c)?a=[a,c]:(a=null,b=h):(a=null,b=h);if(null===a&&(h=b,50===e.charCodeAt(b)?(a="2",b++):(a=null,0===f&&g('"2"')),null!==a?(/^[0-4]/.test(e.charAt(b))?(c=e.charAt(b),b++):(c=null,0===f&&g("[0-4]")),null!==c)?(d=p(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h):(a=null,b=h),null===a))if(h=b,49===e.charCodeAt(b)?(a="1",b++):(a=null,0===f&&g('"1"')),null!==a?(c=p(),null!==c?(d=p(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h),null=== +a)h=b,/^[1-9]/.test(e.charAt(b))?(a=e.charAt(b),b++):(a=null,0===f&&g("[1-9]")),null!==a?(c=p(),null!==c?a=[a,c]:(a=null,b=h)):(a=null,b=h),null===a&&(a=p());return a}function Ja(){var a,c,d,h,e,f,g;g=f=b;a=p();a=null!==a?a:"";null!==a?(c=p(),c=null!==c?c:"",null!==c?(d=p(),d=null!==d?d:"",null!==d?(h=p(),h=null!==h?h:"",null!==h?(e=p(),e=null!==e?e:"",null!==e?a=[a,c,d,h,e]:(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g)):(a=null,b=g);null!==a&&(a=parseInt(a.join("")),o.port=a);null===a&& +(b=f);return a}function Fa(){var a,c,d,h;a=[];h=b;59===e.charCodeAt(b)?(c=";",b++):(c=null,0===f&&g('";"'));null!==c?(d=Na(),null!==d?c=[c,d]:(c=null,b=h)):(c=null,b=h);for(;null!==c;)(a.push(c),h=b,59===e.charCodeAt(b)?(c=";",b++):(c=null,0===f&&g('";"')),null!==c)?(d=Na(),null!==d?c=[c,d]:(c=null,b=h)):(c=null,b=h);return a}function Na(){var a;a=sb();null===a&&(a=tb(),null===a&&(a=ub(),null===a&&(a=vb(),null===a&&(a=wb(),null===a&&(a=xb(),null===a&&(a=yb()))))));return a}function sb(){var a,c,d, +h;h=d=b;"transport="===e.substr(b,10).toLowerCase()?(a=e.substr(b,10),b+=10):(a=null,0===f&&g('"transport="'));if(null!==a){"udp"===e.substr(b,3).toLowerCase()?(c=e.substr(b,3),b+=3):(c=null,0===f&&g('"udp"'));if(null===c&&("tcp"===e.substr(b,3).toLowerCase()?(c=e.substr(b,3),b+=3):(c=null,0===f&&g('"tcp"')),null===c))if("sctp"===e.substr(b,4).toLowerCase()?(c=e.substr(b,4),b+=4):(c=null,0===f&&g('"sctp"')),null===c)"tls"===e.substr(b,3).toLowerCase()?(c=e.substr(b,3),b+=3):(c=null,0===f&&g('"tls"')), +null===c&&(c=r());null!==c?a=[a,c]:(a=null,b=h)}else a=null,b=h;null!==a&&(a=a[1],o.params||(o.params={}),o.params.transport=a,a=void 0);null===a&&(b=d);return a}function tb(){var a,c,d,h;h=d=b;"user="===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"user="'));null!==a?("phone"===e.substr(b,5).toLowerCase()?(c=e.substr(b,5),b+=5):(c=null,0===f&&g('"phone"')),null===c&&("ip"===e.substr(b,2).toLowerCase()?(c=e.substr(b,2),b+=2):(c=null,0===f&&g('"ip"')),null===c&&(c=r())),null!== +c)?a=[a,c]:(a=null,b=h):(a=null,b=h);null!==a&&(a=a[1],o.params||(o.params={}),o.params.user=a,a=void 0);null===a&&(b=d);return a}function ub(){var a,c,d,h;h=d=b;"method="===e.substr(b,7).toLowerCase()?(a=e.substr(b,7),b+=7):(a=null,0===f&&g('"method="'));null!==a?(c=ja(),null!==c?a=[a,c]:(a=null,b=h)):(a=null,b=h);null!==a&&(a=a[1],o.params||(o.params={}),o.params.method=a,a=void 0);null===a&&(b=d);return a}function vb(){var a,c,d,h;h=d=b;"ttl="===e.substr(b,4).toLowerCase()?(a=e.substr(b,4),b+= +4):(a=null,0===f&&g('"ttl="'));null!==a?(c=Oa(),null!==c?a=[a,c]:(a=null,b=h)):(a=null,b=h);null!==a&&(a=a[1],o.params||(o.params={}),o.params.ttl=a,a=void 0);null===a&&(b=d);return a}function wb(){var a,c,d,h;h=d=b;"maddr="===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"maddr="'));null!==a?(c=U(),null!==c?a=[a,c]:(a=null,b=h)):(a=null,b=h);null!==a&&(a=a[1],o.params||(o.params={}),o.params.maddr=a,a=void 0);null===a&&(b=d);return a}function xb(){var a,c;c=b;"lr"===e.substr(b, +2).toLowerCase()?(a=e.substr(b,2),b+=2):(a=null,0===f&&g('"lr"'));null!==a&&(o.params||(o.params={}),o.params.lr=!0,a=void 0);null===a&&(b=c);return a}function yb(){var a,c,d,h,i,j;i=h=b;a=zb();null!==a?(j=b,61===e.charCodeAt(b)?(c="=",b++):(c=null,0===f&&g('"="')),null!==c?(d=Ab(),null!==d?c=[c,d]:(c=null,b=j)):(c=null,b=j),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=i):(a=null,b=i);null!==a&&(a=a[0],o.params||(o.params={}),o.params[a]=a.length===b-h?!0:e.substring(b,h+a.length+1),a=void 0);null=== +a&&(b=h);return a}function zb(){var a,c,d;d=b;c=W();if(null!==c)for(a=[];null!==c;)a.push(c),c=W();else a=null;null!==a&&(a=a.join(""));null===a&&(b=d);return a}function Ab(){var a,c,d;d=b;c=W();if(null!==c)for(a=[];null!==c;)a.push(c),c=W();else a=null;null!==a&&(a=a.join(""));null===a&&(b=d);return a}function W(){var a;a=Bb();null===a&&(a=w(),null===a&&(a=x()));return a}function Bb(){var a;91===e.charCodeAt(b)?(a="[",b++):(a=null,0===f&&g('"["'));if(null===a&&(93===e.charCodeAt(b)?(a="]",b++):(a= +null,0===f&&g('"]"')),null===a))if(47===e.charCodeAt(b)?(a="/",b++):(a=null,0===f&&g('"/"')),null===a)if(58===e.charCodeAt(b)?(a=":",b++):(a=null,0===f&&g('":"')),null===a)if(38===e.charCodeAt(b)?(a="&",b++):(a=null,0===f&&g('"&"')),null===a)if(43===e.charCodeAt(b)?(a="+",b++):(a=null,0===f&&g('"+"')),null===a)36===e.charCodeAt(b)?(a="$",b++):(a=null,0===f&&g('"$"'));return a}function qb(){var a,c,d,h,i,j,k;j=b;63===e.charCodeAt(b)?(a="?",b++):(a=null,0===f&&g('"?"'));if(null!==a)if(c=ka(),null!== +c){d=[];k=b;38===e.charCodeAt(b)?(h="&",b++):(h=null,0===f&&g('"&"'));null!==h?(i=ka(),null!==i?h=[h,i]:(h=null,b=k)):(h=null,b=k);for(;null!==h;)(d.push(h),k=b,38===e.charCodeAt(b)?(h="&",b++):(h=null,0===f&&g('"&"')),null!==h)?(i=ka(),null!==i?h=[h,i]:(h=null,b=k)):(h=null,b=k);null!==d?a=[a,c,d]:(a=null,b=j)}else a=null,b=j;else a=null,b=j;return a}function ka(){var a,c,d,h;h=b;a=Cb();null!==a?(61===e.charCodeAt(b)?(c="=",b++):(c=null,0===f&&g('"="')),null!==c)?(d=Db(),null!==d?a=[a,c,d]:(a=null, +b=h)):(a=null,b=h):(a=null,b=h);return a}function Cb(){var a,b;b=X();null===b&&(b=w(),null===b&&(b=x()));if(null!==b)for(a=[];null!==b;)a.push(b),b=X(),null===b&&(b=w(),null===b&&(b=x()));else a=null;return a}function Db(){var a,b;a=[];b=X();null===b&&(b=w(),null===b&&(b=x()));for(;null!==b;)a.push(b),b=X(),null===b&&(b=w(),null===b&&(b=x()));return a}function X(){var a;91===e.charCodeAt(b)?(a="[",b++):(a=null,0===f&&g('"["'));if(null===a&&(93===e.charCodeAt(b)?(a="]",b++):(a=null,0===f&&g('"]"')), +null===a))if(47===e.charCodeAt(b)?(a="/",b++):(a=null,0===f&&g('"/"')),null===a)if(63===e.charCodeAt(b)?(a="?",b++):(a=null,0===f&&g('"?"')),null===a)if(58===e.charCodeAt(b)?(a=":",b++):(a=null,0===f&&g('":"')),null===a)if(43===e.charCodeAt(b)?(a="+",b++):(a=null,0===f&&g('"+"')),null===a)36===e.charCodeAt(b)?(a="$",b++):(a=null,0===f&&g('"$"'));return a}function Eb(){var a,c,d,h,e,f;f=b;a=ja();null!==a?(c=z(),null!==c?(d=Fb(),null!==d?(h=z(),null!==h?(e=Pa(),null!==e?a=[a,c,d,h,e]:(a=null,b=f)): +(a=null,b=f)):(a=null,b=f)):(a=null,b=f)):(a=null,b=f);return a}function Fb(){var a;a=Ea();null===a&&(a=Y());return a}function Y(){var a,c,d,h;h=b;a=Gb();null!==a?(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c)?(d=Hb(),null===d&&(d=Ib()),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h):(a=null,b=h);return a}function Hb(){var a,c,d,h,i;h=b;a=Jb();null===a&&(a=la());null!==a?(i=b,63===e.charCodeAt(b)?(c="?",b++):(c=null,0===f&&g('"?"')),null!==c?(d=Kb(),null!==d?c=[c,d]:(c=null,b= +i)):(c=null,b=i),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=h):(a=null,b=h);return a}function Jb(){var a,c,d,h;h=b;"//"===e.substr(b,2)?(a="//",b+=2):(a=null,0===f&&g('"//"'));null!==a?(c=Lb(),null!==c?(d=la(),d=null!==d?d:"",null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h);return a}function la(){var a,c,d;d=b;47===e.charCodeAt(b)?(a="/",b++):(a=null,0===f&&g('"/"'));null!==a?(c=Mb(),null!==c?a=[a,c]:(a=null,b=d)):(a=null,b=d);return a}function Ib(){var a,c,d,h;h=b;a=Nb();if(null!==a){c= +[];for(d=Z();null!==d;)c.push(d),d=Z();null!==c?a=[a,c]:(a=null,b=h)}else a=null,b=h;return a}function Z(){var a;a=da();null===a&&(a=w(),null===a&&(a=x()));return a}function Nb(){var a;a=w();if(null===a&&(a=x(),null===a&&(59===e.charCodeAt(b)?(a=";",b++):(a=null,0===f&&g('";"')),null===a)))if(63===e.charCodeAt(b)?(a="?",b++):(a=null,0===f&&g('"?"')),null===a)if(58===e.charCodeAt(b)?(a=":",b++):(a=null,0===f&&g('":"')),null===a)if(64===e.charCodeAt(b)?(a="@",b++):(a=null,0===f&&g('"@"')),null===a)if(38=== +e.charCodeAt(b)?(a="&",b++):(a=null,0===f&&g('"&"')),null===a)if(61===e.charCodeAt(b)?(a="=",b++):(a=null,0===f&&g('"="')),null===a)if(43===e.charCodeAt(b)?(a="+",b++):(a=null,0===f&&g('"+"')),null===a)if(36===e.charCodeAt(b)?(a="$",b++):(a=null,0===f&&g('"$"')),null===a)44===e.charCodeAt(b)?(a=",",b++):(a=null,0===f&&g('","'));return a}function Mb(){var a,c,d,h,i,j;i=b;a=ma();if(null!==a){c=[];j=b;47===e.charCodeAt(b)?(d="/",b++):(d=null,0===f&&g('"/"'));null!==d?(h=ma(),null!==h?d=[d,h]:(d=null, +b=j)):(d=null,b=j);for(;null!==d;)(c.push(d),j=b,47===e.charCodeAt(b)?(d="/",b++):(d=null,0===f&&g('"/"')),null!==d)?(h=ma(),null!==h?d=[d,h]:(d=null,b=j)):(d=null,b=j);null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;return a}function ma(){var a,c,d,h,i,j;i=b;a=[];for(c=$();null!==c;)a.push(c),c=$();if(null!==a){c=[];j=b;59===e.charCodeAt(b)?(d=";",b++):(d=null,0===f&&g('";"'));null!==d?(h=Qa(),null!==h?d=[d,h]:(d=null,b=j)):(d=null,b=j);for(;null!==d;)(c.push(d),j=b,59===e.charCodeAt(b)?(d=";",b++): +(d=null,0===f&&g('";"')),null!==d)?(h=Qa(),null!==h?d=[d,h]:(d=null,b=j)):(d=null,b=j);null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;return a}function Qa(){var a,b;a=[];for(b=$();null!==b;)a.push(b),b=$();return a}function $(){var a;a=w();if(null===a&&(a=x(),null===a&&(58===e.charCodeAt(b)?(a=":",b++):(a=null,0===f&&g('":"')),null===a)))if(64===e.charCodeAt(b)?(a="@",b++):(a=null,0===f&&g('"@"')),null===a)if(38===e.charCodeAt(b)?(a="&",b++):(a=null,0===f&&g('"&"')),null===a)if(61===e.charCodeAt(b)? +(a="=",b++):(a=null,0===f&&g('"="')),null===a)if(43===e.charCodeAt(b)?(a="+",b++):(a=null,0===f&&g('"+"')),null===a)if(36===e.charCodeAt(b)?(a="$",b++):(a=null,0===f&&g('"$"')),null===a)44===e.charCodeAt(b)?(a=",",b++):(a=null,0===f&&g('","'));return a}function Gb(){var a,c,d,h,i;i=h=b;a=P();if(null!==a){c=[];d=P();if(null===d&&(d=p(),null===d&&(43===e.charCodeAt(b)?(d="+",b++):(d=null,0===f&&g('"+"')),null===d)))if(45===e.charCodeAt(b)?(d="-",b++):(d=null,0===f&&g('"-"')),null===d)46===e.charCodeAt(b)? +(d=".",b++):(d=null,0===f&&g('"."'));for(;null!==d;)if(c.push(d),d=P(),null===d&&(d=p(),null===d&&(43===e.charCodeAt(b)?(d="+",b++):(d=null,0===f&&g('"+"')),null===d)))if(45===e.charCodeAt(b)?(d="-",b++):(d=null,0===f&&g('"-"')),null===d)46===e.charCodeAt(b)?(d=".",b++):(d=null,0===f&&g('"."'));null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;null!==a&&(o.scheme=e.substring(b,h),a=void 0);null===a&&(b=h);return a}function Lb(){var a;a=Ob();null===a&&(a=aa());return a}function Ob(){var a,c,d,h;h=d=b; +a=ha();null!==a?(64===e.charCodeAt(b)?(c="@",b++):(c=null,0===f&&g('"@"')),null!==c)?a=[a,c]:(a=null,b=h):(a=null,b=h);a=null!==a?a:"";null!==a?(c=T(),null!==c?a=[a,c]:(a=null,b=d)):(a=null,b=d);return null!==a?a:""}function aa(){var a,c;c=w();if(null===c&&(c=x(),null===c&&(36===e.charCodeAt(b)?(c="$",b++):(c=null,0===f&&g('"$"')),null===c)))if(44===e.charCodeAt(b)?(c=",",b++):(c=null,0===f&&g('","')),null===c)if(59===e.charCodeAt(b)?(c=";",b++):(c=null,0===f&&g('";"')),null===c)if(58===e.charCodeAt(b)? +(c=":",b++):(c=null,0===f&&g('":"')),null===c)if(64===e.charCodeAt(b)?(c="@",b++):(c=null,0===f&&g('"@"')),null===c)if(38===e.charCodeAt(b)?(c="&",b++):(c=null,0===f&&g('"&"')),null===c)if(61===e.charCodeAt(b)?(c="=",b++):(c=null,0===f&&g('"="')),null===c)43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"'));if(null!==c)for(a=[];null!==c;){if(a.push(c),c=w(),null===c&&(c=x(),null===c&&(36===e.charCodeAt(b)?(c="$",b++):(c=null,0===f&&g('"$"')),null===c)))if(44===e.charCodeAt(b)?(c=",",b++):(c= +null,0===f&&g('","')),null===c)if(59===e.charCodeAt(b)?(c=";",b++):(c=null,0===f&&g('";"')),null===c)if(58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null===c)if(64===e.charCodeAt(b)?(c="@",b++):(c=null,0===f&&g('"@"')),null===c)if(38===e.charCodeAt(b)?(c="&",b++):(c=null,0===f&&g('"&"')),null===c)if(61===e.charCodeAt(b)?(c="=",b++):(c=null,0===f&&g('"="')),null===c)43===e.charCodeAt(b)?(c="+",b++):(c=null,0===f&&g('"+"'))}else a=null;return a}function Kb(){var a,b;a=[];for(b=Z();null!== +b;)a.push(b),b=Z();return a}function Pa(){var a,c,d,h,i,j,k,m;m=k=b;"sip"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"SIP"'));if(null!==a)if(47===e.charCodeAt(b)?(c="/",b++):(c=null,0===f&&g('"/"')),null!==c){h=p();if(null!==h)for(d=[];null!==h;)d.push(h),h=p();else d=null;if(null!==d)if(46===e.charCodeAt(b)?(h=".",b++):(h=null,0===f&&g('"."')),null!==h){j=p();if(null!==j)for(i=[];null!==j;)i.push(j),j=p();else i=null;null!==i?a=[a,c,d,h,i]:(a=null,b=m)}else a=null,b=m; +else a=null,b=m}else a=null,b=m;else a=null,b=m;null!==a&&(o.sip_version=e.substring(b,k),a=void 0);null===a&&(b=k);return a}function Pb(){var a;"INVITE"===e.substr(b,6)?(a="INVITE",b+=6):(a=null,0===f&&g('"INVITE"'));return a}function Qb(){var a;"ACK"===e.substr(b,3)?(a="ACK",b+=3):(a=null,0===f&&g('"ACK"'));return a}function Rb(){var a;"OPTIONS"===e.substr(b,7)?(a="OPTIONS",b+=7):(a=null,0===f&&g('"OPTIONS"'));return a}function Sb(){var a;"BYE"===e.substr(b,3)?(a="BYE",b+=3):(a=null,0===f&&g('"BYE"')); +return a}function Tb(){var a;"CANCEL"===e.substr(b,6)?(a="CANCEL",b+=6):(a=null,0===f&&g('"CANCEL"'));return a}function Ub(){var a;"REGISTER"===e.substr(b,8)?(a="REGISTER",b+=8):(a=null,0===f&&g('"REGISTER"'));return a}function Vb(){var a;"SUBSCRIBE"===e.substr(b,9)?(a="SUBSCRIBE",b+=9):(a=null,0===f&&g('"SUBSCRIBE"'));return a}function Wb(){var a;"NOTIFY"===e.substr(b,6)?(a="NOTIFY",b+=6):(a=null,0===f&&g('"NOTIFY"'));return a}function ja(){var a,c;c=b;a=Pb();null===a&&(a=Qb(),null===a&&(a=Rb(), +null===a&&(a=Sb(),null===a&&(a=Tb(),null===a&&(a=Ub(),null===a&&(a=Vb(),null===a&&(a=Wb(),null===a&&(a=r()))))))));null!==a&&(o.method=e.substring(b,c),a=void 0);null===a&&(b=c);return a}function Xb(){var a,c,d,h,e,f;f=b;a=Pa();null!==a?(c=z(),null!==c?(d=Yb(),null!==d?(h=z(),null!==h?(e=Zb(),null!==e?a=[a,c,d,h,e]:(a=null,b=f)):(a=null,b=f)):(a=null,b=f)):(a=null,b=f)):(a=null,b=f);return a}function Yb(){var a,c;c=b;a=$b();null!==a&&(o.status_code=parseInt(a.join("")),a=void 0);null===a&&(b=c);return a} +function $b(){var a,c,d,h;h=b;a=p();null!==a?(c=p(),null!==c?(d=p(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h);return a}function Zb(){var a,c,d;d=b;a=[];c=da();null===c&&(c=w(),null===c&&(c=x(),null===c&&(c=K(),null===c&&(c=R(),null===c&&(c=z(),null===c&&(c=H()))))));for(;null!==c;)a.push(c),c=da(),null===c&&(c=w(),null===c&&(c=x(),null===c&&(c=K(),null===c&&(c=R(),null===c&&(c=z(),null===c&&(c=H()))))));null!==a&&(o.reason_phrase=e.substring(b,d),a=void 0);null===a&&(b=d);return a} +function na(){var a,c,d,h,e,f;e=b;a=Ra();null===a&&(a=M());if(null!==a){c=[];f=b;d=v();null!==d?(h=Sa(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f);for(;null!==d;)c.push(d),f=b,d=v(),null!==d?(h=Sa(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f);null!==c?a=[a,c]:(a=null,b=e)}else a=null,b=e;return a}function M(){var a,c,d,h,e;e=b;a=ac();a=null!==a?a:"";null!==a?(c=nb(),null!==c?(d=Ra(),null!==d?(h=mb(),null!==h?a=[a,c,d,h]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a}function Ra(){var a; +a=Ea();null===a&&(a=Y());return a}function Ta(){var a;a=pb();null===a&&(a=Y());return a}function ac(){var a,c,d,h,e,f,g;f=e=b;a=r();if(null!==a){c=[];g=b;d=y();null!==d?(h=r(),null!==h?d=[d,h]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=y(),null!==d?(h=r(),null!==h?d=[d,h]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;null===a&&(a=F());null!==a&&(o.display_name=a,a=void 0);null===a&&(b=e);return a}function Sa(){var a;a=bc();null===a&&(a=cc(),null===a&&(a=B())); +return a}function bc(){var a,c,d,h,i;i=h=b;"q"===e.substr(b,1).toLowerCase()?(a=e.substr(b,1),b++):(a=null,0===f&&g('"q"'));null!==a?(c=t(),null!==c?(d=dc(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(a=a[2],o.params||(o.params={}),o.params.q=a,a=void 0);null===a&&(b=h);return a}function cc(){var a,c,d,h,i;i=h=b;"expires"===e.substr(b,7).toLowerCase()?(a=e.substr(b,7),b+=7):(a=null,0===f&&g('"expires"'));null!==a?(c=t(),null!==c?(d=N(),null!==d?a=[a,c,d]:(a=null,b=i)):(a= +null,b=i)):(a=null,b=i);null!==a&&(a=a[2],o.params||(o.params={}),o.params.expires=a,a=void 0);null===a&&(b=h);return a}function N(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!==c;)a.push(c),c=p();else a=null;null!==a&&(a=parseInt(a.join("")));null===a&&(b=d);return a}function dc(){var a,c,d,h,i,j,k,m;k=j=b;48===e.charCodeAt(b)?(a="0",b++):(a=null,0===f&&g('"0"'));null!==a?(m=b,46===e.charCodeAt(b)?(c=".",b++):(c=null,0===f&&g('"."')),null!==c?(d=p(),d=null!==d?d:"",null!==d?(h=p(),h=null!==h? +h:"",null!==h?(i=p(),i=null!==i?i:"",null!==i?c=[c,d,h,i]:(c=null,b=m)):(c=null,b=m)):(c=null,b=m)):(c=null,b=m),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=k):(a=null,b=k);null!==a&&(a=parseFloat(e.substring(b,j)));null===a&&(b=j);return a}function B(){var a,c,d,h,e,f;e=h=b;a=r();null!==a?(f=b,c=t(),null!==c?(d=ec(),null!==d?c=[c,d]:(c=null,b=f)):(c=null,b=f),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=e):(a=null,b=e);null!==a&&(c=a[0],a=a[1],o.params||(o.params={}),a="undefined"===typeof a?void 0: +a[1],o.params[c]=a,a=void 0);null===a&&(b=h);return a}function ec(){var a;a=r();null===a&&(a=U(),null===a&&(a=F()));return a}function fc(){var a;"render"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"render"'));if(null===a&&("session"===e.substr(b,7).toLowerCase()?(a=e.substr(b,7),b+=7):(a=null,0===f&&g('"session"')),null===a))if("icon"===e.substr(b,4).toLowerCase()?(a=e.substr(b,4),b+=4):(a=null,0===f&&g('"icon"')),null===a)"alert"===e.substr(b,5).toLowerCase()?(a=e.substr(b, +5),b+=5):(a=null,0===f&&g('"alert"')),null===a&&(a=r());return a}function Ua(){var a;a=gc();null===a&&(a=B());return a}function gc(){var a,c,d,h;h=b;"handling"===e.substr(b,8).toLowerCase()?(a=e.substr(b,8),b+=8):(a=null,0===f&&g('"handling"'));null!==a?(c=t(),null!==c)?("optional"===e.substr(b,8).toLowerCase()?(d=e.substr(b,8),b+=8):(d=null,0===f&&g('"optional"')),null===d&&("required"===e.substr(b,8).toLowerCase()?(d=e.substr(b,8),b+=8):(d=null,0===f&&g('"required"')),null===d&&(d=r())),null!== +d)?a=[a,c,d]:(a=null,b=h):(a=null,b=h):(a=null,b=h);return a}function hc(){var a,c,d,h,e,f,g,m;g=b;a=ic();if(null!==a)if(c=fa(),null!==c)if(d=jc(),null!==d){h=[];m=b;e=v();null!==e?(f=Va(),null!==f?e=[e,f]:(e=null,b=m)):(e=null,b=m);for(;null!==e;)h.push(e),m=b,e=v(),null!==e?(f=Va(),null!==f?e=[e,f]:(e=null,b=m)):(e=null,b=m);null!==h?a=[a,c,d,h]:(a=null,b=g)}else a=null,b=g;else a=null,b=g;else a=null,b=g;return a}function ic(){var a;a=kc();null===a&&(a=lc());return a}function kc(){var a;"text"=== +e.substr(b,4).toLowerCase()?(a=e.substr(b,4),b+=4):(a=null,0===f&&g('"text"'));if(null===a&&("image"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"image"')),null===a))if("audio"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"audio"')),null===a)if("video"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"video"')),null===a)"application"===e.substr(b,11).toLowerCase()?(a=e.substr(b,11),b+=11):(a=null,0===f&&g('"application"')), +null===a&&(a=oa());return a}function lc(){var a;"message"===e.substr(b,7).toLowerCase()?(a=e.substr(b,7),b+=7):(a=null,0===f&&g('"message"'));null===a&&("multipart"===e.substr(b,9).toLowerCase()?(a=e.substr(b,9),b+=9):(a=null,0===f&&g('"multipart"')),null===a&&(a=oa()));return a}function oa(){var a;a=r();null===a&&(a=mc());return a}function mc(){var a,c,d;d=b;"x-"===e.substr(b,2).toLowerCase()?(a=e.substr(b,2),b+=2):(a=null,0===f&&g('"x-"'));null!==a?(c=r(),null!==c?a=[a,c]:(a=null,b=d)):(a=null, +b=d);return a}function jc(){var a;a=oa();null===a&&(a=r());return a}function Va(){var a,c,d,h;h=b;a=r();null!==a?(c=t(),null!==c?(d=nc(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h);return a}function nc(){var a;a=r();null===a&&(a=F());return a}function oc(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!==c;)a.push(c),c=p();else a=null;null!==a&&(o.value=parseInt(a.join("")),a=void 0);null===a&&(b=d);return a}function ba(){var a,c,d,h,i,j;i=b;a=ea();if(null!==a){c=[];j=b;46===e.charCodeAt(b)? +(d=".",b++):(d=null,0===f&&g('"."'));null!==d?(h=ea(),null!==h?d=[d,h]:(d=null,b=j)):(d=null,b=j);for(;null!==d;)(c.push(d),j=b,46===e.charCodeAt(b)?(d=".",b++):(d=null,0===f&&g('"."')),null!==d)?(h=ea(),null!==h?d=[d,h]:(d=null,b=j)):(d=null,b=j);null!==c?a=[a,c]:(a=null,b=i)}else a=null,b=i;return a}function Wa(){var a;a=Xa();null===a&&(a=B());return a}function Xa(){var a,c,d,h,i;i=h=b;"tag"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"tag"'));null!==a?(c=t(),null!==c? +(d=r(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.tag=a[2],a=void 0);null===a&&(b=h);return a}function Ya(){var a,c,d,h,i,j,k,m;k=b;"digest"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"Digest"'));if(null!==a)if(c=y(),null!==c)if(d=pa(),null!==d){h=[];m=b;i=u();null!==i?(j=pa(),null!==j?i=[i,j]:(i=null,b=m)):(i=null,b=m);for(;null!==i;)h.push(i),m=b,i=u(),null!==i?(j=pa(),null!==j?i=[i,j]:(i=null,b=m)):(i=null,b=m);null!==h?a=[a,c,d,h]:(a=null, +b=k)}else a=null,b=k;else a=null,b=k;else a=null,b=k;null===a&&(a=pc());return a}function pc(){var a,c,d,h,e,f,g,m;g=b;a=r();if(null!==a)if(c=y(),null!==c)if(d=ca(),null!==d){h=[];m=b;e=u();null!==e?(f=ca(),null!==f?e=[e,f]:(e=null,b=m)):(e=null,b=m);for(;null!==e;)h.push(e),m=b,e=u(),null!==e?(f=ca(),null!==f?e=[e,f]:(e=null,b=m)):(e=null,b=m);null!==h?a=[a,c,d,h]:(a=null,b=g)}else a=null,b=g;else a=null,b=g;else a=null,b=g;return a}function ca(){var a,c,d,h;h=b;a=r();null!==a?(c=t(),null!==c?(d= +r(),null===d&&(d=F()),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h);return a}function pa(){var a;a=qc();null===a&&(a=rc(),null===a&&(a=sc(),null===a&&(a=tc(),null===a&&(a=uc(),null===a&&(a=vc(),null===a&&(a=wc(),null===a&&(a=ca())))))));return a}function qc(){var a,c,d,h;h=b;"realm"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"realm"'));null!==a?(c=t(),null!==c?(d=xc(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h);return a}function xc(){var a, +c;c=b;a=F();null!==a&&(o.realm=a,a=void 0);null===a&&(b=c);return a}function rc(){var a,c,d,h,i,j,k,m,n;m=b;"domain"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"domain"'));if(null!==a)if(c=t(),null!==c)if(d=za(),null!==d)if(h=qa(),null!==h){i=[];n=b;k=z();if(null!==k)for(j=[];null!==k;)j.push(k),k=z();else j=null;null!==j?(k=qa(),null!==k?j=[j,k]:(j=null,b=n)):(j=null,b=n);for(;null!==j;){i.push(j);n=b;k=z();if(null!==k)for(j=[];null!==k;)j.push(k),k=z();else j=null;null!== +j?(k=qa(),null!==k?j=[j,k]:(j=null,b=n)):(j=null,b=n)}null!==i?(j=Aa(),null!==j?a=[a,c,d,h,i,j]:(a=null,b=m)):(a=null,b=m)}else a=null,b=m;else a=null,b=m;else a=null,b=m;else a=null,b=m;return a}function qa(){var a;a=Y();null===a&&(a=la());return a}function sc(){var a,c,d,h;h=b;"nonce"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"nonce"'));null!==a?(c=t(),null!==c?(d=yc(),null!==d?a=[a,c,d]:(a=null,b=h)):(a=null,b=h)):(a=null,b=h);return a}function yc(){var a,c;c=b;a=F(); +null!==a&&(o.nonce=a,a=void 0);null===a&&(b=c);return a}function tc(){var a,c,d,h,i;i=h=b;"opaque"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"opaque"'));null!==a?(c=t(),null!==c?(d=F(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.opaque=a[2],a=void 0);null===a&&(b=h);return a}function uc(){var a,c,d,h,i;i=h=b;"stale"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"stale"'));null!==a?(c=t(),null!==c)?("true"===e.substr(b, +4).toLowerCase()?(d=e.substr(b,4),b+=4):(d=null,0===f&&g('"true"')),null===d&&("false"===e.substr(b,5).toLowerCase()?(d=e.substr(b,5),b+=5):(d=null,0===f&&g('"false"'))),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.stale=a[2],a=void 0);null===a&&(b=h);return a}function vc(){var a,c,d,h,i;i=h=b;"algorithm"===e.substr(b,9).toLowerCase()?(a=e.substr(b,9),b+=9):(a=null,0===f&&g('"algorithm"'));null!==a?(c=t(),null!==c)?("md5"===e.substr(b,3).toLowerCase()?(d=e.substr(b,3),b+= +3):(d=null,0===f&&g('"MD5"')),null===d&&("md5-sess"===e.substr(b,8).toLowerCase()?(d=e.substr(b,8),b+=8):(d=null,0===f&&g('"MD5-sess"')),null===d&&(d=r())),null!==d)?a=[a,c,d]:(a=null,b=i):(a=null,b=i):(a=null,b=i);null!==a&&(o.algorithm=a[2],a=void 0);null===a&&(b=h);return a}function wc(){var a,c,d,h,i,j,k,m,n,q,p;n=m=b;"qop"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"qop"'));if(null!==a)if(c=t(),null!==c)if(d=za(),null!==d){q=b;h=ra();if(null!==h){i=[];p=b;44===e.charCodeAt(b)? +(j=",",b++):(j=null,0===f&&g('","'));null!==j?(k=ra(),null!==k?j=[j,k]:(j=null,b=p)):(j=null,b=p);for(;null!==j;)(i.push(j),p=b,44===e.charCodeAt(b)?(j=",",b++):(j=null,0===f&&g('","')),null!==j)?(k=ra(),null!==k?j=[j,k]:(j=null,b=p)):(j=null,b=p);null!==i?h=[h,i]:(h=null,b=q)}else h=null,b=q;null!==h?(i=Aa(),null!==i?a=[a,c,d,h,i]:(a=null,b=n)):(a=null,b=n)}else a=null,b=n;else a=null,b=n;else a=null,b=n;null!==a&&(o.qop=e.substring(b-1,m+5),a=void 0);null===a&&(b=m);return a}function ra(){var a; +"auth-int"===e.substr(b,8).toLowerCase()?(a=e.substr(b,8),b+=8):(a=null,0===f&&g('"auth-int"'));null===a&&("auth"===e.substr(b,4).toLowerCase()?(a=e.substr(b,4),b+=4):(a=null,0===f&&g('"auth"')),null===a&&(a=r()));return a}function sa(){var a,c,d,h,e,f;e=b;a=M();if(null!==a){c=[];f=b;d=v();null!==d?(h=B(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f);for(;null!==d;)c.push(d),f=b,d=v(),null!==d?(h=B(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f);null!==c?a=[a,c]:(a=null,b=e)}else a=null,b=e;return a} +function ta(){var a,c,d,h,e,f;e=b;a=M();if(null!==a){c=[];f=b;d=v();null!==d?(h=B(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f);for(;null!==d;)c.push(d),f=b,d=v(),null!==d?(h=B(),null!==h?d=[d,h]:(d=null,b=f)):(d=null,b=f);null!==c?a=[a,c]:(a=null,b=e)}else a=null,b=e;return a}function zc(){var a,c;c=b;"active"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"active"'));if(null===a&&("pending"===e.substr(b,7).toLowerCase()?(a=e.substr(b,7),b+=7):(a=null,0===f&&g('"pending"')), +null===a))"terminated"===e.substr(b,10).toLowerCase()?(a=e.substr(b,10),b+=10):(a=null,0===f&&g('"terminated"')),null===a&&(a=r());null!==a&&(o.state=e.substring(b,c),a=void 0);null===a&&(b=c);return a}function Za(){var a,c,d,h,i;i=h=b;"reason"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"reason"'));null!==a?(c=t(),null!==c?(d=Ac(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(a=function(a,b){if(typeof b!=="undefined")o.reason=b}(h,a[2]));null=== +a&&(b=h);if(null===a&&(i=h=b,"expires"===e.substr(b,7).toLowerCase()?(a=e.substr(b,7),b+=7):(a=null,0===f&&g('"expires"')),null!==a?(c=t(),null!==c?(d=N(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i),null!==a&&(a=function(a,b){if(typeof b!=="undefined")o.expires=b}(h,a[2])),null===a&&(b=h),null===a))i=h=b,"retry_after"===e.substr(b,11).toLowerCase()?(a=e.substr(b,11),b+=11):(a=null,0===f&&g('"retry_after"')),null!==a?(c=t(),null!==c?(d=N(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b= +i)):(a=null,b=i),null!==a&&(a=function(a,b){if(typeof b!=="undefined")o.retry_after=b}(h,a[2])),null===a&&(b=h),null===a&&(a=B());return a}function Ac(){var a;"deactivated"===e.substr(b,11).toLowerCase()?(a=e.substr(b,11),b+=11):(a=null,0===f&&g('"deactivated"'));if(null===a&&("probation"===e.substr(b,9).toLowerCase()?(a=e.substr(b,9),b+=9):(a=null,0===f&&g('"probation"')),null===a))if("rejected"===e.substr(b,8).toLowerCase()?(a=e.substr(b,8),b+=8):(a=null,0===f&&g('"rejected"')),null===a)if("timeout"=== +e.substr(b,7).toLowerCase()?(a=e.substr(b,7),b+=7):(a=null,0===f&&g('"timeout"')),null===a)if("giveup"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"giveup"')),null===a)if("noresource"===e.substr(b,10).toLowerCase()?(a=e.substr(b,10),b+=10):(a=null,0===f&&g('"noresource"')),null===a)"invariant"===e.substr(b,9).toLowerCase()?(a=e.substr(b,9),b+=9):(a=null,0===f&&g('"invariant"')),null===a&&(a=r());return a}function $a(){var a;a=Xa();null===a&&(a=B());return a}function ua(){var a, +c,d,h,e,f,g,m;g=b;a=Bc();if(null!==a)if(c=y(),null!==c)if(d=Cc(),null!==d){h=[];m=b;e=v();null!==e?(f=ab(),null!==f?e=[e,f]:(e=null,b=m)):(e=null,b=m);for(;null!==e;)h.push(e),m=b,e=v(),null!==e?(f=ab(),null!==f?e=[e,f]:(e=null,b=m)):(e=null,b=m);null!==h?a=[a,c,d,h]:(a=null,b=g)}else a=null,b=g;else a=null,b=g;else a=null,b=g;return a}function ab(){var a;a=Dc();null===a&&(a=Ec(),null===a&&(a=Fc(),null===a&&(a=Gc(),null===a&&(a=Hc(),null===a&&(a=B())))));return a}function Dc(){var a,c,d,h,i;i=h=b; +"ttl"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"ttl"'));null!==a?(c=t(),null!==c?(d=Oa(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.ttl=a[2],a=void 0);null===a&&(b=h);return a}function Ec(){var a,c,d,h,i;i=h=b;"maddr"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"maddr"'));null!==a?(c=t(),null!==c?(d=U(),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.maddr=a[2],a=void 0);null===a&&(b=h); +return a}function Fc(){var a,c,d,h,i;i=h=b;"received"===e.substr(b,8).toLowerCase()?(a=e.substr(b,8),b+=8):(a=null,0===f&&g('"received"'));null!==a?(c=t(),null!==c?(d=L(),null===d&&(d=Ma()),null!==d?a=[a,c,d]:(a=null,b=i)):(a=null,b=i)):(a=null,b=i);null!==a&&(o.received=a[2],a=void 0);null===a&&(b=h);return a}function Gc(){var a,c,d,h,i;i=h=b;"branch"===e.substr(b,6).toLowerCase()?(a=e.substr(b,6),b+=6):(a=null,0===f&&g('"branch"'));null!==a?(c=t(),null!==c?(d=r(),null!==d?a=[a,c,d]:(a=null,b=i)): +(a=null,b=i)):(a=null,b=i);null!==a&&(o.branch=a[2],a=void 0);null===a&&(b=h);return a}function Hc(){var a,c,d,h,i,j,k;j=i=b;"rport"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"rport"'));if(null!==a){k=b;c=t();if(null!==c){d=[];for(h=p();null!==h;)d.push(h),h=p();null!==d?c=[c,d]:(c=null,b=k)}else c=null,b=k;c=null!==c?c:"";null!==c?a=[a,c]:(a=null,b=j)}else a=null,b=j;null!==a&&("undefined"!==typeof response_port&&(o.rport=response_port.join("")),a=void 0);null===a&&(b= +i);return a}function Bc(){var a,c,d,h,e,f;f=b;a=Ic();null!==a?(c=fa(),null!==c?(d=r(),null!==d?(h=fa(),null!==h?(e=va(),null!==e?a=[a,c,d,h,e]:(a=null,b=f)):(a=null,b=f)):(a=null,b=f)):(a=null,b=f)):(a=null,b=f);return a}function Ic(){var a,c;c=b;"sip"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"SIP"'));null===a&&(a=r());null!==a&&(o.protocol=a,a=void 0);null===a&&(b=c);return a}function va(){var a,c;c=b;"udp"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null, +0===f&&g('"UDP"'));if(null===a&&("tcp"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"TCP"')),null===a))if("tls"===e.substr(b,3).toLowerCase()?(a=e.substr(b,3),b+=3):(a=null,0===f&&g('"TLS"')),null===a)"sctp"===e.substr(b,4).toLowerCase()?(a=e.substr(b,4),b+=4):(a=null,0===f&&g('"SCTP"')),null===a&&(a=r());null!==a&&(o.transport=a,a=void 0);null===a&&(b=c);return a}function Cc(){var a,c,d,h,e;h=b;a=Jc();null!==a?(e=b,c=ob(),null!==c?(d=Kc(),null!==d?c=[c,d]:(c=null,b=e)): +(c=null,b=e),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=h):(a=null,b=h);return a}function Jc(){var a,c;c=b;a=Ka();null===a&&(a=L(),null===a&&(a=ia()));null!==a&&(o.host=e.substring(b,c),a=void 0);null===a&&(b=c);return a}function Kc(){var a,c,d,e,f,g,k;k=g=b;a=p();a=null!==a?a:"";null!==a?(c=p(),c=null!==c?c:"",null!==c?(d=p(),d=null!==d?d:"",null!==d?(e=p(),e=null!==e?e:"",null!==e?(f=p(),f=null!==f?f:"",null!==f?a=[a,c,d,e,f]:(a=null,b=k)):(a=null,b=k)):(a=null,b=k)):(a=null,b=k)):(a=null,b=k); +null!==a&&(o.port=parseInt(a.join("")),a=void 0);null===a&&(b=g);return a}function Oa(){var a,c,d,e,f;f=e=b;a=p();null!==a?(c=p(),c=null!==c?c:"",null!==c?(d=p(),d=null!==d?d:"",null!==d?a=[a,c,d]:(a=null,b=f)):(a=null,b=f)):(a=null,b=f);null!==a&&(a=parseInt(a.join("")));null===a&&(b=e);return a}function Lc(){var a,b;a=[];b=I();null===b&&(b=R(),null===b&&(b=y()));for(;null!==b;)a.push(b),b=I(),null===b&&(b=R(),null===b&&(b=y()));return a}function Mc(){var a,c;c=b;"stuns"===e.substr(b,5).toLowerCase()? +(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"stuns"'));null===a&&("stun"===e.substr(b,4).toLowerCase()?(a=e.substr(b,4),b+=4):(a=null,0===f&&g('"stun"')));null!==a&&(o.scheme=a,a=void 0);null===a&&(b=c);return a}function bb(){var a,c,d,h,i;h=b;a=Nc();null!==a?(i=b,58===e.charCodeAt(b)?(c=":",b++):(c=null,0===f&&g('":"')),null!==c?(d=Ja(),null!==d?c=[c,d]:(c=null,b=i)):(c=null,b=i),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=h):(a=null,b=h);return a}function Nc(){var a,c;c=b;a=aa();null===a&&(a=L(),null=== +a&&(a=ia()));null!==a&&(o.host=a.join(""),a=void 0);null===a&&(b=c);return a}function aa(){var a,b;a=[];b=cb();null===b&&(b=x(),null===b&&(b=db()));for(;null!==b;)a.push(b),b=cb(),null===b&&(b=x(),null===b&&(b=db()));return a}function cb(){var a;a=P();if(null===a&&(a=p(),null===a&&(45===e.charCodeAt(b)?(a="-",b++):(a=null,0===f&&g('"-"')),null===a)))if(46===e.charCodeAt(b)?(a=".",b++):(a=null,0===f&&g('"."')),null===a)if(95===e.charCodeAt(b)?(a="_",b++):(a=null,0===f&&g('"_"')),null===a)126===e.charCodeAt(b)? +(a="~",b++):(a=null,0===f&&g('"~"'));return a}function db(){var a;33===e.charCodeAt(b)?(a="!",b++):(a=null,0===f&&g('"!"'));if(null===a&&(36===e.charCodeAt(b)?(a="$",b++):(a=null,0===f&&g('"$"')),null===a))if(38===e.charCodeAt(b)?(a="&",b++):(a=null,0===f&&g('"&"')),null===a)if(39===e.charCodeAt(b)?(a="'",b++):(a=null,0===f&&g('"\'"')),null===a)if(40===e.charCodeAt(b)?(a="(",b++):(a=null,0===f&&g('"("')),null===a)if(41===e.charCodeAt(b)?(a=")",b++):(a=null,0===f&&g('")"')),null===a)if(42===e.charCodeAt(b)? +(a="*",b++):(a=null,0===f&&g('"*"')),null===a)if(43===e.charCodeAt(b)?(a="+",b++):(a=null,0===f&&g('"+"')),null===a)if(44===e.charCodeAt(b)?(a=",",b++):(a=null,0===f&&g('","')),null===a)if(59===e.charCodeAt(b)?(a=";",b++):(a=null,0===f&&g('";"')),null===a)61===e.charCodeAt(b)?(a="=",b++):(a=null,0===f&&g('"="'));return a}function Oc(){var a,c;c=b;"turns"===e.substr(b,5).toLowerCase()?(a=e.substr(b,5),b+=5):(a=null,0===f&&g('"turns"'));null===a&&("turn"===e.substr(b,4).toLowerCase()?(a=e.substr(b, +4),b+=4):(a=null,0===f&&g('"turn"')));null!==a&&(o.scheme=a,a=void 0);null===a&&(b=c);return a}function Rc(a){a.sort();for(var b=null,d=[],e=0;e"')),null===a)if(64===e.charCodeAt(b)?(a="@",b++):(a=null,0===f&&g('"@"')),null===a)if(44===e.charCodeAt(b)?(a=",",b++):(a=null,0===f&&g('","')),null===a)if(59===e.charCodeAt(b)?(a=";",b++):(a=null,0===f&&g('";"')),null===a)if(58===e.charCodeAt(b)?(a=":",b++):(a=null,0===f&&g('":"')),null===a)if(92===e.charCodeAt(b)?(a="\\",b++):(a=null,0===f&&g('"\\\\"')),null===a)if(a=D(),null===a&&(47===e.charCodeAt(b)?(a="/",b++):(a=null,0===f&&g('"/"')),null===a))if(91===e.charCodeAt(b)? +(a="[",b++):(a=null,0===f&&g('"["')),null===a)if(93===e.charCodeAt(b)?(a="]",b++):(a=null,0===f&&g('"]"')),null===a)if(63===e.charCodeAt(b)?(a="?",b++):(a=null,0===f&&g('"?"')),null===a)if(61===e.charCodeAt(b)?(a="=",b++):(a=null,0===f&&g('"="')),null===a)if(123===e.charCodeAt(b)?(a="{",b++):(a=null,0===f&&g('"{"')),null===a)if(125===e.charCodeAt(b)?(a="}",b++):(a=null,0===f&&g('"}"')),null===a)a=z(),null===a&&(a=H());return a},word:ya,STAR:jb,SLASH:fa,EQUAL:t,LPAREN:kb,RPAREN:lb,RAQUOT:mb,LAQUOT:nb, +COMMA:u,SEMI:v,COLON:ob,LDQUOT:za,RDQUOT:Aa,comment:Ba,ctext:Ca,quoted_string:F,qdtext:Da,quoted_pair:S,SIP_URI_simple:pb,SIP_URI:Ea,uri_scheme:ga,userinfo:ha,user:Ga,user_unreserved:Ia,password:Ha,hostport:T,host:U,hostname:Ka,domainlabel:La,toplabel:rb,IPv6reference:ia,IPv6address:Ma,h16:q,ls32:A,IPv4address:L,dec_octet:V,port:Ja,uri_parameters:Fa,uri_parameter:Na,transport_param:sb,user_param:tb,method_param:ub,ttl_param:vb,maddr_param:wb,lr_param:xb,other_param:yb,pname:zb,pvalue:Ab,paramchar:W, +param_unreserved:Bb,headers:qb,header:ka,hname:Cb,hvalue:Db,hnv_unreserved:X,Request_Response:function(){var a;a=Xb();null===a&&(a=Eb());return a},Request_Line:Eb,Request_URI:Fb,absoluteURI:Y,hier_part:Hb,net_path:Jb,abs_path:la,opaque_part:Ib,uric:Z,uric_no_slash:Nb,path_segments:Mb,segment:ma,param:Qa,pchar:$,scheme:Gb,authority:Lb,srvr:Ob,reg_name:aa,query:Kb,SIP_Version:Pa,INVITEm:Pb,ACKm:Qb,OPTIONSm:Rb,BYEm:Sb,CANCELm:Tb,REGISTERm:Ub,SUBSCRIBEm:Vb,NOTIFYm:Wb,Method:ja,Status_Line:Xb,Status_Code:Yb, +extension_code:$b,Reason_Phrase:Zb,Allow_Events:function(){var a,c,d,e,f,g;f=b;a=ba();if(null!==a){c=[];g=b;d=u();null!==d?(e=ba(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=ba(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},Call_ID:function(){var a,c,d,h,i,j;i=h=b;a=ya();null!==a?(j=b,64===e.charCodeAt(b)?(c="@",b++):(c=null,0===f&&g('"@"')),null!==c?(d=ya(),null!==d?c=[c,d]:(c=null,b=j)):(c=null, +b=j),c=null!==c?c:"",null!==c)?a=[a,c]:(a=null,b=i):(a=null,b=i);null!==a&&(o=e.substring(b,h),a=void 0);null===a&&(b=h);return a},Contact:function(){var a,c,d,e,f,g;a=jb();if(null===a)if(f=b,a=na(),null!==a){c=[];g=b;d=u();null!==d?(e=na(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=na(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},contact_param:na,name_addr:M,addr_spec:Ra,addr_spec_simple:Ta,display_name:ac, +contact_params:Sa,c_p_q:bc,c_p_expires:cc,delta_seconds:N,qvalue:dc,generic_param:B,gen_value:ec,Content_Disposition:function(){var a,c,d,e,f,g;f=b;a=fc();if(null!==a){c=[];g=b;d=v();null!==d?(e=Ua(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=Ua(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},disp_type:fc,disp_param:Ua,handling_param:gc,Content_Encoding:function(){var a,c,d,e,f,g;f=b;a=r();if(null!== +a){c=[];g=b;d=u();null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},Content_Length:function(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!==c;)a.push(c),c=p();else a=null;null!==a&&(o=parseInt(a.join("")),a=void 0);null===a&&(b=d);return a},Content_Type:function(){var a,c;c=b;a=hc();null!==a&&(o=e.substring(b,c),a=void 0);null===a&&(b=c); +return a},media_type:hc,m_type:ic,discrete_type:kc,composite_type:lc,extension_token:oa,x_token:mc,m_subtype:jc,m_parameter:Va,m_value:nc,CSeq:function(){var a,c,d,e;e=b;a=oc();null!==a?(c=y(),null!==c?(d=ja(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a},CSeq_value:oc,Expires:function(){var a,c;c=b;a=N();null!==a&&(o=a,a=void 0);null===a&&(b=c);return a},Event:function(){var a,c,d,e,f,g,k;g=f=b;a=ba();if(null!==a){c=[];k=b;d=v();null!==d?(e=B(),null!==e?d=[d,e]:(d=null,b= +k)):(d=null,b=k);for(;null!==d;)c.push(d),k=b,d=v(),null!==d?(e=B(),null!==e?d=[d,e]:(d=null,b=k)):(d=null,b=k);null!==c?a=[a,c]:(a=null,b=g)}else a=null,b=g;null!==a&&(o.event=a[0].join(""),a=void 0);null===a&&(b=f);return a},event_type:ba,From:function(){var a,c,d,e,f,g;f=b;a=Ta();null===a&&(a=M());if(null!==a){c=[];g=b;d=v();null!==d?(e=Wa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=Wa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a, +c]:(a=null,b=f)}else a=null,b=f;return a},from_param:Wa,tag_param:Xa,Max_Forwards:function(){var a,c,d;d=b;c=p();if(null!==c)for(a=[];null!==c;)a.push(c),c=p();else a=null;null!==a&&(o=parseInt(a.join("")),a=void 0);null===a&&(b=d);return a},Min_Expires:function(){var a,c;c=b;a=N();null!==a&&(o=a,a=void 0);null===a&&(b=c);return a},Proxy_Authenticate:function(){return Ya()},challenge:Ya,other_challenge:pc,auth_param:ca,digest_cln:pa,realm:qc,realm_value:xc,domain:rc,URI:qa,nonce:sc,nonce_value:yc, +opaque:tc,stale:uc,algorithm:vc,qop_options:wc,qop_value:ra,Proxy_Require:function(){var a,c,d,e,f,g;f=b;a=r();if(null!==a){c=[];g=b;d=u();null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},Record_Route:function(){var a,c,d,e,f,g;f=b;a=sa();if(null!==a){c=[];g=b;d=u();null!==d?(e=sa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!== d;)c.push(d),g=b,d=u(),null!==d?(e=sa(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},rec_route:sa,Require:function(){var a,c,d,e,f,g;f=b;a=r();if(null!==a){c=[];g=b;d=u();null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},Route:function(){var a,c,d,e,f,g;f=b;a=ta();if(null!==a){c=[];g= -b;d=u();null!==d?(e=ta(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=ta(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},route_param:ta,Subscription_State:function(){var a,c,d,e,f,g;f=b;a=Bc();if(null!==a){c=[];g=b;d=v();null!==d?(e=$a(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=$a(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null, -b=f)}else a=null,b=f;return a},substate_value:Bc,subexp_params:$a,event_reason_value:Cc,Subject:function(){var a;a=jb();return null!==a?a:""},Supported:function(){var a,c,d,e,f,g;f=b;a=r();if(null!==a){c=[];g=b;d=u();null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=r(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return null!==a?a:""},To:function(){var a,c,d,e,f,g;f=b;a=Ta();null===a&&(a=M());if(null!== -a){c=[];g=b;d=v();null!==d?(e=ab(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=v(),null!==d?(e=ab(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a=null,b=f;return a},to_param:ab,Via:function(){var a,c,d,e,f,g;f=b;a=ua();if(null!==a){c=[];g=b;d=u();null!==d?(e=ua(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);for(;null!==d;)c.push(d),g=b,d=u(),null!==d?(e=ua(),null!==e?d=[d,e]:(d=null,b=g)):(d=null,b=g);null!==c?a=[a,c]:(a=null,b=f)}else a= -null,b=f;return a},via_parm:ua,via_params:bb,via_ttl:Fc,via_maddr:Gc,via_received:Hc,via_branch:Ic,response_port:Jc,sent_protocol:Dc,protocol_name:Kc,transport:va,sent_by:Ec,via_host:Lc,via_port:Mc,ttl:Oa,WWW_Authenticate:function(){return Za()},extension_header:function(){var a,c,d,e;e=b;a=r();null!==a?(c=ib(),null!==c?(d=Nc(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e)):(a=null,b=e);return a},header_value:Nc,message_body:function(){var a,b;a=[];for(b=xa();null!==b;)a.push(b),b=xa();return a}, -stun_URI:function(){var a,c,d,e;e=b;a=Oc();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=cb(),null!==d?a=[a,c,d]:(a=null,b=e)):(a=null,b=e):(a=null,b=e);return a},stun_scheme:Oc,stun_host_port:cb,stun_host:Pc,reg_name:aa,stun_unreserved:db,sub_delims:eb,turn_URI:function(){var a,c,d,e,i,j,l;j=b;a=Qc();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?(d=cb(),null!==d)?(l=b,"?transport="===f.substr(b,11)?(e="?transport=",b+=11):(e=null, -0===g&&h('"?transport="')),null!==e?(i=va(),null!==i?e=[e,i]:(e=null,b=l)):(e=null,b=l),e=null!==e?e:"",null!==e)?a=[a,c,d,e]:(a=null,b=j):(a=null,b=j):(a=null,b=j):(a=null,b=j);return a},turn_scheme:Qc,turn_transport:function(){var a,c,d,e,i;i=e=b;a=va();if(null!==a){"udp"===f.substr(b,3)?(c="udp",b+=3):(c=null,0===g&&h('"udp"'));if(null===c&&("tcp"===f.substr(b,3)?(c="tcp",b+=3):(c=null,0===g&&h('"tcp"')),null===c)){c=[];for(d=w();null!==d;)c.push(d),d=w()}null!==c?a=[a,c]:(a=null,b=i)}else a=null, -b=i;null!==a&&(o.transport=transport,a=void 0);null===a&&(b=e);return a},lazy_uri:function(){var a,c,d,e,i,j,l,m;m=l=j=b;a=ga();null!==a?(58===f.charCodeAt(b)?(c=":",b++):(c=null,0===g&&h('":"')),null!==c)?a=[a,c]:(a=null,b=m):(a=null,b=m);a=null!==a?a:"";null!==a?(c=Ga(),null!==c)?(m=b,58===f.charCodeAt(b)?(d=":",b++):(d=null,0===g&&h('":"')),null!==d?(e=Ha(),null!==e?d=[d,e]:(d=null,b=m)):(d=null,b=m),d=null!==d?d:"",null!==d)?(m=b,64===f.charCodeAt(b)?(e="@",b++):(e=null,0===g&&h('"@"')),null!== -e?(i=T(),null!==i?e=[e,i]:(e=null,b=m)):(e=null,b=m),e=null!==e?e:"",null!==e)?(i=Fa(),null!==i?a=[a,c,d,e,i]:(a=null,b=l)):(a=null,b=l):(a=null,b=l):(a=null,b=l):(a=null,b=l);null!==a&&(o.password&&(o.user=o.user+":"+o.password),a=void 0);null===a&&(b=j);return a}};if(void 0!==C){if(void 0===Rc[C])throw Error("Invalid rule name: "+gb(C)+".");}else C="CRLF";var b=0,g=0,O=0,wa=[],o={};if(null===Rc[C]()||b!==f.length){var fb=Math.max(b,O),Vc=fb