$W){unset($jg[$z][$Yd]);if(is_array($W)){$jg[$z][stripslashes($Yd)]=$W;$jg[]=&$jg[$z][stripslashes($Yd)];}else$jg[$z][stripslashes($Yd)]=($Vc?$W:stripslashes($W));}}}}function bracket_escape($v,$Oa=false){static$ki=array(':'=>':1',']'=>':2','['=>':3','"'=>':4');return strtr($v,($Oa?array_flip($ki):$ki));}function min_version($Qi,$xe="",$h=null){global$g;if(!$h)$h=$g;$eh=$h->server_info;if($xe&&preg_match('~([\d.]+)-MariaDB~',$eh,$C)){$eh=$C[1];$Qi=$xe;}return(version_compare($eh,$Qi)>=0);}function charset($g){return(min_version("5.5.3",0,$g)?"utf8mb4":"utf8");}function script($nh,$ji="\n"){return"$nh$ji";}function script_src($Ei){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($D,$Y,$fb,$fe="",$lf="",$kb="",$ge=""){$J="".($lf?script("qsl('input').onclick = function () { $lf };",""):"");return($fe!=""||$kb?"$J".h($fe)."":$J);}function optionlist($rf,$Yg=null,$Ii=false){$J="";foreach($rf as$Yd=>$W){$sf=array($Yd=>$W);if(is_array($W)){$J.='';$sf=$W;}foreach($sf as$z=>$X)$J.=''.h($X);if(is_array($W))$J.='';}return$J;}function html_select($D,$rf,$Y="",$kf=true,$ge=""){if($kf)return"".(is_string($kf)?script("qsl('select').onchange = function () { $kf };",""):"");$J="";foreach($rf as$z=>$X)$J.="";return$J;}function select_input($Ka,$rf,$Y="",$kf="",$Vf=""){$Oh=($rf?"select":"input");return"<$Oh$Ka".($rf?">