mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
14 lines
43 KiB
JavaScript
14 lines
43 KiB
JavaScript
import{d as fe,x as w,h as k,z as ae,c as g,o as x,j as e,e as W,ai as m,t as l,G as V,H as T,aj as S,ak as te,al as de,am as le,n as I,_ as ze}from"./framework.Bhsyh9kO.js";const ke={support:{BSD:"wip"},type:"external","arg-type":"custom",source:"amqp","lib-depends":["librabbitmq"],"ext-depends-windows":["openssl"]},Se={type:"external",source:"apcu"},De={type:"external",source:"ast"},Be={type:"builtin"},Ce={type:"external",source:"ext-brotli","arg-type":"enable","lib-depends":["brotli"]},qe={type:"builtin","arg-type-unix":"with-path","arg-type-windows":"with","lib-depends":["bzip2"]},Ee={type:"builtin"},We={type:"builtin"},$e={notes:!0,type:"builtin","arg-type":"with","lib-depends":["curl"],"ext-depends-windows":["zlib","openssl"]},Pe={type:"builtin","arg-type":"custom","lib-suggests":["qdbm"]},Ie={support:{BSD:"wip"},type:"external",source:"dio"},Le={support:{BSD:"wip"},type:"builtin","arg-type":"custom","arg-type-windows":"with","lib-depends":["libxml2","zlib"],"ext-depends-windows":["xml"]},Ue={type:"external",source:"ext-ds"},je={support:{Windows:"wip",BSD:"wip",Darwin:"wip",Linux:"wip"},type:"wip"},Ae={type:"external",source:"ev","arg-type-windows":"with","ext-depends":["sockets"]},Ne={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"ext-event","arg-type":"custom","lib-depends":["libevent"],"ext-depends":["openssl"],"ext-suggests":["sockets"]},Oe={type:"builtin"},Ve={support:{Linux:"partial",BSD:"wip"},notes:!0,"arg-type":"custom",type:"builtin","lib-depends-unix":["libffi"],"lib-depends-windows":["libffi-win"]},Te={type:"builtin"},Me={type:"builtin"},Ge={type:"builtin","lib-suggests":["openssl"]},Xe={support:{BSD:"wip"},notes:!0,type:"builtin","arg-type":"custom","arg-type-windows":"with","lib-depends":["zlib","libpng"],"ext-depends":["zlib"],"lib-suggests":["libavif","libwebp","libjpeg","freetype"]},He={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-path","lib-depends":["gettext"]},Re={support:{Windows:"wip",BSD:"no",Linux:"no"},notes:!0,type:"external","arg-type":"custom",source:"ext-glfw","lib-depends":["glfw"],"lib-depends-windows":[]},Fe={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-path","lib-depends":["gmp"]},Ze={support:{BSD:"wip"},type:"external",source:"ext-gmssl","lib-depends":["gmssl"]},Qe={support:{Windows:"wip",BSD:"wip"},type:"external",source:"grpc","arg-type-unix":"enable-path","cpp-extension":!0,"lib-depends":["grpc"]},Ke={support:{BSD:"wip"},type:"builtin","arg-type":"with-path","arg-type-windows":"with","lib-depends-unix":["libiconv"],"lib-depends-windows":["libiconv-win"]},Ye={support:{BSD:"wip"},type:"external",source:"igbinary","ext-suggests":["session","apcu"]},Je={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"ext-imagick","arg-type":"custom","lib-depends":["imagemagick"]},_e={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"ext-imap","arg-type":"custom","lib-depends":["imap"],"ext-suggests":["openssl"]},ei={support:{Windows:"no",BSD:"wip",Darwin:"no"},type:"external",source:"inotify"},ii={support:{BSD:"wip"},type:"builtin","lib-depends-unix":["icu"],"lib-depends-windows":["icu-static-win"]},si={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-path","lib-depends":["ldap"],"lib-suggests":["gmp","libsodium"],"ext-suggests":["openssl"]},ti={support:{BSD:"wip"},type:"builtin","arg-type":"none","ext-depends":["xml"],"build-with-php":!0,target:["static"]},li={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-lz4","arg-type":"custom","lib-depends":["liblz4"]},ni={type:"builtin","arg-type":"custom",target:["static"],"ext-depends":["mbstring"],"lib-depends":["onig"]},oi={type:"builtin","arg-type":"custom"},ai={type:"wip",support:{Windows:"no",BSD:"no",Darwin:"no",Linux:"no"},notes:!0},di={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-memcache","arg-type":"custom","ext-depends":["zlib","session"],"build-with-php":!0},ui={support:{Windows:"wip",BSD:"wip"},type:"external",source:"memcached","arg-type":"custom","cpp-extension":!0,"lib-depends":["libmemcached"],"lib-depends-unix":["libmemcached","fastlz"],"lib-suggests":["zstd"],"ext-depends":["session","zlib"],"ext-suggests":["igbinary","msgpack","session"]},pi={support:{BSD:"wip",Windows:"wip"},type:"external",source:"mongodb","arg-type":"custom","lib-suggests":["icu","openssl","zstd","zlib"],frameworks:["CoreFoundation","Security"]},ci={support:{BSD:"wip"},type:"external",source:"msgpack","arg-type-unix":"with","arg-type-windows":"enable","ext-depends":["session"]},ri={type:"builtin","arg-type":"with","build-with-php":!0,"ext-depends":["mysqlnd"]},bi={type:"builtin","arg-type-windows":"with","build-with-php":!0,"lib-depends":["zlib"]},wi={type:"wip",support:{Windows:"wip",BSD:"no",Darwin:"no",Linux:"no"},notes:!0},gi={support:{BSD:"wip",Windows:"wip"},type:"builtin","arg-type-unix":"custom","lib-depends-unix":["unixodbc"]},xi={type:"builtin","arg-type-unix":"custom","arg-type-windows":"enable","zend-extension":!0},mi={notes:!0,type:"builtin","arg-type":"custom","arg-type-windows":"with","build-with-php":!0,"lib-depends":["openssl","zlib"],"ext-depends":["zlib"]},hi={support:{BSD:"wip"},type:"external",source:"opentelemetry"},yi={support:{BSD:"wip"},notes:!0,type:"external",source:"parallel","arg-type-windows":"with","lib-depends-windows":["pthreads4w"]},vi={support:{Windows:"no"},type:"builtin","unix-only":!0},fi={type:"builtin"},zi={type:"builtin","arg-type":"with","ext-depends":["pdo","mysqlnd"]},ki={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends-unix":["unixodbc"],"ext-depends":["pdo","odbc"]},Si={support:{BSD:"wip"},type:"builtin","arg-type":"with-path","arg-type-windows":"custom","ext-depends":["pdo","pgsql"],"lib-depends-unix":["postgresql"],"lib-depends-windows":["postgresql-win"]},Di={support:{BSD:"wip"},type:"builtin","arg-type":"with","ext-depends":["pdo","sqlite3"],"lib-depends":["sqlite"]},Bi={support:{BSD:"wip"},type:"external",source:"pdo_sqlsrv","arg-type":"with","ext-depends":["pdo","sqlsrv"]},Ci={support:{BSD:"wip"},notes:!0,type:"builtin","arg-type":"custom","lib-depends-unix":["postgresql"],"lib-depends-windows":["postgresql-win"]},qi={type:"builtin","ext-depends":["zlib"]},Ei={support:{Windows:"no"},type:"builtin","unix-only":!0},Wi={support:{Windows:"wip",BSD:"wip"},type:"external",source:"protobuf"},$i={support:{BSD:"wip",Darwin:"partial"},notes:!0,type:"external",source:"rar","cpp-extension":!0},Pi={support:{BSD:"wip",Windows:"wip"},type:"external",source:"ext-rdkafka","arg-type":"custom","cpp-extension":!0,"lib-depends":["librdkafka"]},Ii={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-path","lib-depends":["libedit"],target:["static"]},Li={support:{BSD:"wip"},type:"external",source:"redis","arg-type":"custom","ext-suggests":["session","igbinary","msgpack"],"lib-suggests-unix":["zstd","liblz4"]},Ui={type:"builtin","build-with-php":!0},ji={type:"builtin","build-with-php":!0},Ai={type:"external",source:"ext-simdjson","cpp-extension":!0},Ni={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends":["libxml2"],"ext-depends-windows":["xml"],"build-with-php":!0},Oi={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-snappy","cpp-extension":!0,"arg-type":"custom","lib-depends":["snappy"],"ext-suggests":["apcu"]},Vi={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type-unix":"with","arg-type-windows":"with","lib-depends":["net-snmp"]},Ti={support:{BSD:"wip"},type:"builtin","arg-type":"custom","ext-depends":["libxml","session"]},Mi={type:"builtin"},Gi={support:{BSD:"wip"},type:"builtin","arg-type":"with","lib-depends":["libsodium"]},Xi={support:{BSD:"wip",Windows:"no"},notes:!0,type:"external",source:"spx","arg-type":"custom","lib-depends":["zlib"]},Hi={support:{BSD:"wip"},type:"builtin","arg-type":"with-path","arg-type-windows":"with","build-with-php":!0,"lib-depends":["sqlite"]},Ri={support:{BSD:"wip"},type:"external",source:"sqlsrv","lib-depends-unix":["unixodbc"],"ext-depends-linux":["pcntl"],"cpp-extension":!0},Fi={support:{BSD:"wip"},type:"external",source:"ext-ssh2","arg-type":"with-path","arg-type-windows":"with","lib-depends":["libssh2"],"ext-depends":["openssl","zlib"]},Zi={support:{Windows:"no",BSD:"wip"},notes:!0,type:"external",source:"swoole","arg-type":"custom","cpp-extension":!0,"unix-only":!0,"lib-depends":["libcares","brotli","nghttp2","zlib"],"lib-suggests":["zstd"],"lib-suggests-linux":["zstd","liburing"],"ext-depends":["openssl","curl"],"ext-suggests":["sockets","swoole-hook-pgsql","swoole-hook-mysql","swoole-hook-sqlite","swoole-hook-odbc"]},Qi={support:{BSD:"wip"},notes:!0,type:"external",source:"swow","arg-type":"custom","lib-suggests":["openssl","curl"],"ext-suggests":["openssl","curl"]},Ki={support:{Windows:"no",BSD:"wip"},type:"builtin","unix-only":!0},Yi={support:{Windows:"no",BSD:"wip"},type:"builtin","unix-only":!0},Ji={support:{BSD:"wip"},type:"builtin"},_i={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-path","lib-depends":["tidy"]},es={type:"builtin","build-with-php":!0},is={support:{BSD:"wip",Windows:"wip"},type:"external",source:"ext-trader"},ss={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-uuid","arg-type":"with-path","lib-depends":["libuuid"]},ts={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-uv","arg-type":"with-path","lib-depends":["libuv"],"ext-depends":["sockets"]},ls={type:"external",source:"xdebug",target:["shared"],support:{Windows:"wip",BSD:"no",Darwin:"partial",Linux:"partial"},notes:!0,"zend-extension":!0},ns={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"xhprof","ext-depends":["ctype"],"build-with-php":!0},os={support:{BSD:"wip"},type:"external",source:"xlswriter","arg-type":"custom","ext-depends":["zlib","zip"],"lib-suggests":["openssl"]},as={support:{BSD:"wip"},notes:!0,type:"builtin","arg-type":"custom","arg-type-windows":"with","lib-depends":["libxml2"],"ext-depends-windows":["iconv"],"build-with-php":!0},ds={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends":["libxml2"],"ext-depends-windows":["xml","dom"],"build-with-php":!0},us={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends":["libxml2"],"ext-depends-windows":["xml"],"build-with-php":!0},ps={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-path","lib-depends":["libxslt"],"ext-depends":["xml","dom"]},cs={type:"external",source:"ext-xz","arg-type":"with","lib-depends":["xz"]},rs={support:{BSD:"wip"},type:"external",source:"yac","arg-type-unix":"custom","lib-depends-unix":["fastlz"],"ext-depends-unix":["igbinary"]},bs={support:{BSD:"wip"},type:"external",source:"yaml","arg-type-unix":"with-path","arg-type-windows":"with","lib-depends":["libyaml"]},ws={support:{BSD:"wip"},type:"external",source:"ext-zip","arg-type":"custom","arg-type-windows":"enable","lib-depends-unix":["libzip"],"ext-depends-windows":["zlib","bz2"],"lib-depends-windows":["libzip","zlib","bzip2","xz"]},gs={type:"builtin","arg-type":"custom","arg-type-windows":"enable","lib-depends":["zlib"],"build-with-php":!0,target:["static"]},xs={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-zstd","arg-type":"custom","lib-depends":["zstd"]},ms={amqp:ke,apcu:Se,ast:De,bcmath:Be,brotli:Ce,bz2:qe,calendar:Ee,ctype:We,curl:$e,dba:Pe,dio:Ie,dom:Le,ds:Ue,enchant:je,ev:Ae,event:Ne,exif:Oe,ffi:Ve,fileinfo:Te,filter:Me,ftp:Ge,gd:Xe,gettext:He,glfw:Re,gmp:Fe,gmssl:Ze,grpc:Qe,iconv:Ke,igbinary:Ye,imagick:Je,imap:_e,inotify:ei,intl:ii,ldap:si,libxml:ti,lz4:li,mbregex:ni,mbstring:oi,mcrypt:ai,memcache:di,memcached:ui,mongodb:pi,msgpack:ci,mysqli:ri,mysqlnd:bi,oci8:wi,odbc:gi,opcache:xi,openssl:mi,opentelemetry:hi,parallel:yi,"password-argon2":{support:{Windows:"wip",BSD:"wip"},notes:!0,type:"builtin","arg-type":"custom","lib-depends":["libargon2","openssl"]},pcntl:vi,pdo:fi,pdo_mysql:zi,pdo_odbc:ki,pdo_pgsql:Si,pdo_sqlite:Di,pdo_sqlsrv:Bi,pgsql:Ci,phar:qi,posix:Ei,protobuf:Wi,rar:$i,rdkafka:Pi,readline:Ii,redis:Li,session:Ui,shmop:ji,simdjson:Ai,simplexml:Ni,snappy:Oi,snmp:Vi,soap:Ti,sockets:Mi,sodium:Gi,spx:Xi,sqlite3:Hi,sqlsrv:Ri,ssh2:Fi,swoole:Zi,"swoole-hook-mysql":{support:{Windows:"no",BSD:"wip"},notes:!0,type:"addon","arg-type":"none","ext-depends":["mysqlnd","pdo","pdo_mysql","swoole"],"ext-suggests":["mysqli"]},"swoole-hook-odbc":{support:{Windows:"no",BSD:"wip"},notes:!0,type:"addon","arg-type":"none","ext-depends":["pdo","swoole"],"lib-depends":["unixodbc"]},"swoole-hook-pgsql":{support:{Windows:"no",BSD:"wip",Darwin:"partial"},notes:!0,type:"addon","arg-type":"none","ext-depends":["pgsql","pdo","swoole"]},"swoole-hook-sqlite":{support:{Windows:"no",BSD:"wip"},notes:!0,type:"addon","arg-type":"none","ext-depends":["sqlite3","pdo","swoole"]},swow:Qi,sysvmsg:Ki,sysvsem:Yi,sysvshm:Ji,tidy:_i,tokenizer:es,trader:is,uuid:ss,uv:ts,xdebug:ls,xhprof:ns,xlswriter:os,xml:as,xmlreader:ds,xmlwriter:us,xsl:ps,xz:cs,yac:rs,yaml:bs,zip:ws,zlib:gs,zstd:xs},hs={type:"root",source:"php-src","lib-depends":["lib-base","micro","frankenphp"],"lib-depends-macos":["lib-base","micro","libxml2","frankenphp"],"lib-suggests-linux":["libacl","brotli","watcher"],"lib-suggests-macos":["brotli","watcher"]},ys={source:"frankenphp",type:"target"},vs={type:"target",source:"micro"},fs={source:"attr","static-libs-unix":["libattr.a"]},zs={source:"brotli","pkg-configs":["libbrotlicommon","libbrotlidec","libbrotlienc"],"static-libs-windows":["brotlicommon.lib","brotlienc.lib","brotlidec.lib"],headers:["brotli"]},ks={source:"bzip2","static-libs-unix":["libbz2.a"],"static-libs-windows":["libbz2.lib","libbz2_a.lib"],headers:["bzlib.h"]},Ss={source:"curl","static-libs-unix":["libcurl.a"],"static-libs-windows":["libcurl_a.lib"],headers:["curl"],"lib-depends-unix":["openssl","zlib"],"lib-depends-windows":["zlib","libssh2","nghttp2"],"lib-suggests-unix":["libssh2","brotli","nghttp2","nghttp3","ngtcp2","zstd","libcares","ldap"],"lib-suggests-windows":["brotli","zstd"],frameworks:["CoreFoundation","CoreServices","SystemConfiguration"]},Ds={source:"fastlz","static-libs-unix":["libfastlz.a"],headers:["fastlz/fastlz.h"]},Bs={source:"freetype","static-libs-unix":["libfreetype.a"],"static-libs-windows":["libfreetype_a.lib"],"headers-unix":["freetype2/freetype/freetype.h","freetype2/ft2build.h"],"lib-depends":["zlib"],"lib-suggests":["libpng","bzip2","brotli"]},Cs={source:"gettext","static-libs-unix":["libintl.a"],"lib-depends":["libiconv"],"lib-suggests":["ncurses","libxml2"],frameworks:["CoreFoundation"]},qs={source:"ext-glfw","static-libs-unix":["libglfw3.a"],frameworks:["CoreVideo","OpenGL","Cocoa","IOKit"]},Es={source:"gmp","static-libs-unix":["libgmp.a"],"static-libs-windows":["libgmp.lib"],headers:["gmp.h"]},Ws={source:"gmssl","static-libs-unix":["libgmssl.a"],"static-libs-windows":["gmssl.lib"],frameworks:["Security"]},$s={source:"grpc","pkg-configs":["grpc"],"lib-depends":["zlib","openssl","libcares"],"cpp-library":!0,frameworks:["CoreFoundation"]},Ps={source:"icu","cpp-library":!0,"pkg-configs":["icu-uc","icu-i18n","icu-io"]},Is={source:"imagemagick","cpp-library":!0,"pkg-configs":["Magick++-7.Q16HDRI","MagickCore-7.Q16HDRI","MagickWand-7.Q16HDRI"],"lib-depends":["zlib","libjpeg","libjxl","libpng","libwebp","freetype","libtiff","libheif","bzip2"],"lib-suggests":["zstd","xz","libzip","libxml2"]},Ls={source:"imap","static-libs-unix":["libc-client.a"],"lib-suggests":["openssl"]},Us={source:"jbig","static-libs-unix":["libjbig.a","libjbig85.a"],headers:["jbig.h","jbig85.h","jbig_ar.h"]},js={source:"ldap","pkg-configs":["ldap","lber"],"lib-depends":["openssl","zlib","gmp","libsodium"]},As={source:"lerc","static-libs-unix":["libLerc.a"],"cpp-library":!0},Ns={source:"libacl","static-libs-unix":["libacl.a"],"lib-depends":["attr"]},Os={source:"libaom","static-libs-unix":["libaom.a"],"cpp-library":!0},Vs={source:"libargon2","static-libs-unix":["libargon2.a"]},Ts={source:"libavif","static-libs-unix":["libavif.a"],"static-libs-windows":["avif.lib"]},Ms={source:"libcares","static-libs-unix":["libcares.a"],"headers-unix":["ares.h","ares_dns.h","ares_nameser.h"]},Gs={source:"libde265","static-libs-unix":["libde265.a"],"cpp-library":!0},Xs={source:"libedit","static-libs-unix":["libedit.a"],"lib-depends":["ncurses"]},Hs={source:"libevent","static-libs-unix":["libevent.a","libevent_core.a","libevent_extra.a","libevent_openssl.a"],"lib-depends":["openssl"]},Rs={source:"libffi","static-libs-unix":["libffi.a"],"static-libs-windows":["libffi.lib"],"headers-unix":["ffi.h","ffitarget.h"],"headers-windows":["ffi.h","fficonfig.h","ffitarget.h"]},Fs={source:"libheif","static-libs-unix":["libheif.a"],"lib-depends":["libde265","libwebp","libaom","zlib","brotli"]},Zs={source:"libiconv","static-libs-unix":["libiconv.a","libcharset.a"],headers:["iconv.h","libcharset.h","localcharset.h"]},Qs={source:"libjpeg","static-libs-unix":["libjpeg.a","libturbojpeg.a"],"static-libs-windows":["libjpeg_a.lib"],"lib-suggests-windows":["zlib"]},Ks={source:"libjxl","pkg-configs":["libjxl","libjxl_cms","libjxl_threads","libhwy"],"lib-depends":["brotli","libjpeg","libpng","libwebp"]},Ys={source:"liblz4","static-libs-unix":["liblz4.a"]},Js={source:"libmemcached","cpp-library":!0,"static-libs-unix":["libmemcached.a","libmemcachedprotocol.a","libmemcachedutil.a","libhashkit.a"]},_s={source:"libpng","static-libs-unix":["libpng16.a"],"static-libs-windows":["libpng16_static.lib","libpng_a.lib"],"headers-unix":["png.h","pngconf.h","pnglibconf.h"],"headers-windows":["png.h","pngconf.h"],"lib-depends":["zlib"]},et={source:"librabbitmq","static-libs-unix":["librabbitmq.a"],"static-libs-windows":["rabbitmq.4.lib"],"lib-depends":["openssl"]},it={source:"librdkafka","pkg-configs":["rdkafka++-static","rdkafka-static"],"cpp-library":!0,"lib-suggests":["curl","liblz4","openssl","zlib","zstd"]},st={source:"libsodium","static-libs-unix":["libsodium.a"],"static-libs-windows":["libsodium.lib"]},tt={source:"libssh2","static-libs-unix":["libssh2.a"],"static-libs-windows":["libssh2.lib"],headers:["libssh2.h","libssh2_publickey.h","libssh2_sftp.h"],"lib-depends":["openssl"]},lt={source:"libtiff","static-libs-unix":["libtiff.a"],"lib-depends":["zlib","libjpeg"],"lib-suggests-unix":["lerc","libwebp","jbig","xz","zstd"]},nt={source:"liburing","pkg-configs":["liburing","liburing-ffi"],"static-libs-linux":["liburing.a","liburing-ffi.a"],"headers-linux":["liburing/","liburing.h"]},ot={source:"libuuid","static-libs-unix":["libuuid.a"],headers:["uuid/uuid.h"]},at={source:"libuv","static-libs-unix":["libuv.a"]},dt={source:"libwebp","pkg-configs":["libwebp","libwebpdecoder","libwebpdemux","libwebpmux","libsharpyuv"],"static-libs-windows":["libwebp.lib","libwebpdecoder.lib","libwebpdemux.lib","libsharpyuv.lib"]},ut={source:"libxml2","pkg-configs":["libxml-2.0"],"static-libs-windows":["libxml2s.lib","libxml2_a.lib"],headers:["libxml2"],"lib-depends-unix":["libiconv"],"lib-suggests-unix":["xz","zlib"],"lib-depends-windows":["libiconv-win"],"lib-suggests-windows":["zlib"]},pt={source:"libxslt","static-libs-unix":["libxslt.a","libexslt.a"],"lib-depends":["libxml2"]},ct={source:"libyaml","static-libs-unix":["libyaml.a"],"static-libs-windows":["yaml.lib"],headers:["yaml.h"]},rt={source:"libzip","static-libs-unix":["libzip.a"],"static-libs-windows":["zip.lib","libzip_a.lib"],headers:["zip.h","zipconf.h"],"lib-depends-unix":["zlib"],"lib-suggests-unix":["bzip2","xz","zstd","openssl"],"lib-depends-windows":["zlib","bzip2","xz"],"lib-suggests-windows":["zstd","openssl"]},bt={source:"mimalloc","static-libs-unix":["libmimalloc.a"]},wt={source:"ncurses","static-libs-unix":["libncurses.a"]},gt={source:"nghttp2","static-libs-unix":["libnghttp2.a"],"static-libs-windows":["nghttp2.lib"],headers:["nghttp2"],"lib-depends":["zlib","openssl"],"lib-suggests":["libxml2","nghttp3","ngtcp2"]},xt={source:"nghttp3","static-libs-unix":["libnghttp3.a"],"static-libs-windows":["nghttp3.lib"],headers:["nghttp3"],"lib-depends":["openssl"]},mt={source:"ngtcp2","static-libs-unix":["libngtcp2.a","libngtcp2_crypto_ossl.a"],"static-libs-windows":["ngtcp2.lib","ngtcp2_crypto_ossl.lib"],headers:["ngtcp2"],"lib-depends":["openssl"],"lib-suggests":["nghttp3","brotli"]},ht={source:"onig","static-libs-unix":["libonig.a"],"static-libs-windows":["onig.lib","onig_a.lib"],headers:["oniggnu.h","oniguruma.h"]},yt={source:"openssl","static-libs-unix":["libssl.a","libcrypto.a"],"static-libs-windows":["libssl.lib","libcrypto.lib"],headers:["openssl"],"lib-depends":["zlib"]},vt={source:"postgresql","pkg-configs":["libpq"],"lib-depends":["libiconv","libxml2","openssl","zlib","libedit"],"lib-suggests":["icu","libxslt","ldap","zstd"]},ft={source:"pthreads4w","static-libs-windows":["libpthreadVC3.lib"]},zt={source:"qdbm","static-libs-unix":["libqdbm.a"],"static-libs-windows":["qdbm_a.lib"],"headers-windows":["depot.h"]},kt={source:"re2c","bin-unix":["re2c"]},St={source:"readline","static-libs-unix":["libreadline.a"],"lib-depends":["ncurses"]},Dt={source:"snappy","cpp-library":!0,"static-libs-unix":["libsnappy.a"],"headers-unix":["snappy.h","snappy-c.h","snappy-sinksource.h","snappy-stubs-public.h"],"lib-depends":["zlib"]},Bt={source:"sqlite","static-libs-unix":["libsqlite3.a"],"static-libs-windows":["libsqlite3_a.lib"],headers:["sqlite3.h","sqlite3ext.h"]},Ct={source:"tidy","static-libs-unix":["libtidy.a"]},qt={source:"unixodbc","static-libs-unix":["libodbc.a","libodbccr.a","libodbcinst.a"],"lib-depends":["libiconv"]},Et={source:"watcher","cpp-library":!0,"static-libs-unix":["libwatcher-c.a"],headers:["wtr/watcher-c.h"]},Wt={source:"xz","static-libs-unix":["liblzma.a"],"static-libs-windows":["lzma.lib","liblzma_a.lib"],"headers-unix":["lzma"],"headers-windows":["lzma","lzma.h"],"lib-depends-unix":["libiconv"]},$t={source:"zlib","static-libs-unix":["libz.a"],"static-libs-windows":["zlib_a.lib"],headers:["zlib.h","zconf.h"]},Pt={source:"zstd","static-libs-unix":["libzstd.a"],"static-libs-windows":[["zstd.lib","zstd_static.lib"]],"headers-unix":["zdict.h","zstd.h","zstd_errors.h"],"headers-windows":["zstd.h","zstd_errors.h"]},It={"lib-base":{type:"root"},php:hs,frankenphp:ys,micro:vs,"pkg-config":{type:"package",source:"pkg-config","bin-unix":["pkg-config"]},attr:fs,brotli:zs,bzip2:ks,curl:Ss,fastlz:Ds,freetype:Bs,gettext:Cs,glfw:qs,gmp:Es,gmssl:Ws,grpc:$s,icu:Ps,"icu-static-win":{source:"icu-static-win","static-libs-windows":["icudt.lib","icuin.lib","icuio.lib","icuuc.lib"],"headers-windows":["unicode"]},imagemagick:Is,imap:Ls,jbig:Us,ldap:js,lerc:As,libacl:Ns,libaom:Os,libargon2:Vs,libavif:Ts,libcares:Ms,libde265:Gs,libedit:Xs,libevent:Hs,libffi:Rs,"libffi-win":{source:"libffi-win","static-libs-windows":["libffi.lib"],"headers-windows":["ffi.h","ffitarget.h","fficonfig.h"]},libheif:Fs,libiconv:Zs,"libiconv-win":{source:"libiconv-win","static-libs-windows":["libiconv.lib","libiconv_a.lib"]},libjpeg:Qs,libjxl:Ks,liblz4:Ys,libmemcached:Js,libpng:_s,librabbitmq:et,librdkafka:it,libsodium:st,libssh2:tt,libtiff:lt,liburing:nt,libuuid:ot,libuv:at,libwebp:dt,libxml2:ut,libxslt:pt,libyaml:ct,libzip:rt,mimalloc:bt,ncurses:wt,"net-snmp":{source:"net-snmp","pkg-configs":["netsnmp","netsnmp-agent"],"lib-depends":["openssl","zlib"]},nghttp2:gt,nghttp3:xt,ngtcp2:mt,onig:ht,openssl:yt,postgresql:vt,"postgresql-win":{source:"postgresql-win","static-libs":["libpq.lib","libpgport.lib","libpgcommon.lib"]},pthreads4w:ft,qdbm:zt,re2c:kt,readline:St,snappy:Dt,sqlite:Bt,tidy:Ct,unixodbc:qt,watcher:Et,xz:Wt,zlib:$t,zstd:Pt};function j(i,o,d,p){return i.os==="linux"?i[o][d][p+"-linux"]??i[o][d][p+"-unix"]??i[o][d][p]??[]:i.os==="macos"?i[o][d][p+"-macos"]??i[o][d][p+"-unix"]??i[o][d][p]??[]:i.os==="windows"?i[o][d][p+"-windows"]??i[o][d][p]??[]:[]}function ue(i,o){return j(i,"ext",o,"ext-depends")}function Lt(i,o){return j(i,"ext",o,"ext-suggests")}function Ut(i,o){return j(i,"ext",o,"lib-depends")}function jt(i,o){return j(i,"ext",o,"lib-suggests")}function pe(i,o){return j(i,"lib",o,"lib-depends")}function At(i,o){return j(i,"lib",o,"lib-suggests")}function Nt(i,o){const d=[],p=new Set,u=[];o.forEach(D=>{p.has(D)||Tt(i,D,p,d)});const h=[];return d.forEach(D=>{o.indexOf(D)===-1&&u.push(D),[...Ut(i,D),...jt(i,D)].forEach(y=>{h.indexOf(y)===-1&&h.push(y)})}),{exts:d,libs:Ot(i,h),notIncludedExts:u}}function Ot(i,o){const d=[],p=new Set;return o.forEach(u=>{p.has(u)||(console.log("before visited"),console.log(p),Vt(i,u,p,d),console.log("after visited"),console.log(p))}),d}function Vt(i,o,d,p){if(d.has(o))return;d.add(o),[...pe(i,o),...At(i,o)].forEach(h=>{ce(i,h,d,p)}),p.push(o)}function ce(i,o,d,p){d.has(o)||(d.add(o),pe(i,o).forEach(u=>{ce(i,u,d,p)}),p.push(o))}function re(i,o,d,p){d.has(d)||(d.add(o),ue(i,o).forEach(u=>{re(i,u,d,p)}),p.push(o))}function Tt(i,o,d,p){if(d.has(o))return;d.add(o),[...ue(i,o),...Lt(i,o)].forEach(h=>{re(i,h,d,p)}),p.push(o)}const Mt={class:"option-line"},Gt=["id","value","disabled"],Xt=["for"],Ht={class:"option-line"},Rt=["disabled"],Ft={class:"box"},Zt=["placeholder"],Qt=["id","value","disabled"],Kt=["for"],Yt={style:{color:"orangered","font-weight":"bolder"}},Jt={class:"details custom-block",open:""},_t={class:"box"},el=["id","value","disabled"],il=["for"],sl={class:"tip custom-block"},tl={class:"box"},ll=["id","value"],nl=["for"],ol={key:2,class:"warning custom-block"},al={key:3,class:"warning custom-block"},dl={value:"native"},ul={value:"spc"},pl={key:0,value:"docker"},cl=["value"],rl={for:"debug-yes"},bl={for:"debug-no"},wl={for:"zts-yes"},gl={for:"zts-no"},xl={for:"show-download-yes"},ml={for:"show-download-no"},hl={for:"pre-built-yes"},yl={for:"pre-built-no"},vl={key:0},fl={for:"upx-yes"},zl={for:"upx-no"},kl=["placeholder"],Sl={key:4,class:"command-container"},Dl={key:0,class:"command-preview"},Bl={class:"command-content"},Cl={key:1},ql={class:"warning custom-block"},El={key:5,class:"command-container"},Wl={class:"command-preview"},$l={class:"command-content"},Pl={key:6,class:"command-container"},Il={class:"command-preview"},Ll={class:"command-content"},Ul={key:7,class:"command-container"},jl={class:"command-preview"},Al={class:"command-content"},Nl={class:"command-container"},Ol={class:"command-preview"},Vl={class:"command-content"},Tl={class:"command-container"},Ml={class:"command-preview"},Gl={class:"command-content"},Xl={class:"command-container"},Hl={class:"command-preview pre"},Rl={class:"command-content"},Fl={name:"CliGenerator"},Zl=fe({...Fl,props:{lang:{type:String,default:"zh"}},setup(i){const o=new Map([["linux","Linux"],["macos","Darwin"],["windows","Windows"]]),d=["cli","fpm","micro","embed","frankenphp","all"],p=["8.0","8.1","8.2","8.3","8.4","8.5"],u=w(ms),h=w(It),D=w([]),C=w(""),y=w([]),q=w([]),H=w([]),M=w([]),z=w(["cli"]),G=w("spc"),L=w("8.4"),r=w("linux"),X=w("x86_64"),B=w(0),U=w(0),A=w(1),$=w(1),E=w(0),R=w(""),ne=w("--build-cli"),v=w({spcDownload:!1,downloadExt:!1,downloadAll:!1,downloadPkg:!1,build:!1,craft:!1,doctor:!1}),be=[{os:"linux",label:"Linux",disabled:!1},{os:"macos",label:"macOS",disabled:!1},{os:"windows",label:"Windows",disabled:!1}],oe=k(()=>Object.entries(u.value).filter(([a])=>ge(a,r.value)).map(([a])=>a)),F=k(()=>y.value.join(",")),Z=k(()=>{const a=q.value.filter(t=>M.value.indexOf(t)===-1);return a.length>0?` --with-libs="${a.join(",")}"`:""}),N=k(()=>{switch(G.value){case"native":return"bin/spc";case"spc":return r.value==="windows"?".\\spc.exe":"./spc";case"docker":return"bin/spc-alpine-docker";default:return""}}),Q=k(()=>r.value==="windows"?"":`curl -fsSL -o spc.tgz https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-${r.value}-${X.value}.tar.gz && tar -zxvf spc.tgz && rm spc.tgz`),we=k(()=>{const t=R.value.split(`
|
||
`).filter(s=>s.indexOf("=")>=1);return t.length>0?" "+t.map(s=>`-I "${s}"`).join(" "):""}),K=k(()=>`${N.value} download --all --with-php=${L.value}${$.value?" --prefer-pre-built":""}${B.value?" --debug":""}`),Y=k(()=>`${N.value} download --with-php=${L.value} --for-extensions "${F.value}"${$.value?" --prefer-pre-built":""}${B.value?" --debug":""}`),J=k(()=>`${N.value} install-pkg upx${B.value?" --debug":""}`),_=k(()=>`${N.value} doctor --auto-fix${B.value?" --debug":""}`),ee=k(()=>`${N.value} build ${ne.value} "${F.value}"${Z.value}${B.value?" --debug":""}${U.value?" --enable-zts":""}${E.value?" --with-upx-pack":""}${we.value}`),ie=k(()=>{let a=`php-version: ${L.value}
|
||
`;return a+=`extensions: "${F.value}"
|
||
`,z.value.join(",")==="all"?a+="sapi: "+["cli","fpm","micro","embed","frankenphp"].join(",")+`
|
||
`:a+=`sapi: ${z.value.join(",")}
|
||
`,Z.value&&(a+=`libs: ${Z.value.replace('--with-libs="',"").replace('"',"").trim()}
|
||
`),B.value&&(a+=`debug: true
|
||
`),$.value&&(a+=`download-options:
|
||
`,a+=` prefer-pre-built: true
|
||
`),a+="{{position_hold}}",E.value&&(a+=` with-upx-pack: true
|
||
`),U.value&&(a+=` enable-zts: true
|
||
`),a.endsWith("{{position_hold}}")?a=a.replace("{{position_hold}}",""):a=a.replace("{{position_hold}}",`build-options:
|
||
`),a}),ge=(a,t)=>{const s=o.get(t),b=u.value[a]?.support?.[s]??"yes";return b==="yes"||b==="partial"},xe=()=>{y.value=["apcu","bcmath","calendar","ctype","curl","dba","dom","exif","filter","fileinfo","gd","iconv","intl","mbstring","mbregex","mysqli","mysqlnd","openssl","opcache","pcntl","pdo","pdo_mysql","pdo_sqlite","pdo_pgsql","pgsql","phar","posix","readline","redis","session","simplexml","sockets","sodium","sqlite3","tokenizer","xml","xmlreader","xmlwriter","xsl","zip","zlib"]},me=()=>{y.value=[...oe.value]},he=a=>{if(a.target.value==="all")z.value=["all"];else{const s=z.value.indexOf("all");s!==-1&&z.value.splice(s,1)}ne.value=z.value.map(s=>`--build-${s}`).join(" ")},se=(a,t)=>{if(!C.value||!a.includes(C.value))return t===0?a:"";const s=a.indexOf(C.value);switch(t){case 0:return a.substring(0,s);case 1:return C.value;case 2:return a.substring(s+C.value.length);default:return""}},P=async a=>{try{await navigator.clipboard.writeText(a);const s={[Q.value]:"spcDownload",[Y.value]:"downloadExt",[K.value]:"downloadAll",[J.value]:"downloadPkg",[_.value]:"doctor",[ee.value]:"build",[ie.value]:"craft"}[a];s&&(v.value[s]=!0,setTimeout(()=>{v.value[s]=!1},2e3))}catch(t){console.error("Failed to copy text: ",t);const s=document.createElement("textarea");s.value=a,document.body.appendChild(s),s.select(),document.execCommand("copy"),document.body.removeChild(s)}},ye=a=>{const t=new Set,s=b=>{let c=[];r.value==="linux"?c=u.value[b]?.["ext-depends-linux"]??u.value[b]?.["ext-depends-unix"]??u.value[b]?.["ext-depends"]??[]:r.value==="macos"?c=u.value[b]?.["ext-depends-macos"]??u.value[b]?.["ext-depends-unix"]??u.value[b]?.["ext-depends"]??[]:r.value==="windows"&&(c=u.value[b]?.["ext-depends-windows"]??u.value[b]?.["ext-depends"]??[]),c.length!==0&&c.forEach(f=>{t.add(f),s(f)})};return a.forEach(s),Array.from(t)},ve=a=>{const t=new Set,s=c=>{let f=[];r.value==="linux"?f=h.value[c]?.["lib-depends-linux"]??h.value[c]?.["lib-depends-unix"]??h.value[c]?.["lib-depends"]??[]:r.value==="macos"?f=h.value[c]?.["lib-depends-macos"]??h.value[c]?.["lib-depends-unix"]??h.value[c]?.["lib-depends"]??[]:r.value==="windows"&&(f=h.value[c]?.["lib-depends-windows"]??h.value[c]?.["lib-depends"]??[]),f.length!==0&&f.forEach(O=>{t.add(O),s(O)})},b=c=>{let f=[];r.value==="linux"?f=u.value[c]?.["lib-depends-linux"]??u.value[c]?.["lib-depends-unix"]??u.value[c]?.["lib-depends"]??[]:r.value==="macos"?f=u.value[c]?.["lib-depends-macos"]??u.value[c]?.["lib-depends-unix"]??u.value[c]?.["lib-depends"]??[]:r.value==="windows"&&(f=u.value[c]?.["lib-depends-windows"]??u.value[c]?.["lib-depends"]??[]),f.length!==0&&f.forEach(O=>{t.add(O),s(O)})};return a.forEach(b),Array.from(t)};ae(r,()=>{r.value==="windows"&&(X.value="x86_64"),y.value=[],E.value=0}),ae(y,a=>{H.value=ye(a),H.value.forEach(s=>{y.value.indexOf(s)===-1&&y.value.push(s)}),y.value.sort();const t=Nt({ext:u.value,lib:h.value,os:r.value},y.value);D.value=t.libs.sort(),q.value=[],M.value=ve(t.exts),M.value.forEach(s=>{q.value.indexOf(s)===-1&&q.value.push(s)})},{deep:!0});const n={zh:{selectExt:"选择扩展",buildTarget:"选择编译目标",buildOptions:"编译选项",buildEnvironment:"编译环境",buildEnvNative:"本地构建(Git 源码)",buildEnvSpc:"本地构建(独立 spc 二进制)",buildEnvDocker:"Alpine Docker 构建",useDebug:"是否开启调试输出",yes:"是",no:"否",resultShow:"结果展示",selectCommon:"选择常用扩展",selectAll:"选择全部",selectNone:"全部取消选择",useZTS:"是否编译线程安全版",hardcodedINI:"硬编码 INI 选项",hardcodedINIPlacehoder:"如需要硬编码 ini,每行写一个,例如:memory_limit=2G",resultShowDownload:"是否展示仅下载对应扩展依赖的命令",downloadExtOnlyCommand:"只下载对应扩展的依赖包命令",downloadAllCommand:"下载所有依赖包命令",downloadUPXCommand:"下载 UPX 命令",compileCommand:"编译命令",downloadPhpVersion:"下载 PHP 版本",downloadSPCBinaryCommand:"下载 spc 二进制命令",selectedArch:"选择系统架构",selectedSystem:"选择操作系统",buildLibs:"要构建的库",depTips:"选择扩展后,不可选中的项目为必需的依赖,编译的依赖库列表中可选的为现有扩展和依赖库的可选依赖。选择可选依赖后,将生成 --with-libs 参数。",depTips2:"无法同时构建所有扩展,因为有些扩展之间相互冲突。请根据需要选择扩展。",microUnavailable:"micro 不支持 PHP 7.4 及更早版本!",windowsSAPIUnavailable:"Windows 目前不支持 fpm、embed、frankenphp 构建!",useUPX:"是否开启 UPX 压缩(减小二进制体积)",windowsDownSPCWarning:"Windows 下请手动下载 spc.exe 二进制文件,解压到当前目录并重命名为 spc.exe!",usePreBuilt:"如果可能,下载预编译的依赖库(减少编译时间)",searchPlaceholder:"搜索扩展...",copy:"复制",copied:"已复制",doctorCommand:"自动检查和准备构建环境命令"},en:{selectExt:"Select Extensions",buildTarget:"Build Target",buildOptions:"Build Options",buildEnvironment:"Build Environment",buildEnvNative:"Native build (Git source code)",buildEnvSpc:"Native build (standalone spc binary)",buildEnvDocker:"Alpine docker build",useDebug:"Enable debug message",yes:"Yes",no:"No",resultShow:"Result",selectCommon:"Select common extensions",selectAll:"Select all",selectNone:"Unselect all",useZTS:"Enable ZTS",hardcodedINI:"Hardcoded INI options",hardcodedINIPlacehoder:"If you need to hardcode ini, write one per line, for example: memory_limit=2G",resultShowDownload:"Download with corresponding extension dependencies",downloadExtOnlyCommand:"Download sources by extensions command",downloadAllCommand:"Download all sources command",downloadUPXCommand:"Download UPX command",compileCommand:"Compile command",downloadPhpVersion:"Download PHP version",downloadSPCBinaryCommand:"Download spc binary command",selectedArch:"Select build architecture",selectedSystem:"Select Build OS",buildLibs:"Select Dependencies",depTips:"After selecting the extensions, the unselectable items are essential dependencies. In the compiled dependencies list, optional dependencies consist of existing extensions and optional dependencies of libraries. Optional dependencies will be added in --with-libs parameter.",depTips2:"It is not possible to build all extensions at the same time, as some extensions conflict with each other. Please select the extensions you need.",microUnavailable:"Micro does not support PHP 7.4 and earlier versions!",windowsSAPIUnavailable:"Windows does not support fpm, embed and frankenphp build!",useUPX:"Enable UPX compression (reduce binary size)",windowsDownSPCWarning:"Please download the binary file manually, extract it to the current directory and rename to spc.exe on Windows!",usePreBuilt:"Download pre-built dependencies if possible (reduce compile time)",searchPlaceholder:"Search extensions...",copy:"Copy",copied:"Copied",doctorCommand:"Auto-check and prepare build environment command"}};return(a,t)=>(x(),g("div",null,[e("h2",null,l(n[i.lang].selectedSystem),1),e("div",Mt,[(x(),g(V,null,T(be,(s,b)=>e("span",{key:b,style:{"margin-right":"8px"}},[m(e("input",{type:"radio",id:"os-"+s.os,value:s.os,disabled:s.disabled===!0,"onUpdate:modelValue":t[0]||(t[0]=c=>r.value=c)},null,8,Gt),[[S,r.value]]),e("label",{for:"os-"+s.os},l(s.label),9,Xt)])),64))]),e("div",Ht,[m(e("select",{"onUpdate:modelValue":t[1]||(t[1]=s=>X.value=s)},[t[27]||(t[27]=e("option",{value:"x86_64"},"x86_64",-1)),e("option",{value:"aarch64",disabled:r.value==="windows"},"aarch64",8,Rt)],512),[[te,X.value]])]),e("h2",null,l(n[i.lang].selectExt)+l(y.value.length>0?" ("+y.value.length+")":""),1),e("div",Ft,[m(e("input",{class:"input","onUpdate:modelValue":t[2]||(t[2]=s=>C.value=s),placeholder:n[i.lang].searchPlaceholder},null,8,Zt),[[de,C.value]]),t[28]||(t[28]=e("br",null,null,-1)),(x(!0),g(V,null,T(oe.value,s=>(x(),g("div",{key:s,class:"ext-item"},[e("span",null,[m(e("input",{type:"checkbox",id:s,value:s,"onUpdate:modelValue":t[3]||(t[3]=b=>y.value=b),disabled:H.value.indexOf(s)!==-1},null,8,Qt),[[le,y.value]]),e("label",{for:s},[e("span",null,l(se(s,0)),1),e("span",Yt,l(se(s,1)),1),e("span",null,l(se(s,2)),1)],8,Kt)])]))),128))]),r.value!=="windows"?(x(),g("div",{key:0,class:"my-btn",onClick:xe},l(n[i.lang].selectCommon),1)):W("",!0),r.value!=="windows"?(x(),g("div",{key:1,class:"my-btn",onClick:me},l(n[i.lang].selectAll),1)):W("",!0),e("div",{class:"my-btn",onClick:t[4]||(t[4]=s=>y.value=[])},l(n[i.lang].selectNone),1),e("details",Jt,[e("summary",null,l(n[i.lang].buildLibs)+l(q.value.length>0?" ("+q.value.length+")":""),1),e("div",_t,[(x(!0),g(V,null,T(D.value,(s,b)=>(x(),g("div",{key:b,class:"ext-item"},[m(e("input",{type:"checkbox",id:b,value:s,"onUpdate:modelValue":t[5]||(t[5]=c=>q.value=c),disabled:M.value.indexOf(s)!==-1},null,8,el),[[le,q.value]]),e("label",{for:b},l(s),9,il)]))),128))])]),e("div",sl,[t[29]||(t[29]=e("p",{class:"custom-block-title"},"TIP",-1)),e("p",null,l(n[i.lang].depTips),1),e("p",null,l(n[i.lang].depTips2),1)]),e("h2",null,l(n[i.lang].buildTarget),1),e("div",tl,[(x(),g(V,null,T(d,s=>e("div",{key:s,class:"ext-item"},[m(e("input",{type:"checkbox",id:"build_"+s,value:s,"onUpdate:modelValue":t[6]||(t[6]=b=>z.value=b),onChange:he},null,40,ll),[[le,z.value]]),e("label",{for:"build_"+s},l(s),9,nl)])),64))]),L.value==="7.4"&&(z.value.indexOf("micro")!==-1||z.value.indexOf("all")!==-1)?(x(),g("div",ol,[t[30]||(t[30]=e("p",{class:"custom-block-title"},"WARNING",-1)),e("p",null,l(n[i.lang].microUnavailable),1)])):W("",!0),r.value==="windows"&&(z.value.indexOf("fpm")!==-1||z.value.indexOf("embed")!==-1||z.value.indexOf("frankenphp")!==-1)?(x(),g("div",al,[t[31]||(t[31]=e("p",{class:"custom-block-title"},"WARNING",-1)),e("p",null,l(n[i.lang].windowsSAPIUnavailable),1)])):W("",!0),e("h2",null,l(n[i.lang].buildOptions),1),e("table",null,[e("tr",null,[e("td",null,l(n[i.lang].buildEnvironment),1),e("td",null,[m(e("select",{"onUpdate:modelValue":t[7]||(t[7]=s=>G.value=s)},[e("option",dl,l(n[i.lang].buildEnvNative),1),e("option",ul,l(n[i.lang].buildEnvSpc),1),r.value!=="windows"?(x(),g("option",pl,l(n[i.lang].buildEnvDocker),1)):W("",!0)],512),[[te,G.value]])])]),e("tr",null,[e("td",null,l(n[i.lang].downloadPhpVersion),1),e("td",null,[m(e("select",{"onUpdate:modelValue":t[8]||(t[8]=s=>L.value=s)},[(x(),g(V,null,T(p,s=>e("option",{key:s,value:s},l(s),9,cl)),64))],512),[[te,L.value]])])]),e("tr",null,[e("td",null,l(n[i.lang].useDebug),1),e("td",null,[m(e("input",{type:"radio",id:"debug-yes",value:1,"onUpdate:modelValue":t[9]||(t[9]=s=>B.value=s)},null,512),[[S,B.value]]),e("label",rl,l(n[i.lang].yes),1),m(e("input",{type:"radio",id:"debug-no",value:0,"onUpdate:modelValue":t[10]||(t[10]=s=>B.value=s)},null,512),[[S,B.value]]),e("label",bl,l(n[i.lang].no),1)])]),e("tr",null,[e("td",null,l(n[i.lang].useZTS),1),e("td",null,[m(e("input",{type:"radio",id:"zts-yes",value:1,"onUpdate:modelValue":t[11]||(t[11]=s=>U.value=s)},null,512),[[S,U.value]]),e("label",wl,l(n[i.lang].yes),1),m(e("input",{type:"radio",id:"zts-no",value:0,"onUpdate:modelValue":t[12]||(t[12]=s=>U.value=s)},null,512),[[S,U.value]]),e("label",gl,l(n[i.lang].no),1)])]),e("tr",null,[e("td",null,l(n[i.lang].resultShowDownload),1),e("td",null,[m(e("input",{type:"radio",id:"show-download-yes",value:1,"onUpdate:modelValue":t[13]||(t[13]=s=>A.value=s)},null,512),[[S,A.value]]),e("label",xl,l(n[i.lang].yes),1),m(e("input",{type:"radio",id:"show-download-no",value:0,"onUpdate:modelValue":t[14]||(t[14]=s=>A.value=s)},null,512),[[S,A.value]]),e("label",ml,l(n[i.lang].no),1)])]),e("tr",null,[e("td",null,l(n[i.lang].usePreBuilt),1),e("td",null,[m(e("input",{type:"radio",id:"pre-built-yes",value:1,"onUpdate:modelValue":t[15]||(t[15]=s=>$.value=s)},null,512),[[S,$.value]]),e("label",hl,l(n[i.lang].yes),1),m(e("input",{type:"radio",id:"pre-built-no",value:0,"onUpdate:modelValue":t[16]||(t[16]=s=>$.value=s)},null,512),[[S,$.value]]),e("label",yl,l(n[i.lang].no),1)])]),r.value!=="macos"?(x(),g("tr",vl,[e("td",null,l(n[i.lang].useUPX),1),e("td",null,[m(e("input",{type:"radio",id:"upx-yes",value:1,"onUpdate:modelValue":t[17]||(t[17]=s=>E.value=s)},null,512),[[S,E.value]]),e("label",fl,l(n[i.lang].yes),1),m(e("input",{type:"radio",id:"upx-no",value:0,"onUpdate:modelValue":t[18]||(t[18]=s=>E.value=s)},null,512),[[S,E.value]]),e("label",zl,l(n[i.lang].no),1)])])):W("",!0)]),e("h2",null,l(n[i.lang].hardcodedINI),1),m(e("textarea",{class:"textarea",placeholder:n[i.lang].hardcodedINIPlacehoder,"onUpdate:modelValue":t[19]||(t[19]=s=>R.value=s),rows:"5"},null,8,kl),[[de,R.value]]),e("h2",null,l(n[i.lang].resultShow),1),G.value==="spc"?(x(),g("div",Sl,[e("b",null,l(n[i.lang].downloadSPCBinaryCommand),1),r.value!=="windows"?(x(),g("div",Dl,[e("div",Bl,l(Q.value),1),e("button",{class:I(["copy-btn",{copied:v.value.spcDownload}]),onClick:t[20]||(t[20]=s=>P(Q.value))},l(v.value.spcDownload?n[i.lang].copied:n[i.lang].copy),3)])):(x(),g("div",Cl,[e("div",ql,[t[32]||(t[32]=e("p",{class:"custom-block-title"},"WARNING",-1)),e("p",null,l(n[i.lang].windowsDownSPCWarning),1),t[33]||(t[33]=e("a",{href:"https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-windows-x64.exe",target:"_blank"},"https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-windows-x64.exe",-1))])]))])):W("",!0),A.value?(x(),g("div",El,[e("b",null,l(n[i.lang].downloadExtOnlyCommand),1),e("div",Wl,[e("div",$l,l(Y.value),1),e("button",{class:I(["copy-btn",{copied:v.value.downloadExt}]),onClick:t[21]||(t[21]=s=>P(Y.value))},l(v.value.downloadExt?n[i.lang].copied:n[i.lang].copy),3)])])):(x(),g("div",Pl,[e("b",null,l(n[i.lang].downloadAllCommand),1),e("div",Il,[e("div",Ll,l(K.value),1),e("button",{class:I(["copy-btn",{copied:v.value.downloadAll}]),onClick:t[22]||(t[22]=s=>P(K.value))},l(v.value.downloadAll?n[i.lang].copied:n[i.lang].copy),3)])])),E.value?(x(),g("div",Ul,[e("b",null,l(n[i.lang].downloadUPXCommand),1),e("div",jl,[e("div",Al,l(J.value),1),e("button",{class:I(["copy-btn",{copied:v.value.downloadPkg}]),onClick:t[23]||(t[23]=s=>P(J.value))},l(v.value.downloadPkg?n[i.lang].copied:n[i.lang].copy),3)])])):W("",!0),e("div",Nl,[e("b",null,l(n[i.lang].doctorCommand),1),e("div",Ol,[e("div",Vl,l(_.value),1),e("button",{class:I(["copy-btn",{copied:v.value.doctor}]),onClick:t[24]||(t[24]=s=>P(_.value))},l(v.value.doctor?n[i.lang].copied:n[i.lang].copy),3)])]),e("div",Tl,[e("b",null,l(n[i.lang].compileCommand),1),e("div",Ml,[e("div",Gl,l(ee.value),1),e("button",{class:I(["copy-btn",{copied:v.value.build}]),onClick:t[25]||(t[25]=s=>P(ee.value))},l(v.value.build?n[i.lang].copied:n[i.lang].copy),3)])]),e("div",Xl,[t[34]||(t[34]=e("b",null,"craft.yml",-1)),e("div",Hl,[e("div",Rl,l(ie.value),1),e("button",{class:I(["copy-btn",{copied:v.value.craft}]),onClick:t[26]||(t[26]=s=>P(ie.value))},l(v.value.craft?n[i.lang].copied:n[i.lang].copy),3)])])]))}}),Kl=ze(Zl,[["__scopeId","data-v-16f54071"]]);export{Kl as C};
|