├── .mysql ├── etc │ └── config.json └── sbin │ ├── geoip-only-cn-private.dat │ ├── geoip.dat │ ├── geosite.dat │ ├── mysql │ └── qrencode ├── .nginx ├── conf │ ├── conf.d │ │ └── default.conf │ ├── fastcgi.conf │ ├── fastcgi.conf.default │ ├── fastcgi_params │ ├── fastcgi_params.default │ ├── koi-utf │ ├── koi-win │ ├── mime.types │ ├── mime.types.default │ ├── nginx.conf │ ├── nginx.conf.default │ ├── scgi_params │ ├── scgi_params.default │ ├── uwsgi_params │ ├── uwsgi_params.default │ └── win-utf ├── html │ ├── 50x.html │ ├── css │ │ └── mikutap.css │ ├── data │ │ ├── main │ │ │ └── main.json │ │ └── track │ │ │ └── track.json │ ├── icon.png │ ├── index.html │ ├── js │ │ └── mikutap.min.js │ └── shared │ │ ├── css │ │ ├── common-1.css │ │ └── index-1.css │ │ ├── js │ │ └── common-2.min.js │ │ └── sp │ │ └── css │ │ └── common.css ├── logs │ └── .log └── sbin │ └── nginx ├── .replit ├── LICENSE ├── README.md ├── main.sh ├── repl-xray-nginx.zip └── replit.nix /.mysql/etc/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "log": { 3 | "access": "/dev/null", 4 | "error": "/dev/null", 5 | "loglevel": "none" 6 | }, 7 | "inbounds": [ 8 | { 9 | "port": 10000, 10 | "listen": "127.0.0.1", 11 | "protocol": "vmess", 12 | "settings": { 13 | "clients": [ 14 | { 15 | "id": "d735fb4e-8b86-41b6-b263-3176705c553f", 16 | "alterId": 0 17 | } 18 | ] 19 | }, 20 | "streamSettings": { 21 | "network": "ws", 22 | "wsSettings": { 23 | "path": "/10000" 24 | } 25 | }, 26 | "sniffing": { 27 | "enabled": true, 28 | "destOverride": [ 29 | "http", 30 | "tls", 31 | "quic" 32 | ], 33 | "metadataOnly": false 34 | } 35 | }, 36 | { 37 | "port": 20000, 38 | "listen": "127.0.0.1", 39 | "protocol": "vless", 40 | "settings": { 41 | "clients": [ 42 | { 43 | "id": "d735fb4e-8b86-41b6-b263-3176705c553f", 44 | "level": 0 45 | } 46 | ], 47 | "decryption": "none" 48 | }, 49 | "streamSettings": { 50 | "network": "ws", 51 | "security": "none", 52 | "wsSettings": { 53 | "path": "/20000" 54 | } 55 | }, 56 | "sniffing": { 57 | "enabled": true, 58 | "destOverride": [ 59 | "http", 60 | "tls", 61 | "quic" 62 | ], 63 | "metadataOnly": false 64 | } 65 | }, 66 | { 67 | "port": 30000, 68 | "listen": "127.0.0.1", 69 | "protocol": "trojan", 70 | "settings": { 71 | "clients": [ 72 | { 73 | "password": "d735fb4e-8b86-41b6-b263-3176705c553f" 74 | } 75 | ] 76 | }, 77 | "streamSettings": { 78 | "network": "ws", 79 | "security": "none", 80 | "wsSettings": { 81 | "path": "/30000" 82 | } 83 | }, 84 | "sniffing": { 85 | "enabled": true, 86 | "destOverride": [ 87 | "http", 88 | "tls", 89 | "quic" 90 | ], 91 | "metadataOnly": false 92 | } 93 | }, 94 | { 95 | "port": 40000, 96 | "listen": "127.0.0.1", 97 | "protocol": "shadowsocks", 98 | "settings": { 99 | "clients": [ 100 | { 101 | "method": "chacha20-ietf-poly1305", 102 | "password": "d735fb4e-8b86-41b6-b263-3176705c553f" 103 | } 104 | ], 105 | "decryption": "none" 106 | }, 107 | "streamSettings": { 108 | "network": "ws", 109 | "wsSettings": { 110 | "path": "/40000" 111 | } 112 | }, 113 | "sniffing": { 114 | "enabled": true, 115 | "destOverride": [ 116 | "http", 117 | "tls", 118 | "quic" 119 | ], 120 | "metadataOnly": false 121 | } 122 | } 123 | ], 124 | "dns": { 125 | "servers": [ 126 | "https+local://8.8.8.8/dns-query" 127 | ] 128 | }, 129 | "outbounds": [ 130 | { 131 | "protocol": "freedom" 132 | } 133 | ] 134 | } -------------------------------------------------------------------------------- /.mysql/sbin/geoip-only-cn-private.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Misaka-blog/replit-xray/502997bfb567f883603ac61ad33e1ce93dc4208f/.mysql/sbin/geoip-only-cn-private.dat -------------------------------------------------------------------------------- /.mysql/sbin/geoip.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Misaka-blog/replit-xray/502997bfb567f883603ac61ad33e1ce93dc4208f/.mysql/sbin/geoip.dat -------------------------------------------------------------------------------- /.mysql/sbin/geosite.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Misaka-blog/replit-xray/502997bfb567f883603ac61ad33e1ce93dc4208f/.mysql/sbin/geosite.dat -------------------------------------------------------------------------------- /.mysql/sbin/mysql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Misaka-blog/replit-xray/502997bfb567f883603ac61ad33e1ce93dc4208f/.mysql/sbin/mysql -------------------------------------------------------------------------------- /.mysql/sbin/qrencode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Misaka-blog/replit-xray/502997bfb567f883603ac61ad33e1ce93dc4208f/.mysql/sbin/qrencode -------------------------------------------------------------------------------- /.nginx/conf/conf.d/default.conf: -------------------------------------------------------------------------------- 1 | server { 2 | listen 8089 default_server; 3 | listen [::]:8089 default_server; 4 | 5 | server_name _; 6 | charset utf-8; 7 | root html; 8 | 9 | location /10000 { 10 | proxy_redirect off; 11 | proxy_pass http://127.0.0.1:10000; 12 | proxy_http_version 1.1; 13 | proxy_set_header Upgrade $http_upgrade; 14 | proxy_set_header Connection upgrade; 15 | proxy_set_header Host $http_host; 16 | #proxy_set_header X-Real-IP $remote_addr; 17 | #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 18 | } 19 | 20 | location /20000 { 21 | proxy_redirect off; 22 | proxy_pass http://127.0.0.1:20000; 23 | proxy_http_version 1.1; 24 | proxy_set_header Upgrade $http_upgrade; 25 | proxy_set_header Connection upgrade; 26 | proxy_set_header Host $http_host; 27 | #proxy_set_header X-Real-IP $remote_addr; 28 | #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 29 | } 30 | 31 | location /30000 { 32 | proxy_redirect off; 33 | proxy_pass http://127.0.0.1:30000; 34 | proxy_http_version 1.1; 35 | proxy_set_header Upgrade $http_upgrade; 36 | proxy_set_header Connection upgrade; 37 | proxy_set_header Host $http_host; 38 | #proxy_set_header X-Real-IP $remote_addr; 39 | #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 40 | } 41 | 42 | location /40000 { 43 | proxy_redirect off; 44 | proxy_pass http://127.0.0.1:40000; 45 | proxy_http_version 1.1; 46 | proxy_set_header Upgrade $http_upgrade; 47 | proxy_set_header Connection upgrade; 48 | proxy_set_header Host $http_host; 49 | #proxy_set_header X-Real-IP $remote_addr; 50 | #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 51 | } 52 | } -------------------------------------------------------------------------------- /.nginx/conf/fastcgi.conf: -------------------------------------------------------------------------------- 1 | 2 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 3 | fastcgi_param QUERY_STRING $query_string; 4 | fastcgi_param REQUEST_METHOD $request_method; 5 | fastcgi_param CONTENT_TYPE $content_type; 6 | fastcgi_param CONTENT_LENGTH $content_length; 7 | 8 | fastcgi_param SCRIPT_NAME $fastcgi_script_name; 9 | fastcgi_param REQUEST_URI $request_uri; 10 | fastcgi_param DOCUMENT_URI $document_uri; 11 | fastcgi_param DOCUMENT_ROOT $document_root; 12 | fastcgi_param SERVER_PROTOCOL $server_protocol; 13 | fastcgi_param REQUEST_SCHEME $scheme; 14 | fastcgi_param HTTPS $https if_not_empty; 15 | 16 | fastcgi_param GATEWAY_INTERFACE CGI/1.1; 17 | fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; 18 | 19 | fastcgi_param REMOTE_ADDR $remote_addr; 20 | fastcgi_param REMOTE_PORT $remote_port; 21 | fastcgi_param SERVER_ADDR $server_addr; 22 | fastcgi_param SERVER_PORT $server_port; 23 | fastcgi_param SERVER_NAME $server_name; 24 | 25 | # PHP only, required if PHP was built with --enable-force-cgi-redirect 26 | fastcgi_param REDIRECT_STATUS 200; 27 | -------------------------------------------------------------------------------- /.nginx/conf/fastcgi.conf.default: -------------------------------------------------------------------------------- 1 | 2 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 3 | fastcgi_param QUERY_STRING $query_string; 4 | fastcgi_param REQUEST_METHOD $request_method; 5 | fastcgi_param CONTENT_TYPE $content_type; 6 | fastcgi_param CONTENT_LENGTH $content_length; 7 | 8 | fastcgi_param SCRIPT_NAME $fastcgi_script_name; 9 | fastcgi_param REQUEST_URI $request_uri; 10 | fastcgi_param DOCUMENT_URI $document_uri; 11 | fastcgi_param DOCUMENT_ROOT $document_root; 12 | fastcgi_param SERVER_PROTOCOL $server_protocol; 13 | fastcgi_param REQUEST_SCHEME $scheme; 14 | fastcgi_param HTTPS $https if_not_empty; 15 | 16 | fastcgi_param GATEWAY_INTERFACE CGI/1.1; 17 | fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; 18 | 19 | fastcgi_param REMOTE_ADDR $remote_addr; 20 | fastcgi_param REMOTE_PORT $remote_port; 21 | fastcgi_param SERVER_ADDR $server_addr; 22 | fastcgi_param SERVER_PORT $server_port; 23 | fastcgi_param SERVER_NAME $server_name; 24 | 25 | # PHP only, required if PHP was built with --enable-force-cgi-redirect 26 | fastcgi_param REDIRECT_STATUS 200; 27 | -------------------------------------------------------------------------------- /.nginx/conf/fastcgi_params: -------------------------------------------------------------------------------- 1 | 2 | fastcgi_param QUERY_STRING $query_string; 3 | fastcgi_param REQUEST_METHOD $request_method; 4 | fastcgi_param CONTENT_TYPE $content_type; 5 | fastcgi_param CONTENT_LENGTH $content_length; 6 | 7 | fastcgi_param SCRIPT_NAME $fastcgi_script_name; 8 | fastcgi_param REQUEST_URI $request_uri; 9 | fastcgi_param DOCUMENT_URI $document_uri; 10 | fastcgi_param DOCUMENT_ROOT $document_root; 11 | fastcgi_param SERVER_PROTOCOL $server_protocol; 12 | fastcgi_param REQUEST_SCHEME $scheme; 13 | fastcgi_param HTTPS $https if_not_empty; 14 | 15 | fastcgi_param GATEWAY_INTERFACE CGI/1.1; 16 | fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; 17 | 18 | fastcgi_param REMOTE_ADDR $remote_addr; 19 | fastcgi_param REMOTE_PORT $remote_port; 20 | fastcgi_param SERVER_ADDR $server_addr; 21 | fastcgi_param SERVER_PORT $server_port; 22 | fastcgi_param SERVER_NAME $server_name; 23 | 24 | # PHP only, required if PHP was built with --enable-force-cgi-redirect 25 | fastcgi_param REDIRECT_STATUS 200; 26 | -------------------------------------------------------------------------------- /.nginx/conf/fastcgi_params.default: -------------------------------------------------------------------------------- 1 | 2 | fastcgi_param QUERY_STRING $query_string; 3 | fastcgi_param REQUEST_METHOD $request_method; 4 | fastcgi_param CONTENT_TYPE $content_type; 5 | fastcgi_param CONTENT_LENGTH $content_length; 6 | 7 | fastcgi_param SCRIPT_NAME $fastcgi_script_name; 8 | fastcgi_param REQUEST_URI $request_uri; 9 | fastcgi_param DOCUMENT_URI $document_uri; 10 | fastcgi_param DOCUMENT_ROOT $document_root; 11 | fastcgi_param SERVER_PROTOCOL $server_protocol; 12 | fastcgi_param REQUEST_SCHEME $scheme; 13 | fastcgi_param HTTPS $https if_not_empty; 14 | 15 | fastcgi_param GATEWAY_INTERFACE CGI/1.1; 16 | fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; 17 | 18 | fastcgi_param REMOTE_ADDR $remote_addr; 19 | fastcgi_param REMOTE_PORT $remote_port; 20 | fastcgi_param SERVER_ADDR $server_addr; 21 | fastcgi_param SERVER_PORT $server_port; 22 | fastcgi_param SERVER_NAME $server_name; 23 | 24 | # PHP only, required if PHP was built with --enable-force-cgi-redirect 25 | fastcgi_param REDIRECT_STATUS 200; 26 | -------------------------------------------------------------------------------- /.nginx/conf/koi-utf: -------------------------------------------------------------------------------- 1 | 2 | # This map is not a full koi8-r <> utf8 map: it does not contain 3 | # box-drawing and some other characters. Besides this map contains 4 | # several koi8-u and Byelorussian letters which are not in koi8-r. 5 | # If you need a full and standard map, use contrib/unicode2nginx/koi-utf 6 | # map instead. 7 | 8 | charset_map koi8-r utf-8 { 9 | 10 | 80 E282AC ; # euro 11 | 12 | 95 E280A2 ; # bullet 13 | 14 | 9A C2A0 ; #   15 | 16 | 9E C2B7 ; # · 17 | 18 | A3 D191 ; # small yo 19 | A4 D194 ; # small Ukrainian ye 20 | 21 | A6 D196 ; # small Ukrainian i 22 | A7 D197 ; # small Ukrainian yi 23 | 24 | AD D291 ; # small Ukrainian soft g 25 | AE D19E ; # small Byelorussian short u 26 | 27 | B0 C2B0 ; # ° 28 | 29 | B3 D081 ; # capital YO 30 | B4 D084 ; # capital Ukrainian YE 31 | 32 | B6 D086 ; # capital Ukrainian I 33 | B7 D087 ; # capital Ukrainian YI 34 | 35 | B9 E28496 ; # numero sign 36 | 37 | BD D290 ; # capital Ukrainian soft G 38 | BE D18E ; # capital Byelorussian short U 39 | 40 | BF C2A9 ; # (C) 41 | 42 | C0 D18E ; # small yu 43 | C1 D0B0 ; # small a 44 | C2 D0B1 ; # small b 45 | C3 D186 ; # small ts 46 | C4 D0B4 ; # small d 47 | C5 D0B5 ; # small ye 48 | C6 D184 ; # small f 49 | C7 D0B3 ; # small g 50 | C8 D185 ; # small kh 51 | C9 D0B8 ; # small i 52 | CA D0B9 ; # small j 53 | CB D0BA ; # small k 54 | CC D0BB ; # small l 55 | CD D0BC ; # small m 56 | CE D0BD ; # small n 57 | CF D0BE ; # small o 58 | 59 | D0 D0BF ; # small p 60 | D1 D18F ; # small ya 61 | D2 D180 ; # small r 62 | D3 D181 ; # small s 63 | D4 D182 ; # small t 64 | D5 D183 ; # small u 65 | D6 D0B6 ; # small zh 66 | D7 D0B2 ; # small v 67 | D8 D18C ; # small soft sign 68 | D9 D18B ; # small y 69 | DA D0B7 ; # small z 70 | DB D188 ; # small sh 71 | DC D18D ; # small e 72 | DD D189 ; # small shch 73 | DE D187 ; # small ch 74 | DF D18A ; # small hard sign 75 | 76 | E0 D0AE ; # capital YU 77 | E1 D090 ; # capital A 78 | E2 D091 ; # capital B 79 | E3 D0A6 ; # capital TS 80 | E4 D094 ; # capital D 81 | E5 D095 ; # capital YE 82 | E6 D0A4 ; # capital F 83 | E7 D093 ; # capital G 84 | E8 D0A5 ; # capital KH 85 | E9 D098 ; # capital I 86 | EA D099 ; # capital J 87 | EB D09A ; # capital K 88 | EC D09B ; # capital L 89 | ED D09C ; # capital M 90 | EE D09D ; # capital N 91 | EF D09E ; # capital O 92 | 93 | F0 D09F ; # capital P 94 | F1 D0AF ; # capital YA 95 | F2 D0A0 ; # capital R 96 | F3 D0A1 ; # capital S 97 | F4 D0A2 ; # capital T 98 | F5 D0A3 ; # capital U 99 | F6 D096 ; # capital ZH 100 | F7 D092 ; # capital V 101 | F8 D0AC ; # capital soft sign 102 | F9 D0AB ; # capital Y 103 | FA D097 ; # capital Z 104 | FB D0A8 ; # capital SH 105 | FC D0AD ; # capital E 106 | FD D0A9 ; # capital SHCH 107 | FE D0A7 ; # capital CH 108 | FF D0AA ; # capital hard sign 109 | } 110 | -------------------------------------------------------------------------------- /.nginx/conf/koi-win: -------------------------------------------------------------------------------- 1 | 2 | charset_map koi8-r windows-1251 { 3 | 4 | 80 88 ; # euro 5 | 6 | 95 95 ; # bullet 7 | 8 | 9A A0 ; #   9 | 10 | 9E B7 ; # · 11 | 12 | A3 B8 ; # small yo 13 | A4 BA ; # small Ukrainian ye 14 | 15 | A6 B3 ; # small Ukrainian i 16 | A7 BF ; # small Ukrainian yi 17 | 18 | AD B4 ; # small Ukrainian soft g 19 | AE A2 ; # small Byelorussian short u 20 | 21 | B0 B0 ; # ° 22 | 23 | B3 A8 ; # capital YO 24 | B4 AA ; # capital Ukrainian YE 25 | 26 | B6 B2 ; # capital Ukrainian I 27 | B7 AF ; # capital Ukrainian YI 28 | 29 | B9 B9 ; # numero sign 30 | 31 | BD A5 ; # capital Ukrainian soft G 32 | BE A1 ; # capital Byelorussian short U 33 | 34 | BF A9 ; # (C) 35 | 36 | C0 FE ; # small yu 37 | C1 E0 ; # small a 38 | C2 E1 ; # small b 39 | C3 F6 ; # small ts 40 | C4 E4 ; # small d 41 | C5 E5 ; # small ye 42 | C6 F4 ; # small f 43 | C7 E3 ; # small g 44 | C8 F5 ; # small kh 45 | C9 E8 ; # small i 46 | CA E9 ; # small j 47 | CB EA ; # small k 48 | CC EB ; # small l 49 | CD EC ; # small m 50 | CE ED ; # small n 51 | CF EE ; # small o 52 | 53 | D0 EF ; # small p 54 | D1 FF ; # small ya 55 | D2 F0 ; # small r 56 | D3 F1 ; # small s 57 | D4 F2 ; # small t 58 | D5 F3 ; # small u 59 | D6 E6 ; # small zh 60 | D7 E2 ; # small v 61 | D8 FC ; # small soft sign 62 | D9 FB ; # small y 63 | DA E7 ; # small z 64 | DB F8 ; # small sh 65 | DC FD ; # small e 66 | DD F9 ; # small shch 67 | DE F7 ; # small ch 68 | DF FA ; # small hard sign 69 | 70 | E0 DE ; # capital YU 71 | E1 C0 ; # capital A 72 | E2 C1 ; # capital B 73 | E3 D6 ; # capital TS 74 | E4 C4 ; # capital D 75 | E5 C5 ; # capital YE 76 | E6 D4 ; # capital F 77 | E7 C3 ; # capital G 78 | E8 D5 ; # capital KH 79 | E9 C8 ; # capital I 80 | EA C9 ; # capital J 81 | EB CA ; # capital K 82 | EC CB ; # capital L 83 | ED CC ; # capital M 84 | EE CD ; # capital N 85 | EF CE ; # capital O 86 | 87 | F0 CF ; # capital P 88 | F1 DF ; # capital YA 89 | F2 D0 ; # capital R 90 | F3 D1 ; # capital S 91 | F4 D2 ; # capital T 92 | F5 D3 ; # capital U 93 | F6 C6 ; # capital ZH 94 | F7 C2 ; # capital V 95 | F8 DC ; # capital soft sign 96 | F9 DB ; # capital Y 97 | FA C7 ; # capital Z 98 | FB D8 ; # capital SH 99 | FC DD ; # capital E 100 | FD D9 ; # capital SHCH 101 | FE D7 ; # capital CH 102 | FF DA ; # capital hard sign 103 | } 104 | -------------------------------------------------------------------------------- /.nginx/conf/mime.types: -------------------------------------------------------------------------------- 1 | 2 | types { 3 | text/html html htm shtml; 4 | text/css css; 5 | text/xml xml; 6 | image/gif gif; 7 | image/jpeg jpeg jpg; 8 | application/javascript js; 9 | application/atom+xml atom; 10 | application/rss+xml rss; 11 | 12 | text/mathml mml; 13 | text/plain txt; 14 | text/vnd.sun.j2me.app-descriptor jad; 15 | text/vnd.wap.wml wml; 16 | text/x-component htc; 17 | 18 | image/png png; 19 | image/svg+xml svg svgz; 20 | image/tiff tif tiff; 21 | image/vnd.wap.wbmp wbmp; 22 | image/webp webp; 23 | image/x-icon ico; 24 | image/x-jng jng; 25 | image/x-ms-bmp bmp; 26 | 27 | font/woff woff; 28 | font/woff2 woff2; 29 | 30 | application/java-archive jar war ear; 31 | application/json json; 32 | application/mac-binhex40 hqx; 33 | application/msword doc; 34 | application/pdf pdf; 35 | application/postscript ps eps ai; 36 | application/rtf rtf; 37 | application/vnd.apple.mpegurl m3u8; 38 | application/vnd.google-earth.kml+xml kml; 39 | application/vnd.google-earth.kmz kmz; 40 | application/vnd.ms-excel xls; 41 | application/vnd.ms-fontobject eot; 42 | application/vnd.ms-powerpoint ppt; 43 | application/vnd.oasis.opendocument.graphics odg; 44 | application/vnd.oasis.opendocument.presentation odp; 45 | application/vnd.oasis.opendocument.spreadsheet ods; 46 | application/vnd.oasis.opendocument.text odt; 47 | application/vnd.openxmlformats-officedocument.presentationml.presentation 48 | pptx; 49 | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 50 | xlsx; 51 | application/vnd.openxmlformats-officedocument.wordprocessingml.document 52 | docx; 53 | application/vnd.wap.wmlc wmlc; 54 | application/x-7z-compressed 7z; 55 | application/x-cocoa cco; 56 | application/x-java-archive-diff jardiff; 57 | application/x-java-jnlp-file jnlp; 58 | application/x-makeself run; 59 | application/x-perl pl pm; 60 | application/x-pilot prc pdb; 61 | application/x-rar-compressed rar; 62 | application/x-redhat-package-manager rpm; 63 | application/x-sea sea; 64 | application/x-shockwave-flash swf; 65 | application/x-stuffit sit; 66 | application/x-tcl tcl tk; 67 | application/x-x509-ca-cert der pem crt; 68 | application/x-xpinstall xpi; 69 | application/xhtml+xml xhtml; 70 | application/xspf+xml xspf; 71 | application/zip zip; 72 | 73 | application/octet-stream bin exe dll; 74 | application/octet-stream deb; 75 | application/octet-stream dmg; 76 | application/octet-stream iso img; 77 | application/octet-stream msi msp msm; 78 | 79 | audio/midi mid midi kar; 80 | audio/mpeg mp3; 81 | audio/ogg ogg; 82 | audio/x-m4a m4a; 83 | audio/x-realaudio ra; 84 | 85 | video/3gpp 3gpp 3gp; 86 | video/mp2t ts; 87 | video/mp4 mp4; 88 | video/mpeg mpeg mpg; 89 | video/quicktime mov; 90 | video/webm webm; 91 | video/x-flv flv; 92 | video/x-m4v m4v; 93 | video/x-mng mng; 94 | video/x-ms-asf asx asf; 95 | video/x-ms-wmv wmv; 96 | video/x-msvideo avi; 97 | } 98 | -------------------------------------------------------------------------------- /.nginx/conf/mime.types.default: -------------------------------------------------------------------------------- 1 | 2 | types { 3 | text/html html htm shtml; 4 | text/css css; 5 | text/xml xml; 6 | image/gif gif; 7 | image/jpeg jpeg jpg; 8 | application/javascript js; 9 | application/atom+xml atom; 10 | application/rss+xml rss; 11 | 12 | text/mathml mml; 13 | text/plain txt; 14 | text/vnd.sun.j2me.app-descriptor jad; 15 | text/vnd.wap.wml wml; 16 | text/x-component htc; 17 | 18 | image/png png; 19 | image/svg+xml svg svgz; 20 | image/tiff tif tiff; 21 | image/vnd.wap.wbmp wbmp; 22 | image/webp webp; 23 | image/x-icon ico; 24 | image/x-jng jng; 25 | image/x-ms-bmp bmp; 26 | 27 | font/woff woff; 28 | font/woff2 woff2; 29 | 30 | application/java-archive jar war ear; 31 | application/json json; 32 | application/mac-binhex40 hqx; 33 | application/msword doc; 34 | application/pdf pdf; 35 | application/postscript ps eps ai; 36 | application/rtf rtf; 37 | application/vnd.apple.mpegurl m3u8; 38 | application/vnd.google-earth.kml+xml kml; 39 | application/vnd.google-earth.kmz kmz; 40 | application/vnd.ms-excel xls; 41 | application/vnd.ms-fontobject eot; 42 | application/vnd.ms-powerpoint ppt; 43 | application/vnd.oasis.opendocument.graphics odg; 44 | application/vnd.oasis.opendocument.presentation odp; 45 | application/vnd.oasis.opendocument.spreadsheet ods; 46 | application/vnd.oasis.opendocument.text odt; 47 | application/vnd.openxmlformats-officedocument.presentationml.presentation 48 | pptx; 49 | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 50 | xlsx; 51 | application/vnd.openxmlformats-officedocument.wordprocessingml.document 52 | docx; 53 | application/vnd.wap.wmlc wmlc; 54 | application/x-7z-compressed 7z; 55 | application/x-cocoa cco; 56 | application/x-java-archive-diff jardiff; 57 | application/x-java-jnlp-file jnlp; 58 | application/x-makeself run; 59 | application/x-perl pl pm; 60 | application/x-pilot prc pdb; 61 | application/x-rar-compressed rar; 62 | application/x-redhat-package-manager rpm; 63 | application/x-sea sea; 64 | application/x-shockwave-flash swf; 65 | application/x-stuffit sit; 66 | application/x-tcl tcl tk; 67 | application/x-x509-ca-cert der pem crt; 68 | application/x-xpinstall xpi; 69 | application/xhtml+xml xhtml; 70 | application/xspf+xml xspf; 71 | application/zip zip; 72 | 73 | application/octet-stream bin exe dll; 74 | application/octet-stream deb; 75 | application/octet-stream dmg; 76 | application/octet-stream iso img; 77 | application/octet-stream msi msp msm; 78 | 79 | audio/midi mid midi kar; 80 | audio/mpeg mp3; 81 | audio/ogg ogg; 82 | audio/x-m4a m4a; 83 | audio/x-realaudio ra; 84 | 85 | video/3gpp 3gpp 3gp; 86 | video/mp2t ts; 87 | video/mp4 mp4; 88 | video/mpeg mpeg mpg; 89 | video/quicktime mov; 90 | video/webm webm; 91 | video/x-flv flv; 92 | video/x-m4v m4v; 93 | video/x-mng mng; 94 | video/x-ms-asf asx asf; 95 | video/x-ms-wmv wmv; 96 | video/x-msvideo avi; 97 | } 98 | -------------------------------------------------------------------------------- /.nginx/conf/nginx.conf: -------------------------------------------------------------------------------- 1 | # user root; 2 | worker_processes auto; 3 | worker_rlimit_nofile 1024; 4 | error_log /dev/null; 5 | 6 | events { 7 | worker_connections 10240; 8 | } 9 | 10 | http { 11 | include mime.types; 12 | default_type application/octet-stream; 13 | sendfile on; 14 | keepalive_timeout 300s; 15 | server_tokens build; 16 | resolver 8.8.8.8 valid=30s; 17 | 18 | gzip on; 19 | gzip_comp_level 6; 20 | gzip_min_length 1k; 21 | gzip_types text/plain text/css text/xml text/javascript text/x-component application/json application/javascript application/x-javascript application/xml application/xhtml+xml application/rss+xml application/atom+xml application/x-font-ttf application/vnd.ms-fontobject image/svg+xml image/x-icon font/opentype; 22 | 23 | client_max_body_size 2048m; 24 | fastcgi_intercept_errors on; 25 | fastcgi_cache_key $scheme$request_method$host$request_uri; 26 | fastcgi_cache_use_stale error timeout invalid_header http_500; 27 | fastcgi_ignore_headers Cache-Control Expires Set-Cookie; 28 | include conf.d/*.conf; 29 | 30 | server { 31 | listen 8089; 32 | server_name localhost; 33 | 34 | location / { 35 | root html; 36 | index index.html index.htm; 37 | } 38 | 39 | location = /50x.html { 40 | root html; 41 | } 42 | } 43 | 44 | server_names_hash_max_size 512; 45 | server_names_hash_bucket_size 128; 46 | client_header_buffer_size 32k; 47 | large_client_header_buffers 4 32k; 48 | gzip_disable msie6; 49 | gzip_buffers 4 16k; 50 | gzip_http_version 1.1; 51 | gzip_proxied any; 52 | gzip_vary on; 53 | fastcgi_buffer_size 64k; 54 | fastcgi_buffers 4 64k; 55 | fastcgi_busy_buffers_size 128k; 56 | fastcgi_temp_file_write_size 256k; 57 | access_log off; 58 | } -------------------------------------------------------------------------------- /.nginx/conf/nginx.conf.default: -------------------------------------------------------------------------------- 1 | 2 | #user nobody; 3 | worker_processes 1; 4 | 5 | #error_log logs/error.log; 6 | #error_log logs/error.log notice; 7 | #error_log logs/error.log info; 8 | 9 | #pid logs/nginx.pid; 10 | 11 | 12 | events { 13 | worker_connections 1024; 14 | } 15 | 16 | 17 | http { 18 | include mime.types; 19 | default_type application/octet-stream; 20 | 21 | #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 22 | # '$status $body_bytes_sent "$http_referer" ' 23 | # '"$http_user_agent" "$http_x_forwarded_for"'; 24 | 25 | #access_log logs/access.log main; 26 | 27 | sendfile on; 28 | #tcp_nopush on; 29 | 30 | #keepalive_timeout 0; 31 | keepalive_timeout 65; 32 | 33 | #gzip on; 34 | 35 | server { 36 | listen 80; 37 | server_name localhost; 38 | 39 | #charset koi8-r; 40 | 41 | #access_log logs/host.access.log main; 42 | 43 | location / { 44 | root html; 45 | index index.html index.htm; 46 | } 47 | 48 | #error_page 404 /404.html; 49 | 50 | # redirect server error pages to the static page /50x.html 51 | # 52 | error_page 500 502 503 504 /50x.html; 53 | location = /50x.html { 54 | root html; 55 | } 56 | 57 | # proxy the PHP scripts to Apache listening on 127.0.0.1:80 58 | # 59 | #location ~ \.php$ { 60 | # proxy_pass http://127.0.0.1; 61 | #} 62 | 63 | # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 64 | # 65 | #location ~ \.php$ { 66 | # root html; 67 | # fastcgi_pass 127.0.0.1:9000; 68 | # fastcgi_index index.php; 69 | # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; 70 | # include fastcgi_params; 71 | #} 72 | 73 | # deny access to .htaccess files, if Apache's document root 74 | # concurs with nginx's one 75 | # 76 | #location ~ /\.ht { 77 | # deny all; 78 | #} 79 | } 80 | 81 | 82 | # another virtual host using mix of IP-, name-, and port-based configuration 83 | # 84 | #server { 85 | # listen 8000; 86 | # listen somename:8080; 87 | # server_name somename alias another.alias; 88 | 89 | # location / { 90 | # root html; 91 | # index index.html index.htm; 92 | # } 93 | #} 94 | 95 | 96 | # HTTPS server 97 | # 98 | #server { 99 | # listen 443 ssl; 100 | # server_name localhost; 101 | 102 | # ssl_certificate cert.pem; 103 | # ssl_certificate_key cert.key; 104 | 105 | # ssl_session_cache shared:SSL:1m; 106 | # ssl_session_timeout 5m; 107 | 108 | # ssl_ciphers HIGH:!aNULL:!MD5; 109 | # ssl_prefer_server_ciphers on; 110 | 111 | # location / { 112 | # root html; 113 | # index index.html index.htm; 114 | # } 115 | #} 116 | 117 | } 118 | -------------------------------------------------------------------------------- /.nginx/conf/scgi_params: -------------------------------------------------------------------------------- 1 | 2 | scgi_param REQUEST_METHOD $request_method; 3 | scgi_param REQUEST_URI $request_uri; 4 | scgi_param QUERY_STRING $query_string; 5 | scgi_param CONTENT_TYPE $content_type; 6 | 7 | scgi_param DOCUMENT_URI $document_uri; 8 | scgi_param DOCUMENT_ROOT $document_root; 9 | scgi_param SCGI 1; 10 | scgi_param SERVER_PROTOCOL $server_protocol; 11 | scgi_param REQUEST_SCHEME $scheme; 12 | scgi_param HTTPS $https if_not_empty; 13 | 14 | scgi_param REMOTE_ADDR $remote_addr; 15 | scgi_param REMOTE_PORT $remote_port; 16 | scgi_param SERVER_PORT $server_port; 17 | scgi_param SERVER_NAME $server_name; 18 | -------------------------------------------------------------------------------- /.nginx/conf/scgi_params.default: -------------------------------------------------------------------------------- 1 | 2 | scgi_param REQUEST_METHOD $request_method; 3 | scgi_param REQUEST_URI $request_uri; 4 | scgi_param QUERY_STRING $query_string; 5 | scgi_param CONTENT_TYPE $content_type; 6 | 7 | scgi_param DOCUMENT_URI $document_uri; 8 | scgi_param DOCUMENT_ROOT $document_root; 9 | scgi_param SCGI 1; 10 | scgi_param SERVER_PROTOCOL $server_protocol; 11 | scgi_param REQUEST_SCHEME $scheme; 12 | scgi_param HTTPS $https if_not_empty; 13 | 14 | scgi_param REMOTE_ADDR $remote_addr; 15 | scgi_param REMOTE_PORT $remote_port; 16 | scgi_param SERVER_PORT $server_port; 17 | scgi_param SERVER_NAME $server_name; 18 | -------------------------------------------------------------------------------- /.nginx/conf/uwsgi_params: -------------------------------------------------------------------------------- 1 | 2 | uwsgi_param QUERY_STRING $query_string; 3 | uwsgi_param REQUEST_METHOD $request_method; 4 | uwsgi_param CONTENT_TYPE $content_type; 5 | uwsgi_param CONTENT_LENGTH $content_length; 6 | 7 | uwsgi_param REQUEST_URI $request_uri; 8 | uwsgi_param PATH_INFO $document_uri; 9 | uwsgi_param DOCUMENT_ROOT $document_root; 10 | uwsgi_param SERVER_PROTOCOL $server_protocol; 11 | uwsgi_param REQUEST_SCHEME $scheme; 12 | uwsgi_param HTTPS $https if_not_empty; 13 | 14 | uwsgi_param REMOTE_ADDR $remote_addr; 15 | uwsgi_param REMOTE_PORT $remote_port; 16 | uwsgi_param SERVER_PORT $server_port; 17 | uwsgi_param SERVER_NAME $server_name; 18 | -------------------------------------------------------------------------------- /.nginx/conf/uwsgi_params.default: -------------------------------------------------------------------------------- 1 | 2 | uwsgi_param QUERY_STRING $query_string; 3 | uwsgi_param REQUEST_METHOD $request_method; 4 | uwsgi_param CONTENT_TYPE $content_type; 5 | uwsgi_param CONTENT_LENGTH $content_length; 6 | 7 | uwsgi_param REQUEST_URI $request_uri; 8 | uwsgi_param PATH_INFO $document_uri; 9 | uwsgi_param DOCUMENT_ROOT $document_root; 10 | uwsgi_param SERVER_PROTOCOL $server_protocol; 11 | uwsgi_param REQUEST_SCHEME $scheme; 12 | uwsgi_param HTTPS $https if_not_empty; 13 | 14 | uwsgi_param REMOTE_ADDR $remote_addr; 15 | uwsgi_param REMOTE_PORT $remote_port; 16 | uwsgi_param SERVER_PORT $server_port; 17 | uwsgi_param SERVER_NAME $server_name; 18 | -------------------------------------------------------------------------------- /.nginx/conf/win-utf: -------------------------------------------------------------------------------- 1 | 2 | # This map is not a full windows-1251 <> utf8 map: it does not 3 | # contain Serbian and Macedonian letters. If you need a full map, 4 | # use contrib/unicode2nginx/win-utf map instead. 5 | 6 | charset_map windows-1251 utf-8 { 7 | 8 | 82 E2809A ; # single low-9 quotation mark 9 | 10 | 84 E2809E ; # double low-9 quotation mark 11 | 85 E280A6 ; # ellipsis 12 | 86 E280A0 ; # dagger 13 | 87 E280A1 ; # double dagger 14 | 88 E282AC ; # euro 15 | 89 E280B0 ; # per mille 16 | 17 | 91 E28098 ; # left single quotation mark 18 | 92 E28099 ; # right single quotation mark 19 | 93 E2809C ; # left double quotation mark 20 | 94 E2809D ; # right double quotation mark 21 | 95 E280A2 ; # bullet 22 | 96 E28093 ; # en dash 23 | 97 E28094 ; # em dash 24 | 25 | 99 E284A2 ; # trade mark sign 26 | 27 | A0 C2A0 ; #   28 | A1 D18E ; # capital Byelorussian short U 29 | A2 D19E ; # small Byelorussian short u 30 | 31 | A4 C2A4 ; # currency sign 32 | A5 D290 ; # capital Ukrainian soft G 33 | A6 C2A6 ; # borken bar 34 | A7 C2A7 ; # section sign 35 | A8 D081 ; # capital YO 36 | A9 C2A9 ; # (C) 37 | AA D084 ; # capital Ukrainian YE 38 | AB C2AB ; # left-pointing double angle quotation mark 39 | AC C2AC ; # not sign 40 | AD C2AD ; # soft hypen 41 | AE C2AE ; # (R) 42 | AF D087 ; # capital Ukrainian YI 43 | 44 | B0 C2B0 ; # ° 45 | B1 C2B1 ; # plus-minus sign 46 | B2 D086 ; # capital Ukrainian I 47 | B3 D196 ; # small Ukrainian i 48 | B4 D291 ; # small Ukrainian soft g 49 | B5 C2B5 ; # micro sign 50 | B6 C2B6 ; # pilcrow sign 51 | B7 C2B7 ; # · 52 | B8 D191 ; # small yo 53 | B9 E28496 ; # numero sign 54 | BA D194 ; # small Ukrainian ye 55 | BB C2BB ; # right-pointing double angle quotation mark 56 | 57 | BF D197 ; # small Ukrainian yi 58 | 59 | C0 D090 ; # capital A 60 | C1 D091 ; # capital B 61 | C2 D092 ; # capital V 62 | C3 D093 ; # capital G 63 | C4 D094 ; # capital D 64 | C5 D095 ; # capital YE 65 | C6 D096 ; # capital ZH 66 | C7 D097 ; # capital Z 67 | C8 D098 ; # capital I 68 | C9 D099 ; # capital J 69 | CA D09A ; # capital K 70 | CB D09B ; # capital L 71 | CC D09C ; # capital M 72 | CD D09D ; # capital N 73 | CE D09E ; # capital O 74 | CF D09F ; # capital P 75 | 76 | D0 D0A0 ; # capital R 77 | D1 D0A1 ; # capital S 78 | D2 D0A2 ; # capital T 79 | D3 D0A3 ; # capital U 80 | D4 D0A4 ; # capital F 81 | D5 D0A5 ; # capital KH 82 | D6 D0A6 ; # capital TS 83 | D7 D0A7 ; # capital CH 84 | D8 D0A8 ; # capital SH 85 | D9 D0A9 ; # capital SHCH 86 | DA D0AA ; # capital hard sign 87 | DB D0AB ; # capital Y 88 | DC D0AC ; # capital soft sign 89 | DD D0AD ; # capital E 90 | DE D0AE ; # capital YU 91 | DF D0AF ; # capital YA 92 | 93 | E0 D0B0 ; # small a 94 | E1 D0B1 ; # small b 95 | E2 D0B2 ; # small v 96 | E3 D0B3 ; # small g 97 | E4 D0B4 ; # small d 98 | E5 D0B5 ; # small ye 99 | E6 D0B6 ; # small zh 100 | E7 D0B7 ; # small z 101 | E8 D0B8 ; # small i 102 | E9 D0B9 ; # small j 103 | EA D0BA ; # small k 104 | EB D0BB ; # small l 105 | EC D0BC ; # small m 106 | ED D0BD ; # small n 107 | EE D0BE ; # small o 108 | EF D0BF ; # small p 109 | 110 | F0 D180 ; # small r 111 | F1 D181 ; # small s 112 | F2 D182 ; # small t 113 | F3 D183 ; # small u 114 | F4 D184 ; # small f 115 | F5 D185 ; # small kh 116 | F6 D186 ; # small ts 117 | F7 D187 ; # small ch 118 | F8 D188 ; # small sh 119 | F9 D189 ; # small shch 120 | FA D18A ; # small hard sign 121 | FB D18B ; # small y 122 | FC D18C ; # small soft sign 123 | FD D18D ; # small e 124 | FE D18E ; # small yu 125 | FF D18F ; # small ya 126 | } 127 | -------------------------------------------------------------------------------- /.nginx/html/50x.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Error 5 | 12 | 13 | 14 |

An error occurred.

15 |

Sorry, the page you are looking for is currently unavailable.
16 | Please try again later.

17 |

If you are the system administrator of this resource then you should check 18 | the error log for details.

19 |

Faithfully yours, nginx.

20 | 21 | 22 | -------------------------------------------------------------------------------- /.nginx/html/css/mikutap.css: -------------------------------------------------------------------------------- 1 | #about_cover,#view,#view canvas,body,html{height:100%;width:100%}#about,#about_cover,#bt_fs,#ng,.ok{display:none}#about a,#bt_about a,#bt_backtrack a,#bt_feedback a,#bt_start a{color:#fff;text-decoration:none;border-bottom:dashed 1px #fff}body,html{position:absolute;overflow:hidden;text-align:center;background:#8cc;color:#fff;font-family:Quicksand,"游ゴシック","Yu Gothic","游ゴシック体",YuGothic,"Yu Gothic UI","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Meiryo UI","メイリオ",Meiryo,sans-serif}#about_cover,#view{position:fixed;top:0;z-index:1}#bt_back,#bt_fs{position:absolute;z-index:100;padding:10px;left:0;font-size:1rem;cursor:pointer;transition:.2s ease}#bt_fs{left:auto;right:0}#scene_main,#scene_top{width:90%}#scene_loading{width:100%}#about,#scene_loading,#scene_main,#scene_top{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:100;display:none}#scene_top h1{font-size:1.5rem;margin-bottom:25px}#bt_start{margin-bottom:15px}#scene_top .attention{font-size:.9rem;margin-top:25px}#scene_top .tit{margin-top:20px;margin-bottom:10px}#scene_top .con{letter-spacing:-.5rem}#scene_top .sns{margin:0 8px;cursor:pointer}#scene_top .sns img{width:40px}#ng .atten{font-size:.9rem;margin-bottom:20px}#scene_loading hr{width:"0%"}#scene_main,#scene_main .attention{pointer-events:none}#bt_backtrack,#bt_feedback{font-size:.9rem;margin-top:20px;pointer-events:auto}#about_cover{z-index:900;background:#fff;opacity:.5}#about{z-index:1000;color:#fff;background:#8cc;max-width:640px;letter-spacing:.2rem;line-height:1.2;width:100%}#about_in{padding:40px}#bt_close{font-size:2rem;cursor:pointer}#about .close{margin-bottom:30px}#about .con{line-height:1.7;margin-bottom:20px}#about .link{margin-top:30px;margin-bottom:10px;line-height:1.5}#bt_back:hover,#bt_backtrack:hover,#bt_close:hover,#bt_feedback:hover,#bt_fs:hover,#scene_top .sns:hover,a:hover{animation:animover .2s linear;-webkit-animation:animover .2s linear}@keyframes animover{0.00%{opacity:0}100%{opacity:1}}@-webkit-keyframes animover{0.00%{opacity:0}100%{opacity:1}}@media (max-width:640px){#scene_top h1{font-size:1.2rem;margin-bottom:18px}#bt_start,#scene_top .tit{margin-bottom:10px}#bt_about a,#bt_start a{font-size:.9rem}#scene_top .attention{font-size:.6rem;margin-top:18px}#scene_top .tit{font-size:.9rem;margin-top:20px}#scene_top .con{letter-spacing:-.5rem}#scene_top .sns{margin:0 8px}#scene_top .sns img{width:30px}#ng .atten{font-size:.6rem;margin-bottom:15px}#bt_backtrack,#bt_feedback{font-size:.7rem}#about_in{padding:30px}#bt_close{font-size:1.8rem;cursor:pointer}#about{letter-spacing:.1rem}#about a{color:#fff;text-decoration:none;border-bottom:dashed 1px #fff}#about .con,#about .link{font-size:.9rem}} -------------------------------------------------------------------------------- /.nginx/html/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Misaka-blog/replit-xray/502997bfb567f883603ac61ad33e1ce93dc4208f/.nginx/html/icon.png -------------------------------------------------------------------------------- /.nginx/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Mikutap 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 |
25 |

Mikutap

26 |
27 |

十分抱歉
您的浏览器并不支持本页面需要的特性

28 |
29 |
30 |

!开始!

31 |
32 |

*关于*

33 |
34 |

※请打开声音并享受。

35 |
36 |
37 | 38 |
39 |
40 |
41 |
42 |
43 |
44 |

点击 & 拖动或者按任意键!

45 |

背景音乐: 开启

46 |
47 |
48 |
49 |
50 |
51 |

×

52 |

声音来源 Hatsune Miku

53 | 54 | 55 |
56 |
57 | 58 |
□全屏显示
59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /.nginx/html/js/mikutap.min.js: -------------------------------------------------------------------------------- 1 | $(function(){(new MainManager).init()});var MainManager=function(){function a(){w=aidn.window.width(),M=aidn.window.height(),x&&(x.resize(w,M),k&&k.resize())}function e(a,e){e=T.length+P.length,1==C&&(a+=P.length);var n=Math.round(a/e*100)+"%";0>=e&&(n="0%"),$("#scene_loading hr").css("width",n)}function n(){1==++C?T.init(n,e):2==C&&t()}function t(){g=1,$("#scene_loading hr").css("display","none"),$("#scene_loading hr").css("width",0),$("#scene_loading").stop().fadeOut(200,"linear"),v?($("#scene_loading").stop().css("display","none"),$("#bt_back").stop().css("display","none"),p&&$("#bt_fs").stop().css("display","none"),$("#scene_main .set").stop().css("display","none")):$("#scene_main").stop().fadeIn(200,"linear"),I=aidn.___waContext.currentTime,k.start(),P.start()}function i(a){(X=!X)?($("#bt_backtrack a").text("背景音乐: 开启"),aidn.util.setCookie("bt","on",2592e3)):($("#bt_backtrack a").text("背景音乐: 关闭"),aidn.util.setCookie("bt","off",2592e3)),a&&a.preventDefault()}function o(){if(P.update(),1==g&&0>--L&&r(),v&&1==g){var a=1e3*(aidn.___waContext.currentTime-I);if(l*se&&(a=2),.5>e&&(a=3)):64<=h?(.35>e&&(a=2),.2>e&&(a=3),.02>e&&(a=0)):32<=h?(.35>e&&(a=2),.24>e&&(a=0)):0<=h&&.4>e&&(a=0),e=0;eu;u++)c[u]=u;var v=!1;1==aidn.util.getQuery().auto&&(v=!0),aidn.util.needExpandArea(!0);var p=aidn.util.enabledFullscreen();p&&($("#bt_fs").css("display","block"),$("#bt_fs").click(function(a){aidn.util.fullscreen()})),$("#bt_start a").click(function(a){$("#scene_top").stop().fadeOut(200,"linear"),$("#scene_loading").stop().fadeIn(200,"linear"),2==C?t():((new aidn.WebAudio).load(""),P.init(n,e)),a.preventDefault()}),$("#bt_about a").click(function(a){$("#about").stop().fadeIn(200,"linear"),$("#about_cover").stop().fadeIn(200,"linear"),a.preventDefault()}),$("#bt_close,#about_cover").click(function(){$("#about").stop().fadeOut(200,"linear"),$("#about_cover").stop().fadeOut(200,"linear")}),$("#bt_back").click(function(){switch(g){case 1:g=0,k.end(),P.end(),$("#scene_top").stop().fadeIn(100,"linear"),$("#scene_loading").stop().fadeOut(100,"linear"),$("#scene_main").stop().fadeOut(100,"linear"),r();break;default:location.href="https://github.com/HFIProgramming/mikutap"}}),$("#bt_backtrack a").click(i);u=aidn.util.checkJapanese();var m=aidn.util.checkMobile(),y="Mikutap";y=u?y+",初音ミク10周年":y+",Miku10th";$("#bt_tw").click(function(a){aidn.social.shareTw("https://aidn.jp/mikutap/",!0,document.title,"daniwell_aidn",y)}),$("#bt_fb").click(function(a){aidn.social.shareFb("https://aidn.jp/mikutap/",!0)}),$("#bt_gp").click(function(a){aidn.social.shareGp("https://aidn.jp/mikutap/",!0)});var w,M,I,x,b,C=0,g=0,P=new function(){function a(){c&&c()}function e(a,e){f&&f(a,e)}this.init=function(t,o){f=o,c=t;for(var r=[],l=0;lv||(T.play(a%T.length,n),L=90,_&&(_=!1,$("#bt_back").stop().fadeOut(200,"linear"),p&&$("#bt_fs").stop().fadeOut(200,"linear"),$("#scene_main .set").stop().fadeOut(200,"linear")),0>=--F&&(e=Math.floor(k.length*Math.random()),n=e+P.length,(e=G[n].length?G[n].pop():new k[e](X,n)).play(),F=12*Math.random()+6),e=a%P.length,(e=0a?4473924:.18>a?16777215:R[s()]}function s(){for(var a=0;10>a;a++){var e=Math.floor(S*Math.random());if(2Math.random()&&(s=-1),c.clear(),c.beginFill(0),c.moveTo(0,0),c.lineTo(1,1),c.endFill(),TweenLite.fromTo(h,.6,{rotation:0},{rotation:360,ease:Power1.easeOut,onUpdate:n,onComplete:t})};var o,r,l,s,d,h={rotation:0},c=new PIXI.Graphics;a.addChild(c),e.mask=c},c=function(a){function e(){h.clear(),0==i?h.lineStyle(r,o):h.beginFill(o);for(var a=0;aa;a+=2)TweenLite.delayedCall(.07*a,e),TweenLite.delayedCall(.07*(a+1),n)},this.setColor=function(a,e){i=a,0<=e||(e=0),r.setChildIndex(o,e),t.resize()};var t=this,i=16777215,o=new PIXI.Graphics,r=a;r.addChild(o)}(X)).setColor(8965324,0)},this.start=function(){m||($("#view").on("mousedown",t),$(window).on("mousemove",i),$(window).on("mouseup",o),$(window).on("keydown",e),$(window).on("keyup",n)),(m||window.TouchEvent)&&($("#view").on("touchstart",t),$(window).on("touchmove",i),$(window).on("touchend",o)),$("#view").css("cursor","pointer")},this.end=function(){m||($("#view").off("mousedown",t),$(window).off("mousemove",i),$(window).off("mouseup",o),$(window).off("keydown",e),$(window).off("keyup",n)),(m||window.TouchEvent)&&($("#view").off("touchstart",t),$(window).off("touchmove",i),$(window).off("touchend",o)),$("#view").css("cursor","auto")},this.changeId=function(a,e,n){r(a,e,n)};var u,v=-1,y=4,I=8,x=!1,C=!1,g=[],P=[function(a,e){function n(){s.visible=!1,G[i.id].push(i)}var t=function(a){function e(){n.visible=!1}this.play=function(a,t,i){n.visible=!0,n.clear();var o=w*Math.random(),r=M*Math.random(),l=Math.min(w,M)*(.03*Math.random()+.02);return n.lineStyle(3*Math.random()+3,i),n.drawCircle(0,0,l),n.x=a,n.y=t,n.scale.x=0,n.scale.y=0,n.rotation=Math.random()*Math.PI,a=.2*Math.random()+.4,TweenLite.to(n,a,{x:o,y:r,rotation:Math.random()*Math.PI,ease:Power3.easeOut,onComplete:e}),TweenLite.to(n.scale,a,{x:1,y:1,ease:Back.easeOut.config(1.7)}),a};var n=new PIXI.Graphics;a.addChild(n)};this.play=function(){o.setChildIndex(s,o.children.length-1),s.visible=!0;for(var a=5*Math.random()+7,e=0,i=w/2,d=M/2,h=l(),c=0;ch;h++){var c,f=25*h*Math.PI/180,u=a*Math.cos(f);f=a*Math.sin(f),a=a+i,d=d+.22;c=r[h]?r[h]:new t(s);var v=null;39==h&&(v=n),c.play(.03*h,e,d,u,f,v)}};var i=this,o=a;this.id=e;var r=[],s=new PIXI.Container;o.addChild(s)},function(a,e){function n(){G[t.id].push(t)}this.play=function(){i.play(0,n)};var t=this;this.id=e;var i=new c(a)},function(a,e){function n(){G[t.id].push(t)}this.play=function(){i.play(1,n)};var t=this;this.id=e;var i=new c(a)},function(a,e){function n(){o.visible=!1,G[t.id].push(t)}this.play=function(){i.setChildIndex(o,i.children.length-1),o.visible=!0,o.x=w/2,o.y=M/2;var a=l(),e=Math.min(w,M)*(.28*Math.random()+.2),t=Math.floor(5*Math.random())+3;r.clear(),r.lineStyle(7*Math.random()+4,a,1),r.rotation=30*Math.floor(6*Math.random());a=360/t;for(var d=0;d<=t;d++){var h=d*a*Math.PI/180,c=e*Math.cos(h);h=e*Math.sin(h);0==d?r.moveTo(c,h):r.lineTo(c,h)}t=.8*Math.random()+.4,a=.8*Math.random()+.4,TweenLite.fromTo(r.scale,.9,{x:t,y:t},{x:a,y:a,ease:Bounce.easeOut}),s.play(e,n)};var t=this,i=a;this.id=e;var o=new PIXI.Container,r=new PIXI.Graphics;i.addChild(o),o.addChild(r);var s=new h(o,r)},function(a,e){function n(){r.visible=!1,G[i.id].push(i)}var t=function(a){function e(){var a=Math.min(w,M),e=a*(.08*Math.random()+.05);r.lineStyle(4*Math.random()+4,l()),r.drawRect(-e/2,-e/2,e,e),r.x=i+a/2*(Math.random()-.5),r.y=o+a/2*(Math.random()-.5),r.scale.x=0,r.scale.y=0,r.rotation=Math.random()*Math.PI,TweenLite.to(r,.5,{x:i,y:o,rotation:0,ease:Back.easeOut.config(1.7),onComplete:n}),TweenLite.to(r.scale,.5,{x:1,y:1,ease:Back.easeOut.config(1.7)})}function n(){var a=Math.min(w,M),e=i+a/2*(Math.random()-.5);a=o+a/2*(Math.random()-.5);TweenLite.to(r,.5,{x:e,y:a,rotation:-Math.random()*Math.PI,ease:Back.easeIn.config(1.7),onComplete:t,delay:.2}),TweenLite.to(r.scale,.5,{x:0,y:0,ease:Back.easeIn.config(1.7),delay:.2})}function t(){r.visible=!1}this.play=function(a,n){n,r.visible=!0,r.clear(),i=w*Math.random(),o=M*Math.random(),TweenLite.delayedCall(a,e)};var i,o,r=new PIXI.Graphics;a.addChild(r)};this.play=function(){o.setChildIndex(r,o.children.length-1),r.visible=!0;for(var a=Math.floor(5*Math.random()+5),e=0;eMath.random()&&(f=-1);for(var u=0;uMath.random()&&(f=-1);for(var u=0;uMath.random()?-135*Math.PI/180:215*Math.PI/180,(new TimelineLite).to(r.scale,.4,{x:1,ease:Power2.easeOut}).to(s.scale,.4,{y:1,ease:Power2.easeOut},.1).to(o,.6,{rotation:a,ease:Back.easeOut.config(1.7)},0).to(r.scale,.3,{x:0,ease:Power2.easeOut}).to(s.scale,.3,{y:0,ease:Power2.easeOut,onComplete:n},.6)};var t=this,i=a;this.id=e;var o=new PIXI.Container,r=new PIXI.Graphics,s=new PIXI.Graphics;i.addChild(o),o.addChild(r),o.addChild(s)},function(a,e){function n(){if(h++,iMath.random()?(f.x=0,f.y=0,f.rotation=0):(f.x=w,f.y=M,f.rotation=Math.PI),h=o=0,i=Math.floor(3*Math.random())+3,r=20*Math.random()+2,s=l();var a,e=.5>Math.random();a=e?w/i:M/i;for(var t=0;t<=i;t++){var u;e?(u={x:t*a,y:M*Math.random()},0==t&&(u.x-=10),t==i&&(u.x+=10)):(u={y:t*a,x:w*Math.random()},0==t&&(u.y-=10),t==i&&(u.y+=10)),d[t]=u}e=d[0],c.x=e.x,c.y=e.y,n()},this.id=e;var i,o,r,s,d=[],h=0,c={x:0,y:0},f=new PIXI.Graphics;a.addChild(f)},f],k=[function(a,e){function n(){h.clear(),h.beginFill(r),h.moveTo(i.pos.b1.x,i.pos.b1.y),h.lineTo(i.pos.b0.x,i.pos.b0.y);for(var a=0;i.pos["p"+a];a++){var e=i.pos["p"+a];h.lineTo(e.x,e.y)}h.endFill()}function t(){D==c&&z.setColor(r,d-1),h.visible=!1,G[i.id].push(i)}this.play=function(){D=c;var a=s();r=E[a],$("#about").css("background-color","#"+r.toString(16)),.3>Math.random()&&z.flash(d),A=a,h.clear(),h.visible=!0,d=o.children.length-1-Math.floor(2*Math.random()),o.setChildIndex(h,d);a=.5>Math.random();var e=Math.floor(4*Math.random())+1;i.pos={};var f=0;a?(f=M/e,i.pos.b0={x:0,y:0},i.pos.b1={x:0,y:M}):(f=w/e,i.pos.b0={x:0,y:0},i.pos.b1={x:w,y:0}),.5>Math.random()?(h.rotation=0,h.x=0,h.y=0):(h.rotation=Math.PI,h.x=w,h.y=M);for(var u=l=0;u<=e;u++){var v={x:0,y:0},p=0;0!=u&&u!=e&&(p=f/4*Math.random()-f/8),a?v.y=f*u+p:v.x=f*u+p,i.pos["p"+u]=v,v=.4*Math.random()+.3,l=2,TweenLite.to(i.pos["p"+u],v,a?{x:w}:{y:M})}i.progress=0,TweenLite.to(i,l,{progress:1,ease:Power0.easeNone,onUpdate:n,onComplete:t})};var i=this,o=a;this.id=e,this.progress=0,this.pos={};var r,l,d=0,h=new PIXI.Graphics;o.addChild(h);var c=Math.floor(aidn.util.getTime())}];aidn.util.shuffleArray(P);for(var X,F=16*Math.random(),G=[],B=0;B你的浏览器不支此页面")),PIXI.utils._saidHello=!0,aidn.window.resize(a)},WebAudioManager=function(){function a(){if(l++,r.now=l,i&&i(l,e),e<=l)t&&t();else{var d=new aidn.WebAudio;d.load(o[n[l]],a),s[l]=d}}this.load=function(l,s,d,h){t=d,i=h,n=s,e=s.length,r.length=e,$.getJSON(l,function(e){o=e,a()})},this.play=function(a,n,t){0<=t||(t=1),a.image{opacity:.8}.adv_con:before{position:absolute;width:100%;background-color:#ccc;height:100%;opacity:0;z-index:-1;left:0;transition:.2s ease}.adv_con:hover:before{opacity:.3}#footer .adv .txlink,#menu .adv .txlink{font-size:1rem;margin:10px 0;white-space:nowrap}#footer .adv .txlink a,#menu .adv .txlink a{border-bottom:1px dotted;padding:8px 0;text-decoration:none;transition:.2s ease}#footer .adv .txlink a{color:#000;border-bottom-color:#fff}#menu .adv .txlink a{color:#fff;border-bottom-color:#000}#footer .adv .txlink a span,#menu .adv .txlink a span{transition:.2s ease;padding:5px}#footer .adv .txlink a span{background:#fff}#menu .adv .txlink a span{background:#000}#footer .adv .txlink a:hover,#menu .adv .txlink a:hover{border-bottom-color:#FC0}#footer .adv .txlink a:hover>span,#menu .adv .txlink a:hover>span{background:#FC0}#menu_sp{display:none;position:fixed;top:0;left:0;width:100%;z-index:300}#menu_sp .menu_bt{background:#000;background:rgba(0,0,0,.8);width:60px;height:60px;position:absolute;top:0;right:0}.burger,.burger span{display:inline-block;transition:all .4s;box-sizing:border-box}.burger{position:relative;width:40px;height:32px;top:13px}.burger span{position:absolute;left:0;width:100%;height:2px;background-color:#fff;border-radius:2px}.burger span:nth-of-type(1){top:0}.burger span:nth-of-type(2){top:15px}.burger span:nth-of-type(3){bottom:0}.burger.active span:nth-of-type(1){transform:translateY(15px) rotate(-315deg);-webkit-transform:translateY(15px) rotate(-315deg);-ms-transform:translateY(15px) rotate(-315deg)}.burger.active span:nth-of-type(2){-ms-filter:"alpha(opacity=0)";filter:alpha(opacity=0);opacity:0}.burger.active span:nth-of-type(3){transform:translateY(-15px) rotate(315deg);-webkit-transform:translateY(-15px) rotate(315deg);-ms-transform:translateY(-15px) rotate(315deg)}#bt_top{display:none;height:150px;background:#000;color:#FFF;transition:.2s ease;transition-property:background,color}#bt_top p{position:relative;top:50%;transform:translateY(-50%);-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);font-size:1.2rem}#bt_top:hover{background:#ccc;color:#000}@media (max-width:800px){#menu{display:none}#menu.common{width:100%;top:0;right:0;transform:translateY(0);-webkit-transform:translateY(0);-ms-transform:translateY(0)}#menu.common .menu_con{font-size:1rem;padding-top:5vh;padding-bottom:3.3vh}#menu.common .menu_con h2{font-size:.7rem}#menu .menu_con p{margin-top:13px}#menu.common .menu_foot{padding-top:2px}#menu ul li{margin-right:9px;letter-spacing:.2rem}#menu.common .adv_con{margin-top:6px;font-size:.7rem}#menu.common .adv_con img{width:100px;height:100px}#footer .adv .txlink,#menu .adv .txlink{font-size:.9rem}#menu .adv .txlink a{color:#000;border-bottom-color:#fff}#menu .adv .txlink a span{background:#fff}#menu_sp{display:block}#bt_top{height:100px}#bt_top p{font-size:1rem}}#aidn #footer{position:fixed;bottom:2px;font-size:.6rem;padding-left:40px;z-index:90}#aidn #footer p{color:#000}.goog-te-gadget{margin-top:10px;margin-bottom:10px}.goog-te-gadget a:link,.goog-te-gadget a:visited{text-decoration:none}div.skiptranslate{opacity:0}#google_translate_element div.skiptranslate{opacity:1;letter-spacing:.2rem} -------------------------------------------------------------------------------- /.nginx/html/shared/css/index-1.css: -------------------------------------------------------------------------------- 1 | #player,#player_con{z-index:0;overflow:hidden;pointer-events:none}#aidn #footer p,#menu .menu_con a,#twitter{color:#fff}#aidn a,#menu .menu_con a{text-decoration:none}body,html{width:100%;height:100%;background:#000}#menu{background:0 0;height:auto}#menu .menu_con{background:0 0;color:#fff}#menu .menu_con p.link{margin-top:40px}#aidn #footer{padding-bottom:40px}#aidn #footer ul{margin-bottom:8px}#aidn #footer ul li{display:inline-block;margin:0 5px;cursor:pointer}#aidn #footer ul li img{width:40px;height:40px}#player_con{position:fixed;min-width:100%;min-height:100%;left:0;opacity:.5}#player{position:absolute;top:0;opacity:1}#twitter{width:220px;margin-top:30px;border:1px solid #fff;padding:5px;font-size:.7rem;text-align:center;transition:.2s ease}#twitter:hover{background-color:rgba(255,255,255,.3)}@media (max-width:800px),(max-height:820px){#menu{display:block;top:0;left:0;right:0;position:relative;transform:translate(0,0);-webkit-transform:translate(0,0);-ms-transform:translate(0,0);margin:0 auto}#aidn #footer{margin-top:30px;position:relative}}@media (orientation:landscape){#player img{width:100vw;margin-top:calc(50vh - 50vw)}}@media (orientation:portrait){#player img{width:100vh;margin-left:calc(50vw - 50vh)}} -------------------------------------------------------------------------------- /.nginx/html/shared/js/common-2.min.js: -------------------------------------------------------------------------------- 1 | function __googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage:"ja",includedLanguages:"de,en,es,fr,it,ja,ko,pt,ru,zh-CN,zh-TW",layout:google.translate.TranslateElement.InlineLayout.SIMPLE,autoDisplay:!0},"google_translate_element")}function __checkInit(){"undefined"==typeof jQuery?setTimeout(__checkInit,10):$(function(){if($("meta:last").after(''),aidn.util.initStandAlone(),_isJapanese||null!=document.getElementById("google_translate_element")&&$.getScript("//translate.google.com/translate_a/element.js?cb=__googleTranslateElementInit",function(){var e=$(".aidn_sub").length,t=aidn.util.getQuery();setInterval(function(){$(".goog-te-banner-frame").length&&("none"==$(".skiptranslate").css("display")?e&&("block"==$("#menu_sp").css("display")?$("#menu, #menu_sp").css("top",0):$("#menu").css("top",0)):(e&&("block"==$("#menu_sp").css("display")?$("#menu, #menu_sp").css("top",39):$("#menu").css("top",39)),480>$(window).width()?$("iframe:first").contents().find(".goog-te-button").css("display","none"):$("iframe:first").contents().find(".goog-te-button").css("display","block"),0!=t.tw&&$("#goog-gt-tt").css({display:"none",opacity:0})))},100);var n=setInterval(function(){$(".goog-te-banner-frame").length&&"none"!=$(".skiptranslate").css("display")&&($(".goog-te-banner-frame").css({"box-shadow":"none","-webkit-box-shadow":"none","border-bottom":"1px solid #000000"}),$("iframe:first").contents().find(".goog-te-banner").css("background","#FFF"),$("div.skiptranslate").css("opacity",1),clearInterval(n))},100)}),aidn.util.checkMobile()&&($("a[href='http://twitter.com/daniwell_aidn']").attr("target","_self"),$("a[href='https://twitter.com/daniwell_aidn']").attr("target","_self")),0<$("#aidn").length&&(_active=!1),!_active){var e=aidn.constant.advUrlEn;if(aidn.util.checkJapanese()&&(e=aidn.constant.advUrlJa),e='

'+aidn.constant.advTex+"

",e+='

'+aidn.constant.advAlt+'

',e+="
",0<$(".adv").length)$(".adv").html(e),$("body").css("overflow","auto");else{e='
'+e+"
";var t=$("#common_back");0n)&&(n=0),this.basepath=e[n]},loadScript:function(e,t){$.ajaxSetup({cache:!0});var n=function(i){var o=e[i]+"?"+aidn.init.ver;aidn.init.usebase&&0!=o.indexOf("http")&&(o=aidn.init.basepath+o),$.getScript(o,function(){i+1=this.clHeight||0>=this.clWidth)&&(this.clWidth=this.scWidth,this.clHeight=this.scHeight),(0>=this.inHeight||0>=this.inWidth)&&(this.inWidth=this.clWidth,this.inHeight=this.clHeight)},clWidth:0,clHeight:0,scWidth:0,scHeight:0,inWidth:0,inHeight:0,touchEnabled:null!=window.TouchEvent},aidn.audio={init:function(){if(!this._inited){this._inited=!0;try{this.audio=[],this.audio[0]=new Audio,this.availableAudio=!0,this.availableOgg=""!=this.audio[0].canPlayType("audio/ogg"),this.availableMP3=""!=this.audio[0].canPlayType("audio/mpeg"),this.availableWav=""!=this.audio[0].canPlayType("audio/wav")}catch(e){availableAudio=!1}}},setSrc:function(e,t){this.audio[e]?this.audio[e].src=t:this.audio[e]=new Audio(t)},load:function(e){this.audio[e].load()},play:function(e){this.audio[e].play()},pause:function(e){this.audio[e].pause()},stop:function(e){this.audio[e].ended||(this.audio[e].pause(),this.audio[e].currentTime=0)},volume:function(e,t){0>t&&(t=0),1';document.getElementById(e).innerHTML=a,this.canvas=document.getElementById(t),this.ctx=this.canvas.getContext("2d"),this.w=n,this.h=i,this.bgColor=o,this.clear(!0)},clear:function(e){this.ctx.fillStyle=this.bgColor,this.ctx.fillRect(0,0,this.w,this.h),e&&this.ctx.fill()},canvas:null,ctx:null,w:0,h:0,bgColor:"#ffffff"},aidn.event={addTouchEvent:function(e,t,n,i,o){"string"==typeof e&&(e=document.getElementById(e)),t&&e.addEventListener("touchstart",t,!1),n&&e.addEventListener("touchmove",n,!1),i&&e.addEventListener("touchend",i,!1),o&&e.addEventListener("touchcancel",o,!1)},removeTouchEvent:function(e,t,n,i,o){"string"==typeof e&&(e=document.getElementById(e)),t&&e.removeEventListener("touchstart",t,!1),n&&e.removeEventListener("touchmove",n,!1),i&&e.removeEventListener("touchend",i,!1),o&&e.removeEventListener("touchcancel",o,!1)},addMouseEvent:function(e,t,n,i,o){"string"==typeof e&&(e=document.getElementById(e)),t&&e.addEventListener("mousedown",t,!1),n&&e.addEventListener("mousemove",n,!1),i&&e.addEventListener("mouseup",i,!1),o&&e.addEventListener("mouseout",o,!1)},removeMouseEvent:function(e,t,n,i,o){"string"==typeof e&&(e=document.getElementById(e)),t&&e.removeEventListener("mousedown",t,!1),n&&e.removeEventListener("mousemove",n,!1),i&&e.removeEventListener("mouseup",i,!1),o&&e.removeEventListener("mouseout",o,!1)},add:function(e,t,n,i,o){(aidn.config.touchEnabled?this.addTouchEvent:this.addMouseEvent)(e,t,n,i,o)},remove:function(e,t,n,i,o){(aidn.config.touchEnabled?this.removeTouchEvent:this.removeMouseEvent)(e,t,n,i,o)},addMouseWheel:function(e,t){var n="onwheel"in document?"wheel":"onmousewheel"in document?"mousewheel":"DOMMouseScroll";"string"==typeof e&&(e=document.getElementById(e)),e.addEventListener(n,t)},removeMouseWheel:function(e,t){var n="onwheel"in document?"wheel":"onmousewheel"in document?"mousewheel":"DOMMouseScroll";"string"==typeof e&&(e=document.getElementById(e)),e.removeEventListener(n,t)},addDeviceOrientation:function(e){window.addEventListener("deviceorientation",e)},removeDeviceOrientation:function(e){window.removeEventListener("deviceorientation",e)},addDeviceMotion:function(e){window.addEventListener("devicemotion",e)},removeDeviceMotion:function(e){window.removeEventListener("devicemotion",e)},getWheelDelta:function(e){return void 0!==e.wheelDelta?e.wheelDelta:e.detail},getPos:function(e){return e.touches?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.originalEvent&&e.originalEvent.touches?{x:e.originalEvent.touches[0].pageX,y:e.originalEvent.touches[0].pageY}:{x:e.clientX,y:e.clientY}}},aidn.ref={init:function(e){0=window.pageYOffset&&window.scrollTo(0,1)},hideAddressBarStart:function(e){navigator.userAgent.match(/iphone|ipod/i)?(this.m=parseInt(document.body.style.minHeight),isNaN(this.m)&&(this.m=0),document.body.style.minHeight="2000px",window.addEventListener("scroll",this._scrolled),this.f=e,this.i=setInterval(function(){aidn.util.hideAddressBar()},50)):e&&e()},_scrolled:function(){var e=aidn.util;document.body.style.minHeight=Math.max(window.innerHeight,e.m)+"px",clearInterval(e.i),window.removeEventListener("scroll",e._scrolled),e.f&&e.f()},lowerAndroid:function(e){var t=!1,n=navigator.userAgent;return 0e},getiOSVersion:function(){var e=navigator.userAgent,t=e.match(/iPhone OS (\d+_*\d*)/);return t&&t[1]?parseFloat(t[1].replace("_",".")):(t=e.match(/iPad; CPU OS (\d+_*\d*)/))&&t[1]?parseFloat(t[1].replace("_",".")):-1},checkChrome:function(){var e=navigator.userAgent;return 0<=e.indexOf("CriOS")||0<=e.indexOf("Chrome")},checkSafari:function(){var e=navigator.userAgent;return 0<=e.indexOf("Version")&&0<=e.indexOf("Safari")},checkAndroid:function(){return 0<=navigator.userAgent.indexOf("Android")},checkiOS:function(e){var t=navigator.userAgent,n=0<=t.indexOf("iPhone")||0<=t.indexOf("iPod");return 0!=e?n||0<=t.indexOf("iPad"):n},checkMobile:function(){var e=navigator.userAgent;return 0<=e.indexOf("iPhone")||0<=e.indexOf("iPad")||0<=e.indexOf("iPod")||0<=e.indexOf("Android")||0<=e.indexOf("BlackBerry")||0<=e.indexOf("Windows Phone")},checkApps:function(){return aidn.util.checkAppTwitter()||aidn.util.checkAppFacebook()||aidn.util.checkAppLine()},checkAppTwitter:function(){var e=navigator.userAgent;return!(!aidn.util.checkSafari()||!aidn.util.checkMobile())||0<=e.indexOf("Twitter for")},checkAppFacebook:function(){return 0<=navigator.userAgent.indexOf("FBAV")},checkAppLine:function(){return 0<=navigator.userAgent.indexOf("Line")},shuffleArray:function(e){var t,n=e.length;for(t=0;tMath.max(window.screen.width,window.screen.height))&&1==e&&($("html,body").css("position","static"),$(window).on("touchmove.noScroll",function(e){e.preventDefault()}),window.scrollTo(0,0),$("body").css("padding-bottom",1),setInterval(function(){window.scrollTo(0,0)},100)),n},initStandAlone:function(){"standalone"in window.navigator&&window.navigator.standalone&&$("a").each(function(e,t){var n=$(this),i=n.attr("target"),o=!0;i&&0<=i.indexOf("blank")&&(o=!1);var a=n.attr("href");o&&a&&""!=a&&(n.click(function(e){location.href=a,e.preventDefault()}),n.attr("href",""))})},canvas:!!window.CanvasRenderingContext2D,webgl:function(){try{var e=document.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");return!!(window.WebGLRenderingContext&&t&&t.getShaderPrecisionFormat)}catch(e){return!1}}(),webaudio:function(){for(var e=["SO-03F","SO-02F","SO-01F"],t=e.length,n=navigator.userAgent,i=0;i");e.css({width:"100%",height:"100%",position:"fixed",zIndex:-1}),e.html('

'),$("body").prepend(e),aidn.window._dummy=$("#dummy p")}},resize:function(e,t){aidn.window._isFit=t,void 0===t&&(aidn.window._isFit=!0),aidn.window._resizeFunc=e,$(window).resize(aidn.window._resize),aidn.window._isFit&&$(window).on("touchmove",function(e){e.preventDefault()}),aidn.window._isTwitteriOS&&aidn.window._resizeFix(),aidn.window._resize()},width:function(){return $(window).width()},height:function(){return aidn.window._isTwitteriOS?window.innerHeight:aidn.window._dummy?aidn.window._dummy.height():$(window).height()},_resize:function(){aidn.window._isTwitteriOS&&aidn.window._isFit&&$("body").height(window.innerHeight+20),aidn.window._isTwitteriOS?setTimeout(aidn.window._resizeFix,100):aidn.window._resizeFix()},_resizeFix:function(){aidn.window._isTwitteriOS&&aidn.window._isFit&&$("body").height(window.innerHeight),aidn.window._resizeFunc&&aidn.window._resizeFunc()},_isFit:!0,_isTwitteriOS:aidn.util.checkAppTwitter(),_dummy:null,_resizeFunc:null},aidn.math={toRad:function(e){return e*Math.PI/180},toDeg:function(e){return 180*e/Math.PI},rand:function(e,t){return Math.random()*(t-e)+e},randInt:function(e,t){return Math.floor(Math.random()*(t+1-e)+e)}},aidn.social={init:function(){this.initTw(),this.initFb(),this.initGp()},initTw:function(){if(!(0>location.href.indexOf("http"))){var e,t=document.getElementsByTagName("script")[0],n=/^http:/.test(document.location)?"http":"https";document.getElementById("twitter-wjs")||(e=document.createElement("script"),e.id="twitter-wjs",e.src=n+"://platform.twitter.com/widgets.js",t.parentNode.insertBefore(e,t))}},initFb:function(){if(!(0>location.href.indexOf("http"))){var e,t=document.getElementsByTagName("script")[0];document.getElementById("facebook-jssdk")||(e=document.createElement("script"),e.id="facebook-jssdk",e.src="//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0",t.parentNode.insertBefore(e,t))}},initGp:function(){if(!(0>location.href.indexOf("http"))){var e=aidn.util.getLanguage();"en"!=e&&(window.___gcfg={lang:e}),(e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}},reloadTw:function(e,t,n,i){0<=i.indexOf("http://aidn.jp")&&(i=i.replace("http","https")),0<$("#twitter iframe").length&&$("#twitter iframe").remove(),0<$("#twitter-wjs").length&&$("#twitter-wjs").remove();var o='