// SpryURLUtils.js - version 0.1 - Spry Pre-Release 1.6
|
//
|
// Copyright (c) 2007. Adobe Systems Incorporated.
|
// All rights reserved.
|
//
|
// Redistribution and use in source and binary forms, with or without
|
// modification, are permitted provided that the following conditions are met:
|
//
|
// * Redistributions of source code must retain the above copyright notice,
|
// this list of conditions and the following disclaimer.
|
// * Redistributions in binary form must reproduce the above copyright notice,
|
// this list of conditions and the following disclaimer in the documentation
|
// and/or other materials provided with the distribution.
|
// * Neither the name of Adobe Systems Incorporated nor the names of its
|
// contributors may be used to endorse or promote products derived from this
|
// software without specific prior written permission.
|
//
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
// POSSIBILITY OF SUCH DAMAGE.
|
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('5 2;4(!2)2={};4(!2.3)2.3={};2.3.c=e(h,7,6){5 o=f k;4(h){4(!7)7="&";4(!6)6="=";5 j=h.p(7);F(5 i=0;i<j.D;i++){5 a=j[i].p(6);5 n=r(a[0]?a[0]:"");5 v=r(a[1]?a[1]:"");4(v.x(/^0$|^[1-9]\\d*$/))v=B(v);4(l o[n]=="y")o[n]=v;z{4(l o[n]!="G"){5 t=o[n];o[n]=f E;o[n].m(t)}o[n].m(v)}}}b o};2.3.H=e(7,6){b 2.3.c(u.q.I.g(/^#/,""),7,6)};2.3.J=e(){b 2.3.c(u.q.w.g(/^\\?/,""))};2.3.A=e(8,7,6){5 i;4(8&&(i=8.w("#"))>=0)b 2.3.c(8.K(i+1),7,6);b f k};2.3.C=e(8){5 s;4(8&&(s=8.x(/\\?[^#]*/))&&s)b 2.3.c(s[0].g(/^\\?/,""));b f k};',47,47,'||Spry|Utils|if|var|nameValueSeparator|paramSeparator|url|||return|urlComponentToObject||function|new|replace|ucStr||params|Object|typeof|push|||split|location|decodeURIComponent|||window||search|match|undefined|else|getURLHashParamsAsObject|parseInt|getURLParamsAsObject|length|Array|for|object|getLocationHashParamsAsObject|hash|getLocationParamsAsObject|substr'.split('|'),0,{}))
|