static-php-cli/assets/chunks/CliGenerator.D2FJpN3t.js

13 lines
39 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{d as ge,x as w,h as z,z as G,c as g,o as x,j as e,e as C,ag as m,t as n,G as N,H as O,ah as f,ai as F,aj as Y,ak as Z,a as xe,_ as me}from"./framework.PeLcR_tw.js";const he={support:{BSD:"wip"},type:"external","arg-type":"custom",source:"amqp","lib-depends":["librabbitmq"],"ext-depends-windows":["openssl"]},ye={type:"external",source:"apcu"},ve={type:"external",source:"ast"},fe={type:"builtin"},ze={type:"external",source:"ext-brotli","arg-type":"enable","lib-depends":["brotli"]},Se={type:"builtin","arg-type-unix":"with-prefix","arg-type-windows":"with","lib-depends":["bzip2"]},De={type:"builtin"},ke={type:"builtin"},Be={notes:!0,type:"builtin","arg-type":"with","lib-depends":["curl"],"ext-depends-windows":["zlib","openssl"]},qe={type:"builtin","arg-type":"custom","lib-suggests":["qdbm"]},Ee={support:{BSD:"wip"},type:"external",source:"dio"},Ce={support:{BSD:"wip"},type:"builtin","arg-type":"custom","arg-type-windows":"with","lib-depends":["libxml2","zlib"],"ext-depends-windows":["xml"]},We={type:"external",source:"ext-ds"},Pe={support:{Windows:"wip",BSD:"wip",Darwin:"wip",Linux:"wip"},type:"wip"},Ie={type:"external",source:"ev","arg-type-windows":"with","ext-depends":["sockets"]},$e={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"ext-event","arg-type":"custom","lib-depends":["libevent"],"ext-depends":["openssl"],"ext-suggests":["sockets"]},Ue={type:"builtin"},Le={support:{Linux:"partial",BSD:"wip"},notes:!0,"arg-type":"custom",type:"builtin","lib-depends-unix":["libffi"],"lib-depends-windows":["libffi-win"]},Ne={type:"builtin"},Oe={type:"builtin"},Ve={type:"builtin","lib-suggests":["openssl"]},Ae={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"]},Te={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-prefix","lib-depends":["gettext"]},je={support:{Windows:"wip",BSD:"no",Linux:"no"},notes:!0,type:"external","arg-type":"custom",source:"ext-glfw","lib-depends":["glfw"],"lib-depends-windows":[]},Ge={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-prefix","lib-depends":["gmp"]},Xe={support:{BSD:"wip"},type:"external",source:"ext-gmssl","lib-depends":["gmssl"]},He={support:{Windows:"wip",BSD:"wip"},type:"external",source:"grpc","arg-type-unix":"custom","cpp-extension":!0,"lib-depends":["grpc"]},Me={support:{BSD:"wip"},type:"builtin","arg-type":"with-prefix","arg-type-windows":"with","lib-depends-unix":["libiconv"],"lib-depends-windows":["libiconv-win"]},_e={support:{BSD:"wip"},type:"external",source:"igbinary","ext-suggests":["session","apcu"]},Re={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"ext-imagick","arg-type":"custom","lib-depends":["imagemagick"]},Fe={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"ext-imap","arg-type":"custom","lib-depends":["imap"],"ext-suggests":["openssl"]},Ze={support:{Windows:"no",BSD:"wip",Darwin:"no"},type:"external",source:"inotify"},Qe={support:{Windows:"no",BSD:"wip"},type:"builtin","lib-depends":["icu"]},Ke={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-prefix","lib-depends":["ldap"],"lib-suggests":["gmp","libsodium"],"ext-suggests":["openssl"]},Ye={support:{BSD:"wip"},type:"builtin","arg-type":"none",target:["static"]},Je={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-lz4","arg-type":"custom","lib-depends":["liblz4"]},ei={type:"builtin","arg-type":"custom",target:["static"],"ext-depends":["mbstring"],"lib-depends":["onig"]},ii={type:"builtin","arg-type":"custom"},si={type:"wip",support:{Windows:"no",BSD:"no",Darwin:"no",Linux:"no"},notes:!0},ti={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-memcache","arg-type":"custom","ext-depends":["zlib","session"],"build-with-php":!0},li={support:{Windows:"wip",BSD:"wip"},type:"external",source:"memcached","arg-type":"custom","cpp-extension":!0,"lib-depends":["libmemcached"],"lib-depends-unix":["libmemcached","fastlz"],"ext-depends":["session","zlib"]},ni={support:{BSD:"wip",Windows:"wip"},type:"external",source:"mongodb","arg-type":"custom","lib-suggests":["icu","openssl","zstd","zlib"],frameworks:["CoreFoundation","Security"]},oi={support:{BSD:"wip"},type:"external",source:"msgpack","arg-type-unix":"with","arg-type-win":"enable","ext-depends":["session"]},ai={type:"builtin","arg-type":"with","ext-depends":["mysqlnd"]},di={type:"builtin","arg-type-windows":"with","lib-depends":["zlib"]},ui={type:"wip",support:{Windows:"wip",BSD:"no",Darwin:"no",Linux:"no"},notes:!0},pi={support:{BSD:"wip",Windows:"wip"},type:"builtin","arg-type-unix":"custom","lib-depends-unix":["unixodbc"]},ri={type:"builtin","arg-type-unix":"custom","zend-extension":!0},ci={notes:!0,type:"builtin","arg-type":"custom","arg-type-windows":"with","lib-depends":["openssl","zlib"],"ext-depends":["zlib"]},bi={support:{BSD:"wip"},type:"external",source:"opentelemetry"},wi={support:{BSD:"wip"},notes:!0,type:"external",source:"parallel","arg-type-windows":"with","lib-depends-windows":["pthreads4w"]},gi={support:{Windows:"no"},type:"builtin","unix-only":!0},xi={type:"builtin"},mi={type:"builtin","arg-type":"with","ext-depends":["pdo","mysqlnd"]},hi={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends-unix":["unixodbc"],"ext-depends":["pdo","odbc"]},yi={support:{BSD:"wip"},type:"builtin","arg-type":"with-prefix","arg-type-windows":"custom","ext-depends":["pdo","pgsql"],"lib-depends-unix":["postgresql"],"lib-depends-windows":["postgresql-win"]},vi={support:{BSD:"wip"},type:"builtin","arg-type":"with","ext-depends":["pdo","sqlite3"],"lib-depends":["sqlite"]},fi={support:{BSD:"wip"},type:"external",source:"pdo_sqlsrv","arg-type":"with","ext-depends":["pdo","sqlsrv"]},zi={support:{BSD:"wip"},notes:!0,type:"builtin","arg-type":"custom","lib-depends-unix":["postgresql"],"lib-depends-windows":["postgresql-win"]},Si={type:"builtin","ext-depends":["zlib"]},Di={support:{Windows:"no"},type:"builtin","unix-only":!0},ki={support:{Windows:"wip",BSD:"wip"},type:"external",source:"protobuf"},Bi={support:{BSD:"wip",Darwin:"partial"},notes:!0,type:"external",source:"rar","cpp-extension":!0},qi={support:{BSD:"wip",Windows:"wip"},type:"external",source:"ext-rdkafka","arg-type":"custom","cpp-extension":!0,"lib-depends":["librdkafka"]},Ei={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-prefix","lib-depends":["readline"],target:["static"]},Ci={support:{BSD:"wip"},type:"external",source:"redis","arg-type":"custom","ext-suggests":["session","igbinary"],"lib-suggests-unix":["zstd","liblz4"]},Wi={type:"builtin","build-with-php":!0},Pi={type:"builtin","build-with-php":!0},Ii={type:"external",source:"ext-simdjson","cpp-extension":!0},$i={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends":["libxml2"],"ext-depends-windows":["xml"],"build-with-php":!0},Ui={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-snappy","cpp-extension":!0,"arg-type":"custom","lib-depends":["snappy"],"ext-suggests":["apcu"]},Li={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends":["libxml2"],"ext-depends-windows":["xml"]},Ni={type:"builtin"},Oi={support:{BSD:"wip"},type:"builtin","arg-type":"with","lib-depends":["libsodium"]},Vi={support:{BSD:"wip",Windows:"no"},notes:!0,type:"external",source:"spx","arg-type":"custom","lib-depends":["zlib"]},Ai={support:{BSD:"wip"},type:"builtin","arg-type":"with-prefix","arg-type-windows":"with","lib-depends":["sqlite"]},Ti={support:{BSD:"wip"},type:"external",source:"sqlsrv","lib-depends-unix":["unixodbc"],"ext-depends-linux":["pcntl"],"cpp-extension":!0},ji={support:{BSD:"wip"},type:"external",source:"ext-ssh2","arg-type":"with-prefix","arg-type-windows":"with","lib-depends":["libssh2"],"ext-depends":["openssl","zlib"]},Gi={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"],"ext-depends":["openssl","curl"],"ext-suggests":["swoole-hook-pgsql","swoole-hook-mysql","swoole-hook-sqlite"]},Xi={support:{BSD:"wip"},notes:!0,type:"external",source:"swow","arg-type":"custom","lib-suggests":["openssl","curl"],"ext-suggests":["openssl","curl"]},Hi={support:{Windows:"no",BSD:"wip"},type:"builtin","unix-only":!0},Mi={support:{Windows:"no",BSD:"wip"},type:"builtin","unix-only":!0},_i={support:{BSD:"wip"},type:"builtin"},Ri={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-prefix","lib-depends":["tidy"]},Fi={type:"builtin","build-with-php":!0},Zi={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-uuid","arg-type":"with-prefix","lib-depends":["libuuid"]},Qi={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-uv","arg-type":"with-prefix","lib-depends":["libuv"],"ext-depends":["sockets"]},Ki={type:"external",source:"xdebug",target:["shared"],support:{Windows:"wip",BSD:"no",Darwin:"partial",Linux:"partial"},notes:!0,"zend-extension":!0},Yi={support:{Windows:"wip",BSD:"wip"},notes:!0,type:"external",source:"xhprof","ext-depends":["ctype"],"build-with-php":!0},Ji={support:{BSD:"wip"},type:"external",source:"xlswriter","arg-type":"custom","ext-depends":["zlib","zip"],"lib-suggests":["openssl"]},es={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},is={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends":["libxml2"],"ext-depends-windows":["xml","dom"],"build-with-php":!0},ss={support:{BSD:"wip"},type:"builtin","arg-type":"custom","lib-depends":["libxml2"],"ext-depends-windows":["xml"],"build-with-php":!0},ts={support:{Windows:"wip",BSD:"wip"},type:"builtin","arg-type":"with-prefix","lib-depends":["libxslt"],"ext-depends":["xml","dom"]},ls={type:"external",source:"ext-xz","arg-type":"with","lib-depends":["xz"]},ns={support:{BSD:"wip"},type:"external",source:"yac","arg-type-unix":"custom","lib-depends-unix":["fastlz"],"ext-depends-unix":["igbinary"]},os={support:{BSD:"wip"},type:"external",source:"yaml","arg-type-unix":"with-prefix","arg-type-windows":"with","lib-depends":["libyaml"]},as={support:{BSD:"wip"},type:"builtin","arg-type":"with-prefix","arg-type-windows":"enable","lib-depends-unix":["libzip"],"ext-depends-windows":["zlib","bz2"],"lib-depends-windows":["libzip","zlib","bzip2","xz"]},ds={type:"builtin","arg-type":"custom","arg-type-windows":"enable","lib-depends":["zlib"],target:["static"]},us={support:{Windows:"wip",BSD:"wip"},type:"external",source:"ext-zstd","arg-type":"custom","lib-depends":["zstd"]},ps={amqp:he,apcu:ye,ast:ve,bcmath:fe,brotli:ze,bz2:Se,calendar:De,ctype:ke,curl:Be,dba:qe,dio:Ee,dom:Ce,ds:We,enchant:Pe,ev:Ie,event:$e,exif:Ue,ffi:Le,fileinfo:Ne,filter:Oe,ftp:Ve,gd:Ae,gettext:Te,glfw:je,gmp:Ge,gmssl:Xe,grpc:He,iconv:Me,igbinary:_e,imagick:Re,imap:Fe,inotify:Ze,intl:Qe,ldap:Ke,libxml:Ye,lz4:Je,mbregex:ei,mbstring:ii,mcrypt:si,memcache:ti,memcached:li,mongodb:ni,msgpack:oi,mysqli:ai,mysqlnd:di,oci8:ui,odbc:pi,opcache:ri,openssl:ci,opentelemetry:bi,parallel:wi,"password-argon2":{support:{Windows:"wip",BSD:"wip"},notes:!0,type:"builtin","arg-type":"with-prefix","lib-depends":["libargon2"]},pcntl:gi,pdo:xi,pdo_mysql:mi,pdo_odbc:hi,pdo_pgsql:yi,pdo_sqlite:vi,pdo_sqlsrv:fi,pgsql:zi,phar:Si,posix:Di,protobuf:ki,rar:Bi,rdkafka:qi,readline:Ei,redis:Ci,session:Wi,shmop:Pi,simdjson:Ii,simplexml:$i,snappy:Ui,soap:Li,sockets:Ni,sodium:Oi,spx:Vi,sqlite3:Ai,sqlsrv:Ti,ssh2:ji,swoole:Gi,"swoole-hook-mysql":{support:{Windows:"no",BSD:"wip"},notes:!0,type:"addon","arg-type":"custom","ext-depends":["mysqlnd","pdo","pdo_mysql"],"ext-suggests":["mysqli"]},"swoole-hook-pgsql":{support:{Windows:"no",BSD:"wip",Darwin:"partial"},notes:!0,type:"addon","arg-type":"custom","ext-depends":["pgsql","pdo"]},"swoole-hook-sqlite":{support:{Windows:"no",BSD:"wip"},notes:!0,type:"addon","arg-type":"custom","ext-depends":["sqlite3","pdo"]},swow:Xi,sysvmsg:Hi,sysvsem:Mi,sysvshm:_i,tidy:Ri,tokenizer:Fi,uuid:Zi,uv:Qi,xdebug:Ki,xhprof:Yi,xlswriter:Ji,xml:es,xmlreader:is,xmlwriter:ss,xsl:ts,xz:ls,yac:ns,yaml:os,zip:as,zlib:ds,zstd:us},rs={type:"root",source:"php-src","lib-depends":["lib-base","micro"],"lib-suggests-linux":["libacl"]},cs={type:"target",source:"micro"},bs={source:"attr","static-libs-unix":["libattr.a"]},ws={source:"brotli","static-libs-unix":["libbrotlidec.a","libbrotlienc.a","libbrotlicommon.a"],"static-libs-windows":["brotlicommon.lib","brotlienc.lib","brotlidec.lib"],headers:["brotli"]},gs={source:"bzip2","static-libs-unix":["libbz2.a"],"static-libs-windows":["libbz2.lib","libbz2_a.lib"],headers:["bzlib.h"]},xs={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"],"lib-suggests-windows":["brotli","zstd"],frameworks:["CoreFoundation","CoreServices","SystemConfiguration"]},ms={source:"fastlz","static-libs-unix":["libfastlz.a"],headers:["fastlz/fastlz.h"]},hs={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"]},ys={source:"gettext","static-libs-unix":["libintl.a"],"lib-depends":["libiconv"],"lib-suggests":["ncurses","libxml2"],frameworks:["CoreFoundation"]},vs={source:"ext-glfw","static-libs-unix":["libglfw3.a"],frameworks:["CoreVideo","OpenGL","Cocoa","IOKit"]},fs={source:"gmp","static-libs-unix":["libgmp.a"],"static-libs-windows":["libgmp.lib"],headers:["gmp.h"]},zs={source:"gmssl","static-libs-unix":["libgmssl.a"],"static-libs-windows":["gmssl.lib"],frameworks:["Security"]},Ss={source:"grpc","static-libs-unix":["libgrpc.a","libcares.a"],"lib-depends":["zlib","openssl"],frameworks:["CoreFoundation"]},Ds={source:"icu","cpp-library":!0,"static-libs-unix":["libicui18n.a","libicuio.a","libicuuc.a","libicudata.a"]},ks={source:"imagemagick","static-libs-unix":["libMagick++-7.Q16HDRI.a","libMagickWand-7.Q16HDRI.a","libMagickCore-7.Q16HDRI.a"],"lib-depends":["zlib","libpng","libjpeg","libwebp","freetype","libtiff","libheif","bzip2"],"lib-suggests":["zstd","xz","libzip","libxml2"]},Bs={source:"imap","static-libs-unix":["libc-client.a"],"lib-suggests":["openssl"]},qs={source:"ldap","static-libs-unix":["libldap.a","liblber.a"],"lib-depends":["openssl","zlib","gmp","libsodium"]},Es={source:"libacl","static-libs-unix":["libacl.a"],"lib-depends":["attr"]},Cs={source:"libaom","static-libs-unix":["libaom.a"],"cpp-library":!0},Ws={source:"libargon2","static-libs-unix":["libargon2.a"]},Ps={source:"libavif","static-libs-unix":["libavif.a"],"static-libs-windows":["avif.lib"]},Is={source:"libcares","static-libs-unix":["libcares.a"],"headers-unix":["ares.h","ares_dns.h","ares_nameser.h"]},$s={source:"libde265","static-libs-unix":["libde265.a"],"cpp-library":!0},Us={source:"libevent","static-libs-unix":["libevent.a","libevent_core.a","libevent_extra.a","libevent_openssl.a"],"lib-depends":["openssl"]},Ls={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"]},Ns={source:"libheif","static-libs-unix":["libheif.a"],"lib-depends":["libde265","libwebp","libaom","zlib","brotli"]},Os={source:"libiconv","static-libs-unix":["libiconv.a","libcharset.a"],headers:["iconv.h","libcharset.h","localcharset.h"]},Vs={source:"libjpeg","static-libs-unix":["libjpeg.a","libturbojpeg.a"],"static-libs-windows":["libjpeg_a.lib"],"lib-suggests-windows":["zlib"]},As={source:"liblz4","static-libs-unix":["liblz4.a"]},Ts={source:"libmemcached","static-libs-unix":["libmemcached.a","libmemcachedprotocol.a","libmemcachedutil.a","libhashkit.a"]},js={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"]},Gs={source:"librabbitmq","static-libs-unix":["librabbitmq.a"],"static-libs-windows":["rabbitmq.4.lib"],"lib-depends":["openssl"]},Xs={source:"librdkafka","static-libs-unix":["librdkafka.a","librdkafka++.a","librdkafka-static.a"],"cpp-library":!0,"lib-suggests":["zstd"]},Hs={source:"libsodium","static-libs-unix":["libsodium.a"],"static-libs-windows":["libsodium.lib"]},Ms={source:"libssh2","static-libs-unix":["libssh2.a"],"static-libs-windows":["libssh2.lib"],headers:["libssh2.h","libssh2_publickey.h","libssh2_sftp.h"],"lib-depends":["openssl"],"lib-suggests":["zlib"]},_s={source:"libtiff","static-libs-unix":["libtiff.a"],"lib-depends":["zlib","libjpeg"]},Rs={source:"libuuid","static-libs-unix":["libuuid.a"],headers:["uuid/uuid.h"]},Fs={source:"libuv","static-libs-unix":["libuv.a"]},Zs={source:"libwebp","static-libs-unix":["libwebp.a","libwebpdecoder.a","libwebpdemux.a","libwebpmux.a","libsharpyuv.a"],"static-libs-windows":["libwebp.lib","libwebpdecoder.lib","libwebpdemux.lib","libsharpyuv.lib"]},Qs={source:"libxml2","static-libs-unix":["libxml2.a"],"static-libs-windows":["libxml2s.lib","libxml2_a.lib"],headers:["libxml2"],"lib-depends-unix":["libiconv"],"lib-suggests-unix":["xz","icu","zlib"],"lib-depends-windows":["libiconv-win"],"lib-suggests-windows":["zlib"]},Ks={source:"libxslt","static-libs-unix":["libxslt.a","libexslt.a"],"lib-depends":["libxml2"]},Ys={source:"libyaml","static-libs-unix":["libyaml.a"],"static-libs-windows":["yaml.lib"],headers:["yaml.h"]},Js={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"]},et={source:"mimalloc","static-libs-unix":["mimalloc.o"]},it={source:"ncurses","static-libs-unix":["libncurses.a"]},st={source:"nghttp2","static-libs-unix":["libnghttp2.a"],"static-libs-windows":["nghttp2.lib"],headers:["nghttp2"],"lib-depends":["zlib","openssl"],"lib-suggests":["libxml2","nghttp3","ngtcp2"]},tt={source:"nghttp3","static-libs-unix":["libnghttp3.a"],"static-libs-windows":["nghttp3.lib"],headers:["nghttp3"],"lib-depends":["openssl"]},lt={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"]},nt={source:"onig","static-libs-unix":["libonig.a"],"static-libs-windows":["onig.lib","onig_a.lib"],headers:["oniggnu.h","oniguruma.h"]},ot={source:"openssl","static-libs-unix":["libssl.a","libcrypto.a"],"static-libs-windows":["libssl.lib","libcrypto.lib"],headers:["openssl"],"lib-depends":["zlib"]},at={source:"postgresql","static-libs-unix":["libpq.a","libpgport.a","libpgcommon.a"],"lib-depends":["libiconv","libxml2","openssl","zlib","readline"],"lib-suggests":["icu","libxslt","ldap","zstd"]},dt={source:"pthreads4w","static-libs-windows":["libpthreadVC3.lib"]},ut={source:"qdbm","static-libs-unix":["libqdbm.a"],"static-libs-windows":["qdbm_a.lib"],"headers-windows":["depot.h"]},pt={source:"readline","static-libs-unix":["libreadline.a"],"lib-depends":["ncurses"]},rt={source:"snappy","static-libs-unix":["libsnappy.a"],"headers-unix":["snappy.h","snappy-c.h","snappy-sinksource.h","snappy-stubs-public.h"],"lib-depends":["zlib"]},ct={source:"sqlite","static-libs-unix":["libsqlite3.a"],"static-libs-windows":["libsqlite3_a.lib"],headers:["sqlite3.h","sqlite3ext.h"]},bt={source:"tidy","static-libs-unix":["libtidy.a"]},wt={source:"unixodbc","static-libs-unix":["libodbc.a","libodbccr.a","libodbcinst.a"],"lib-depends":["libiconv"]},gt={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"]},xt={source:"zlib","static-libs-unix":["libz.a"],"static-libs-windows":["zlib_a.lib"],headers:["zlib.h","zconf.h"]},mt={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"]},ht={"lib-base":{type:"root","lib-depends-unix":["pkg-config"]},php:rs,micro:cs,"pkg-config":{type:"package",source:"pkg-config","bin-unix":["pkg-config"]},attr:bs,brotli:ws,bzip2:gs,curl:xs,fastlz:ms,freetype:hs,gettext:ys,glfw:vs,gmp:fs,gmssl:zs,grpc:Ss,icu:Ds,imagemagick:ks,imap:Bs,ldap:qs,libacl:Es,libaom:Cs,libargon2:Ws,libavif:Ps,libcares:Is,libde265:$s,libevent:Us,libffi:Ls,"libffi-win":{source:"libffi-win","static-libs-windows":["libffi.lib"],"headers-windows":["ffi.h","ffitarget.h","fficonfig.h"]},libheif:Ns,libiconv:Os,"libiconv-win":{source:"libiconv-win","static-libs-windows":["libiconv.lib","libiconv_a.lib"]},libjpeg:Vs,liblz4:As,libmemcached:Ts,libpng:js,librabbitmq:Gs,librdkafka:Xs,libsodium:Hs,libssh2:Ms,libtiff:_s,libuuid:Rs,libuv:Fs,libwebp:Zs,libxml2:Qs,libxslt:Ks,libyaml:Ys,libzip:Js,mimalloc:et,ncurses:it,nghttp2:st,nghttp3:tt,ngtcp2:lt,onig:nt,openssl:ot,postgresql:at,"postgresql-win":{source:"postgresql-win","static-libs":["libpq.lib","libpgport.lib","libpgcommon.lib"]},pthreads4w:dt,qdbm:ut,readline:pt,snappy:rt,sqlite:ct,tidy:bt,unixodbc:wt,xz:gt,zlib:xt,zstd:mt};function U(i,l,u,d){return i.os==="linux"?i[l][u][d+"-linux"]??i[l][u][d+"-unix"]??i[l][u][d]??[]:i.os==="macos"?i[l][u][d+"-macos"]??i[l][u][d+"-unix"]??i[l][u][d]??[]:i.os==="windows"?i[l][u][d+"-windows"]??i[l][u][d]??[]:[]}function J(i,l){return U(i,"ext",l,"ext-depends")}function yt(i,l){return U(i,"ext",l,"ext-suggests")}function vt(i,l){return U(i,"ext",l,"lib-depends")}function ft(i,l){return U(i,"ext",l,"lib-suggests")}function ee(i,l){return U(i,"lib",l,"lib-depends")}function zt(i,l){return U(i,"lib",l,"lib-suggests")}function St(i,l){const u=[],d=new Set,h=[];l.forEach(D=>{d.has(D)||Bt(i,D,d,u)});const S=[];return u.forEach(D=>{l.indexOf(D)===-1&&h.push(D),[...vt(i,D),...ft(i,D)].forEach(o=>{S.indexOf(o)===-1&&S.push(o)})}),{exts:u,libs:Dt(i,S),notIncludedExts:h}}function Dt(i,l){const u=[],d=new Set;return l.forEach(h=>{d.has(h)||(console.log("before visited"),console.log(d),kt(i,h,d,u),console.log("after visited"),console.log(d))}),u}function kt(i,l,u,d){if(u.has(l))return;u.add(l),[...ee(i,l),...zt(i,l)].forEach(S=>{ie(i,S,u,d)}),d.push(l)}function ie(i,l,u,d){u.has(l)||(u.add(l),ee(i,l).forEach(h=>{ie(i,h,u,d)}),d.push(l))}function se(i,l,u,d){u.has(u)||(u.add(l),J(i,l).forEach(h=>{se(i,h,u,d)}),d.push(l))}function Bt(i,l,u,d){if(u.has(l))return;u.add(l),[...J(i,l),...yt(i,l)].forEach(S=>{se(i,S,u,d)}),d.push(l)}const qt={class:"option-line"},Et=["id","value","disabled"],Ct=["for"],Wt={class:"option-line"},Pt=["disabled"],It={class:"box"},$t={class:"ext-item"},Ut=["id","value","disabled"],Lt=["for"],Nt={style:{color:"orangered","font-weight":"bolder"}},Ot={class:"details custom-block",open:""},Vt={class:"box"},At={class:"ext-item"},Tt=["id","value","disabled"],jt=["for"],Gt={class:"tip custom-block"},Xt={class:"box"},Ht={class:"ext-item"},Mt=["id","value"],_t=["for"],Rt={key:2,class:"warning custom-block"},Ft={key:3,class:"warning custom-block"},Zt={value:"native"},Qt={value:"spc"},Kt={key:0,value:"docker"},Yt=["value"],Jt={for:"debug-yes"},el={for:"debug-no"},il={for:"zts-yes"},sl={for:"zts-no"},tl={for:"show-download-yes"},ll={for:"show-download-no"},nl={for:"pre-built-yes"},ol={for:"pre-built-no"},al={key:0},dl={for:"upx-yes"},ul={for:"upx-no"},pl=["placeholder"],rl={key:4,class:"command-container"},cl={key:0,class:"command-preview"},bl={key:1},wl={class:"warning custom-block"},gl={key:5,class:"command-container"},xl={id:"download-ext-cmd",class:"command-preview"},ml={key:6,class:"command-container"},hl={id:"download-all-cmd",class:"command-preview"},yl={key:7,class:"command-container"},vl={id:"download-pkg-cmd",class:"command-preview"},fl={class:"command-container"},zl={id:"build-cmd",class:"command-preview"},Sl={class:"command-container"},Dl={id:"craft-cmd",class:"command-preview pre"},kl={name:"CliGenerator"},Bl=ge({...kl,props:{lang:{type:String,default:"zh"}},setup(i){const l=w(ps),u=z(()=>{const a=[];for(const[s,t]of Object.entries(l.value))D(s,r.value)&&a.push(s);return a}),d=w(ht),h=w([]),S=[{os:"linux",label:"Linux",disabled:!1},{os:"macos",label:"macOS",disabled:!1},{os:"windows",label:"Windows",disabled:!1}],D=(a,s)=>{var b,E;const c=new Map([["linux","Linux"],["macos","Darwin"],["windows","Windows"]]).get(s),p=((E=(b=l.value[a])==null?void 0:b.support)==null?void 0:E[c])??"yes";return p==="yes"||p==="partial"},Q=["8.0","8.1","8.2","8.3","8.4"],o={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 构建!",useUPX:"是否开启 UPX 压缩(减小二进制体积)",windowsDownSPCWarning:"Windows 下请手动下载 spc.exe 二进制文件,解压到当前目录并重命名为 spc.exe",usePreBuilt:"如果可能,下载预编译的依赖库(减少编译时间)"},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 and embed 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)"}},te=["cli","fpm","micro","embed","all"],le=()=>{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"]},ne=()=>{y.value=u.value},X=z(()=>y.value.join(",")),H=z(()=>{const a=B.value.filter(s=>V.value.indexOf(s)===-1);return a.length>0?' --with-libs="'+a.join(",")+'"':""}),y=w([]),B=w([]),M=w([]),V=w([]),v=w(["cli"]),A=w("spc"),I=w("8.4"),k=w(0),$=w(0),L=w(1),W=w(1),q=w(0),_=w(""),r=w("linux");G(r,()=>{r.value==="windows"&&(T.value="x86_64")});const T=w("x86_64"),j=z(()=>{switch(A.value){case"native":return"bin/spc";case"spc":return r.value==="windows"?".\\spc.exe":"./spc";case"docker":return"bin/spc-alpine-docker";default:return""}}),K=w("--build-cli"),oe=z(()=>{const a=_.value.split(`
`);let s=[];return a.forEach(t=>{t.indexOf("=")>=1&&s.push(t)})," "+s.map(t=>'-I "'+t+'"').join(" ")}),P=w(""),R=(a,s)=>a.includes(P.value)?s===0?a.substring(0,a.indexOf(P.value)):s===1?P.value:a.substring(a.indexOf(P.value)+P.value.length):s===0?a:"",ae=a=>{let s;v.value.indexOf("all")!==-1&&a.target.value==="all"?v.value=["all"]:(s=v.value.indexOf("all"))!==-1&&a.target.value!=="all"&&v.value.splice(s,1),K.value=v.value.map(t=>"--build-"+t).join(" ")},de=a=>{const s=new Set,t=c=>{let p=[];if(r.value==="linux"){if(p=l.value[c]["ext-depends-linux"]??l.value[c]["ext-depends-unix"]??l.value[c]["ext-depends"]??[],p.length===0)return}else if(r.value==="macos"){if(p=l.value[c]["ext-depends-macos"]??l.value[c]["ext-depends-unix"]??l.value[c]["ext-depends"]??[],p.length===0)return}else if(r.value==="windows"&&(p=l.value[c]["ext-depends-windows"]??l.value[c]["ext-depends"]??[],p.length===0))return;p.forEach(b=>{s.add(b),t(b)})};return a.forEach(c=>{t(c)}),Array.from(s)},ue=z(()=>`${j.value} download --all --with-php=${I.value}${W.value?" --prefer-pre-built":""}${k.value?" --debug":""}`),pe=z(()=>`${j.value} download --with-php=${I.value} --for-extensions "${X.value}"${W.value?" --prefer-pre-built":""}${k.value?" --debug":""}`),re=z(()=>`${j.value} install-pkg upx${k.value?" --debug":""}`),ce=z(()=>`${j.value} build ${K.value} "${X.value}"${H.value}${k.value?" --debug":""}${$.value?" --enable-zts":""}${q.value?" --with-upx-pack":""}${oe.value}`),be=z(()=>{let a=`php-version: ${I.value}
`;return a+=`extensions: "${X.value}"
`,v.value.join(",")==="all"?a+="sapi: "+["cli","fpm","micro","embed"].join(",")+`
`:a+=`sapi: ${v.value.join(",")}
`,H.value&&(a+=`libs: ${H.value.replace('--with-libs="',"").replace('"',"").trim()}
`),k.value&&(a+=`debug: true
`),a+="{{position_hold}}",q.value&&(a+=` with-upx-pack: true
`),$.value&&(a+=` enable-zts: true
`),W.value&&(a+=` prefer-pre-built: true
`),a.endsWith("{{position_hold}}")?a=a.replace("{{position_hold}}",""):a=a.replace("{{position_hold}}",`build-options:
`),a}),we=a=>{const s=new Set,t=p=>{let b=[];if(r.value==="linux"){if(b=d.value[p]["lib-depends-linux"]??d.value[p]["lib-depends-unix"]??d.value[p]["lib-depends"]??[],b.length===0)return}else if(r.value==="macos"){if(b=d.value[p]["lib-depends-macos"]??d.value[p]["lib-depends-unix"]??d.value[p]["lib-depends"]??[],b.length===0)return}else if(r.value==="windows"&&(b=d.value[p]["lib-depends-windows"]??d.value[p]["lib-depends"]??[],b.length===0))return;b.forEach(E=>{s.add(E),t(E)})},c=p=>{let b=[];if(r.value==="linux"){if(b=l.value[p]["lib-depends-linux"]??l.value[p]["lib-depends-unix"]??l.value[p]["lib-depends"]??[],b.length===0)return}else if(r.value==="macos"){if(b=l.value[p]["lib-depends-macos"]??l.value[p]["lib-depends-unix"]??l.value[p]["lib-depends"]??[],b.length===0)return}else if(r.value==="windows"&&(b=l.value[p]["lib-depends-windows"]??l.value[p]["lib-depends"]??[],b.length===0))return;b.forEach(E=>{s.add(E),t(E)})};return a.forEach(p=>{c(p)}),Array.from(s)};return G(r,()=>y.value=[]),G(r,()=>q.value=0),G(y,a=>{M.value=de(a),M.value.forEach(t=>{y.value.indexOf(t)===-1&&y.value.push(t)}),y.value.sort(),console.log("检测到变化!"),console.log(a);const s=St({ext:l.value,lib:d.value,os:r.value},y.value);h.value=s.libs.sort(),B.value=[],V.value=we(s.exts),V.value.forEach(t=>{B.value.indexOf(t)===-1&&B.value.push(t)})}),(a,s)=>(x(),g("div",null,[e("h2",null,n(o[i.lang].selectedSystem),1),e("div",qt,[(x(),g(N,null,O(S,(t,c)=>e("span",{key:c,style:{"margin-right":"8px"}},[m(e("input",{type:"radio",id:"os-"+t.os,value:t.os,disabled:t.disabled===!0,"onUpdate:modelValue":s[0]||(s[0]=p=>r.value=p)},null,8,Et),[[f,r.value]]),e("label",{for:"os-"+t.os},n(t.label),9,Ct)])),64))]),e("div",Wt,[m(e("select",{"onUpdate:modelValue":s[1]||(s[1]=t=>T.value=t)},[s[20]||(s[20]=e("option",{value:"x86_64"},"x86_64",-1)),e("option",{value:"aarch64",disabled:r.value==="windows"},"aarch64",8,Pt)],512),[[F,T.value]])]),e("h2",null,n(o[i.lang].selectExt)+n(y.value.length>0?" ("+y.value.length+")":""),1),e("div",It,[m(e("input",{class:"input","onUpdate:modelValue":s[2]||(s[2]=t=>P.value=t),placeholder:"Highlight search..."},null,512),[[Y,P.value]]),s[21]||(s[21]=e("br",null,null,-1)),(x(!0),g(N,null,O(u.value,t=>(x(),g("div",$t,[e("span",null,[m(e("input",{type:"checkbox",id:t,value:t,"onUpdate:modelValue":s[3]||(s[3]=c=>y.value=c),disabled:M.value.indexOf(t)!==-1},null,8,Ut),[[Z,y.value]]),e("label",{for:t},[e("span",null,n(R(t,0)),1),e("span",Nt,n(R(t,1)),1),e("span",null,n(R(t,2)),1)],8,Lt)])]))),256))]),r.value!=="windows"?(x(),g("div",{key:0,class:"my-btn",onClick:le},n(o[i.lang].selectCommon),1)):C("",!0),r.value!=="windows"?(x(),g("div",{key:1,class:"my-btn",onClick:ne},n(o[i.lang].selectAll),1)):C("",!0),e("div",{class:"my-btn",onClick:s[4]||(s[4]=t=>y.value=[])},n(o[i.lang].selectNone),1),e("details",Ot,[e("summary",null,n(o[i.lang].buildLibs)+n(B.value.length>0?" ("+B.value.length+")":""),1),e("div",Vt,[(x(!0),g(N,null,O(h.value,(t,c)=>(x(),g("div",At,[m(e("input",{type:"checkbox",id:c,value:t,"onUpdate:modelValue":s[5]||(s[5]=p=>B.value=p),disabled:V.value.indexOf(t)!==-1},null,8,Tt),[[Z,B.value]]),e("label",{for:c},n(t),9,jt)]))),256))])]),e("div",Gt,[s[22]||(s[22]=e("p",{class:"custom-block-title"},"TIP",-1)),e("p",null,n(o[i.lang].depTips),1),e("p",null,n(o[i.lang].depTips2),1)]),e("h2",null,n(o[i.lang].buildTarget),1),e("div",Xt,[(x(),g(N,null,O(te,t=>e("div",Ht,[m(e("input",{type:"checkbox",id:"build_"+t,value:t,"onUpdate:modelValue":s[6]||(s[6]=c=>v.value=c),onChange:ae},null,40,Mt),[[Z,v.value]]),e("label",{for:"build_"+t},n(t),9,_t)])),64))]),I.value==="7.4"&&(v.value.indexOf("micro")!==-1||v.value.indexOf("all")!==-1)?(x(),g("div",Rt,[s[23]||(s[23]=e("p",{class:"custom-block-title"},"WARNING",-1)),e("p",null,n(o[i.lang].microUnavailable),1)])):C("",!0),r.value==="windows"&&(v.value.indexOf("fpm")!==-1||v.value.indexOf("embed")!==-1)?(x(),g("div",Ft,[s[24]||(s[24]=e("p",{class:"custom-block-title"},"WARNING",-1)),e("p",null,n(o[i.lang].windowsSAPIUnavailable),1)])):C("",!0),e("h2",null,n(o[i.lang].buildOptions),1),e("table",null,[e("tr",null,[e("td",null,n(o[i.lang].buildEnvironment),1),e("td",null,[m(e("select",{"onUpdate:modelValue":s[7]||(s[7]=t=>A.value=t)},[e("option",Zt,n(o[i.lang].buildEnvNative),1),e("option",Qt,n(o[i.lang].buildEnvSpc),1),r.value!=="windows"?(x(),g("option",Kt,n(o[i.lang].buildEnvDocker),1)):C("",!0)],512),[[F,A.value]])])]),e("tr",null,[e("td",null,n(o[i.lang].downloadPhpVersion),1),e("td",null,[m(e("select",{"onUpdate:modelValue":s[8]||(s[8]=t=>I.value=t)},[(x(),g(N,null,O(Q,t=>e("option",{value:t},n(t),9,Yt)),64))],512),[[F,I.value]])])]),e("tr",null,[e("td",null,n(o[i.lang].useDebug),1),e("td",null,[m(e("input",{type:"radio",id:"debug-yes",value:1,"onUpdate:modelValue":s[9]||(s[9]=t=>k.value=t)},null,512),[[f,k.value]]),e("label",Jt,n(o[i.lang].yes),1),m(e("input",{type:"radio",id:"debug-no",value:0,"onUpdate:modelValue":s[10]||(s[10]=t=>k.value=t)},null,512),[[f,k.value]]),e("label",el,n(o[i.lang].no),1)])]),e("tr",null,[e("td",null,n(o[i.lang].useZTS),1),e("td",null,[m(e("input",{type:"radio",id:"zts-yes",value:1,"onUpdate:modelValue":s[11]||(s[11]=t=>$.value=t)},null,512),[[f,$.value]]),e("label",il,n(o[i.lang].yes),1),m(e("input",{type:"radio",id:"zts-no",value:0,"onUpdate:modelValue":s[12]||(s[12]=t=>$.value=t)},null,512),[[f,$.value]]),e("label",sl,n(o[i.lang].no),1)])]),e("tr",null,[e("td",null,n(o[i.lang].resultShowDownload),1),e("td",null,[m(e("input",{type:"radio",id:"show-download-yes",value:1,"onUpdate:modelValue":s[13]||(s[13]=t=>L.value=t)},null,512),[[f,L.value]]),e("label",tl,n(o[i.lang].yes),1),m(e("input",{type:"radio",id:"show-download-no",value:0,"onUpdate:modelValue":s[14]||(s[14]=t=>L.value=t)},null,512),[[f,L.value]]),e("label",ll,n(o[i.lang].no),1)])]),e("tr",null,[e("td",null,n(o[i.lang].usePreBuilt),1),e("td",null,[m(e("input",{type:"radio",id:"pre-built-yes",value:1,"onUpdate:modelValue":s[15]||(s[15]=t=>W.value=t)},null,512),[[f,W.value]]),e("label",nl,n(o[i.lang].yes),1),m(e("input",{type:"radio",id:"pre-built-no",value:0,"onUpdate:modelValue":s[16]||(s[16]=t=>W.value=t)},null,512),[[f,W.value]]),e("label",ol,n(o[i.lang].no),1)])]),r.value!=="macos"?(x(),g("tr",al,[e("td",null,n(o[i.lang].useUPX),1),e("td",null,[m(e("input",{type:"radio",id:"upx-yes",value:1,"onUpdate:modelValue":s[17]||(s[17]=t=>q.value=t)},null,512),[[f,q.value]]),e("label",dl,n(o[i.lang].yes),1),m(e("input",{type:"radio",id:"upx-no",value:0,"onUpdate:modelValue":s[18]||(s[18]=t=>q.value=t)},null,512),[[f,q.value]]),e("label",ul,n(o[i.lang].no),1)])])):C("",!0)]),e("h2",null,n(o[i.lang].hardcodedINI),1),m(e("textarea",{class:"textarea",placeholder:o[i.lang].hardcodedINIPlacehoder,"onUpdate:modelValue":s[19]||(s[19]=t=>_.value=t),rows:"5"},null,8,pl),[[Y,_.value]]),e("h2",null,n(o[i.lang].resultShow),1),A.value==="spc"?(x(),g("div",rl,[e("b",null,n(o[i.lang].downloadSPCBinaryCommand),1),r.value!=="windows"?(x(),g("div",cl,[xe(" curl -fsSL -o spc.tgz https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-"+n(r.value)+"-"+n(T.value)+".tar.gz && tar -zxvf spc.tgz && rm spc.tgz",1),s[25]||(s[25]=e("br",null,null,-1))])):(x(),g("div",bl,[e("div",wl,[s[26]||(s[26]=e("p",{class:"custom-block-title"},"WARNING",-1)),e("p",null,n(o[i.lang].windowsDownSPCWarning),1),s[27]||(s[27]=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))])]))])):C("",!0),L.value?(x(),g("div",gl,[e("b",null,n(o[i.lang].downloadExtOnlyCommand),1),e("div",xl,n(pe.value),1)])):(x(),g("div",ml,[e("b",null,n(o[i.lang].downloadAllCommand),1),e("div",hl,n(ue.value),1)])),q.value?(x(),g("div",yl,[e("b",null,n(o[i.lang].downloadUPXCommand),1),e("div",vl,n(re.value),1)])):C("",!0),e("div",fl,[e("b",null,n(o[i.lang].compileCommand),1),e("div",zl,n(ce.value),1)]),e("div",Sl,[s[28]||(s[28]=e("b",null,"craft.yml",-1)),e("div",Dl,n(be.value),1)])]))}}),El=me(Bl,[["__scopeId","data-v-520722c6"]]);export{El as C};