text: !function(i){function f(n){n=n||i.location.href;var t,t=(n="object"==typeof(t=(t=n)||i.location)?t.href:t,t=t.search,(n.indexOf("?")<0||!t&&"function"!=typeof t?"":t=-1<(t="function"==typeof t?n.match(/(.*?)\?(.*)/)[2]:t.match(/^\?(.*)/)[1]).indexOf("#")?t.match(/(.*?)#(.*)/)[1]:t)||""),r={};return t.replace(/([^&]*?)\=(.*?)(&|$)/gi,function(n,t,e){r[t]=e}),r}var n={setParams:function(n,t){n=n||{};var e,r,o=f(t=t||i.location.href);for(r in n)n[r]&&(o[r]=n[r]);return e=function(n){var t,e=[];for(t in n=n||{})n[t]&&e.push(t+"="+n[t]);return e.join("&")}(o),t.split("?")[0]+(e?"?"+e:"")},queryParam:function(n,t){t=t||i.location.href;var n=new RegExp("[?&#]"+n+"=([^&#]*)","i"),e=t.match(n);if(e)try{return decodeURIComponent(e[1])||""}catch(n){}return""}};"function"==typeof define&&define.amd?define("GB-url",[],function(){return n}):void 0===i.gbUrl&&(i.gbUrl=n)}(window);