$W){unset($hg[$y][$Xd]);if(is_array($W)){$hg[$y][stripslashes($Xd)]=$W;$hg[]=&$hg[$y][stripslashes($Xd)];}else$hg[$y][stripslashes($Xd)]=($Uc?$W:stripslashes($W));}}}}function bracket_escape($u,$Na=false){static$hi=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return strtr($u,($Na?array_flip($hi):$hi));}function min_version($Ni,$ve="",$g=null){global$f;if(!$g)$g=$f;$ch=$g->server_info;if($ve&&preg_match('~([\d.]+)-MariaDB~',$ch,$B)){$ch=$B[1];$Ni=$ve;}return(version_compare($ch,$Ni)>=0);}function charset($f){return(min_version("5.5.3",0,$f)?"utf8mb4":"utf8");}function script($lh,$gi="\n"){return"$lh$gi";}function script_src($Bi){return"\n";}function nonce(){return' nonce="'.get_nonce().'"';}function target_blank(){return' target="_blank" rel="noreferrer noopener"';}function h($Q){return str_replace("\0","�",htmlspecialchars($Q,ENT_QUOTES,'utf-8'));}function nbsp($Q){return(trim($Q)!=""?h($Q):" ");}function nl_br($Q){return str_replace("\n","
",$Q);}function checkbox($C,$Y,$eb,$ee="",$jf="",$jb="",$fe=""){$I="".($jf?script("qsl('input').onclick = function () { $jf };",""):"");return($ee!=""||$jb?"$I".h($ee)."":$I);}function optionlist($pf,$Wg=null,$Fi=false){$I="";foreach($pf as$Xd=>$W){$qf=array($Xd=>$W);if(is_array($W)){$I.='';$qf=$W;}foreach($qf as$y=>$X)$I.=''.h($X);if(is_array($W))$I.='';}return$I;}function html_select($C,$pf,$Y="",$if=true,$fe=""){if($if)return"".(is_string($if)?script("qsl('select').onchange = function () { $if };",""):"");$I="";foreach($pf as$y=>$X)$I.="";return$I;}function select_input($Ja,$pf,$Y="",$if="",$Tf=""){$Lh=($pf?"select":"input");return"<$Lh$Ja".($pf?">