text: !function t(e,r,a){function o(i,s){if(!r[i]){if(!e[i]){var p="function"==typeof require&&require;if(!s&&p)return p(i,!0);if(n)return n(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[i]={exports:{}};e[i][0].call(l.exports,function(t){var r=e[i][1][t];return o(r||t)},l,l.exports,t,e,r,a)}return r[i].exports}for(var n="function"==typeof require&&require,i=0;i<a.length;i++)o(a[i]);return o}({1:[function(t,e,r){function a(){this.size=0,this.aVars={},this.aLink=""}a.prototype.init=function(t){this.aDoc=t,this.aLink=t.location,this.aVars=this.parseURL(t.location.search)},a.prototype.parseURL=function(t){var e,r=t||"",a={},o=/[?&]?([^=]+)=([^&]*)/g;if(""!=r)for(r=r.split("+").join(" ");e=o.exec(r);)a[this.decodeParam(e[1])]=this.decodeParam(e[2]),this.calcSize();else console.log("parseURL(pLink) - pLink contains no parameters");return a},a.prototype.getURL=function(t){var e="";return e=pVars?getParam4URL(pVars):getParam4URL(),this.getLink4URL()+e},a.prototype.setValue=function(t,e){this.aVars.hasOwnProperty(t)?console.log("Value of link parameter '"+t+"' changed"):(this.calcSize(),console.log("New  link parameter '"+t+"' created")),this.aVars[t]=e},a.prototype.getValue=function(t){var e="";return this.aVars.hasOwnProperty(t)?e=this.aVars[t]:console.log("ERROR: variable '"+t+"' does not exist in LinkParam"),e},a.prototype.deleteValue=function(t){var e=!1;return this.aVars.hasOwnProperty(t)&&(delete this.aVars[t],e=!0,this.calcSize()),e},a.prototype.getLink4URL=function(){return this.aLink},a.prototype.getParam4URL=function(){var t=this.aVars||{},e="",r="?";for(var a in t)t.hasOwnProperty(a)&&(e+=r+this.encodeParam(a)+"="+this.encodeParam(t[a]),r="&");return e},a.prototype.decodeParam=function(t){return t=t.replace(/\+/g," "),t=decodeURIComponent(t)},a.prototype.encodeParam=function(t){var e=encodeURIComponent(t);return e=e.replace(/'/g,"%27").replace(/"/g,"%22")},a.prototype.getTableHTML=function(){var t="",e=this.aVars;t+="<table border=1>",t+="<tr><td><b>Variable</b></td><td>Value</td></tr>";for(var r in e)e.hasOwnProperty(r)&&(t+="<tr>",t+="<td>",t+="<b>"+r+"</b>",t+="</td>",t+="<td>",t+=this.encodeHTML(e[r],!0),t+="</td>",t+="</tr>");return t+="</table>"},a.prototype.getEditTableHTML=function(t){pPredixID;var e="",r=this.aVars;e+="<table border=1>";var a=1,o="";for(var n in r)r.hasOwnProperty(n)&&(o=this.encodeHTML(r[n],!1),(a=r[n].split("\n").length)>10&&(a=10),e+="<tr>",e+="<td>",e+="<b>"+n+"</b>",e+="</td>",e+="<td>",e+="<textarea id='"+vPrefix+n+"'' cols='90' rows='"+a+"''>",e+=o,e+="</textarea>",e+="</td>",e+="</tr>");return e+="</table>"},a.prototype.calcSize=function(){var t=0;if(this.aVars){var e=this.aVars;for(var r in e)t++}else console.log("ERROR: variable '"+pVar+"' does not exist in LinkParam");return t},a.prototype.encodeHTML=function(t,e){var r=t||"";return""!=r&&(r=(r=(r=r.replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/&/g,"&amp;")),e&&1==e&&(r="<pre><code>"+r+"</code></pre>"),r},a.prototype.exists=function(t){var e=!1;return t&&(e=this.aVars.hasOwnProperty(t)),e},a.prototype.param2DOM=function(t,e,r){var a=r||"html";if(this.exists(t)){var o=e||t,n=document.getElementById(o);n?"html"==a?n.innerHTML=this.getValue(t):n.value=this.getValue(t):console.log("DOM node ["+o+"] does not exist!")}else console.log("pLinkID does not exist in param2DOM-call")}},{}],2:[function(t,e,r){t("./linkparam.js"),e.exports=LinkParam},{"./linkparam.js":1}]},{},[2]);
  