$W){unset($ng[$y][$ce]);if(is_array($W)){$ng[$y][stripslashes($ce)]=$W;$ng[]=&$ng[$y][stripslashes($ce)];}else$ng[$y][stripslashes($ce)]=($Wc?$W:stripslashes($W));}}}}function bracket_escape($u,$Oa=false){static$oi=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return strtr($u,($Oa?array_flip($oi):$oi));}function min_version($Ui,$Ae="",$h=null){global$g;if(!$h)$h=$g;$ih=$h->server_info;if($Ae&&preg_match('~([\d.]+)-MariaDB~',$ih,$B)){$ih=$B[1];$Ui=$Ae;}return(version_compare($ih,$Ui)>=0);}function charset($g){return(min_version("5.5.3",0,$g)?"utf8mb4":"utf8");}function script($sh,$ni="\n"){return"$sh$ni";}function script_src($Ii){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 nl_br($Q){return str_replace("\n","
",$Q);}function checkbox($C,$Y,$fb,$je="",$pf="",$kb="",$ke=""){$I="".($pf?script("qsl('input').onclick = function () { $pf };",""):"");return($je!=""||$kb?"$I".h($je)."":$I);}function optionlist($vf,$ch=null,$Mi=false){$I="";foreach($vf as$ce=>$W){$wf=array($ce=>$W);if(is_array($W)){$I.='';$wf=$W;}foreach($wf as$y=>$X)$I.=''.h($X);if(is_array($W))$I.='';}return$I;}function html_select($C,$vf,$Y="",$of=true,$ke=""){if($of)return"".(is_string($of)?script("qsl('select').onchange = function () { $of };",""):"");$I="";foreach($vf as$y=>$X)$I.="";return$I;}function select_input($Ka,$vf,$Y="",$of="",$Zf=""){$Sh=($vf?"select":"input");return"<$Sh$Ka".($vf?">