diff --git a/software/FusionX/modules/z80drv.ko b/software/FusionX/modules/z80drv.ko
index 4462589b5..af0981599 100644
Binary files a/software/FusionX/modules/z80drv.ko and b/software/FusionX/modules/z80drv.ko differ
diff --git a/software/FusionX/src/driver/Makefile b/software/FusionX/src/driver/Makefile
index 56eb2cd73..cd81baf80 100644
--- a/software/FusionX/src/driver/Makefile
+++ b/software/FusionX/src/driver/Makefile
@@ -1,12 +1,13 @@
-MODEL := MZ2000
-KDIR = $(srctree)
-KERNEL := $(PWD)/../../../linux/kernel
-#KERNEL := /srv/dvlp/Projects/tzpu/FusionX/software/linux/kernel
-CROSS := arm-linux-gnueabihf-
-ccflags-y += -O2 -I${src}/Zeta/API -I${src}/Z80/API -I${KERNEL}/drivers/sstar/include -I${KERNEL}/drivers/sstar/include/infinity2m -I${KERNEL}/drivers/sstar/gpio/infinity2m
-CTRLINC += -IZeta/API -IZ80/API
+MODEL := MZ2000
+#MODEL := MZ700
+#MODEL := MZ80A
+KERNEL := $(PWD)/../../../linux/kernel
+FUSIONX := $(PWD)/../..
+CROSS := arm-linux-gnueabihf-
+ccflags-y += -O2 -I${src}/Zeta/API -I${src}/Z80/API -I${KERNEL}/drivers/sstar/include -I${KERNEL}/drivers/sstar/include/infinity2m -I${KERNEL}/drivers/sstar/gpio/infinity2m
+CTRLINC += -IZeta/API -IZ80/API
-obj-m += z80drv.o
+obj-m += z80drv.o
z80drv-objs += $(MODEL)/z80driver.o Z80.o $(MODEL)/z80io.o $(MODEL)/z80menu.o # emumz.o sharpmz.o osd.o
z80drv-objs += ../../../linux/kernel/drivers/sstar/gpio/infinity2m/gpio_table.o
z80drv-objs += ../../../linux/kernel/drivers/sstar/gpio/infinity2m/mhal_gpio.o
@@ -20,6 +21,12 @@ all:
make -C $(KERNEL) ARCH=arm CROSS_COMPILE=$(CROSS) M="$(PWD)" modules
$(CROSS)gcc $(CTRLINC) $(MODEL)/z80ctrl.c -o z80ctrl
+install:
+ @echo "Copy kernel driver..."
+ @cp z80drv.ko $(FUSIONX)/modules/
+ @echo "Copy z80ctrl app..."
+ @cp z80ctrl $(FUSIONX)/bin/
+
clean:
make -C $(KERNEL) M=$(PWD) clean
diff --git a/software/FusionX/testapps/CoAPI/res/bright_mode.wav b/software/FusionX/testapps/CoAPI/res/bright_mode.wav
new file mode 100644
index 000000000..3c26c5594
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/bright_mode.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/chuanglian_off.wav b/software/FusionX/testapps/CoAPI/res/chuanglian_off.wav
new file mode 100644
index 000000000..ce638080d
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/chuanglian_off.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/chuanglian_on.wav b/software/FusionX/testapps/CoAPI/res/chuanglian_on.wav
new file mode 100644
index 000000000..53099d35d
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/chuanglian_on.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/floor_heat_off.wav b/software/FusionX/testapps/CoAPI/res/floor_heat_off.wav
new file mode 100644
index 000000000..9fc4684a6
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/floor_heat_off.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/floor_heat_open.wav b/software/FusionX/testapps/CoAPI/res/floor_heat_open.wav
new file mode 100644
index 000000000..e1320a07c
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/floor_heat_open.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/fresh_air_off.wav b/software/FusionX/testapps/CoAPI/res/fresh_air_off.wav
new file mode 100644
index 000000000..c2f2efef8
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/fresh_air_off.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/fresh_air_open.wav b/software/FusionX/testapps/CoAPI/res/fresh_air_open.wav
new file mode 100644
index 000000000..cbd07364a
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/fresh_air_open.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/home_mode.wav b/software/FusionX/testapps/CoAPI/res/home_mode.wav
new file mode 100644
index 000000000..1f9848a5f
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/home_mode.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/kongtiao_off.wav b/software/FusionX/testapps/CoAPI/res/kongtiao_off.wav
new file mode 100644
index 000000000..57da5226c
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/kongtiao_off.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/kongtiao_on.wav b/software/FusionX/testapps/CoAPI/res/kongtiao_on.wav
new file mode 100644
index 000000000..427e46ed1
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/kongtiao_on.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/leave_home_mode.wav b/software/FusionX/testapps/CoAPI/res/leave_home_mode.wav
new file mode 100644
index 000000000..73a187a56
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/leave_home_mode.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/light_off.wav b/software/FusionX/testapps/CoAPI/res/light_off.wav
new file mode 100644
index 000000000..df71fdc8c
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/light_off.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/light_on.wav b/software/FusionX/testapps/CoAPI/res/light_on.wav
new file mode 100644
index 000000000..e9c95ec9e
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/light_on.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/player_pause.wav b/software/FusionX/testapps/CoAPI/res/player_pause.wav
new file mode 100644
index 000000000..91f4746c3
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/player_pause.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/player_resume.wav b/software/FusionX/testapps/CoAPI/res/player_resume.wav
new file mode 100644
index 000000000..d3478e5b0
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/player_resume.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/volume_down.wav b/software/FusionX/testapps/CoAPI/res/volume_down.wav
new file mode 100644
index 000000000..057fff11e
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/volume_down.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/volume_up.wav b/software/FusionX/testapps/CoAPI/res/volume_up.wav
new file mode 100644
index 000000000..36bf354c4
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/volume_up.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/wakeup.wav b/software/FusionX/testapps/CoAPI/res/wakeup.wav
new file mode 100644
index 000000000..eb1ee7c1c
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/wakeup.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/warm_mode.wav b/software/FusionX/testapps/CoAPI/res/warm_mode.wav
new file mode 100644
index 000000000..fd746f822
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/warm_mode.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/welcome.wav b/software/FusionX/testapps/CoAPI/res/welcome.wav
new file mode 100644
index 000000000..47b42da90
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/welcome.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/wendu_gao.wav b/software/FusionX/testapps/CoAPI/res/wendu_gao.wav
new file mode 100644
index 000000000..7a15e7c8f
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/wendu_gao.wav differ
diff --git a/software/FusionX/testapps/CoAPI/res/wendu_low.wav b/software/FusionX/testapps/CoAPI/res/wendu_low.wav
new file mode 100644
index 000000000..95d7cc090
Binary files /dev/null and b/software/FusionX/testapps/CoAPI/res/wendu_low.wav differ
diff --git a/software/FusionX/testapps/MyPlayer b/software/FusionX/testapps/MyPlayer
new file mode 100755
index 000000000..e52ab5f76
Binary files /dev/null and b/software/FusionX/testapps/MyPlayer differ
diff --git a/software/FusionX/testapps/app/app/preview b/software/FusionX/testapps/app/app/preview
new file mode 100755
index 000000000..7efc35a4e
Binary files /dev/null and b/software/FusionX/testapps/app/app/preview differ
diff --git a/software/FusionX/testapps/app/app/prog_audio_all_test_case b/software/FusionX/testapps/app/app/prog_audio_all_test_case
new file mode 100755
index 000000000..3b7a7ec2b
Binary files /dev/null and b/software/FusionX/testapps/app/app/prog_audio_all_test_case differ
diff --git a/software/FusionX/testapps/app/app/prog_cardv_test b/software/FusionX/testapps/app/app/prog_cardv_test
new file mode 100755
index 000000000..4622d2254
Binary files /dev/null and b/software/FusionX/testapps/app/app/prog_cardv_test differ
diff --git a/software/FusionX/testapps/app/app/wav/11.025K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/11.025K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..2a82109e2
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/11.025K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/11.025K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/11.025K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..772477dc5
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/11.025K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/11.025K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/11.025K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..1fd658855
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/11.025K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/11.025K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/11.025K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..cd1e65701
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/11.025K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/12K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/12K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..7c3cd2c7c
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/12K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/12K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/12K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..638ff9bcf
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/12K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/12K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/12K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..3e34be785
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/12K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/12K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/12K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..5ed90eb74
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/12K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/16K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/16K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..8cd49fbe8
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/16K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/16K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/16K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..578f191d9
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/16K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/16K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/16K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..e9fd2b0ba
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/16K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/16K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/16K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..610aba2b4
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/16K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/22.05K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/22.05K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..29e17f7f3
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/22.05K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/22.05K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/22.05K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..5a9f93f16
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/22.05K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/22.05K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/22.05K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..14e7b7d7f
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/22.05K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/22.05K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/22.05K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..f8197b92e
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/22.05K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/24K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/24K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..f48be5a9e
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/24K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/24K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/24K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..250f8629f
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/24K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/24K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/24K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..e3bcc6df7
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/24K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/24K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/24K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..4e110bc49
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/24K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/32K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/32K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..d660d59c0
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/32K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/32K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/32K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..fa808a143
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/32K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/32K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/32K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..8c6925ccc
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/32K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/32K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/32K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..ba6ada64a
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/32K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/44.1K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/44.1K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..89f9fcdb4
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/44.1K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/44.1K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/44.1K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..d548f6108
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/44.1K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/44.1K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/44.1K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..d49ed7f64
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/44.1K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/44.1K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/44.1K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..fcbb92a5c
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/44.1K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/48K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/48K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..bd136fc9b
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/48K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/48K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/48K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..f071543ab
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/48K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/48K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/48K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..9bf27d04b
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/48K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/48K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/48K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..01c2d7b5f
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/48K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..c8467c34b
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/8K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/app/wav/8K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..5a9591460
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/8K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/8K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/app/wav/8K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..62e3d1514
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/8K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/8K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/app/wav/8K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..fc7348ad3
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/8K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/G711A_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/G711A_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..bf5f55129
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/G711A_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/G711U_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/G711U_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..9d8ef1b78
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/G711U_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/G726_16_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/G726_16_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..ee0960cd5
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/G726_16_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/G726_24_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/G726_24_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..8da3af52f
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/G726_24_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/G726_32_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/G726_32_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..b5d1b584c
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/G726_32_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/app/wav/G726_40_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/app/wav/G726_40_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..6c7fb7215
Binary files /dev/null and b/software/FusionX/testapps/app/app/wav/G726_40_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/prog_audio_all_test_case b/software/FusionX/testapps/app/prog_audio_all_test_case
new file mode 100755
index 000000000..3b7a7ec2b
Binary files /dev/null and b/software/FusionX/testapps/app/prog_audio_all_test_case differ
diff --git a/software/FusionX/testapps/app/prog_cardv_test b/software/FusionX/testapps/app/prog_cardv_test
new file mode 100755
index 000000000..4622d2254
Binary files /dev/null and b/software/FusionX/testapps/app/prog_cardv_test differ
diff --git a/software/FusionX/testapps/app/wav/11.025K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/11.025K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..2a82109e2
Binary files /dev/null and b/software/FusionX/testapps/app/wav/11.025K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/11.025K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/11.025K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..772477dc5
Binary files /dev/null and b/software/FusionX/testapps/app/wav/11.025K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/11.025K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/11.025K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..1fd658855
Binary files /dev/null and b/software/FusionX/testapps/app/wav/11.025K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/11.025K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/11.025K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..cd1e65701
Binary files /dev/null and b/software/FusionX/testapps/app/wav/11.025K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/12K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/12K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..7c3cd2c7c
Binary files /dev/null and b/software/FusionX/testapps/app/wav/12K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/12K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/12K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..638ff9bcf
Binary files /dev/null and b/software/FusionX/testapps/app/wav/12K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/12K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/12K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..3e34be785
Binary files /dev/null and b/software/FusionX/testapps/app/wav/12K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/12K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/12K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..5ed90eb74
Binary files /dev/null and b/software/FusionX/testapps/app/wav/12K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/16K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/16K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..8cd49fbe8
Binary files /dev/null and b/software/FusionX/testapps/app/wav/16K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/16K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/16K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..578f191d9
Binary files /dev/null and b/software/FusionX/testapps/app/wav/16K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/16K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/16K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..e9fd2b0ba
Binary files /dev/null and b/software/FusionX/testapps/app/wav/16K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/16K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/16K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..610aba2b4
Binary files /dev/null and b/software/FusionX/testapps/app/wav/16K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/22.05K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/22.05K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..29e17f7f3
Binary files /dev/null and b/software/FusionX/testapps/app/wav/22.05K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/22.05K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/22.05K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..5a9f93f16
Binary files /dev/null and b/software/FusionX/testapps/app/wav/22.05K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/22.05K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/22.05K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..14e7b7d7f
Binary files /dev/null and b/software/FusionX/testapps/app/wav/22.05K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/22.05K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/22.05K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..f8197b92e
Binary files /dev/null and b/software/FusionX/testapps/app/wav/22.05K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/24K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/24K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..f48be5a9e
Binary files /dev/null and b/software/FusionX/testapps/app/wav/24K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/24K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/24K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..250f8629f
Binary files /dev/null and b/software/FusionX/testapps/app/wav/24K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/24K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/24K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..e3bcc6df7
Binary files /dev/null and b/software/FusionX/testapps/app/wav/24K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/24K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/24K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..4e110bc49
Binary files /dev/null and b/software/FusionX/testapps/app/wav/24K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/32K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/32K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..d660d59c0
Binary files /dev/null and b/software/FusionX/testapps/app/wav/32K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/32K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/32K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..fa808a143
Binary files /dev/null and b/software/FusionX/testapps/app/wav/32K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/32K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/32K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..8c6925ccc
Binary files /dev/null and b/software/FusionX/testapps/app/wav/32K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/32K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/32K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..ba6ada64a
Binary files /dev/null and b/software/FusionX/testapps/app/wav/32K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/44.1K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/44.1K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..89f9fcdb4
Binary files /dev/null and b/software/FusionX/testapps/app/wav/44.1K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/44.1K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/44.1K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..d548f6108
Binary files /dev/null and b/software/FusionX/testapps/app/wav/44.1K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/44.1K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/44.1K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..d49ed7f64
Binary files /dev/null and b/software/FusionX/testapps/app/wav/44.1K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/44.1K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/44.1K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..fcbb92a5c
Binary files /dev/null and b/software/FusionX/testapps/app/wav/44.1K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/48K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/48K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..bd136fc9b
Binary files /dev/null and b/software/FusionX/testapps/app/wav/48K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/48K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/48K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..f071543ab
Binary files /dev/null and b/software/FusionX/testapps/app/wav/48K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/48K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/48K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..9bf27d04b
Binary files /dev/null and b/software/FusionX/testapps/app/wav/48K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/48K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/48K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..01c2d7b5f
Binary files /dev/null and b/software/FusionX/testapps/app/wav/48K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..c8467c34b
Binary files /dev/null and b/software/FusionX/testapps/app/wav/8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/8K_16bit_MONO_60s.wav b/software/FusionX/testapps/app/wav/8K_16bit_MONO_60s.wav
new file mode 100644
index 000000000..5a9591460
Binary files /dev/null and b/software/FusionX/testapps/app/wav/8K_16bit_MONO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/8K_16bit_STERO_30s.wav b/software/FusionX/testapps/app/wav/8K_16bit_STERO_30s.wav
new file mode 100644
index 000000000..62e3d1514
Binary files /dev/null and b/software/FusionX/testapps/app/wav/8K_16bit_STERO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/8K_16bit_STERO_60s.wav b/software/FusionX/testapps/app/wav/8K_16bit_STERO_60s.wav
new file mode 100644
index 000000000..fc7348ad3
Binary files /dev/null and b/software/FusionX/testapps/app/wav/8K_16bit_STERO_60s.wav differ
diff --git a/software/FusionX/testapps/app/wav/G711A_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/G711A_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..bf5f55129
Binary files /dev/null and b/software/FusionX/testapps/app/wav/G711A_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/G711U_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/G711U_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..9d8ef1b78
Binary files /dev/null and b/software/FusionX/testapps/app/wav/G711U_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/G726_16_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/G726_16_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..ee0960cd5
Binary files /dev/null and b/software/FusionX/testapps/app/wav/G726_16_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/G726_24_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/G726_24_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..8da3af52f
Binary files /dev/null and b/software/FusionX/testapps/app/wav/G726_24_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/G726_32_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/G726_32_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..b5d1b584c
Binary files /dev/null and b/software/FusionX/testapps/app/wav/G726_32_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/app/wav/G726_40_8K_16bit_MONO_30s.wav b/software/FusionX/testapps/app/wav/G726_40_8K_16bit_MONO_30s.wav
new file mode 100644
index 000000000..6c7fb7215
Binary files /dev/null and b/software/FusionX/testapps/app/wav/G726_40_8K_16bit_MONO_30s.wav differ
diff --git a/software/FusionX/testapps/bademo.sh b/software/FusionX/testapps/bademo.sh
new file mode 100755
index 000000000..bcc3b43d5
--- /dev/null
+++ b/software/FusionX/testapps/bademo.sh
@@ -0,0 +1,6 @@
+cd /customer
+chmod 777 bootanimation
+while true
+do
+./bootanimation bootanimation_dst.h264 1920 1080 1024 600 1024 600 0 0 1024 600 0 2>/dev/null
+done
diff --git a/software/FusionX/testapps/bootanimation b/software/FusionX/testapps/bootanimation
new file mode 100755
index 000000000..b09bff965
Binary files /dev/null and b/software/FusionX/testapps/bootanimation differ
diff --git a/software/FusionX/testapps/bootanimation_dst.h264 b/software/FusionX/testapps/bootanimation_dst.h264
new file mode 100755
index 000000000..8a905d283
Binary files /dev/null and b/software/FusionX/testapps/bootanimation_dst.h264 differ
diff --git a/software/FusionX/testapps/browser/BrownData/app.json b/software/FusionX/testapps/browser/BrownData/app.json
new file mode 100755
index 000000000..9939af5f4
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/app.json
@@ -0,0 +1,705 @@
+{
+ "brown": "settings",
+ "jp": [
+ {
+ "ui": "http://zeasn.tvapps.hungama.com/ha/app.js",
+ "ov": [
+ {"var onClickLogin = (haUserId,haUserEmail,haUserType) => {": "var onClickLogin=function(haUserId,haUserEmail,haUserType){"},
+ {"var onClickLogout = () => {": "var onClickLogout =function(){"},
+ {"var onClickAffilateId = () => {": "var onClickAffilateId = function() {"},
+ {"var onClickEvent = (event_name, param) => {": "var onClickEvent = function(event_name, param){"}
+ ]
+ },
+ {
+ "ui": "http://zeasn.cm.tvigle.ru/static/js/all.js",
+ "ov": [
+ {"stop:function(){this.video&&": "stop:function(){if(this.video){"},
+ {"this.video.pause()},bSeek": "this.video.pause();this.video.src=\"\";this.video.load();}},bSeek"}
+ ]
+ },
+ {
+ "ui": "http://tv.mytvscout.de/aquatv/index.js",
+ "ov":[
+ {"document.activeElement.blur();": "document.activeElement && document.activeElement.blur();"},
+ {"request.timeout = 5000;": "request.timeout = 30000;"}
+ ]
+ },
+ {
+ "ui": "http://www.swissinfo.ch/html/foxxum1.10/javascript/Video.js",
+ "ov": [
+ {"replaceSpecialCharacters(content.lead[0].parts[0]": "content.lead && replaceSpecialCharacters(content.lead[0].parts[0]"}
+ ]
+ },
+ {
+ "ui": "http://apps.store.zeasn.com/iFlix/js/common.js",
+ "ov": [
+ {"video.appendChild(source);":"video.src=videourl;"},
+ {"video.play();":"console.log(video.src);video.play();"},
+ {"pluginElement.onDRMMessageResult = drmEvent;": "pluginElement.addEventListener(\"onDRMMessageResult\",drmEvent);"},
+ {"pluginElement = document.getElementById(\"oipfdrmagent\");":"var obj=document.createElement(\"Object\");obj.type=\"application/oipfDrmAgent\";obj.id=\"obj\";document.body.appendChild(obj);pluginElement = document.getElementById(\"obj\");"}
+ ]
+ },
+ {
+ "ui": "http://apps.store.zeasn.com/iFlix/js/index.js",
+ "ov": [
+ {"document.getElementsByClassName(\"homecenter_list\")[0].style.transform = 'translateY(' + size + 'px)';":"document.getElementsByClassName(\"homecenter_list\")[0].style.webkitTransform= 'translateY(' + size + 'px)';"}
+ ]
+ },
+ {
+ "ui": "https://zeasn.chili.com/bundle.00da3fd37f4d2564c357.js",
+ "ov": [
+ {"\"use strict\"": " "},
+ {"we.style[Ne]=\"50% 50%\",": " "},
+ {"we.style[Pe]=\"scaleX(0.5)\",": " "}
+ ]
+ },
+ {
+ "ui": "https://smarttv.baeblemusic.com/js/model/functions.js",
+ "ov": [
+ {"var fix;": "var fix;\n player.addEventListener(\"loadedmetadata\", function () {console.log(\"onloadedmetadata\");$(\".btnPlay\").removeClass(\"btnPlay\").addClass(\"btnPause\");\nLoading.off();player.play();video.progressbar();video.statue.flag = true;startTimer();});"}
+ ]
+ },
+ {
+ "ui": "http://zeasn.v4.tvigle.ru/js/all.js",
+ "ov": [
+ {"h.setPlrState(s.States.PLAYER_STATE_PLAYING,\"playing\")": "h.setPlrState(s.States.PLAYER_STATE_PLAYING,\"playing\"); h.clearState();application.addClass(\"playing\")"}
+ ]
+ },
+ {
+ "ui": "http://apps.store.zeasn.com/lib/js/funA2.js",
+ "ov": [
+ {"for (let n = 0; n < array.length; n++)": "for (var n = 0; n < array.length; n++)"},
+ {"case 8:
+ case 461:
+ if ($('.testDiv1')[0]) {
+ testDiv += '
' + testCount + ' case stop: ' + event.keyCode + '
'
+ testCount += 1
+ $('.testDiv1').html(testDiv)
+ if (testCount % 20 === 0) {
+ testDiv = ''
+ }
+ }
+ event.preventDefault();
+ return;
+ break;": "//case 8:
+ //case 461:
+ //if ($('.testDiv1')[0]) {
+ //testDiv += '' + testCount + ' case stop: ' + event.keyCode + '
'
+ //testCount += 1
+ //$('.testDiv1').html(testDiv)
+ //if (testCount % 20 === 0) {
+ //testDiv = ''
+ //}
+ //}
+ //event.preventDefault();
+ //return;
+ //break;"}
+ ]
+ }
+ ],
+ "apps": [
+ {
+ "ui": "default",
+ "fh": true,
+ "ld": true,
+ "if": true,
+ "nv": "spatnav",
+ "bc": 4294967295,
+ "im": true,
+ "wc": true,
+ "sb": true,
+ "hb": 61512
+ },
+ {
+ "ui": "file:",
+ "ld": false,
+ "hb": 61512,
+ "sb": true,
+ "im":true,
+ "km": [
+ {"f": 61538, "t": 27},
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "https://smarttv.zeasn.tv/AccuWeather_web",
+ "ld": false,
+ "pc": true,
+ "wc": true,
+ "im": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://tv.globoplay.com.br",
+ "nv": "spatnav"
+ },
+ {
+ "ui": "http://ww1w.baidu.com",
+ "nv": "cursor",
+ "bc": 4294967295,
+ "im": true,
+ "sb": true
+ },
+ {
+ "ui": "https://ww1w.baidu.com",
+ "nv": "cursor",
+ "im": true,
+ "bc": 4294967295,
+ "sb": true
+ },
+ {
+ "ui": "chili",
+ "us": [
+ "https://zeasn.chili.com"
+ ],
+ "im": true,
+ "if": true,
+ "nv": "spatnav",
+ "sb": true
+ },
+ {
+ "ui": "iFlix",
+ "us": [
+ "http://apps.store.zeasn.com/iFlix/"
+ ],
+ "im": true,
+ "if": true,
+ "nv": "spatnav",
+ "sb": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "twitter",
+ "us": [
+ "http://m.twitter.com",
+ "https://mobile.twitter.com",
+ "http://mobile.twitter.com",
+ "https://twitter.com"
+ ],
+ "bc": 4294967295,
+ "im": true,
+ "if": true,
+ "nv": "cursor",
+ "sb": true
+ },
+ {
+ "ui": "appstore",
+ "us": [
+ "http://linux.store.zeasn.com/iserver/",
+ "http://linux.store.zeasn.com/iServer/"
+ ],
+ "nv": "spatnav"
+ },
+ {
+ "ui": "facebook",
+ "us": [
+ "http://m.facebook.com",
+ "http://lm.facebook.com",
+ "http://www.facebook.com",
+ "https://www.facebook.com",
+ "https://lm.facebook.com",
+ "https://m.facebook.com"
+ ],
+ "nv": "cursor",
+ "im": true,
+ "bc": 4294967295,
+ "ua": "d",
+ "sb": true
+ },
+ {
+ "ui": "type7",
+ "pc": true,
+ "if": true,
+ "hb": 0,
+ "us": [
+ "http://smartgames.tv",
+ "http://www.smartgames.tv"
+ ],
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "type9",
+ "pc": true,
+ "if": true,
+ "ws": true,
+ "ua": "d",
+ "hb": 0,
+ "us": [
+ "http://www.redkaraoke.com/"
+ ]
+ },
+ {
+ "ui": "type10",
+ "pc": true,
+ "if": true,
+ "ws": true,
+ "hb": 0,
+ "us": [
+ "http://tv.ipla.pl/alliance/filip"
+ ],
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "https://zeasn-file.oss-cn-beijing.aliyuncs.com",
+ "nv": "spatnav"
+ },
+ {
+ "ui": "http://zeasn-file.oss-cn-beijing.aliyuncs.com",
+ "nv": "spatnav"
+ },
+ { "ui": "http://7728265386-3409765189.am-live.fxmconnect.com/open.php?type=app&id=135",
+ "nv": "spatnav"
+ },
+ {
+ "ui": "http://apps.iserver.tv/browser",
+ "nv": "spatnav",
+ "ua": "d",
+ "xo": true,
+ "if": false,
+ "ws": false,
+ "hb": 0,
+ "cs": "css/spatnav.css"
+ },
+ {
+ "ui": "http://tv.zing.vn/smarttv/sonyceb.html#home",
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://www.arte.tv/hbbtvv2/notv/html5/index.html",
+ "ua": "o",
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://netrange.radioline.co",
+ "wc": true
+ },
+ {
+ "ui": "iserver",
+ "us": [
+ "http://apps.iserver.tv:8001/YouTube",
+ "http://launcher.iservernetwork.com/ytbtv",
+ "http://launcher.iservernetwork.com/ytbtv2",
+ "http://launcher.iservernetwork.com/ted",
+ "http://launcher.iservernetwork.com/popbox",
+ "http://apps.iserver.tv/YouTube"
+ ],
+ "im": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://tv.tunein.com",
+ "wc": true
+ },
+ {
+ "ui": "type7",
+ "wc": true,
+ "us": [
+ "http://apps.store.zeasn.com/truemovie1",
+ "http://apps.store.zeasn.com/UCPhab209KEicqPJFAk9IZEA",
+ "http://apps.store.zeasn.com/Born2Die83",
+ "http://apps.store.zeasn.com/mindseyedesign",
+ "http://apps.store.zeasn.com/UCeDqLK6FAytkaFEXRd443Pw",
+ "http://apps.store.zeasn.com/UCjdEJpJAZWxrF7YGUFHI3tQ",
+ "http://apps.store.zeasn.com/UCZYfd94EsqipAuZyunqVBRQ",
+ "https://recommend.zeasn.tv/skufftv_web"
+ ]
+ },
+ {
+ "ui": "http://apps.store.zeasn.com/YanNews",
+ "wc": true,
+ "im": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "type8",
+ "wc": true,
+ "im": true,
+ "us": [
+ "http://apps.store.zeasn.com/ICCnTv",
+ "http://apps.store.zeasn.com/EpicTVadventure"
+ ]
+ },
+ {
+ "ui": "http://apps.store.zeasn.com/fashiontvFMEN",
+ "wc": true,
+ "im": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://demo.store.zeasn.com/demo2.0",
+ "fh": true,
+ "km": [
+ {"f": 61512, "t": 27}
+ ]
+ },
+ {
+ "ui": "http://zeasn.tvapps.hungama.com",
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://html5.toongoggles.com",
+ "ua": "d",
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://vega.dtv.fi/smtva/kelikamera",
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://www.autozine.de/ip-tv",
+ "nv": "spatnav",
+ "wc": true
+ },
+ {
+ "ui": "http://nettv.kicker.de",
+ "nv": "spatnav",
+ "wc": true
+ },
+ {
+ "ui": "http://www.bigstarlatino.com",
+ "nv": "spatnav",
+ "wc": true
+ },
+ {
+ "ui": "http://www.seduction.media",
+ "nv": "spatnav",
+ "wc": true
+ },
+ {
+ "ui": "http://www.festivalfaves.com",
+ "nv": "spatnav",
+ "wc": true
+ },
+ {
+ "ui": "http://preview.bigstar.tv",
+ "nv": "spatnav",
+ "wc": true
+ },
+ {
+ "ui": "https://www.yandex.ru",
+ "nv": "spatnav",
+ "wc": true
+ },
+ {
+ "ui": "http://grupozeta.sport.final.24imedia.tv",
+ "km": [
+ {"f": 61512, "t": 27}
+ ]
+ },
+ {
+ "ui": "http://kulinarika.devnull.si",
+ "pc": true,
+ "km": [
+ {"f": 61512, "t": 61506}
+ ]
+ },
+ {
+ "ui": "netrange",
+ "fh": true,
+ "if": true,
+ "us": [
+ "https://ver.netrange.com/portals.portal-frontends-v3/master/v1/1135",
+ "http://17464.5d7bef99362b26cdc709f6ab436eedb2.com"
+ ],
+ "km": [
+ {"f": 61512, "t": 27}
+ ]
+ },
+ {
+ "ui": "tvigle2",
+ "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) NetCast.TV Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36",
+ "pc": true,
+ "us": [
+ "http://nettv2.v4.tvigle.ru"
+ ],
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "tvigle",
+ "us": [
+ "http://zeasn.bd.tvigle.ru",
+ "http://zeasn.btv.tvigle.ru",
+ "http://zeasn.cm.tvigle.ru",
+ "http://zeasn.er.tvigle.ru",
+ "http://zeasn.kd.tvigle.ru",
+ "http://zeasn.ml.tvigle.ru",
+ "http://zeasn.rm3.tvigle.ru",
+ "http://zeasn.rs.tvigle.ru",
+ "http://zeasn.ser.tvigle.ru",
+ "http://zeasn.um.tvigle.ru",
+ "http://zeasn.ut.tvigle.ru",
+ "http://zeasn.v4.tvigle.ru"
+ ],
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "mytvscout.trick",
+ "hb": 0,
+ "us": [
+ "http://tv.mytvscout.de/ikono2/html5.html"
+ ]
+ },
+ {
+ "ui": "mytvscout.error",
+ "wc": true,
+ "us": [
+ "http://tv.mytvscout.de/hbl",
+ "http://nettv.boersen-zeitung.de",
+ "http://nettv.album2.com",
+ "http://tv.mytvscout.de/ikono",
+ "http://tv.mytvscout.de/kiya2/html5.html"
+ ]
+ },
+ {
+ "ui": "type1",
+ "us": [
+ "http://t.divan.tv",
+ "http://minbio-egs-24i-prod.vimondtv.com",
+ "http://tv.mytvscout.de",
+ "http://queercinema.lgbt/tcl",
+ "http://jaggedmovies.com/tcl",
+ "http://docworld.media/tcl",
+ "http://extremesports.media/tcl",
+ "http://festivalfaves.com/tcl",
+ "http://foreignfilm.tv/tcl",
+ "http://olon.24imedia.tv",
+ "http://roos.24imedia.tv",
+ "http://smarttv.megogo.net",
+ "http://zeasn-app.megogo.net",
+ "http://1hd.tv.infolio-lab.com/1hd",
+ "http://apps.store.zeasn.com/LEGOOMANDARIN",
+ "http://hw.yandex.ru/ph",
+ "https://apps.zeasn.tv/ducktv",
+ "http://data.weathernationtv.com/apps",
+ "http://ducktv.zeasn.com",
+ "https://erosnowhtml.erosnow.com",
+ "http://247comedy.tv/tcl",
+ "http://247horror.com/tcl",
+ "http://bestbollywood.tv/tcl",
+ "http://fishingtv.com/apps",
+ "https://fishingtv.com/apps",
+ "https://apps.zeasn.tv/soundcloud_web",
+ "http://www.fishingtv.com/apps",
+ "http://lifeminute.tv/smartv",
+ "https://www.fishingtv.com/apps",
+ "http://blackworldcinema.com/tcl",
+ "http://alliance.futuretodayinc.com/ifoodtv",
+ "http://alliance.futuretodayinc.com/happykids",
+ "http://json.bild.de/tv"
+ ],
+ "pc": true,
+ "cu": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "type2",
+ "nv": "spatnav",
+ "pc": true,
+ "wc": true,
+ "us": [
+ "http://www.seniorennet.be/nettv_philips/hersenfitness",
+ "http://hbbtv.br.de/br-text",
+ "http://tv.uitinvlaanderen.be",
+ "http://nettv.cinetrailer.it",
+ "http://nettv.weerslag.be",
+ "http://smarttv.cinetrailer.it/zeasn",
+ "http://nettv.cinetrailer.tv/loewe"
+ ]
+ },
+ {
+ "ui": "type3",
+ "pc": true,
+ "hb": 0,
+ "us": [
+ "http://lge.pogody.tv",
+ "http://nettv.see.ua",
+ "http://plive.vfb.app.nrmmh.tv",
+ "http://bundestag.app.nrmmh.tv",
+ "http://www.viewster.tv/Viewster_v5",
+ "http://www.viewster.tv/viewster_v5",
+ "http://smapp.trt.tv/TvApp",
+ "http://alliance.futuretodayinc.com",
+ "http://connecttv.pelmorex.com/device",
+ "http://lg.hybridtv.myspass.de/loewe",
+ "http://hbbtv.daserste.de",
+ "http://hbbtv.zdf.de/zdfm",
+ "http://hbbtv.zdf.de/zdfm3",
+ "http://hbbtv-tatort.daserste.de",
+ "http://smart.radiotv.su/zeasn",
+ "http://www.tv3.cat/iptv/nettv"
+ ]
+ },
+ {
+ "ui": "type4",
+ "pc": true,
+ "nv": "spatnav",
+ "hb": 0,
+ "us": [
+ "http://www.nmax.tv/livetv",
+ "http://telecity.funspot.tv/portals"
+ ]
+ },
+ {
+ "ui": "ivi",
+ "us": [
+ "http://haier.ivi.ru",
+ "http://stb.ivi.ru",
+ "http://skyworth.ivi.ru"
+ ],
+ "pc": true,
+ "dr": true,
+ "nv": "spatnav",
+ "hb": 0
+ },
+ {
+ "ui": "type5",
+ "pc": true,
+ "nv": "spatnav",
+ "us": [
+ "http://meteo.dotscreen.com",
+ "http://apps.store.zeasn.com/EpicTVadventure/show.html",
+ "http://services.tvzavr.ru/alliance/?overrideParams=true&platform=zea",
+ "http://launcher.iservernetwork.com/popbox"
+ ],
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "type4",
+ "pc": true,
+ "hb": 0,
+ "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) NetCast.TV Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36",
+ "us": [
+ "http://hybridtv.myspass.de/loewe"
+ ]
+ },
+ {
+ "ui": "type5",
+ "us": [
+ "http://cetv.kicker.de",
+ "http://smarttv.app.verivox.de",
+ "http://www.filmboxliveapp.net/opr/tvapp",
+ "http://www.netzwelt.de/mediathek",
+ "https://www.netzwelt.de/mediathek",
+ "https://hbbtv.qvc.de"
+ ],
+ "if": true,
+ "pc": true,
+ "nv": "spatnav",
+ "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) lg netcast Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36",
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "euronews",
+ "us": [
+ "http://www.euronews.com/_partners/philips/",
+ "https://www.euronews.com/_partners/philips/"
+ ],
+ "nv": "spatnav",
+ "wc": true,
+ "pc": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "type6",
+ "nv": "spatnav",
+ "wc": true,
+ "pc": true,
+ "us": [
+ "http://nettv.buienradar.be",
+ "http://www.jouwrecepten.nl/itvv",
+ "http://www.nettv.ilsole24ore.com",
+ "http://nettv.noapitel.com",
+ "http://nettv.meteox.fr",
+ "http://nettv.rgbilisim.com",
+ "http://nettv.vaderradar.se",
+ "http://www.autozine.de/nettv",
+ "http://www.haenlein-software.com/PRG",
+ "http://www.motorsport-total.com/itv",
+ "https://www.motorsport-total.com/itv",
+ "http://www.supasteri.it/tvp",
+ "http://www.yellowmap.de",
+ "http://philips.wetter.net"
+ ]
+ },
+ {
+ "ui": "http://apps.store.zeasn.com/aljazeera/",
+ "cu": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "https://zeasn.zee5.com",
+ "nv": "spatnav",
+ "if": true,
+ "hb": 0
+ },
+ {
+ "ui": "type7",
+ "us": [
+ "https://www.yupptv.com/v2/zeasn/index.html",
+ "https://devices.yupptv.com/v2/index.html?appid=71&movieid="
+ ],
+ "hb": 0,
+ "nv": "spatnav",
+ "ld": true,
+ "ua": "a",
+ "cu": true,
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ },
+ {
+ "ui": "http://look-at-screen.tv-tech.eu/unic",
+ "nv": "spatnav",
+ "hb": 61512
+ },
+ {
+ "ui": "https://tvapp.kidoodle.tv/",
+ "nv": "spatnav",
+ "hb": 61512
+ },
+ {
+ "ui": "http://app.ss-iptv.com",
+ "km": [
+ {"f": 61512, "t": 8}
+ ]
+ }
+ ]
+}
diff --git a/software/FusionX/testapps/browser/BrownData/css/spatnav.css b/software/FusionX/testapps/browser/BrownData/css/spatnav.css
new file mode 100644
index 000000000..893f0da27
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/css/spatnav.css
@@ -0,0 +1,3 @@
+:focus {
+ outline: solid 2px !important;
+}
diff --git a/software/FusionX/testapps/browser/BrownData/ime.html b/software/FusionX/testapps/browser/BrownData/ime.html
new file mode 100755
index 000000000..d83d24c10
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/ime.html
@@ -0,0 +1,348 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/software/FusionX/testapps/browser/BrownData/js/iconfont.woff b/software/FusionX/testapps/browser/BrownData/js/iconfont.woff
new file mode 100755
index 000000000..35520889f
Binary files /dev/null and b/software/FusionX/testapps/browser/BrownData/js/iconfont.woff differ
diff --git a/software/FusionX/testapps/browser/BrownData/js/ime.js b/software/FusionX/testapps/browser/BrownData/js/ime.js
new file mode 100755
index 000000000..327afc9de
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/js/ime.js
@@ -0,0 +1,176 @@
+// document.getElementById("hide").focus();
+var keys={
+ 48:0,
+ 49:1,
+ 50:2,
+ 51:3,
+ 52:4,
+ 53:5,
+ 54:6,
+ 55:7,
+ 56:8,
+ 57:9
+}
+document.onkeydown = function (e) {
+ if (e.keyCode == 462 || e.keyCode == 8 || e.keyCode == 27) {
+ ime_cmd("hide");
+ console.log(e.keyCode);
+ }
+ if(keys.hasOwnProperty(e.keyCode)){
+ ime_insert(keys[e.keyCode]);
+ }
+}
+function hide(){
+ ime_cmd("hide");
+}
+var htmlCode = {
+ "&": "&",
+ "<": "<",
+ ">": ">",
+ "Space": " ",
+ }
+ var lang = "eng";
+
+ function ime_cmd(v) {
+ if (window.iBrowser !== undefined) {
+ window.iBrowser.sendCommand(v, "");
+ } else {
+ console.log("IME:[CMD]:" + v);
+
+ }
+ }
+
+ function ime_insert(v) {
+ if (window.iBrowser !== undefined) {
+ window.iBrowser.sendCommand("insert", v);
+ } else {
+ console.log("IME:[INS]:" + v);
+ }
+ }
+
+ function test() {
+ var input = document.getElementById("input");
+ var e = window.event || test.caller.arguments[0];
+ var el = e.target || e.srcElement;
+ if (el.tagName.toLowerCase() == "button") {
+ if (el.className === "" || el.className === undefined || el.className === "num") {
+ var str = el.innerHTML;
+ str = htmlCode[str] || str;
+ ime_insert(str);
+ } else if (el.className == "ctrlkeys") {
+ ime_cmd(el.id);
+ } else if (el.id == "shift") {
+ var els = document.getElementsByTagName("button");
+ for (var i = 0, l = els.length; i < l; i++) {
+ var str = els[i].innerHTML;
+ if (/^[a-z]$/.test(str))
+ els[i].innerHTML = str.toUpperCase();
+ if (/^[A-Z]$/.test(str))
+ els[i].innerHTML = str.toLowerCase();
+ }
+ } else if (el.id == "change") {
+ if (lang == "eng") return;
+ document.getElementsByTagName("table")[0].style.display = "none";
+ Keyboard.show();
+ }
+ }
+
+ }
+
+ function ctrKeyboard() {
+ capsInit();
+ }
+
+ function capsInit() {
+ var els = document.getElementsByTagName("button");
+ for (var i = 0, j = 0, l = els.length; i < l; i++) {
+ var str = els[i].innerHTML;
+ if (/^[A-Z]$/.test(str))
+ els[i].innerHTML = str.toLowerCase();
+ }
+ }
+
+ function init() {
+ //添加语言切换个数
+ screenZoom();
+ var index=1;
+ lang = window.navigator.language?window.navigator.language:"eng";
+ console.log("window.navigator.language:"+lang);
+ var actindex=0;
+ for (var key in Keyboard.layouts) {
+ console.log(Keyboard.layouts[key].name);
+ var lis = document.createElement('li');
+ lis.innerHTML = Keyboard.layouts[key].name;
+ lis.setAttribute('lang',Keyboard.layouts[key].lang);
+ lis.setAttribute('data-index',index);
+ document.getElementById('language').appendChild(lis)
+ if(lang==key) actindex=index;
+ index++;
+ }
+ var el=document.querySelector(".language .active");
+ var next=document.querySelectorAll(".language li")[actindex];
+ if(next){
+ showlanguage(el,next);
+ }
+ else{
+ KeyboardInit();
+ }
+ }
+
+ function screenZoom () {
+ var $box = document.getElementsByClassName('main');
+ var w = 1280;
+ var h = 720;
+ var W = window.innerWidth ;
+ for(var i=0;i<$box.length;i++){
+ $box[i].style.zoom= W / w;
+ }
+}
+ function KeyboardInit(){
+ capsInit();
+ // console.log("lang:"+window.navigator.language);
+ // lang = window.navigator.language?window.navigator.language:"eng";//语言
+ //lang="rus";
+ console.log("lang:"+lang);
+ if (Keyboard.layouts[lang]) {
+ Keyboard.init(lang, function (type, msg) {
+ if (type == "insert") {
+ ime_insert(msg);
+ } else if (type == "cmd") {
+ ime_cmd(msg);
+ } else {
+ document.getElementsByTagName("table")[0].style.display = "";
+ }
+ });
+ document.getElementsByTagName("table")[0].style.display = "none";
+ //Keyboard.hide();
+ } else {
+ lang = "eng";
+ var space = document.getElementById("thespace");
+ // space.nextElementSibling.style.display="none";
+ // space.colSpan='3';
+ document.getElementsByTagName("table")[0].style.display = "";
+ Keyboard.hide()
+ }
+ }
+ function left(){
+ var el=document.querySelector(".language .active");
+ var next=el.nextSibling;
+ if(next) showlanguage(el,next);
+ }
+ function right(){
+ var el=document.querySelector(".language .active");
+ var next=el.previousSibling;
+ if(next) showlanguage(el,next);
+
+ }
+ function showlanguage(el,next){
+ var index =next.dataset.index;
+ console.log(index);
+ el.className="";
+ next.className="active";
+ var languageEl=document.getElementById("language");
+ languageEl.style.marginLeft=(-el.clientWidth * index)+"px";
+ lang=next.lang;
+ KeyboardInit();
+ }
\ No newline at end of file
diff --git a/software/FusionX/testapps/browser/BrownData/js/keybord.js b/software/FusionX/testapps/browser/BrownData/js/keybord.js
new file mode 100755
index 000000000..70acd8cac
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/js/keybord.js
@@ -0,0 +1,1386 @@
+(function(win){
+ var map={
+ alt:{
+ "normal":"alt",
+ "shift":"alt-shift",
+ "alt":"normal",
+ "alt-shift":"shift"
+ },
+ shift:{
+ "normal":"shift",
+ "shift":"normal",
+ "alt":"alt-shift",
+ "alt-shift":"alt"
+ }
+ }
+ var $keybord;
+ var Keyboard={
+ contenttext:"",
+ layouts:{},
+ lang:'',
+ type:'normal',
+ hcodes:{
+ "{bksp}":"",
+ "{shift}":"Shift",
+ "{alt}":"Ctrl + Alt",
+ "{}":" ",
+ "{change}":"Enter"
+ },
+ hrpc:{
+ " ":" ",
+ "<" :"<",
+ ">" :">",
+ "&":"&",
+ },
+ init:function(lang,callback){
+ if(document.getElementById("keyboard")){
+ document.getElementById("keyboard").remove();
+ }
+ console.log("keybord init ....");
+ var keyDiv=document.createElement("div");
+ document.body.appendChild(keyDiv);
+ keyDiv.id="keyboard";
+ $keybord=document.getElementById("keyboard");
+ var layout=this.layouts[lang].lay;
+ this.lang=lang;
+ var html="",name="normal";
+ var div=document.createElement("div");
+ var json=layout[name];
+ for(var i=0;i"+li+"";
+ }
+ div.id="key-"+name;
+ div.innerHTML=html;
+ keyDiv.appendChild(div);
+ this.bind(callback);
+ },
+ show:function(){
+ document.getElementById("key-normal").style.display="block";
+ this.shift("normal");
+ $keybord.style.display="block";
+ },
+ hide:function(){
+ if($keybord) $keybord.style.display="none";
+ },
+ html:function(text){
+ var html="";
+ var keyTexts=text.split(" ");
+ for(var i=0;i ";
+ }
+ else{
+ html+="";
+ }
+ }else if(key==" "){
+ html+="";
+ }
+ else{
+ html+="";
+ }
+ }
+ return html;
+ },
+ shift:function(type){
+ this.type=type;
+ var divs=$keybord.querySelectorAll(".keyrow");
+ for(var i=0;i0){
+ that.contenttext=that.contenttext.substring(0,that.contenttext.length-1);
+ }
+ }
+ else if(el.className.indexOf("change")!=-1){
+ // that.hide();
+ that.contenttext="";
+ callback&&callback("cmd","commit");
+ } else if (el.className.indexOf("ctrlkeys")!=-1) {
+ if(el.className.indexOf("alt")!=-1){
+ that.shift(map.alt[that.type]);
+ }
+ else if(el.className.indexOf("shift")!=-1){
+ that.shift(map.shift[that.type]);
+ }
+ }
+ }
+ });
+ }
+ };
+ Keyboard.layouts['rus']={//俄语
+ 'name' : 'русский',
+ 'lang' : 'rus',
+ "lay":{
+ 'normal' : [
+ '\u0451 1 2 3 4 5 6 7 8 9 0 - = {bksp}',
+ "\u0439 \u0446 \u0443 \u043a \u0435 \u043d \u0433 \u0448 \u0449 \u0437 \u0445 \u044a",
+ '{change} \u0444 \u044b \u0432 \u0430 \u043f \u0440 \u043e \u043b \u0434 \u0436 \u044d \\',
+ "{shift} \u044f \u0447 \u0441 \u043c \u0438 \u0442 \u044c \u0431 \u044e . {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '\u0401 ! " \u2116 ; % : ? * ( ) _ + {bksp}',
+ "\u0419 \u0426 \u0423 \u041a \u0415 \u041d \u0413 \u0428 \u0429 \u0417 \u0425 \u042a",
+ '{change} \u0424 \u042b \u0412 \u0410 \u041f \u0420 \u041e \u041b \u0414 \u0416 \u042d /',
+ "{shift} \u042f \u0427 \u0421 \u041c \u0418 \u0422 \u042c \u0411 \u042e , {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "\u0463 {} {} {} {} {} {} {} {} {} {} {} = {bksp}",
+ "\u0457 \u0479 \u046b \u046d \u0465 \u04a3 \u04af \u04e9 \u0455 \u046f [ ]",
+ "{change} \u0473 \u0471 {} {} {} {} \u0461 \u047f \u047b \u047d {} \\",
+ "{shift} \u0467 \u0469 {} {} \u0456 \u0475 \u0477 {} {} {} {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ '\u0462 {} {} {} {} {} {} {} {} {} {} {} + {bksp}',
+ "\u0407 \u0478 \u046a \u046c \u0464 {} {} {} \u0405 \u046e { }",
+ "{change} \u0472 \u0470 {} {} {} {} \u0460 \u047e \u047a \u047c {} |",
+ "{shift} \u0466 \u0468 {} {} \u0406 \u0474 \u0476 {} {} {} {shift}",
+ "{alt}   {alt}"
+ ]
+ }
+ };
+ Keyboard.layouts['ukr']={//乌克兰语 uk_101
+ 'name' : 'Украина',
+ 'lang' : 'ukr',
+ "lay":{
+ 'normal' : [
+ "' 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
+ "\u0439 \u0446 \u0443 \u043a \u0435 \u043d \u0433 \u0448 \u0449 \u0437 \u0445 \u0457",
+ "{change} \u0444 \u0456 \u0432 \u0430 \u043f \u0440 \u043e \u043b \u0434 \u0436 \u0454 \u0491",
+ "{shift} \u044f \u0447 \u0441 \u043c \u0438 \u0442 \u044c \u0431 \u044e . {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '\u20b4 ! " \u2116 ; % : ? * ( ) _ + {bksp}',
+ "\u0419 \u0426 \u0423 \u041a \u0415 \u041d \u0413 \u0428 \u0429 \u0417 \u0425 \u0407",
+ "{change} \u0424 \u0406 \u0412 \u0410 \u041f \u0420 \u041e \u041b \u0414 \u0416 \u0404 \u0490",
+ "{shift} \u042f \u0427 \u0421 \u041c \u0418 \u0422 \u042c \u0411 \u042e , {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "{} {} {} {} {} {} {} {} {} {} {} {} {} {bksp}",
+ "{} {} {} {} {} {} \\ {} {} {} {} {}",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ "{} {} {} {} {} {} {} {} {} {} {} {} {} {bksp}",
+ "{} {} {} {} {} {} / {} {} {} {} {}",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ "{alt}   {alt}"
+ ]
+ }
+ };
+ Keyboard.layouts['vie']={//越南语 vi_tcvn
+ 'name' : 'Tiếng Việt',
+ 'lang' : 'vie',
+ "lay":{
+ 'normal' : [
+ "` \u0103 \u00e2 \u00ea \u00f4 \u0300 \u0309 \u0303 \u0301 \u0323 \u0111 - \u20ab {bksp}",
+ "q w e r t y u i o p \u01b0 \u01a1",
+ "{change} a s d f g h j k l ; ' \\",
+ "{shift} z x c v b n m , . / {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '~ \u0102 \u00c2 \u00ca \u00d4 \u0300 \u0309 \u0303 \u0301 \u0323 \u0110 _ + {bksp}',
+ "Q W E R T Y U I O P \u01af \u01a0",
+ '{change} A S D F G H J K L : " |',
+ "{shift} Z X C V B N M < > ? {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
+ "q w e r t y u i o p [ ]",
+ "{change} a s d f g h j k l ; ' \\",
+ "{shift} z x c v b n m , . / {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ "~ ! @ # $ % ^ & * ( ) _ + {bksp}",
+ "Q W E R T Y U I O P [ ]",
+ "{change} A S D F G H J K L ; ' \\",
+ "{shift} Z X C V B N M , . / {shift}",
+ "{alt}   {alt}"
+ ]
+ },
+ transform: {
+ "A\u0300": "\u00c0",
+ "A\u0301": "\u00c1",
+ "A\u0303": "\u00c3",
+ "E\u0300": "\u00c8",
+ "E\u0301": "\u00c9",
+ "I\u0300": "\u00cc",
+ "I\u0301": "\u00cd",
+ "N\u0303": "\u00d1",
+ "O\u0300": "\u00d2",
+ "O\u0301": "\u00d3",
+ "O\u0303": "\u00d5",
+ "U\u0300": "\u00d9",
+ "U\u0301": "\u00da",
+ "Y\u0301": "\u00dd",
+ "a\u0300": "\u00e0",
+ "a\u0301": "\u00e1",
+ "a\u0303": "\u00e3",
+ "e\u0300": "\u00e8",
+ "e\u0301": "\u00e9",
+ "i\u0300": "\u00ec",
+ "i\u0301": "\u00ed",
+ "n\u0303": "\u00f1",
+ "o\u0300": "\u00f2",
+ "o\u0301": "\u00f3",
+ "o\u0303": "\u00f5",
+ "u\u0300": "\u00f9",
+ "u\u0301": "\u00fa",
+ "y\u0301": "\u00fd",
+ "C\u0301": "\u0106",
+ "c\u0301": "\u0107",
+ "I\u0303": "\u0128",
+ "i\u0303": "\u0129",
+ "L\u0301": "\u0139",
+ "l\u0301": "\u013a",
+ "N\u0301": "\u0143",
+ "n\u0301": "\u0144",
+ "R\u0301": "\u0154",
+ "r\u0301": "\u0155",
+ "S\u0301": "\u015a",
+ "s\u0301": "\u015b",
+ "U\u0303": "\u0168",
+ "u\u0303": "\u0169",
+ "Z\u0301": "\u0179",
+ "z\u0301": "\u017a",
+ "\u00dc\u001d\u0301": "\u01d7",
+ "\u00fc\u001d\u0301": "\u01d8",
+ "\u00dc\u001d\u0300": "\u01db",
+ "\u00fc\u001d\u0300": "\u01dc",
+ "G\u0301": "\u01f4",
+ "g\u0301": "\u01f5",
+ "N\u0300": "\u01f8",
+ "n\u0300": "\u01f9",
+ "\u00c5\u001d\u0301": "\u01fa",
+ "\u00e5\u001d\u0301": "\u01fb",
+ "\u00c6\u001d\u0301": "\u01fc",
+ "\u00e6\u001d\u0301": "\u01fd",
+ "\u00d8\u001d\u0301": "\u01fe",
+ "\u00f8\u001d\u0301": "\u01ff",
+ "B\u0323": "\u1e04",
+ "b\u0323": "\u1e05",
+ "\u00c7\u001d\u0301": "\u1e08",
+ "\u00e7\u001d\u0301": "\u1e09",
+ "D\u0323": "\u1e0c",
+ "d\u0323": "\u1e0d",
+ "\u0112\u001d\u0300": "\u1e14",
+ "\u0113\u001d\u0300": "\u1e15",
+ "\u0112\u001d\u0301": "\u1e16",
+ "\u0113\u001d\u0301": "\u1e17",
+ "H\u0323": "\u1e24",
+ "h\u0323": "\u1e25",
+ "\u00cf\u001d\u0301": "\u1e2e",
+ "\u00ef\u001d\u0301": "\u1e2f",
+ "K\u0301": "\u1e30",
+ "k\u0301": "\u1e31",
+ "K\u0323": "\u1e32",
+ "k\u0323": "\u1e33",
+ "L\u0323": "\u1e36",
+ "l\u0323": "\u1e37",
+ "M\u0301": "\u1e3e",
+ "m\u0301": "\u1e3f",
+ "M\u0323": "\u1e42",
+ "m\u0323": "\u1e43",
+ "N\u0323": "\u1e46",
+ "n\u0323": "\u1e47",
+ "\u00d5\u001d\u0301": "\u1e4c",
+ "\u00f5\u001d\u0301": "\u1e4d",
+ "\u014c\u001d\u0300": "\u1e50",
+ "\u014d\u001d\u0300": "\u1e51",
+ "\u014c\u001d\u0301": "\u1e52",
+ "\u014d\u001d\u0301": "\u1e53",
+ "P\u0301": "\u1e54",
+ "p\u0301": "\u1e55",
+ "R\u0323": "\u1e5a",
+ "r\u0323": "\u1e5b",
+ "S\u0323": "\u1e62",
+ "s\u0323": "\u1e63",
+ "T\u0323": "\u1e6c",
+ "t\u0323": "\u1e6d",
+ "\u0168\u001d\u0301": "\u1e78",
+ "\u0169\u001d\u0301": "\u1e79",
+ "V\u0303": "\u1e7c",
+ "v\u0303": "\u1e7d",
+ "V\u0323": "\u1e7e",
+ "v\u0323": "\u1e7f",
+ "W\u0300": "\u1e80",
+ "w\u0300": "\u1e81",
+ "W\u0301": "\u1e82",
+ "w\u0301": "\u1e83",
+ "W\u0323": "\u1e88",
+ "w\u0323": "\u1e89",
+ "Z\u0323": "\u1e92",
+ "z\u0323": "\u1e93",
+ "A\u0323": "\u1ea0",
+ "a\u0323": "\u1ea1",
+ "A\u0309": "\u1ea2",
+ "a\u0309": "\u1ea3",
+ "\u00c2\u0301": "\u1ea4",
+ "\u00e2\u0301": "\u1ea5",
+ "\u00c2\u0300": "\u1ea6",
+ "\u00e2\u0300": "\u1ea7",
+ "\u00c2\u0309": "\u1ea8",
+ "\u00e2\u0309": "\u1ea9",
+ "\u00c2\u0303": "\u1eaa",
+ "\u00e2\u0303": "\u1eab",
+ "\u0102\u0301": "\u1eae",
+ "\u0103\u0301": "\u1eaf",
+ "\u0102\u0300": "\u1eb0",
+ "\u0103\u0300": "\u1eb1",
+ "\u0102\u0309": "\u1eb2",
+ "\u0103\u0309": "\u1eb3",
+ "\u0102\u0303": "\u1eb4",
+ "\u0103\u0303": "\u1eb5",
+ "E\u0323": "\u1eb8",
+ "e\u0323": "\u1eb9",
+ "E\u0309": "\u1eba",
+ "e\u0309": "\u1ebb",
+ "E\u0303": "\u1ebc",
+ "e\u0303": "\u1ebd",
+ "\u00ca\u0301": "\u1ebe",
+ "\u00ea\u0301": "\u1ebf",
+ "\u00ca\u0300": "\u1ec0",
+ "\u00ea\u0300": "\u1ec1",
+ "\u00ca\u0309": "\u1ec2",
+ "\u00ea\u0309": "\u1ec3",
+ "\u00ca\u0303": "\u1ec4",
+ "\u00ea\u0303": "\u1ec5",
+ "I\u0309": "\u1ec8",
+ "i\u0309": "\u1ec9",
+ "I\u0323": "\u1eca",
+ "i\u0323": "\u1ecb",
+ "O\u0323": "\u1ecc",
+ "o\u0323": "\u1ecd",
+ "O\u0309": "\u1ece",
+ "o\u0309": "\u1ecf",
+ "\u00d4\u0301": "\u1ed0",
+ "\u00f4\u0301": "\u1ed1",
+ "\u00d4\u0300": "\u1ed2",
+ "\u00f4\u0300": "\u1ed3",
+ "\u00d4\u0309": "\u1ed4",
+ "\u00f4\u0309": "\u1ed5",
+ "\u00d4\u0303": "\u1ed6",
+ "\u00f4\u0303": "\u1ed7",
+ "\u01a0\u0301": "\u1eda",
+ "\u01a1\u0301": "\u1edb",
+ "\u01a0\u0300": "\u1edc",
+ "\u01a1\u0300": "\u1edd",
+ "\u01a0\u0309": "\u1ede",
+ "\u01a1\u0309": "\u1edf",
+ "\u01a0\u0303": "\u1ee0",
+ "\u01a1\u0303": "\u1ee1",
+ "\u01a0\u0323": "\u1ee2",
+ "\u01a1\u0323": "\u1ee3",
+ "U\u0323": "\u1ee4",
+ "u\u0323": "\u1ee5",
+ "U\u0309": "\u1ee6",
+ "u\u0309": "\u1ee7",
+ "\u01af\u0301": "\u1ee8",
+ "\u01b0\u0301": "\u1ee9",
+ "\u01af\u0300": "\u1eea",
+ "\u01b0\u0300": "\u1eeb",
+ "\u01af\u0309": "\u1eec",
+ "\u01b0\u0309": "\u1eed",
+ "\u01af\u0303": "\u1eee",
+ "\u01b0\u0303": "\u1eef",
+ "\u01af\u0323": "\u1ef0",
+ "\u01b0\u0323": "\u1ef1",
+ "Y\u0300": "\u1ef2",
+ "y\u0300": "\u1ef3",
+ "Y\u0323": "\u1ef4",
+ "y\u0323": "\u1ef5",
+ "Y\u0309": "\u1ef6",
+ "y\u0309": "\u1ef7",
+ "Y\u0303": "\u1ef8",
+ "y\u0303": "\u1ef9"
+ }
+ };
+ Keyboard.layouts['tha']={//泰语 th_pattajoti
+ 'name' : 'ภาษาไทย',
+ 'lang' : 'tha',
+ "lay":{
+ 'normal' : [
+ "_ = \u0e52 \u0e53 \u0e54 \u0e55 \u0e39 \u0e57 \u0e58 \u0e59 \u0e50 \u0e51 \u0e56 {bksp}",
+ "\u0e47 \u0e15 \u0e22 \u0e2d \u0e23 \u0e48 \u0e14 \u0e21 \u0e27 \u0e41 \u0e43 \u0e0c",
+ "{change} \u0e49 \u0e17 \u0e07 \u0e01 \u0e31 \u0e35 \u0e32 \u0e19 \u0e40 \u0e44 \u0e02 \u0e3a",
+ "{shift} \u0e1a \u0e1b \u0e25 \u0e2b \u0e34 \u0e04 \u0e2a \u0e30 \u0e08 \u0e1e {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '\u0e3f + " / , ? \u0e38 \u0e45 . ( ) - % {bksp}',
+ "\u0e4a \u0e24 \u0e46 \u0e0d \u0e29 \u0e36 \u0e1d \u0e0b \u0e16 \u0e12 \u0e2f \u0e26",
+ '{change} \u0e4b \u0e18 \u0e33 \u0e13 \u0e4c \u0e37 \u0e1c \u0e0a \u0e42 \u0e06 \u0e11 \u0e4d',
+ "{shift} \u0e0e \u0e0f \u0e10 \u0e20 \u0e31\u0e49 \u0e28 \u0e2e \u0e1f \u0e09 \u0e2c {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "_ = \u0e52 \u0e53 \u0e54 \u0e55 \u0e39 \u0e57 \u0e58 \u0e59 \u0e50 \u0e51 \u0e56 {bksp}",
+ "\u0e47 \u0e15 \u0e22 \u0e2d \u0e23 \u0e48 \u0e14 \u0e21 \u0e27 \u0e41 \u0e43 \u0e0c",
+ "{change} \u0e49 \u0e17 \u0e07 \u0e01 \u0e31 \u0e35 \u0e32 \u0e19 \u0e40 \u0e44 \u0e02 \u0e3a",
+ "{shift} \u0e1a \u0e1b \u0e25 \u0e2b \u0e34 \u0e04 \u0e2a \u0e30 \u0e08 \u0e1e {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ '\u0e3f + " / , ? \u0e38 \u0e45 . ( ) - % {bksp}',
+ "\u0e4a \u0e24 \u0e46 \u0e0d \u0e29 \u0e36 \u0e1d \u0e0b \u0e16 \u0e12 \u0e2f \u0e26",
+ '{change} \u0e4b \u0e18 \u0e33 \u0e13 \u0e4c \u0e37 \u0e1c \u0e0a \u0e42 \u0e06 \u0e11 \u0e4d',
+ "{shift} \u0e0e \u0e0f \u0e10 \u0e20 \u0e31\u0e49 \u0e28 \u0e2e \u0e1f \u0e09 \u0e2c {shift}",
+ "{alt}   {alt}"
+ ]
+ }
+ };
+ Keyboard.layouts['spa']={//西班牙语
+ 'name' : 'Español',
+ 'lang' : 'spa',
+ "lay":{
+ 'normal' : [
+ "\u00ba 1 2 3 4 5 6 7 8 9 0 ' \u00a1 {bksp}",
+ "q w e r t y u i o p ` +",
+ "{change} a s d f g h j k l \u00f1 \u00b4 \u00e7",
+ "{shift} z x c v b n m , . - {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '\u00aa ! " \u00b7 $ % & / ( ) = ? \u00bf {bksp}',
+ "Q W E R T Y U I O P ^ *",
+ "{change} A S D F G H J K L \u00d1 \u00a8 \u00c7",
+ "{shift} Z X C V B N M ; : _ {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "\\ | @ # ~ \u20ac \u00ac {} {} {} {} {} {} {bksp}",
+ "{} {} \u20ac {} {} {} {} {} {} [ ] }",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {",
+ "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ "\\ | @ # ~ \u20ac \u00ac {} {} {} {} {} {} {bksp}",
+ "{} {} \u20ac {} {} {} {} {} {} [ ] }",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {",
+ "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ "{alt}   {alt}"
+ ]
+ },
+ transform:{
+ "`A": "\u00c0",
+ "\u00a8A": "\u00c4",
+ "~A": "\u00c3",
+ "\u00b4A": "\u00c1",
+ "^A": "\u00c2",
+ "\u00b4C": "\u0106",
+ "^C": "\u0108",
+ "`E": "\u00c8",
+ "\u00a8E": "\u00cb",
+ "~E": "\u1ebc",
+ "\u00b4E": "\u00c9",
+ "^E": "\u00ca",
+ "\u00b4G": "\u01f4",
+ "^G": "\u011c",
+ "\u00a8H": "\u1e26",
+ "^H": "\u0124",
+ "`I": "\u00cc",
+ "\u00a8I": "\u00cf",
+ "~I": "\u0128",
+ "\u00b4I": "\u00cd",
+ "^I": "\u00ce",
+ "^J": "\u0134",
+ "\u00b4K": "\u1e30",
+ "\u00b4L": "\u0139",
+ "\u00b4M": "\u1e3e",
+ "`N": "\u01f8",
+ "~N": "\u00d1",
+ "\u00b4N": "\u0143",
+ "`O": "\u00d2",
+ "\u00a8O": "\u00d6",
+ "~O": "\u00d5",
+ "\u00b4O": "\u00d3",
+ "^O": "\u00d4",
+ "\u00b4P": "\u1e54",
+ "\u00b4R": "\u0154",
+ "\u00b4S": "\u015a",
+ "^S": "\u015c",
+ "`U": "\u00d9",
+ "\u00a8U": "\u00dc",
+ "~U": "\u0168",
+ "\u00b4U": "\u00da",
+ "^U": "\u00db",
+ "~V": "\u1e7c",
+ "`W": "\u1e80",
+ "\u00a8W": "\u1e84",
+ "\u00b4W": "\u1e82",
+ "^W": "\u0174",
+ "\u00a8X": "\u1e8c",
+ "`Y": "\u1ef2",
+ "\u00a8Y": "\u0178",
+ "~Y": "\u1ef8",
+ "\u00b4Y": "\u00dd",
+ "^Y": "\u0176",
+ "\u00b4Z": "\u0179",
+ "^Z": "\u1e90",
+ "`a": "\u00e0",
+ "\u00a8a": "\u00e4",
+ "~a": "\u00e3",
+ "\u00b4a": "\u00e1",
+ "^a": "\u00e2",
+ "\u00b4c": "\u0107",
+ "^c": "\u0109",
+ "`e": "\u00e8",
+ "\u00a8e": "\u00eb",
+ "~e": "\u1ebd",
+ "\u00b4e": "\u00e9",
+ "^e": "\u00ea",
+ "\u00b4g": "\u01f5",
+ "^g": "\u011d",
+ "\u00a8h": "\u1e27",
+ "^h": "\u0125",
+ "`i": "\u00ec",
+ "\u00a8i": "\u00ef",
+ "~i": "\u0129",
+ "\u00b4i": "\u00ed",
+ "^i": "\u00ee",
+ "^j": "\u0135",
+ "\u00b4k": "\u1e31",
+ "\u00b4l": "\u013a",
+ "\u00b4m": "\u1e3f",
+ "`n": "\u01f9",
+ "~n": "\u00f1",
+ "\u00b4n": "\u0144",
+ "`o": "\u00f2",
+ "\u00a8o": "\u00f6",
+ "~o": "\u00f5",
+ "\u00b4o": "\u00f3",
+ "^o": "\u00f4",
+ "\u00b4p": "\u1e55",
+ "\u00b4r": "\u0155",
+ "\u00b4s": "\u015b",
+ "^s": "\u015d",
+ "\u00a8t": "\u1e97",
+ "`u": "\u00f9",
+ "\u00a8u": "\u00fc",
+ "~u": "\u0169",
+ "\u00b4u": "\u00fa",
+ "^u": "\u00fb",
+ "~v": "\u1e7d",
+ "`w": "\u1e81",
+ "\u00a8w": "\u1e85",
+ "\u00b4w": "\u1e83",
+ "^w": "\u0175",
+ "\u00a8x": "\u1e8d",
+ "`y": "\u1ef3",
+ "\u00a8y": "\u00ff",
+ "~y": "\u1ef9",
+ "\u00b4y": "\u00fd",
+ "^y": "\u0177",
+ "\u00b4z": "\u017a",
+ "^z": "\u1e91",
+ "\u00b4\u00c7": "\u1e08",
+ "\u00b4\u00e7": "\u1e09"
+ }
+ };
+ // Keyboard.layouts['hin']={//印地语
+ // 'name' : 'हिन्दी',
+ // 'lang' : 'hin',
+ // "lay":{
+ // 'normal' : [
+ // "\u094a 1 2 3 4 5 6 7 8 9 0 - \u0943 {bksp}",
+ // "\u094c \u0948 \u093e \u0940 \u0942 \u092c \u0939 \u0917 \u0926 \u091c \u0921 \u093c",
+ // "{change} \u094b \u0947 \u094d \u093f \u0941 \u092a \u0930 \u0915 \u0924 \u091a \u091f \u0949",
+ // "{shift} \u0946 \u0902 \u092e \u0928 \u0935 \u0932 \u0938 , . \u092f {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'shift' : [
+ // "\u0912 \u090d \u0945 \u094d\u0930 \u0930\u094d \u091c\u094d\u091e \u0924\u094d\u0930 \u0915\u094d\u0937 \u0936\u094d\u0930 ( ) \u0903 \u090b {bksp}",
+ // "\u0914 \u0910 \u0906 \u0908 \u090a \u092d \u0919 \u0918 \u0927 \u091d \u0922 \u091e",
+ // "{change} \u0913 \u090f \u0905 \u0907 \u0909 \u092b \u0931 \u0916 \u0925 \u091b \u0920 \u0911",
+ // "{shift} \u090e \u0901 \u0923 \u0929 \u0934 \u0933 \u0936 \u0937 \u0964 \u095f {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt' : [
+ // "{} \u0967 \u0968 \u0969 \u096a \u096b \u096c \u096d \u096e \u096f \u0966 {} \u0944 {bksp}",
+ // "{} {} {} \u0963 {} {} {} \u095a {} \u095b \u095c {}",
+ // "{change} {} {} {} \u0962 {} {} {} \u0958 {} \u0952 {} {}",
+ // "{shift} \u0953 {} \u0954 {} {} {} {} \u0970 \u0965 {} {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt-shift' : [
+ // "{} {} {} {} {} {} {} {} {} {} {} {} \u0960 {bksp}",
+ // "{} {} {} \u0961 {} {} {} {} {} \u095d {} {}",
+ // "{change} {} {} {} \u090c {} \u095e {} \u0959 {} {} \u0951 {}",
+ // "{shift} {} \u0950 {} {} {} {} {} {} \u093d {} {shift}",
+ // "{alt}   {alt}"
+ // ]
+ // }
+ // };
+ // Keyboard.layouts['srp']={//sr_cyrl 塞尔维亚语
+ // 'name' : 'Сербиан',
+ // 'lang' : 'srp',
+ // "lay":{
+ // 'normal' : [
+ // "` 1 2 3 4 5 6 7 8 9 0 ' + {bksp}",
+ // "\u0459 \u045a \u0435 \u0440 \u0442 \u0437 \u0443 \u0438 \u043e \u043f \u0448 \u0452",
+ // "{change} \u0430 \u0441 \u0434 \u0444 \u0433 \u0445 \u0458 \u043a \u043b \u0447 \u045b \u0436",
+ // "{shift} \u0455 \u045f \u0446 \u0432 \u0431 \u043d \u043c , . - {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'shift' : [
+ // '~ ! " # $ % & / ( ) = ? * {bksp}',
+ // "\u0409 \u040a \u0415 \u0420 \u0422 \u0417 \u0423 \u0418 \u041e \u041f \u0428 \u0402",
+ // "{change} \u0410 \u0421 \u0414 \u0424 \u0413 \u0425 \u0408 \u041a \u041b \u0427 \u040b \u0416",
+ // "{shift} \u0405 \u040f \u0426 \u0412 \u0411 \u041d \u041c ; : _ {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt' : [
+ // "{} {} {} {} {} {} {} {} {} {} {} {} {} {bksp}",
+ // "{} {} \u20ac {} {} {} {} {} {} {} {} {}",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ // "{shift} {} {} {} {} {} {} {} < > {} {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt-shift' : [
+ // "{} {} {} {} {} {} {} {} {} {} {} {} {} {bksp}",
+ // "{} {} \u20ac {} {} {} {} {} {} {} {} {}",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ // "{shift} {} {} {} {} {} {} {} < > {} {shift}",
+ // "{alt}   {alt}"
+ // ]
+ // },
+ // transform: {
+ // "'\u0433": "\u0453",
+ // "'\u0413": "\u0403",
+ // "'\u043a": "\u045c",
+ // "'\u041a": "\u040c"
+ // }
+ // };
+ // Keyboard.layouts['fra']={//fr 法语
+ // 'name' : 'Le français',
+ // 'lang' : 'fra',
+ // "lay":{
+ // 'normal' : [
+ // "\u00b2 & \u00e9 \" ' ( - \u00e8 _ \u00e7 \u00e0 ) = {bksp}",
+ // "a z e r t y u i o p ^ $",
+ // "{change} q s d f g h j k l m \u00f9 *",
+ // "{shift} w x c v b n , ; : ! {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'shift' : [
+ // '\u00b2 1 2 3 4 5 6 7 8 9 0 \u00b0 + {bksp}',
+ // "A Z E R T Y U I O P \u00a8 \u00a3",
+ // "{change} Q S D F G H J K L M % \u00b5",
+ // "{shift} W X C V B N ? . / \u00a7 {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt' : [
+ // "{} < ~ # { [ | ` \\ ^ @ ] } {bksp}",
+ // "{} {} \u20ac {} {} {} {} {} {} {} {} \u00a4",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ // "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt-shift' : [
+ // "{} > ~ # { [ | ` \\ ^ @ ] } {bksp}",
+ // "{} {} \u20ac {} {} {} {} {} {} {} {} \u00a4",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ // "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ // "{alt}   {alt}"
+ // ]
+ // },
+ // transform: {
+ // "\u00a8 ": "\u00a8",
+ // "\u00a8A": "\u00c4",
+ // "\u00a8E": "\u00cb",
+ // "\u00a8H": "\u1e26",
+ // "\u00a8I": "\u00cf",
+ // "\u00a8O": "\u00d6",
+ // "\u00a8U": "\u00dc",
+ // "\u00a8W": "\u1e84",
+ // "\u00a8X": "\u1e8c",
+ // "\u00a8Y": "\u0178",
+ // "\u00a8a": "\u00e4",
+ // "\u00a8e": "\u00eb",
+ // "\u00a8h": "\u1e27",
+ // "\u00a8i": "\u00ef",
+ // "\u00a8o": "\u00f6",
+ // "\u00a8t": "\u1e97",
+ // "\u00a8u": "\u00fc",
+ // "\u00a8w": "\u1e85",
+ // "\u00a8x": "\u1e8d",
+ // "\u00a8y": "\u00ff",
+ // "^ ": "^",
+ // "^A": "\u00c2",
+ // "^C": "\u0108",
+ // "^E": "\u00ca",
+ // "^G": "\u011c",
+ // "^H": "\u0124",
+ // "^I": "\u00ce",
+ // "^J": "\u0134",
+ // "^O": "\u00d4",
+ // "^S": "\u015c",
+ // "^U": "\u00db",
+ // "^W": "\u0174",
+ // "^Y": "\u0176",
+ // "^Z": "\u1e90",
+ // "^a": "\u00e2",
+ // "^c": "\u0109",
+ // "^e": "\u00ea",
+ // "^g": "\u011d",
+ // "^h": "\u0125",
+ // "^i": "\u00ee",
+ // "^j": "\u0135",
+ // "^o": "\u00f4",
+ // "^s": "\u015d",
+ // "^u": "\u00fb",
+ // "^w": "\u0175",
+ // "^y": "\u0177",
+ // "^z": "\u1e91"
+ // }
+ // };
+ // Keyboard.layouts['ita']={//it 意大利语
+ // 'name' : 'lingua italiana',
+ // 'lang' : 'ita',
+ // "lay":{
+ // 'normal' : [
+ // "\\ 1 2 3 4 5 6 7 8 9 0 ' \u00ec {bksp}",
+ // "q w e r t y u i o p \u00e8 +",
+ // "{change} a s d f g h j k l \u00f2 \u00e0 \u00f9",
+ // "{shift} z x c v b n m , . - {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'shift' : [
+ // '| ! " \u00a3 $ % & / ( ) = ? ^ {bksp}',
+ // "Q W E R T Y U I O P \u00e9 *",
+ // "{change} A S D F G H J K L \u00e7 \u00b0 \u00a7",
+ // "{shift} Z X C V B N M ; : _ {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt' : [
+ // "{} < {} # {} {} {} { [ ] } {} {} {bksp}",
+ // "@ {} \u20ac {} {} {} {} {} {} {} {} ~",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} `",
+ // "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt-shift' : [
+ // "{} > {} # {} {} {} { [ ] } {} {} {bksp}",
+ // "@ {} \u20ac {} {} {} {} {} {} {} {} ~",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} `",
+ // "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ // "{alt}   {alt}"
+ // ]
+ // },
+ // transform: {
+ // "` ": "`",
+ // "`A": "\u00c0",
+ // "`E": "\u00c8",
+ // "`I": "\u00cc",
+ // "`N": "\u01f8",
+ // "`O": "\u00d2",
+ // "`U": "\u00d9",
+ // "`W": "\u1e80",
+ // "`Y": "\u1ef2",
+ // "`a": "\u00e0",
+ // "`e": "\u00e8",
+ // "`i": "\u00ec",
+ // "`n": "\u01f9",
+ // "`o": "\u00f2",
+ // "`u": "\u00f9",
+ // "`w": "\u1e81",
+ // "`y": "\u1ef3",
+ // "~ ": "~",
+ // "~A": "\u00c3",
+ // "~E": "\u1ebc",
+ // "~I": "\u0128",
+ // "~N": "\u00d1",
+ // "~O": "\u00d5",
+ // "~U": "\u0168",
+ // "~V": "\u1e7c",
+ // "~Y": "\u1ef8",
+ // "~a": "\u00e3",
+ // "~e": "\u1ebd",
+ // "~i": "\u0129",
+ // "~n": "\u00f1",
+ // "~o": "\u00f5",
+ // "~u": "\u0169",
+ // "~v": "\u1e7d",
+ // "~y": "\u1ef9",
+ // "^ ": "^",
+ // "^A": "\u00c2",
+ // "^C": "\u0108",
+ // "^E": "\u00ca",
+ // "^G": "\u011c",
+ // "^H": "\u0124",
+ // "^I": "\u00ce",
+ // "^J": "\u0134",
+ // "^O": "\u00d4",
+ // "^S": "\u015c",
+ // "^U": "\u00db",
+ // "^W": "\u0174",
+ // "^Y": "\u0176",
+ // "^Z": "\u1e90",
+ // "^a": "\u00e2",
+ // "^c": "\u0109",
+ // "^e": "\u00ea",
+ // "^g": "\u011d",
+ // "^h": "\u0125",
+ // "^i": "\u00ee",
+ // "^j": "\u0135",
+ // "^o": "\u00f4",
+ // "^s": "\u015d",
+ // "^u": "\u00fb",
+ // "^w": "\u0175",
+ // "^y": "\u0177",
+ // "^z": "\u1e91"
+ // }
+ // };
+ Keyboard.layouts['por']={//pt_pt 葡萄牙语
+ 'name' : 'Português',
+ 'lang' : 'por',
+ "lay":{
+ 'normal' : [
+ "\\ 1 2 3 4 5 6 7 8 9 0 ' \u00ab {bksp}",
+ "q w e r t y u i o p + \u00b4",
+ "{change} a s d f g h j k l \u00e7 \u00ba ~",
+ "{shift} z x c v b n m , . - {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '| ! " # $ % & / ( ) = ? \u00bb {bksp}',
+ "Q W E R T Y U I O P * `",
+ "{change} A S D F G H J K L \u00c7 \u00aa ^",
+ "{shift} Z X C V B N M ; : _ {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "{} < @ \u00a3 \u00a7 {} {} { [ ] } {} {} {bksp}",
+ "{} {} \u20ac {} {} {} {} {} {} {} \u00a8 {}",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ "{} > @ \u00a3 \u00a7 {} {} { [ ] } {} {} {bksp}",
+ "{} {} \u20ac {} {} {} {} {} {} {} \u00a8 {}",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ "{shift} {} {} {} {} {} {} {} {} {} {} {shift}",
+ "{alt}   {alt}"
+ ]
+ },
+ transform: {
+ "` ": "`",
+ "`A": "\u00c0",
+ "`E": "\u00c8",
+ "`I": "\u00cc",
+ "`N": "\u01f8",
+ "`O": "\u00d2",
+ "`U": "\u00d9",
+ "`W": "\u1e80",
+ "`Y": "\u1ef2",
+ "`a": "\u00e0",
+ "`e": "\u00e8",
+ "`i": "\u00ec",
+ "`n": "\u01f9",
+ "`o": "\u00f2",
+ "`u": "\u00f9",
+ "`w": "\u1e81",
+ "`y": "\u1ef3",
+ "\u00a8 ": "\u00a8",
+ "\u00a8A": "\u00c4",
+ "\u00a8E": "\u00cb",
+ "\u00a8H": "\u1e26",
+ "\u00a8I": "\u00cf",
+ "\u00a8O": "\u00d6",
+ "\u00a8U": "\u00dc",
+ "\u00a8W": "\u1e84",
+ "\u00a8X": "\u1e8c",
+ "\u00a8Y": "\u0178",
+ "\u00a8a": "\u00e4",
+ "\u00a8e": "\u00eb",
+ "\u00a8h": "\u1e27",
+ "\u00a8i": "\u00ef",
+ "\u00a8o": "\u00f6",
+ "\u00a8t": "\u1e97",
+ "\u00a8u": "\u00fc",
+ "\u00a8w": "\u1e85",
+ "\u00a8x": "\u1e8d",
+ "\u00a8y": "\u00ff",
+ "^ ": "^",
+ "^A": "\u00c2",
+ "^C": "\u0108",
+ "^E": "\u00ca",
+ "^G": "\u011c",
+ "^H": "\u0124",
+ "^I": "\u00ce",
+ "^J": "\u0134",
+ "^O": "\u00d4",
+ "^S": "\u015c",
+ "^U": "\u00db",
+ "^W": "\u0174",
+ "^Y": "\u0176",
+ "^Z": "\u1e90",
+ "^a": "\u00e2",
+ "^c": "\u0109",
+ "^e": "\u00ea",
+ "^g": "\u011d",
+ "^h": "\u0125",
+ "^i": "\u00ee",
+ "^j": "\u0135",
+ "^o": "\u00f4",
+ "^s": "\u015d",
+ "^u": "\u00fb",
+ "^w": "\u0175",
+ "^y": "\u0177",
+ "^z": "\u1e91",
+ "\u00b4 ": "\u00b4",
+ "\u00b4A": "\u00c1",
+ "\u00b4C": "\u0106",
+ "\u00b4E": "\u00c9",
+ "\u00b4G": "\u01f4",
+ "\u00b4I": "\u00cd",
+ "\u00b4K": "\u1e30",
+ "\u00b4L": "\u0139",
+ "\u00b4M": "\u1e3e",
+ "\u00b4N": "\u0143",
+ "\u00b4O": "\u00d3",
+ "\u00b4P": "\u1e54",
+ "\u00b4R": "\u0154",
+ "\u00b4S": "\u015a",
+ "\u00b4U": "\u00da",
+ "\u00b4W": "\u1e82",
+ "\u00b4Y": "\u00dd",
+ "\u00b4Z": "\u0179",
+ "\u00b4a": "\u00e1",
+ "\u00b4c": "\u0107",
+ "\u00b4e": "\u00e9",
+ "\u00b4g": "\u01f5",
+ "\u00b4i": "\u00ed",
+ "\u00b4k": "\u1e31",
+ "\u00b4l": "\u013a",
+ "\u00b4m": "\u1e3f",
+ "\u00b4n": "\u0144",
+ "\u00b4o": "\u00f3",
+ "\u00b4p": "\u1e55",
+ "\u00b4r": "\u0155",
+ "\u00b4s": "\u015b",
+ "\u00b4u": "\u00fa",
+ "\u00b4w": "\u1e83",
+ "\u00b4y": "\u00fd",
+ "\u00b4z": "\u017a",
+ "\u00b4\u00c7": "\u1e08",
+ "\u00b4\u00e7": "\u1e09",
+ "~ ": "~",
+ "~A": "\u00c3",
+ "~E": "\u1ebc",
+ "~I": "\u0128",
+ "~N": "\u00d1",
+ "~O": "\u00d5",
+ "~U": "\u0168",
+ "~V": "\u1e7c",
+ "~Y": "\u1ef8",
+ "~a": "\u00e3",
+ "~e": "\u1ebd",
+ "~i": "\u0129",
+ "~n": "\u00f1",
+ "~o": "\u00f5",
+ "~u": "\u0169",
+ "~v": "\u1e7d",
+ "~y": "\u1ef9"
+ }
+ };
+ Keyboard.layouts['deu']={//de 德语
+ 'name' : 'Deutsch',
+ 'lang' : 'deu',
+ "lay":{
+ 'normal' : [
+ "^ 1 2 3 4 5 6 7 8 9 0 \u00df \u00b4 {bksp}",
+ "q w e r t z u i o p \u00fc +",
+ "{change} a s d f g h j k l \u00f6 \u00e4 #",
+ "{shift} y x c v b n m , . - {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '\u00b0 ! \" \u00a7 $ % & / ( ) = ? ` {bksp}',
+ "Q W E R T Z U I O P \u00dc *",
+ "{change} A S D F G H J K L \u00d6 \u00c4 '",
+ "{shift} Y X C V B N M ; : _ {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "{} < \u00b2 \u00b3 {} {} {} { [ ] } \\ {} {bksp}",
+ "@ {} \u20ac {} {} {} {} {} {} {} {} ~",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ "{shift} | {} {} {} {} {} \u00b5 {} {} {} {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ "{} > \u00b2 \u00b3 {} {} {} { [ ] } \\ {} {bksp}",
+ "@ {} \u20ac {} {} {} {} {} {} {} {} ~",
+ "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ "{shift} | {} {} {} {} {} \u00b5 {} {} {} {shift}",
+ "{alt}   {alt}"
+ ]
+ },
+ transform: {
+ "` ": "`",
+ "`A": "\u00c0",
+ "`E": "\u00c8",
+ "`I": "\u00cc",
+ "`N": "\u01f8",
+ "`O": "\u00d2",
+ "`U": "\u00d9",
+ "`W": "\u1e80",
+ "`Y": "\u1ef2",
+ "`a": "\u00e0",
+ "`e": "\u00e8",
+ "`i": "\u00ec",
+ "`n": "\u01f9",
+ "`o": "\u00f2",
+ "`u": "\u00f9",
+ "`w": "\u1e81",
+ "`y": "\u1ef3",
+ "`\u00dc": "\u01db",
+ "`\u00fc": "\u01dc",
+ "\u00b4 ": "\u00b4",
+ "\u00b4A": "\u00c1",
+ "\u00b4C": "\u0106",
+ "\u00b4E": "\u00c9",
+ "\u00b4G": "\u01f4",
+ "\u00b4I": "\u00cd",
+ "\u00b4K": "\u1e30",
+ "\u00b4L": "\u0139",
+ "\u00b4M": "\u1e3e",
+ "\u00b4N": "\u0143",
+ "\u00b4O": "\u00d3",
+ "\u00b4P": "\u1e54",
+ "\u00b4R": "\u0154",
+ "\u00b4S": "\u015a",
+ "\u00b4U": "\u00da",
+ "\u00b4W": "\u1e82",
+ "\u00b4Y": "\u00dd",
+ "\u00b4Z": "\u0179",
+ "\u00b4a": "\u00e1",
+ "\u00b4c": "\u0107",
+ "\u00b4e": "\u00e9",
+ "\u00b4g": "\u01f5",
+ "\u00b4i": "\u00ed",
+ "\u00b4k": "\u1e31",
+ "\u00b4l": "\u013a",
+ "\u00b4m": "\u1e3f",
+ "\u00b4n": "\u0144",
+ "\u00b4o": "\u00f3",
+ "\u00b4p": "\u1e55",
+ "\u00b4r": "\u0155",
+ "\u00b4s": "\u015b",
+ "\u00b4u": "\u00fa",
+ "\u00b4w": "\u1e83",
+ "\u00b4y": "\u00fd",
+ "\u00b4z": "\u017a",
+ "\u00b4\u00dc": "\u01d7",
+ "\u00b4\u00fc": "\u01d8",
+ "^ ": "^",
+ "^A": "\u00c2",
+ "^C": "\u0108",
+ "^E": "\u00ca",
+ "^G": "\u011c",
+ "^H": "\u0124",
+ "^I": "\u00ce",
+ "^J": "\u0134",
+ "^O": "\u00d4",
+ "^S": "\u015c",
+ "^U": "\u00db",
+ "^W": "\u0174",
+ "^Y": "\u0176",
+ "^Z": "\u1e90",
+ "^a": "\u00e2",
+ "^c": "\u0109",
+ "^e": "\u00ea",
+ "^g": "\u011d",
+ "^h": "\u0125",
+ "^i": "\u00ee",
+ "^j": "\u0135",
+ "^o": "\u00f4",
+ "^s": "\u015d",
+ "^u": "\u00fb",
+ "^w": "\u0175",
+ "^y": "\u0177",
+ "^z": "\u1e91"
+ }
+ };
+ // Keyboard.layouts['urd']={//ur 乌尔都语
+ // 'name' : 'اردو',
+ // 'lang' : 'urd',
+ // "lay":{
+ // 'normal' : [
+ // "{} \u06f1 \u06f2 \u06f3 \u06f4 \u06f5 \u06f6 \u06f7 \u06f8 \u06f9 \u06f0 - = {bksp}",
+ // "\u0642 \u0648 \u0639 \u0631 \u062a \u06d2 \u0621 \u06cc \u06c1 \u067e [ ] \\",
+ // "{change} \u0627 \u0633 \u062f \u0641 \u06af \u062d \u062c \u06a9 \u0644 \u061b ' {}",
+ // "{shift} \u0632 \u0634 \u0686 \u0637 \u0628 \u0646 \u0645 \u060c \u06d4 / {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'shift' : [
+ // '\u064b 1 2 3 4 5 6 7 8 9 0 _ + {bksp}',
+ // "\u0652 \u0651 \u0670 \u0691 \u0679 \u064e \u0626 \u0650 \u06c3 \u064f { } |",
+ // '{change} \u0622 \u0635 \u0688 {} \u063a \u06be \u0636 \u062e {} : " {}',
+ // "{shift} \u0630 \u0698 \u062b \u0638 {} \u06ba \u0658 {} \u066b \u061f {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt' : [
+ // "{} ! @ # {} \u066a {} & * ( ) {} {} {bksp}",
+ // "{} \u0602 \u0656 \u0613 \u0614 \u0601 \u0654 \u0611 {} \u0657 {} {} {}",
+ // "{change} \ufdf2 \u0610 \ufdfa {} {} \u0612 \ufdfb {} {} {} {} {}",
+ // "{shift} \u060f \u060e \u0603 {} \ufdfd \u0600 {} < > {} {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt-shift' : [
+ // "{} ! @ # {} \u066a {} & * ( ) {} {} {bksp}",
+ // "{} \u0602 \u0656 \u0613 \u0614 \u0601 \u0654 \u0611 {} \u0657 {} {} {}",
+ // "{change} \ufdf2 \u0610 \ufdfa {} {} \u0612 \ufdfb {} {} {} {} {}",
+ // "{shift} \u060f \u060e \u0603 {} \ufdfd \u0600 {} < > {} {shift}",
+ // "{alt}   {alt}"
+ // ]
+ // }
+ // };
+ // Keyboard.layouts['dan']={//da 丹麦
+ // 'name' : 'Danmark',
+ // 'lang' : 'dan',
+ // "lay":{
+ // 'normal' : [
+ // "\u00bd 1 2 3 4 5 6 7 8 9 0 + \u00b4 {bksp}",
+ // "q w e r t y u i o p \u00e5 \u00a8",
+ // "{change} a s d f g h j k l \u00e6 \u00f8 '",
+ // "{shift} z x c v b n m , . - {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'shift' : [
+ // '\u00a7 ! " # \u00a4 % & / ( ) = ? ` {bksp}',
+ // "Q W E R T Y U I O P \u00c5 ^",
+ // "{change} A S D F G H J K L \u00c6 \u00d8 *",
+ // "{shift} Z X C V B N M ; : _ {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt' : [
+ // "{} < @ \u00a3 $ {} {} { [ ] } {} | {bksp}",
+ // "{} {} \u20ac {} {} {} {} {} {} {} {} ~",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ // "{shift} \\ {} {} {} {} {} {} {} {} {} {shift}",
+ // "{alt}   {alt}"
+ // ],
+ // 'alt-shift' : [
+ // "{} > @ \u00a3 $ {} {} { [ ] } {} | {bksp}",
+ // "{} {} \u20ac {} {} {} {} {} {} {} {} ~",
+ // "{change} {} {} {} {} {} {} {} {} {} {} {} {}",
+ // "{shift} \\ {} {} {} {} {} {} {} {} {} {shift}",
+ // "{alt}   {alt}"
+ // ]
+ // },
+ // transform: {
+ // "~ ": "~",
+ // "~A": "\u00c3",
+ // "~E": "\u1ebc",
+ // "~I": "\u0128",
+ // "~N": "\u00d1",
+ // "~O": "\u00d5",
+ // "~U": "\u0168",
+ // "~V": "\u1e7c",
+ // "~Y": "\u1ef8",
+ // "~a": "\u00e3",
+ // "~e": "\u1ebd",
+ // "~i": "\u0129",
+ // "~n": "\u00f1",
+ // "~o": "\u00f5",
+ // "~u": "\u0169",
+ // "~v": "\u1e7d",
+ // "~y": "\u1ef9",
+ // "\u00a8 ": "\u00a8",
+ // "\u00a8A": "\u00c4",
+ // "\u00a8E": "\u00cb",
+ // "\u00a8H": "\u1e26",
+ // "\u00a8I": "\u00cf",
+ // "\u00a8O": "\u00d6",
+ // "\u00a8U": "\u00dc",
+ // "\u00a8W": "\u1e84",
+ // "\u00a8X": "\u1e8c",
+ // "\u00a8Y": "\u0178",
+ // "\u00a8a": "\u00e4",
+ // "\u00a8e": "\u00eb",
+ // "\u00a8h": "\u1e27",
+ // "\u00a8i": "\u00ef",
+ // "\u00a8o": "\u00f6",
+ // "\u00a8t": "\u1e97",
+ // "\u00a8u": "\u00fc",
+ // "\u00a8w": "\u1e85",
+ // "\u00a8x": "\u1e8d",
+ // "\u00a8y": "\u00ff",
+ // "^ ": "^",
+ // "^A": "\u00c2",
+ // "^C": "\u0108",
+ // "^E": "\u00ca",
+ // "^G": "\u011c",
+ // "^H": "\u0124",
+ // "^I": "\u00ce",
+ // "^J": "\u0134",
+ // "^O": "\u00d4",
+ // "^S": "\u015c",
+ // "^U": "\u00db",
+ // "^W": "\u0174",
+ // "^Y": "\u0176",
+ // "^Z": "\u1e90",
+ // "^a": "\u00e2",
+ // "^c": "\u0109",
+ // "^e": "\u00ea",
+ // "^g": "\u011d",
+ // "^h": "\u0125",
+ // "^i": "\u00ee",
+ // "^j": "\u0135",
+ // "^o": "\u00f4",
+ // "^s": "\u015d",
+ // "^u": "\u00fb",
+ // "^w": "\u0175",
+ // "^y": "\u0177",
+ // "^z": "\u1e91",
+ // "\u00b4 ": "\u00b4",
+ // "\u00b4A": "\u00c1",
+ // "\u00b4C": "\u0106",
+ // "\u00b4E": "\u00c9",
+ // "\u00b4G": "\u01f4",
+ // "\u00b4I": "\u00cd",
+ // "\u00b4K": "\u1e30",
+ // "\u00b4L": "\u0139",
+ // "\u00b4M": "\u1e3e",
+ // "\u00b4N": "\u0143",
+ // "\u00b4O": "\u00d3",
+ // "\u00b4P": "\u1e54",
+ // "\u00b4R": "\u0154",
+ // "\u00b4S": "\u015a",
+ // "\u00b4U": "\u00da",
+ // "\u00b4W": "\u1e82",
+ // "\u00b4Y": "\u00dd",
+ // "\u00b4Z": "\u0179",
+ // "\u00b4a": "\u00e1",
+ // "\u00b4c": "\u0107",
+ // "\u00b4e": "\u00e9",
+ // "\u00b4g": "\u01f5",
+ // "\u00b4i": "\u00ed",
+ // "\u00b4k": "\u1e31",
+ // "\u00b4l": "\u013a",
+ // "\u00b4m": "\u1e3f",
+ // "\u00b4n": "\u0144",
+ // "\u00b4o": "\u00f3",
+ // "\u00b4p": "\u1e55",
+ // "\u00b4r": "\u0155",
+ // "\u00b4s": "\u015b",
+ // "\u00b4u": "\u00fa",
+ // "\u00b4w": "\u1e83",
+ // "\u00b4y": "\u00fd",
+ // "\u00b4z": "\u017a",
+ // "\u00b4\u00c5": "\u01fa",
+ // "\u00b4\u00c6": "\u01fc",
+ // "\u00b4\u00d8": "\u01fe",
+ // "\u00b4\u00e5": "\u01fb",
+ // "\u00b4\u00e6": "\u01fd",
+ // "\u00b4\u00f8": "\u01ff",
+ // "` ": "`",
+ // "`A": "\u00c0",
+ // "`E": "\u00c8",
+ // "`I": "\u00cc",
+ // "`N": "\u01f8",
+ // "`O": "\u00d2",
+ // "`U": "\u00d9",
+ // "`W": "\u1e80",
+ // "`Y": "\u1ef2",
+ // "`a": "\u00e0",
+ // "`e": "\u00e8",
+ // "`i": "\u00ec",
+ // "`n": "\u01f9",
+ // "`o": "\u00f2",
+ // "`u": "\u00f9",
+ // "`w": "\u1e81",
+ // "`y": "\u1ef3"
+ // }
+ // };
+ Keyboard.layouts['ara']={//阿拉伯语
+ 'name' : 'عرب',
+ 'lang' : 'ara',
+ "lay":{
+ 'normal' : [
+ "\u0630 \u0661 \u0662 \u0663 \u0664 \u0665 \u0666 \u0667 \u0668 \u0669 \u0660 - = {bksp}",
+ "\u0636 \u0635 \u062b \u0642 \u0641 \u063a \u0639 \u0647 \u062e \u062d \u062c \u062f",
+ "{change} \u0634 \u0633 \u064a \u0628 \u0644 \u0627 \u062a \u0646 \u0645 \u0643 \u0637 \\",
+ "{shift} \u0626 \u0621 \u0624 \u0631 \u0644\u0627 \u0649 \u0629 \u0648 \u0632 \u0638 {shift}",
+ "{alt}   {alt}"
+ ],
+ 'shift' : [
+ '\u0651 ! @ # $ % ^ & * ) ( _ + {bksp}',
+ "\u064e \u064b \u064f \u064c \u0644\u0625 \u0625 \u2018 \u00f7 \u00d7 \u061b < >",
+ '{change} \u0650 \u064d ] [ \u0644\u0623 \u0623 \u0640 \u060c / : " |',
+ "{shift} ~ \u0652 } { \u0644\u0622 \u0622 \u2019 , . \u061f {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt' : [
+ "\u0630 \u0661 \u0662 \u0663 \u0664 \u0665 \u0666 \u0667 \u0668 \u0669 \u0660 - = {bksp}",
+ "\u0636 \u0635 \u062b \u0642 \u0641 \u063a \u0639 \u0647 \u062e \u062d \u062c \u062f",
+ "{change} \u0634 \u0633 \u064a \u0628 \u0644 \u0627 \u062a \u0646 \u0645 \u0643 \u0637 \\",
+ "{shift} \u0626 \u0621 \u0624 \u0631 \u0644\u0627 \u0649 \u0629 \u0648 \u0632 \u0638 {shift}",
+ "{alt}   {alt}"
+ ],
+ 'alt-shift' : [
+ '\u0651 ! @ # $ % ^ & * ) ( _ + {bksp}',
+ "\u064e \u064b \u064f \u064c \u0644\u0625 \u0625 \u2018 \u00f7 \u00d7 \u061b < >",
+ '{change} \u0650 \u064d ] [ \u0644\u0623 \u0623 \u0640 \u060c / : " |',
+ "{shift} ~ \u0652 } { \u0644\u0622 \u0622 \u2019 , . \u061f {shift}",
+ "{alt}   {alt}"
+ ]
+ }
+ };
+ win.Keyboard=Keyboard;
+})(window)
diff --git a/software/FusionX/testapps/browser/BrownData/loading.html b/software/FusionX/testapps/browser/BrownData/loading.html
new file mode 100644
index 000000000..1575a8ede
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/loading.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+Loading...
+
+
diff --git a/software/FusionX/testapps/browser/BrownData/quit.html b/software/FusionX/testapps/browser/BrownData/quit.html
new file mode 100755
index 000000000..8f7829bd4
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/quit.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+Are you sure quit?
+
+
+
+
+
+
diff --git a/software/FusionX/testapps/browser/BrownData/userjs/vk.js b/software/FusionX/testapps/browser/BrownData/userjs/vk.js
new file mode 100644
index 000000000..fcc9021b1
--- /dev/null
+++ b/software/FusionX/testapps/browser/BrownData/userjs/vk.js
@@ -0,0 +1,197 @@
+console.log("Install Keyboard VK constants...")
+var VK_UNDEFINED = 0;
+var VK_CANCEL = 3;
+var VK_BACK_SPACE = 8;
+var VK_TAB = 9;
+var VK_CLEAR = 12;
+var VK_ENTER = 13;
+var VK_SHIFT = 16;
+var VK_CONTROL = 17;
+var VK_ALT = 18;
+var VK_PAUSE = 19;
+var VK_CAPS_LOCK = 20;
+var VK_KANA = 21;
+var VK_FINAL = 24;
+var VK_KANJI = 25;
+var VK_ESCAPE = 27;
+var VK_CONVERT = 28;
+var VK_NONCONVERT = 29;
+var VK_ACCEPT = 30;
+var VK_MODECHANGE = 31;
+var VK_SPACE = 32;
+var VK_PAGE_UP = 33;
+var VK_PAGE_DOWN = 34;
+var VK_END = 35;
+var VK_HOME = 36;
+var VK_LEFT = 37;
+var VK_UP = 38;
+var VK_RIGHT = 39;
+var VK_DOWN = 40;
+var VK_COMMA = 44;
+var VK_PERIOD = 46;
+var VK_SLASH = 47;
+var VK_0 = 48;
+var VK_1 = 49;
+var VK_2 = 50;
+var VK_3 = 51;
+var VK_4 = 52;
+var VK_5 = 53;
+var VK_6 = 54;
+var VK_7 = 55;
+var VK_8 = 56;
+var VK_9 = 57;
+var VK_SEMICOLON = 59;
+var VK_EQUALS = 61;
+var VK_A = 65;
+var VK_B = 66;
+var VK_C = 67;
+var VK_D = 68;
+var VK_E = 69;
+var VK_F = 70;
+var VK_G = 71;
+var VK_H = 72;
+var VK_I = 73;
+var VK_J = 74;
+var VK_K = 75;
+var VK_L = 76;
+var VK_M = 77;
+var VK_N = 78;
+var VK_O = 79;
+var VK_P = 80;
+var VK_Q = 81;
+var VK_R = 82;
+var VK_S = 83;
+var VK_T = 84;
+var VK_U = 85;
+var VK_V = 86;
+var VK_W = 87;
+var VK_X = 88;
+var VK_Y = 89;
+var VK_Z = 90;
+var VK_OPEN_BRACKET = 91;
+var VK_BACK_SLASH = 92;
+var VK_CLOSE_BRACKET = 93;
+var VK_NUMPAD0 = 96;
+var VK_NUMPAD1 = 97;
+var VK_NUMPAD2 = 98;
+var VK_NUMPAD3 = 99;
+var VK_NUMPAD4 = 100;
+var VK_NUMPAD5 = 101;
+var VK_NUMPAD6 = 102;
+var VK_NUMPAD7 = 103;
+var VK_NUMPAD8 = 104;
+var VK_NUMPAD9 = 105;
+var VK_MULTIPLY = 106;
+var VK_ADD = 107;
+var VK_SEPARATER = 108;
+var VK_SUBTRACT = 109;
+var VK_DECIMAL = 110;
+var VK_DIVIDE = 111;
+var VK_F1 = 112;
+var VK_F2 = 113;
+var VK_F3 = 114;
+var VK_F4 = 115;
+var VK_F5 = 116;
+var VK_F6 = 117;
+var VK_F7 = 118;
+var VK_F8 = 119;
+var VK_F9 = 120;
+var VK_F10 = 121;
+var VK_F11 = 122;
+var VK_F12 = 123;
+var VK_DELETE = 127;
+var VK_NUM_LOCK = 144;
+var VK_SCROLL_LOCK = 145;
+var VK_PRINTSCREEN = 154;
+var VK_INSERT = 155;
+var VK_HELP = 156;
+var VK_META = 157;
+var VK_BACK_QUOTE = 192;
+var VK_QUOTE = 222;
+var VK_RED = 403;
+var VK_GREEN = 404;
+var VK_YELLOW = 405;
+var VK_BLUE = 406;
+var VK_GREY = 407;
+var VK_BROWN = 408;
+var VK_POWER = 409;
+var VK_DIMMER = 410;
+var VK_WINK = 411;
+var VK_REWIND = 412;
+var VK_STOP = 413;
+var VK_EJECT_TOGGLE = 414;
+var VK_PLAY = 415;
+var VK_RECORD = 416;
+var VK_FAST_FWD = 417;
+var VK_PLAY_SPEED_UP = 418;
+var VK_PLAY_SPEED_DOWN = 419;
+var VK_PLAY_SPEED_RESET = 420;
+var VK_RECORD_SPEED_NEXT = 421;
+var VK_GO_TO_START = 422;
+var VK_GO_TO_END = 423;
+var VK_PREV = 424;
+var VK_NEXT = 425;
+var VK_RANDOM_TOGGLE = 426;
+var VK_CHANNEL_UP = 427;
+var VK_CHANNEL_DOWN = 428;
+var VK_STORE_FAVORITE_0 = 429;
+var VK_STORE_FAVORITE_1 = 430;
+var VK_STORE_FAVORITE_2 = 431;
+var VK_STORE_FAVORITE_3 = 432;
+var VK_RECALL_FAVORITE_0 = 433;
+var VK_RECALL_FAVORITE_1 = 434;
+var VK_RECALL_FAVORITE_2 = 435;
+var VK_RECALL_FAVORITE_3 = 436;
+var VK_CLEAR_FAVORITE_0 = 437;
+var VK_CLEAR_FAVORITE_1 = 438;
+var VK_CLEAR_FAVORITE_2 = 439;
+var VK_CLEAR_FAVORITE_3 = 440;
+var VK_SCAN_CHANNELS_TOGGLE = 441;
+var VK_PINP_TOGGLE = 442;
+var VK_SPLIT_SCREEN_TOGGLE = 443;
+var VK_DISPLAY_SWAP = 444;
+var VK_SCREEN_MODE_NEXT = 445;
+var VK_VIDEO_MODE_NEXT = 446;
+var VK_VOLUME_UP = 447;
+var VK_VOLUME_DOWN = 448;
+var VK_MUTE = 449;
+var VK_SURROUND_MODE_NEXT = 450;
+var VK_BALANCE_RIGHT = 451;
+var VK_BALANCE_LEFT = 452;
+var VK_FADER_FRONT = 453;
+var VK_FADER_REAR = 454;
+var VK_BASS_BOOST_UP = 455;
+var VK_BASS_BOOST_DOWN = 456;
+var VK_INFO = 457;
+var VK_GUIDE = 458;
+var VK_TELETEXT = 459;
+var VK_SUBTITLE = 460;
+var VK_BACK = 461;
+var VK_MENU = 462;
+//self defined key value.
+var VK_PLAY_PAUSE = 463;
+console.log("Install Keyboard VK constants...OK")
+//http://lge.pogody.tv/
+window.NetCastBack = function() {
+ console.log("window.NetCastBack()");
+ window.close();
+}
+window.opera = {app:{close:function(){}}}
+
+//http://tv.mytvscout.de/odf
+if ((window.location.href.indexOf("http://tv.mytvscout.de/odf") === 0) ||
+ (window.location.href.indexOf("http://tv.mytvscout.de/spiegeltv") === 0)) {
+ console.log("patch for:" + window.location.href);
+ window.goBack = function() {
+ window.history.back();
+ }
+}
+
+if (window.location.href.indexOf("http://kartoontv.app.fxmconnect.com") === 0) {
+ console.log("patch for:" + window.location.href);
+ window.exit = function() {
+ window.close();
+ }
+}
+//http://tv.mytvscout.de/ikono2/html5.html
+window.android = {closeApp:function(){console.log("android.close()");window.close();}};
diff --git a/software/FusionX/testapps/browser/CusDemo/assess/videoplayback.mp4 b/software/FusionX/testapps/browser/CusDemo/assess/videoplayback.mp4
new file mode 100755
index 000000000..dcc762c87
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/assess/videoplayback.mp4 differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Black.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Black.woff
new file mode 100755
index 000000000..9b7277949
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Black.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-BlackItalic.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-BlackItalic.woff
new file mode 100755
index 000000000..609bdf434
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-BlackItalic.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Bold.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Bold.woff
new file mode 100755
index 000000000..93a1d5aa1
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Bold.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-BoldItalic.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-BoldItalic.woff
new file mode 100755
index 000000000..f1d7598ed
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-BoldItalic.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Light.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Light.woff
new file mode 100755
index 000000000..404afbabf
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Light.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-LightItalic.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-LightItalic.woff
new file mode 100755
index 000000000..07117c571
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-LightItalic.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Medium.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Medium.woff
new file mode 100755
index 000000000..b18e6b8a1
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Medium.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-MediumItalic.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-MediumItalic.woff
new file mode 100755
index 000000000..2be7d8940
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-MediumItalic.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Regular.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Regular.woff
new file mode 100755
index 000000000..2f53e7c64
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Regular.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-RegularItalic.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-RegularItalic.woff
new file mode 100755
index 000000000..60f95dde9
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-RegularItalic.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Thin.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Thin.woff
new file mode 100755
index 000000000..e11569274
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-Thin.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-ThinItalic.woff b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-ThinItalic.woff
new file mode 100755
index 000000000..eab027105
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/Roboto-ThinItalic.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/SourceHanSansCN-Regular.woff b/software/FusionX/testapps/browser/CusDemo/css/font/SourceHanSansCN-Regular.woff
new file mode 100755
index 000000000..a95d2e5a4
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/SourceHanSansCN-Regular.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.eot b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.eot
new file mode 100755
index 000000000..330b7ec7a
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.eot differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.svg b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.svg
new file mode 100755
index 000000000..d5c56a9a2
--- /dev/null
+++ b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.svg
@@ -0,0 +1,257 @@
+
+
+
\ No newline at end of file
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.ttf b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.ttf
new file mode 100755
index 000000000..948f0a5d2
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.ttf differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.woff b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.woff
new file mode 100755
index 000000000..e0b2f9483
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.woff2 b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.woff2
new file mode 100755
index 000000000..bb0c19ddf
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/font/weathericons-regular-webfont.woff2 differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/iconfont.css b/software/FusionX/testapps/browser/CusDemo/css/iconfont.css
new file mode 100755
index 000000000..67ff3e151
--- /dev/null
+++ b/software/FusionX/testapps/browser/CusDemo/css/iconfont.css
@@ -0,0 +1,222 @@
+@font-face {font-family: "iconfont";
+ src: url('iconfont.eot?t=1555552209107'); /* IE9 */
+ src: url('iconfont.eot?t=1555552209107#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('iconfont.woff?t=1555552209107') format('woff'),
+ url('iconfont.ttf?t=1555552209107') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
+ url('iconfont.svg?t=1555552209107#iconfont') format('svg'); /* iOS 4.1- */
+}
+
+.iconfont {
+ font-family: "iconfont" !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.iconpause:before {
+ content: "\e8b8";
+}
+
+.iconsearch2:before {
+ content: "\e624";
+}
+
+.iconspeedkuaijin:before {
+ content: "\e63c";
+}
+
+.iconrewkuaitui:before {
+ content: "\e652";
+}
+
+.iconplay:before {
+ content: "\e603";
+}
+
+.iconspace:before {
+ content: "\e600";
+}
+
+.iconspace1:before {
+ content: "\e6eb";
+}
+
+.iconwifi:before {
+ content: "\e686";
+}
+
+.icondelete1:before {
+ content: "\e636";
+}
+
+.iconclear:before {
+ content: "\e635";
+}
+
+.iconicon02:before {
+ content: "\e63d";
+}
+
+.iconshezhi1:before {
+ content: "\e648";
+}
+
+.icondelete:before {
+ content: "\e674";
+}
+
+.iconspace-bar:before {
+ content: "\eb62";
+}
+
+.iconsearch:before {
+ content: "\e610";
+}
+
+.iconairplay:before {
+ content: "\e611";
+}
+
+.icontouping:before {
+ content: "\e612";
+}
+
+.icondlna:before {
+ content: "\e613";
+}
+
+.icontv:before {
+ content: "\e614";
+}
+
+.iconSetup:before {
+ content: "\e615";
+}
+
+.iconairplay1:before {
+ content: "\e616";
+}
+
+.icondlna1:before {
+ content: "\e617";
+}
+
+.icontv1:before {
+ content: "\e618";
+}
+
+.icontouping1:before {
+ content: "\e619";
+}
+
+.iconSetup1:before {
+ content: "\e61a";
+}
+
+.iconsearch1:before {
+ content: "\e61b";
+}
+
+.icontv3:before {
+ content: "\e61d";
+}
+
+.iconnetwork:before {
+ content: "\e61c";
+}
+
+.icontime:before {
+ content: "\e61e";
+}
+
+.iconsound:before {
+ content: "\e61f";
+}
+
+.iconlanguage:before {
+ content: "\e620";
+}
+
+.iconpic:before {
+ content: "\e621";
+}
+
+.iconin:before {
+ content: "\e622";
+}
+
+.iconicon-test:before {
+ content: "\e623";
+}
+
+.iconusb:before {
+ content: "\e626";
+}
+
+.iconnetwork2:before {
+ content: "\e625";
+}
+
+.iconapplication:before {
+ content: "\e628";
+}
+
+.icontou:before {
+ content: "\eb63";
+}
+
+.iconHistory:before {
+ content: "\e62a";
+}
+
+.iconhome:before {
+ content: "\e62b";
+}
+
+.iconwlanx:before {
+ content: "\e62d";
+}
+
+.iconwifino:before {
+ content: "\e62e";
+}
+
+.iconwlan:before {
+ content: "\e62f";
+}
+
+.iconxiangqing:before {
+ content: "\e62c";
+}
+
+.iconqingchu:before {
+ content: "\e631";
+}
+
+.iconqiehuan:before {
+ content: "\e632";
+}
+
+.icondow:before {
+ content: "\e633";
+}
+
+.iconduomeiti:before {
+ content: "\e634";
+}
+
+.iconshanchu:before {
+ content: "\e64d";
+}
+
+.iconbanbenxinxi:before {
+ content: "\e64e";
+}
+.icongengduoshezhi:before {
+ content: "\e64f";
+}
+
+.iconqingchu1:before {
+ content: "\e650";
+}
\ No newline at end of file
diff --git a/software/FusionX/testapps/browser/CusDemo/css/iconfont.woff b/software/FusionX/testapps/browser/CusDemo/css/iconfont.woff
new file mode 100755
index 000000000..374c713d9
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/css/iconfont.woff differ
diff --git a/software/FusionX/testapps/browser/CusDemo/css/style.css b/software/FusionX/testapps/browser/CusDemo/css/style.css
new file mode 100755
index 000000000..fb5b662f2
--- /dev/null
+++ b/software/FusionX/testapps/browser/CusDemo/css/style.css
@@ -0,0 +1,404 @@
+@font-face{
+ font-family: "SourceHanSansCN";
+ src:url('./font/SourceHanSansCN-Regular.woff') format('woff');
+}
+@font-face{
+ font-family: "PingFang-Medium";
+ src:url('./font/PingFang-Medium.woff') format('woff');
+}
+@font-face {
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 100;
+ src:url('./font/Roboto-Thin.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: italic;
+ font-weight: 100;
+ src: url('./font/Roboto-ThinItalic.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 300;
+ src:url('./font/Roboto-Light.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: italic;
+ font-weight: 300;
+ src:url('./font/Roboto-LightItalic.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 400;
+ src: url('./font/Roboto-Regular.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: italic;
+ font-weight: 400;
+ src: format('woff2'), url('./font/Roboto-RegularItalic.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 500;
+ src: url('./font/Roboto-Medium.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: italic;
+ font-weight: 500;
+ src: url('./font/Roboto-MediumItalic.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 700;
+ src: url('./font/Roboto-Bold.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: italic;
+ font-weight: 700;
+ src: url('./font/Roboto-BoldItalic.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 900;
+ src: url('./font/Roboto-Black.woff') format('woff');
+ }
+ @font-face {
+ font-family: 'Roboto';
+ font-style: italic;
+ font-weight: 900;
+ src: url('./font/Roboto-BlackItalic.woff') format('woff');
+ }
+body{
+ font-family:"Roboto";
+ font-style: normal;
+ letter-spacing: 0.5px;
+}
+*{padding:0;margin:0;box-sizing:border-box;outline:none;overflow: hidden;}
+li{list-style-type:none}
+img{
+ width: 100%;
+ height: 100%;
+}
+.screen{
+ width: 800px;
+ height: 480px;
+ overflow: hidden;
+}
+#menu{
+ width: 170px;
+ height: 440px;
+ position: absolute;
+ left: 0;
+ top: 40px;
+ background: #fdf7f8;
+ z-index: 1;
+}
+#content{
+ width: 630px;
+ height: 440px;
+ position: absolute;
+ left: 170px;
+ top: 40px;
+ background-color: #fdf7f8;
+}
+#menu ul{
+ margin-top:10px;
+}
+#menu ul>li{
+ width: 100%;
+ /* height: 100px; */
+ color: black;
+ text-align: center;
+ font-size: 42px;
+ line-height: 48px;
+ padding: 10px 0px;
+ margin: 15px 0;
+ background-color: white;
+}
+#menu ul .Focus{
+ background-color: #be8a3b;
+ color: white;;
+ -webkit-transform: scale(1);
+}
+#menu ul li.mark{
+ color: #ebebeb;
+ background-color: #cda4a4;
+}
+#menu i{
+ width: 70px;
+ height: 70px;
+ float: left;
+ font-size: 45px;
+}
+#menu div{
+ width: 100px;
+ /* height: 40px; */
+ float: left;
+ font-size: 28px;
+ line-height: 70px;
+}
+.icon_recomend{
+ background-image: url("../img/444.png");
+ background-repeat: no-repeat;
+ background-position: -70px 0px;
+}
+.icon_cake{
+ background-image: url("../img/22.png");
+ background-repeat: no-repeat;
+ background-position: -70px 0px;
+}
+.icon_drink{
+ background-image: url("../img/hb.png");
+ background-repeat: no-repeat;
+ background-position: -70px 0px;
+}
+.icon_donuts{
+ background-image: url("../img/333.png");
+ background-repeat: no-repeat;
+ background-position: -70px 0px;
+}
+.Focus .icon_recomend{
+ background-position: 0px 0px;
+}
+.Focus .icon_cake{
+ background-position: 0px 0px;
+}
+.Focus .icon_drink{
+ background-position: 0px 0px;
+}
+.Focus .icon_donuts{
+ background-position: 0px 0px;
+}
+#menu ul .Focus div{
+ /* background:rgba(217,217,217,1); */
+}
+#icon{
+ position: absolute;
+ left:0;
+ top: 0;
+ height: 40px;
+ width: 800px;
+ z-index: 1;
+ background: #e9e7e9;
+}
+.logo{
+ width:150px;
+ height: 33px;
+ float: left;
+ background-image: url(../img/logo.png)
+}
+.page-loading{
+ background-image: url('../img/loading.gif');background-position: center;background-repeat: no-repeat;
+}
+
+.Focus{
+ -webkit-transform:scale(1.2);
+}
+h2{
+ font-size: 28px;
+}
+
+/**集成多语言键盘**/
+.inputBox{
+ width: 180px;
+ height: 20px;
+ line-height: 20px;
+ background: rgba(255, 255, 255, .15);
+ font-size: 20px;
+ letter-spacing: 1px;
+ overflow: hidden;
+ position: relative;
+ padding: 0 10px;
+ float: right;
+ margin-right: 50px;
+ margin-top: 10px;
+}
+ .inputBox>span:before{
+ padding:0 10px;
+ color:#999;
+ }
+ .inputBox>i{
+ display: inline-block;
+ position: absolute;
+ top:10px;
+ height: 34px;
+ width: 60px;
+ background-repeat: no-repeat;
+ background-position: center;
+ border-radius: 6px;
+ background-size: cover;
+ }
+ .inputBox>input{
+ background: white;
+ border: none;
+ bottom: 0;
+ box-sizing: border-box;
+ margin: 0;
+ outline: none;
+ position: absolute;
+ height: 20px;
+ width: 180px;
+ }
+ input{
+ color: #999;
+ }
+ .inputs{
+ /* padding-left: 100px; */
+ position: relative;
+ }
+
+ .inputs .Focus,.Focus input{
+ color: #2f2f2f;
+ background-color:#D9D9D9;
+ }
+ #searchIcon{
+ right: 0px;
+ position: absolute;
+ height: 20px;
+ line-height: 20px;
+ font-size: 15px;
+ border: 1px;
+ border-radius: 25px;
+ width: 40px;
+ text-align: center;
+ }
+ /***推荐*****/
+ .poll{
+ width: 600px;
+ height: 100px;
+ background-size: contain;
+ background-image: url(../img/td.png);
+ margin: 15px;
+ }
+ .list li{
+ width: 154px;
+ height: 114px;
+ float: left;
+ padding: 0;
+ margin: 18px;
+ }
+ .list li img{
+ height: 80%;
+ }
+ .list li .price{
+ margin-right: 10px;
+ color: red;
+ }
+ /***video***/
+ .player{
+ display: none;
+ width: 800px;
+ height: 480px;
+ position: relative;
+ }
+ .control{
+ position: absolute;
+ top: 20px;
+ font-size: 20px;
+ z-index:1000
+ }
+ #video{
+ width: 100%;
+ height: 100%;
+ }
+
+/**details**/
+.details{
+ z-index: 1000;
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ top: 0;
+ background: rgba(0, 0, 0, 0.48);
+ display: none;
+}
+.details_content{
+ width: 70%;
+ margin: 10% auto;
+ height: 70%;
+ background: white;
+ border-radius: 15px;
+ /* overflow-y:auto; */
+ position: relative;
+}
+.details_item{
+ width: 400px;
+ overflow-y: auto;
+ margin: auto;
+ height: 100%;
+}
+.details_item div{
+ overflow-y: auto;
+}
+.close{
+ position: absolute;
+ width: 40px;
+ height: 40px;
+ background-image: url(../img/close.png);
+ background-size: contain;
+ right: 0px;
+}
+.details_content .icon{
+ width: 150px;
+ margin: 30px auto;
+ text-align: center;
+}
+.describe{
+ margin: 10px auto;
+ color: rgb(153,153,153);
+}
+.describe div{
+ display: inline;
+}
+.describe p{
+ margin-top: 5px;
+}
+.describe .price{
+ color: red;
+ float: right;
+}
+.state div{
+ margin: 5px auto;;
+ font-size: 20px;
+ color: rgb(153,153,153);
+}
+.state li{
+ display: inline-block;
+ min-width: 80px;
+ overflow: hidden;
+ color: #333;
+ background-color: rgb(245, 245, 247);
+ border-radius: 6px;
+ text-align: center;
+ margin: 5px 20px 5px 0px;
+}
+.state li.active{
+ color: white;
+ background-color: rgb(190, 137, 57);
+}
+.details_item::-webkit-scrollbar {display:none}
+/******/
+.tvUI-mask{ position: fixed; width:100%; height:100%; background-color:rgba(0,0,0,0.85);top: 0px; left: 0px;z-index: 9999}
+.tvUI-alert{position:absolute; width: 700px; min-height: 150px;left: 50%;bottom:50%;margin-left:-350px;margin-bottom: -75px;background-color:#333;border-radius: 4px;}
+.tvUI-alert-title{width:100%;height:60px;line-height: 60px;text-indent: 20px;font-weight: bold;font-size: 24px;background-image: url('../images/wenli.png');color:#f1f1f1;}
+.tvUI-alert-btnGroup{height:50px;line-height: 50px;float: right;padding: 5px; box-sizing: content-box;}
+.tvUI-alert-btn{float:left;height:50px;line-height: 50px;padding: 0 30px;margin-right: 15px;border-radius: 4px;font-size: 24px;background: #c7c6c6;color:#555;border:none;outline: none}
+.tvUI-alert-btn:focus{background: #1c8ae8;color:#fff;}
+.tvUI-alert-content{box-sizing: border-box;width:100%;min-height: 120px;padding:20px;font-size: 24px;color:#f1f1f1;}
+
+.tvUI-toast{position: fixed;height:60px;line-height: 60px;top:50%;left:50%;margin-top: -30px;background-color: rgba(0,0,0,0.9);color:#fff;padding: 0 20px;border-radius: 4px;display: none;font-size: 24px;z-index: 9999}
+
+.tvUI-loading{position: fixed;background-color: black;width:100%;height:100%;top:0;left:0;background-image: url('../images/load.gif');background-position: center;background-repeat: no-repeat;z-index:9999}
+.tvUI-loading h2{position: absolute;bottom: 250px;left: 0;width: 100%;text-align: center;color:#fff;font-weight:normal;}
+#tv-loading{width:100%;height:100%;position:fixed;z-index: 9999;top:0;left:0;background-color: black;;background-image: url('../images/load.gif');background-position: center;background-repeat: no-repeat;}
+#tv-loading h2{position: absolute;bottom: 250px;left: 0;width: 100%;text-align: center;color:#fff;font-weight:normal;}
diff --git a/software/FusionX/testapps/browser/CusDemo/img/22.png b/software/FusionX/testapps/browser/CusDemo/img/22.png
new file mode 100755
index 000000000..fced82215
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/22.png differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/333.png b/software/FusionX/testapps/browser/CusDemo/img/333.png
new file mode 100755
index 000000000..eb9cdee0e
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/333.png differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/444.png b/software/FusionX/testapps/browser/CusDemo/img/444.png
new file mode 100755
index 000000000..e3a82effb
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/444.png differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/close.png b/software/FusionX/testapps/browser/CusDemo/img/close.png
new file mode 100755
index 000000000..7e64d1682
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/close.png differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/cm.jpg b/software/FusionX/testapps/browser/CusDemo/img/cm.jpg
new file mode 100755
index 000000000..462c26433
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/cm.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/fs.jpg b/software/FusionX/testapps/browser/CusDemo/img/fs.jpg
new file mode 100755
index 000000000..04a2a9635
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/fs.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/hb.png b/software/FusionX/testapps/browser/CusDemo/img/hb.png
new file mode 100755
index 000000000..5fbfb6dd0
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/hb.png differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/hdnc.jpg b/software/FusionX/testapps/browser/CusDemo/img/hdnc.jpg
new file mode 100755
index 000000000..85e48c9da
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/hdnc.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/llnc.jpg b/software/FusionX/testapps/browser/CusDemo/img/llnc.jpg
new file mode 100755
index 000000000..3416c98ff
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/llnc.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/logo.png b/software/FusionX/testapps/browser/CusDemo/img/logo.png
new file mode 100755
index 000000000..714b73c29
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/logo.png differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/mgdg.jpg b/software/FusionX/testapps/browser/CusDemo/img/mgdg.jpg
new file mode 100755
index 000000000..ac73f9da0
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/mgdg.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/mgwlc.jpg b/software/FusionX/testapps/browser/CusDemo/img/mgwlc.jpg
new file mode 100755
index 000000000..3e7f12509
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/mgwlc.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/qkl.jpg b/software/FusionX/testapps/browser/CusDemo/img/qkl.jpg
new file mode 100755
index 000000000..9dde84d58
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/qkl.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/sxc.jpg b/software/FusionX/testapps/browser/CusDemo/img/sxc.jpg
new file mode 100755
index 000000000..513e0eb39
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/sxc.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/td.png b/software/FusionX/testapps/browser/CusDemo/img/td.png
new file mode 100755
index 000000000..5cdfe3f2e
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/td.png differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/ttq.jpg b/software/FusionX/testapps/browser/CusDemo/img/ttq.jpg
new file mode 100755
index 000000000..92aecdf91
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/ttq.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/xtyr.jpg b/software/FusionX/testapps/browser/CusDemo/img/xtyr.jpg
new file mode 100755
index 000000000..f50de5d84
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/xtyr.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/zzc.jpg b/software/FusionX/testapps/browser/CusDemo/img/zzc.jpg
new file mode 100755
index 000000000..653f23db6
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/zzc.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/zzpic20235.jpg b/software/FusionX/testapps/browser/CusDemo/img/zzpic20235.jpg
new file mode 100755
index 000000000..b8b4d6cdc
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/zzpic20235.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/zzpic21672.jpg b/software/FusionX/testapps/browser/CusDemo/img/zzpic21672.jpg
new file mode 100755
index 000000000..d657d202b
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/zzpic21672.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/zzpic22012.jpg b/software/FusionX/testapps/browser/CusDemo/img/zzpic22012.jpg
new file mode 100755
index 000000000..b32a2c173
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/zzpic22012.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/zzpic22587.jpg b/software/FusionX/testapps/browser/CusDemo/img/zzpic22587.jpg
new file mode 100755
index 000000000..1afecc9ab
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/zzpic22587.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/img/zzpic22832.jpg b/software/FusionX/testapps/browser/CusDemo/img/zzpic22832.jpg
new file mode 100755
index 000000000..88a5e6187
Binary files /dev/null and b/software/FusionX/testapps/browser/CusDemo/img/zzpic22832.jpg differ
diff --git a/software/FusionX/testapps/browser/CusDemo/index.html b/software/FusionX/testapps/browser/CusDemo/index.html
new file mode 100755
index 000000000..3401e2418
--- /dev/null
+++ b/software/FusionX/testapps/browser/CusDemo/index.html
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+ Sigmastar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/software/FusionX/testapps/browser/CusDemo/js/config.js b/software/FusionX/testapps/browser/CusDemo/js/config.js
new file mode 100755
index 000000000..e83026293
--- /dev/null
+++ b/software/FusionX/testapps/browser/CusDemo/js/config.js
@@ -0,0 +1,257 @@
+var list={
+ "tuijian":[
+ {id:"1",name:"甜甜圈",price:"20",url:"./img/ttq.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]
+ },
+ {id:"2",name:"网红脏脏茶",price:"18",url:"./img/zzc.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰","多冰","去冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"3",name:"芒果慕斯蛋糕",price:"42",url:"./img/mgdg.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]
+ },
+ {id:"4",name:"原味戚风蛋糕",price:"78",url:"./img/zzpic22012.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"5",name:"榴莲奶茶",price:"48",url:"./img/llnc.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"6",name:"草莓甜甜圈",price:"25",url:"./img/cm.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ ],
+ "tea":[
+ {id:"1",name:"飞溅的巧克力珍珠奶茶",price:"23",url:"./img/qkl.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰","多冰","去冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]
+ },
+ {id:"2",name:"网红脏脏茶",price:"18",url:"./img/zzc.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰","多冰","去冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"3",name:"红豆奶茶",price:"33",url:"./img/hdnc.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰","多冰","去冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"4",name:"烧仙草奶茶",price:"18",url:"./img/sxc.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰","多冰","去冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"5",name:"榴莲奶茶",price:"48",url:"./img/llnc.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"6",name:"芒果乌龙茶",price:"35",url:"./img/mgwlc.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ ],
+ "cake":[
+ {id:"1",name:"芒果慕斯蛋糕",price:"42",url:"./img/mgdg.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]
+ },
+ {id:"2",name:"水果奶油纸杯",price:"58",url:"./img/zzpic22832.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"3",name:"杏仁奶油生日蛋糕",price:"63",url:"./img/zzpic22587.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"4",name:"原味戚风蛋糕",price:"78",url:"./img/zzpic22012.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"5",name:"巧克力慕斯小蛋糕",price:"65",url:"./img/zzpic21672.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"6",name:"奶油草莓水果蛋糕",price:"35",url:"./img/zzpic20235.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ ],
+ "donuts":[
+ {id:"1",name:"香甜诱人甜甜圈",price:"23",url:"./img/xtyr.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]
+ },
+ {id:"2",name:"法式甜甜圈",price:"18",url:"./img/fs.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"3",name:"甜甜圈",price:"20",url:"./img/ttq.jpg","describe":"暂无",
+ state:[
+ {
+ name:"规格",
+ data:["小","中","大"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ {id:"6",name:"草莓甜甜圈",price:"25",url:"./img/cm.jpg","describe":"暂无",
+ state:[
+ {
+ name:"冰度",
+ data:["正常冰","常温","少冰"]
+ },
+ {
+ name:"甜度",
+ data:["正常糖","少糖","多糖"]
+ },
+ ]},
+ ],
+}
\ No newline at end of file
diff --git a/software/FusionX/testapps/browser/CusDemo/js/details.js b/software/FusionX/testapps/browser/CusDemo/js/details.js
new file mode 100755
index 000000000..da2cfd0fa
--- /dev/null
+++ b/software/FusionX/testapps/browser/CusDemo/js/details.js
@@ -0,0 +1,41 @@
+define('details',['jquery'], function() {
+
+ var details={
+ open:function(data){
+ this.init(data);
+ $(".details").show();
+ },
+ init:function(data){
+ var node=$(".details_item");
+ node.html("");
+ node.append("
"+data.name+"
");
+ node.append("产品描述
¥"+data.price+"
"+data.describe+"
");
+ node.append(initState(data.state));
+ }
+ };
+ function initState(data){
+ var html=$("");
+ data.forEach(function(item) {
+ var div=$("");
+ div.append(""+item.name+"
");
+ var ul=$("");
+ item.data.forEach(function(s){
+ ul.append(""+s+"");
+ })
+ div.append(ul);
+ html.append(div);
+ });
+ return html;
+ }
+ function bind(){
+ $(".details_content .close").on("click",function(e){
+ $(".details").hide();
+ })
+ $(".details_content").on("click",'.state li',function(e){
+ $(this).parent().find(".active").length>0?$(this).parent().find(".active").removeClass("active"):'';
+ $(this).addClass("active");
+ })
+ }
+ bind();
+ return details;
+});
\ No newline at end of file
diff --git a/software/FusionX/testapps/browser/CusDemo/js/jquery.min.js b/software/FusionX/testapps/browser/CusDemo/js/jquery.min.js
new file mode 100755
index 000000000..c43565452
--- /dev/null
+++ b/software/FusionX/testapps/browser/CusDemo/js/jquery.min.js
@@ -0,0 +1,2 @@
+/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
+!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/