improve fscript

This commit is contained in:
lixianjing 2021-09-07 11:09:38 +08:00
parent 51cf2f10a9
commit 008772d3d4
21 changed files with 518 additions and 490 deletions

View File

@ -11,9 +11,9 @@
</row> </row>
<row x="0" y="80" w="100%" h="30" children_layout="default(r=1,c=3,xm=2,s=10)"> <row x="0" y="80" w="100%" h="30" children_layout="default(r=1,c=3,xm=2,s=10)">
<button text="Open" focusable="true" focus="true" on:click="open(test_fscript)"/> <button text="Open" focusable="true" focus="true" on:click="open('test_fscript')"/>
<button text="Close" focusable="true" on:click="open(test_fscript, true)"/> <button text="Close" focusable="true" on:click="open('test_fscript', true)"/>
<button text="Switch TO" focusable="true" on:click="open(test_fscript, false, true)"/> <button text="Switch TO" focusable="true" on:click="open('test_fscript', false, true)"/>
</row> </row>

View File

@ -9,10 +9,10 @@
print("global key_long_press:", key, "alt=", alt, "ctrl=", ctrl, "cmd=", cmd, "menu=", menu); print("global key_long_press:", key, "alt=", alt, "ctrl=", ctrl, "cmd=", cmd, "menu=", menu);
</property> </property>
<view x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=8,m=5,s=5)"> <view x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=8,m=5,s=5)">
<button focusable="true" focused="true" on:click="open(test_fscript)" text="Test Fscript"/> <button focusable="true" focused="true" on:click="open('test_fscript')" text="Test Fscript"/>
<button focusable="true" on:click="open(button_fscript)" text="Buttons"/> <button focusable="true" on:click="open('button_fscript')" text="Buttons"/>
<button focusable="true" on:click="open(basic_fscript)" text="Basic"/> <button focusable="true" on:click="open('basic_fscript')" text="Basic"/>
<button focusable="true" on:click="open(text_selector_fscript)" text="Text Selector"/> <button focusable="true" on:click="open('text_selector_fscript')" text="Text Selector"/>
<button focusable="true" on:click="quit()" text="Quit"/> <button focusable="true" on:click="quit()" text="Quit"/>
</view> </view>
</window> </window>

View File

@ -31,30 +31,30 @@
<view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=1,r=12,m=5,s=5)"> <view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=1,r=12,m=5,s=5)">
<label name="label" text="label" /> <label name="label" text="label" />
<edit name="edit" tips="text edit" on:focus="print(focus)" on:blur="print(blur, widget_get(self,value))"/> <edit name="edit" tips="text edit" on:focus="print(focus)" on:blur="print('blur', widget_get('self','value'))"/>
<progress_bar name="bar" text="" value="10" on:value_changed="print(widget_get(self,value))"/> <progress_bar name="bar" text="" value="10" on:value_changed="print(widget_get('self','value'))"/>
<view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=1,m=2,s=2)"> <view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=1,m=2,s=2)">
<button focusable="true" focused="true" on:click="open(basic_fscript)" text="Basic" /> <button focusable="true" focused="true" on:click="open('basic_fscript')" text="Basic" />
<button focusable="true" text="Buttons"> <button focusable="true" text="Buttons">
<property name="on:click"> <property name="on:click">
win = open(button_fscript) win = open('button_fscript')
assert(!value_is_null(win)) assert(!value_is_null(win))
widget_set(win, close.text, "Back") widget_set(win, 'close.text', "Back")
assert(widget_get(win, close.text) == "Back"); assert(widget_get(win, 'close.text') == "Back");
</property> </property>
</button> </button>
</view> </view>
<button focusable="true" text="Test"> <button focusable="true" text="Test">
<property name="on:click"> <property name="on:click">
widget_set(parent, label.text, "Hello"); widget_set('parent', 'label.text', 'Hello');
assert(widget_get(parent, label.text) == "Hello"); assert(widget_get('parent', 'label.text') == 'Hello');
widget_set(window, view.label.text, "Hello World"); widget_set('window', 'view.label.text', 'Hello World');
assert(widget_get(window, view.label.text) == "Hello World"); assert(widget_get('window', 'view.label.text') == 'Hello World');
widget_set(self, text, "Test..."); widget_set('self', 'text', 'Test...');
assert(widget_get(self, text) == "Test..."); assert(widget_get('self', 'text') == 'Test...');
</property> </property>
</button> </button>
@ -62,10 +62,10 @@
<button focusable="true" text="Inc"> <button focusable="true" text="Inc">
<property name="on:click"> <property name="on:click">
<![CDATA[ <![CDATA[
a = widget_lookup(window, bar, true) a = widget_lookup('window', 'bar', true)
b = widget_get(a, "value") b = widget_get(a, 'value')
if(b <= 90) { if(b <= 90) {
widget_set(a, "value", b + 10) widget_set(a, 'value', b + 10)
} }
]]> ]]>
</property> </property>
@ -73,10 +73,10 @@
<button focusable="true" text="Dec"> <button focusable="true" text="Dec">
<property name="on:click"> <property name="on:click">
<![CDATA[ <![CDATA[
a = widget_lookup(window, bar, true) a = widget_lookup('window', 'bar', true)
b = widget_get(a, "value") b = widget_get(a, 'value')
if(b >= 10) { if(b >= 10) {
widget_set(a, "value", b - 10) widget_set(a, 'value', b - 10)
} }
]]> ]]>
</property> </property>
@ -86,15 +86,15 @@
<view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=1,m=2,s=2)"> <view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=1,m=2,s=2)">
<button focusable="true" text="Create"> <button focusable="true" text="Create">
<property name="on:click"> <property name="on:click">
a = widget_lookup(window, foobar, true) a = widget_lookup('window', 'foobar', true)
if(value_is_null(a)) { if(value_is_null(a)) {
a = widget_create("label", window.view, 0, 0, 0, 0) a = widget_create('label', 'window.view', 0, 0, 0, 0)
assert(!value_is_null(a)) assert(!value_is_null(a))
widget_set(a, text, "Dynamic created") widget_set(a, 'text', 'Dynamic created')
assert(widget_get(a, text) == "Dynamic created") assert(widget_get(a, 'text') == 'Dynamic created')
widget_set(a, name, "foobar") widget_set(a, 'name', 'foobar')
assert(widget_get(a, name) == "foobar") assert(widget_get(a, 'name') == 'foobar')
} else { } else {
print("foobar exist"); print("foobar exist");
} }
@ -102,11 +102,11 @@
</button> </button>
<button focusable="true" text="Destroy"> <button focusable="true" text="Destroy">
<property name="on:click"> <property name="on:click">
a = widget_lookup(window, foobar, true) a = widget_lookup('window', 'foobar', true)
if(!value_is_null(a)) { if(!value_is_null(a)) {
widget_destroy(a) widget_destroy(a)
} else { } else {
print("not found foobar"); print('not found foobar');
} }
</property> </property>
</button> </button>
@ -120,18 +120,18 @@
<button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer"> <button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer">
<property name="on:timer"> <property name="on:timer">
<![CDATA[ <![CDATA[
a = widget_lookup(window, bar, true) a = widget_lookup('window', 'bar', true)
b = widget_get(a, "value") b = widget_get(a, 'value')
if(b < 100) { if(b < 100) {
widget_set(a, "value", b + 1) widget_set(a, 'value', b + 1)
} else { } else {
widget_set(a, "value", 0) widget_set(a, 'value', 0)
stop_timer() stop_timer()
} }
]]> ]]>
</property> </property>
</button> </button>
<button focusable="true" on:click="stop_timer(parent.timer)" text="Stop Timer" /> <button focusable="true" on:click="stop_timer('parent.timer')" text="Stop Timer" />
</view> </view>
<view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=1,m=2,s=2)"> <view name="view" x="0" y="0" w="100%" h="100%" children_layout="default(c=2,r=1,m=2,s=2)">
<button focusable="true" on:click="back()" text="Back" /> <button focusable="true" on:click="back()" text="Back" />

View File

@ -3,16 +3,16 @@
<text_selector name="year" options="2000-2050" selected_index="9"> <text_selector name="year" options="2000-2050" selected_index="9">
<property name="on:value_changed"> <property name="on:value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
</text_selector> </text_selector>
<text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true"> <text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true">
<property name="on:value_changed"> <property name="on:value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
</text_selector> </text_selector>
@ -24,14 +24,14 @@
<row x="10" y="bottom" w="100%" h="150" children_layout="default(row=1,col=3)"> <row x="10" y="bottom" w="100%" h="150" children_layout="default(row=1,col=3)">
<property name="handle_value_changed"> <property name="handle_value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
<text_selector name="year" options="2000-2050" selected_index="9" <text_selector name="year" options="2000-2050" selected_index="9"
on:value_changed="widget_eval(parent.handle_value_changed)" /> on:value_changed="widget_eval('parent.handle_value_changed')" />
<text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true" <text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true"
on:value_changed="widget_eval(parent.handle_value_changed)" /> on:value_changed="widget_eval('parent.handle_value_changed')" />
<text_selector name="day" options="1-31-%02d" selected_index="9" /> <text_selector name="day" options="1-31-%02d" selected_index="9" />
</row> </row>

View File

@ -1,5 +1,8 @@
# 最新动态 # 最新动态
2021/09/07
* 完善fscript没有定义的变量不再当作字符串。
2021/09/06 2021/09/06
* inline style改用"."分隔,仍然兼容":",建议用新的方式书写。请参考[样式](theme.md) * inline style改用"."分隔,仍然兼容":",建议用新的方式书写。请参考[样式](theme.md)
* 重新开发demoui(之前的改名为demouiold)(感谢兆坤提供补丁)。 * 重新开发demoui(之前的改名为demouiold)(感谢兆坤提供补丁)。

View File

@ -30,6 +30,7 @@ a = object_create()
``` ```
object_get(o, key) => value object_get(o, key) => value
object_get(o, key, defval) => value
``` ```
也可以直接访问对象的属性: 也可以直接访问对象的属性:

View File

@ -14,7 +14,7 @@ fscript 并不是要取代 C 或 JS 来开发 AWTK 应用程序,而是一个
>比如下面的代码,点击按钮时打开指定的窗口就非常简洁。 >比如下面的代码,点击按钮时打开指定的窗口就非常简洁。
```xml ```xml
<button focusable="true" focused="true" on:click="open(basic)" text="Basic" /> <button focusable="true" focused="true" on:click="open('basic')" text="Basic" />
``` ```
>比如下面的代码,点击按钮时关闭当前的窗口也非常简洁。 >比如下面的代码,点击按钮时关闭当前的窗口也非常简洁。
@ -40,16 +40,16 @@ fscript 并不是要取代 C 或 JS 来开发 AWTK 应用程序,而是一个
<text_selector name="year" options="2000-2050" selected_index="9"> <text_selector name="year" options="2000-2050" selected_index="9">
<property name="on:value_changed"> <property name="on:value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
</text_selector> </text_selector>
<text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true"> <text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true">
<property name="on:value_changed"> <property name="on:value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
</text_selector> </text_selector>
@ -72,14 +72,14 @@ fscript 并不是要取代 C 或 JS 来开发 AWTK 应用程序,而是一个
```xml ```xml
<button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer"> <button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer">
<property name="on:timer"><![CDATA[ <property name="on:timer"><![CDATA[
a = widget_lookup(window, bar, true) a = widget_lookup('window', 'bar', true)
b = widget_get(a, "value") b = widget_get(a, 'value')
if(b < 100) { if(b < 100) {
widget_set(a, "value", b + 1) widget_set(a, 'value', b + 1)
} else { } else {
widget_set(a, "value", 0) widget_set(a, 'value', 0)
stop_timer() stop_timer()
} }
]]></property> ]]></property>
</button> </button>
``` ```
@ -145,17 +145,18 @@ fscript 并不是要取代 C 或 JS 来开发 AWTK 应用程序,而是一个
```xml ```xml
<button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer"> <button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer">
<property name="on:timer"><![CDATA[ <property name="on:timer"><![CDATA[
a = widget_lookup(window, bar, true) a = widget_lookup('window', 'bar', true)
b = widget_get(a, "value") b = widget_get(a, 'value')
if(b < 100) { if(b < 100) {
widget_set(a, "value", b + 1) widget_set(a, 'value', b + 1)
} else { } else {
widget_set(a, "value", 0) widget_set(a, 'value', 0)
stop_timer() stop_timer()
} }
]]></property> ]]></property>
</button> </button>
``` ```
* window\_close * window\_close
* window\_open * window\_open
* window\_will\_open * window\_will\_open
@ -177,7 +178,7 @@ fscript 并不是要取代 C 或 JS 来开发 AWTK 应用程序,而是一个
* value\_changed * value\_changed
```xml ```xml
<progress_bar name="bar" text="" value="10" on:value_changed="print(widget_get(self,value))"/> <progress_bar name="bar" text="" value="10" on:value_changed="print(widget_get('self', 'value'))"/>
``` ```
* focus * focus
@ -186,7 +187,7 @@ fscript 并不是要取代 C 或 JS 来开发 AWTK 应用程序,而是一个
示例: 示例:
``` ```
<edit name="edit" tips="text edit" on:focus="print(focus)" on:blur="print(blur, widget_get(self,value))"/> <edit name="edit" tips="text edit" on:focus="print(focus)" on:blur="print('blur', widget_get('self', 'value'))"/>
``` ```
* value\_changed\_by\_ui (仅 MVVM 支持) * value\_changed\_by\_ui (仅 MVVM 支持)
@ -222,15 +223,16 @@ RET_STOP=true
open(name, close_current, switch_to_if_exist) open(name, close_current, switch_to_if_exist)
``` ```
* name 窗口的资源名称(字符串)
* close\_current 可选。为 true 时关闭当前窗口。 * close\_current 可选。为 true 时关闭当前窗口。
* switch\_to\_if\_exist 可选。为 true 时,如果同名窗口存在,直接切换到指定窗口。 * switch\_to\_if\_exist 可选。为 true 时,如果同名窗口存在,直接切换到指定窗口。
### 示例 ### 示例
```xml ```xml
<button text="Open" focusable="true" focus="true" on:click="open(test_fscript)"/> <button text="Open" focusable="true" focus="true" on:click="open('test_fscript')"/>
<button text="Close" focusable="true" on:click="open(test_fscript, true)"/> <button text="Close" focusable="true" on:click="open('test_fscript', true)"/>
<button text="Switch TO" focusable="true" on:click="open(test_fscript, false, true)"/> <button text="Switch TO" focusable="true" on:click="open('test_fscript', false, true)"/>
``` ```
### 5.2 close ### 5.2 close
@ -244,7 +246,7 @@ open(name, close_current, switch_to_if_exist)
close(name) close(name)
``` ```
* name 可选。缺省关闭当前窗口。 * name 窗口的名称(字符串)可选。缺省关闭当前窗口。
### 示例 ### 示例
@ -317,7 +319,7 @@ tr(str)
### 示例 ### 示例
```xml ```xml
<button focusable="true" on:click="print(tr(OK))" text="tr" /> <button focusable="true" on:click="print(tr('OK'))" text="tr" />
``` ```
### 5.7 widget_lookup ### 5.7 widget_lookup
@ -332,30 +334,30 @@ widget_lookup(widget, path)
widget_lookup(widget, name, recursive) widget_lookup(widget, name, recursive)
``` ```
* widget 用作锚点,后面的路径相对于该 widget。self 表示当前控件parent 表示当前控件的父控件window 表示当前的窗口window\_manager 表示窗口管理器。 * widget 用作锚点,后面的路径相对于该 widget。'self' 表示当前控件,'parent' 表示当前控件的父控件,'window' 表示当前的窗口,'window\_manager' 表示窗口管理器。
### 示例 ### 示例
> 查找窗口下名为 view 控件下的名为 bar 的控件。 > 查找窗口下名为 view 控件下的名为 bar 的控件。
```js ```js
a = widget_lookup(window, view.bar) a = widget_lookup('window', 'view.bar')
``` ```
> 递归查找窗口下名为 bar 的控件。 > 递归查找窗口下名为 bar 的控件。
```js ```js
a = widget_lookup(window, bar, true) a = widget_lookup('window', 'bar', true)
``` ```
> 递归查找当前控件下名为 bar 的控件。 > 递归查找当前控件下名为 bar 的控件。
```js ```js
a = widget_lookup(self, bar, true) a = widget_lookup('self', 'bar', true)
``` ```
> 递归查找当前控件的父控件下名为 bar 的控件。 > 递归查找当前控件的父控件下名为 bar 的控件。
```js ```js
a = widget_lookup(self, bar, true) a = widget_lookup('self', 'bar', true)
``` ```
### 5.8 widget_get ### 5.8 widget_get
@ -370,7 +372,7 @@ widget_get(widget, prop)
widget_get(widget, path.prop) widget_get(widget, path.prop)
``` ```
* widget 用作锚点,后面的路径相对于该 widget。self 表示当前控件parent 表示当前控件的父控件window 表示当前的窗口window\_manager 表示窗口管理器。 * widget 用作锚点,后面的路径相对于该 widget。'self' 表示当前控件,'parent' 表示当前控件的父控件,'window' 表示当前的窗口,'window\_manager' 表示窗口管理器。
* prop 可以是简单的属性命名,也可以是 widget 路径+属性名。 * prop 可以是简单的属性命名,也可以是 widget 路径+属性名。
@ -379,37 +381,37 @@ widget_get(widget, path.prop)
> 获取当前控件的 value > 获取当前控件的 value
``` ```
widget_get(self, value) widget_get('self', 'value')
``` ```
> 获取当前控件下名为 bar 控件的 value > 获取当前控件下名为 bar 控件的 value
``` ```
widget_get(self, bar.value) widget_get('self', 'bar.value')
``` ```
> 获取当前控件的父控件下名为 bar 控件的 value > 获取当前控件的父控件下名为 bar 控件的 value
``` ```
widget_get(self, bar.value) widget_get('self', 'bar.value')
``` ```
> 获取当前控件的父控件下名为 bar 控件的 value > 获取当前控件的父控件下名为 bar 控件的 value
``` ```
widget_get(parent, bar.value) widget_get('parent', 'bar.value')
``` ```
> 获取当前窗口下名为 bar 控件的 value > 获取当前窗口下名为 bar 控件的 value
``` ```
widget_get(window, bar.value) widget_get('window', 'bar.value')
``` ```
> 获取当前窗口下名为 view 控件下名为 bar 控件的 value > 获取当前窗口下名为 view 控件下名为 bar 控件的 value
``` ```
widget_get(window, view.bar.value) widget_get('window', 'view.bar.value')
``` ```
### 5.9 widget_set ### 5.9 widget_set
@ -424,7 +426,7 @@ widget_set(widget, prop, value)
widget_set(widget, path.prop, value) widget_set(widget, path.prop, value)
``` ```
* widget 用作锚点,后面的路径相对于该 widget。self 表示当前控件parent 表示当前控件的父控件window 表示当前的窗口window\_manager 表示窗口管理器。 * widget 用作锚点,后面的路径相对于该 widget。'self' 表示当前控件,'parent' 表示当前控件的父控件,'window' 表示当前的窗口,'window\_manager' 表示窗口管理器。
* prop 可以是简单的属性命名,也可以是 widget 路径+属性名。 * prop 可以是简单的属性命名,也可以是 widget 路径+属性名。
@ -433,31 +435,31 @@ widget_set(widget, path.prop, value)
> 设置当前控件的 value > 设置当前控件的 value
``` ```
widget_set(self, value, 12) widget_set('self', 'value', 12)
``` ```
> 设置当前控件下名为 bar 控件的 value > 设置当前控件下名为 bar 控件的 value
``` ```
widget_set(self, bar.value, 12) widget_set('self', 'bar.value', 12)
``` ```
> 设置当前控件的父控件下名为 bar 控件的 value > 设置当前控件的父控件下名为 bar 控件的 value
``` ```
widget_set(parent, bar.value, 1.2) widget_set('parent', 'bar.value', 1.2)
``` ```
> 设置当前窗口下名为 bar 控件的 value > 设置当前窗口下名为 bar 控件的 value
``` ```
widget_set(window, bar.value, "hello") widget_set('window', 'bar.value', 'hello')
``` ```
> 设置当前窗口下名为 view 控件下名为 bar 控件的 value > 设置当前窗口下名为 view 控件下名为 bar 控件的 value
``` ```
widget_set(window, view.bar.value, 12) widget_set('window', 'view.bar.value', 12)
``` ```
### 5.10 widget_create ### 5.10 widget_create
@ -477,18 +479,18 @@ widget_create(type, parent, x, y, w, h)
### 示例 ### 示例
```js ```js
a = widget_lookup(window, foobar, true) a = widget_lookup('window', 'foobar', true)
if(value_is_null(a)) { if(value_is_null(a)) {
a = widget_create("label", window.view, 0, 0, 0, 0) a = widget_create('label', 'window.view', 0, 0, 0, 0)
assert(!value_is_null(a)) assert(!value_is_null(a))
widget_set(a, text, "Dynamic created") widget_set(a, 'text', 'Dynamic created')
assert(widget_get(a, text) == "Dynamic created") assert(widget_get(a, 'text') == 'Dynamic created')
widget_set(a, name, "foobar") widget_set(a, 'name', 'foobar')
assert(widget_get(a, name) == "foobar") assert(widget_get(a, 'name') == 'foobar')
} else { } else {
print("foobar exist"); print("foobar exist");
} }
``` ```
### 5.10 widget_destroy ### 5.10 widget_destroy
@ -507,17 +509,17 @@ widget_destroy(widget)
### 示例 ### 示例
```js ```js
a = widget_lookup(window, foobar, true) a = widget_lookup('window', 'foobar', true)
if(!value_is_null(a)) { if(!value_is_null(a)) {
widget_destroy(a) widget_destroy(a)
} else { } else {
print("not found foobar"); print('not found foobar');
} }
``` ```
``` ```
widget_destroy(self.bar) widget_destroy('self.bar')
widget_destroy(window.view.bar) widget_destroy('window.view.bar')
``` ```
### 5.11 start_timer ### 5.11 start_timer
@ -538,20 +540,20 @@ start_timer(duration)
### 示例 ### 示例
```xml ```xml
<button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer"> <button name="timer" focusable="true" on:click="start_timer(100)" text="Start Timer">
<property name="on:timer"> <property name="on:timer">
<![CDATA[ <![CDATA[
a = widget_lookup(window, bar, true) a = widget_lookup('window', 'bar', true)
b = widget_get(a, "value") b = widget_get(a, 'value')
if(b < 100) { if(b < 100) {
widget_set(a, "value", b + 1) widget_set(a, 'value', b + 1)
} else { } else {
widget_set(a, "value", 0) widget_set(a, 'value', 0)
stop_timer() stop_timer()
} }
]]> ]]>
</property> </property>
</button> </button>
``` ```
### 5.12 stop_timer ### 5.12 stop_timer
@ -572,7 +574,7 @@ stop_timer(widget)
### 示例 ### 示例
```js ```js
stop_timer(parent.timer) stop_timer('parent.timer')
``` ```
### 5.13 send_key ### 5.13 send_key
@ -591,8 +593,8 @@ send_key(widget, key_name)
### 示例 ### 示例
```js ```js
<button text="Backspace" on:click="send_key(window.edit, 'backspace')"/> <button text="Backspace" on:click="send_key('window.edit', 'backspace')"/>
<button text="Char" on:click="send_key(window.edit, 'a')"/> <button text="Char" on:click="send_key('window.edit', 'a')"/>
``` ```
### 5.14 widget\_eval ### 5.14 widget\_eval
@ -608,7 +610,7 @@ widget_eval(widget, prop)
widget_eval(widget, path.prop) widget_eval(widget, path.prop)
``` ```
* widget 用作锚点,后面的路径相对于该 widget。self 表示当前控件parent 表示当前控件的父控件window 表示当前的窗口window\_manager 表示窗口管理器。 * widget 用作锚点,后面的路径相对于该 widget。'self' 表示当前控件,'parent' 表示当前控件的父控件,'window' 表示当前的窗口,'window\_manager' 表示窗口管理器。
* prop 可以是简单的属性命名,也可以是 widget 路径+属性名。 * prop 可以是简单的属性命名,也可以是 widget 路径+属性名。
@ -621,16 +623,16 @@ widget_eval(widget, path.prop)
<text_selector name="year" options="2000-2050" selected_index="9"> <text_selector name="year" options="2000-2050" selected_index="9">
<property name="on:value_changed"> <property name="on:value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
</text_selector> </text_selector>
<text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true"> <text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true">
<property name="on:value_changed"> <property name="on:value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
</text_selector> </text_selector>
@ -644,14 +646,14 @@ widget_eval(widget, path.prop)
<row x="10" y="bottom" w="100%" h="150" children_layout="default(row=1,col=3)"> <row x="10" y="bottom" w="100%" h="150" children_layout="default(row=1,col=3)">
<property name="handle_value_changed"> <property name="handle_value_changed">
<![CDATA[ <![CDATA[
a = get_days_of_month(widget_get(parent.year, value), widget_get(parent.month, value)) a = get_days_of_month(widget_get('parent.year', 'value'), widget_get('parent.month', 'value'))
widget_set(parent.day, "options", iformat( "1-%d", a) + "%02d") widget_set('parent.day', 'options', iformat( '1-%d', a) + '%02d')
]]> ]]>
</property> </property>
<text_selector name="year" options="2000-2050" selected_index="9" <text_selector name="year" options="2000-2050" selected_index="9"
on:value_changed="widget_eval(parent.handle_value_changed)" /> on:value_changed="widget_eval('parent.handle_value_changed')" />
<text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true" <text_selector name="month" options="1-12-%02d" selected_index="8" loop_options="true"
on:value_changed="widget_eval(parent.handle_value_changed)" /> on:value_changed="widget_eval('parent.handle_value_changed')" />
<text_selector name="day" options="1-31-%02d" selected_index="9" /> <text_selector name="day" options="1-31-%02d" selected_index="9" />
</row> </row>
``` ```

View File

@ -1,5 +1,5 @@
TK_CONST_DATA_ALIGN(const unsigned char ui_basic_fscript[]) = { TK_CONST_DATA_ALIGN(const unsigned char ui_basic_fscript[]) = {
0x04,0x00,0x01,0x01,0x4f,0x0e,0x00,0x00,0x00,0x00,0x00,0x00,0x62,0x61,0x73,0x69,0x63,0x5f,0x66,0x73, 0x04,0x00,0x01,0x01,0x55,0x0e,0x00,0x00,0x00,0x00,0x00,0x00,0x62,0x61,0x73,0x69,0x63,0x5f,0x66,0x73,
0x63,0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x63,0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
@ -59,129 +59,129 @@ TK_CONST_DATA_ALIGN(const unsigned char ui_basic_fscript[]) = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x4f,0x70,0x65,0x6e,0x00,0x66,0x6f,0x63,0x75,0x73,0x61, 0x00,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x4f,0x70,0x65,0x6e,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,
0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x66,0x6f,0x63,0x75,0x73,0x00,0x74,0x72,0x75,0x65,0x00, 0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x66,0x6f,0x63,0x75,0x73,0x00,0x74,0x72,0x75,0x65,0x00,
0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x74,0x65,0x73,0x74,0x5f,0x66, 0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x27,0x74,0x65,0x73,0x74,0x5f,
0x73,0x63,0x72,0x69,0x70,0x74,0x29,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00, 0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x29,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x65,
0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,
0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x74,0x65,
0x73,0x74,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x00,0x00,0x00,
0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x77,0x69,0x74,0x63,0x68,0x20, 0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,
0x54,0x4f,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e, 0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,
0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x74,0x65,0x73,0x74,0x5f,0x66,0x73,0x63, 0x27,0x74,0x65,0x73,0x74,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x2c,0x20,0x74,0x72,0x75,0x65,
0x72,0x69,0x70,0x74,0x2c,0x20,0x66,0x61,0x6c,0x73,0x65,0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x00,0x00, 0x29,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x73,0x6c,0x69,0x64,0x65,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x00,
0x00,0x00,0xec,0xff,0xff,0xff,0x14,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,
0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x31,0x30,0x2c,0x79,0x3d,0x31,0x31,0x36,
0x2c,0x77,0x3d,0x2d,0x32,0x30,0x2c,0x68,0x3d,0x32,0x30,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x73,0x6c,
0x69,0x64,0x65,0x72,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x34,0x30,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,
0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,
0x62,0x61,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x8e,0x00,0x00,0x00,0xec,0xff,0xff,0xff,0x10,0x00,0x00,0x00,0x73,
0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,
0x3d,0x31,0x30,0x2c,0x79,0x3d,0x31,0x34,0x32,0x2c,0x77,0x3d,0x2d,0x32,0x30,0x2c,0x68,0x3d,0x31,0x36,
0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x62,0x61,0x72,0x31,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x34,0x30,
0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x70,0x72,
0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x62,0x61,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa0,0x00,0x00,0x00,0x14,0x00,
0x00,0x00,0x76,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,
0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x72,0x69,0x67,0x68,0x74,0x3a,0x31,0x30,0x2c,0x79,0x3d,0x31,
0x36,0x30,0x2c,0x77,0x3d,0x32,0x30,0x2c,0x68,0x3d,0x31,0x31,0x38,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,
0x62,0x61,0x72,0x32,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x32,0x30,0x00,0x76,0x65,0x72,0x74,0x69,0x63,
0x61,0x6c,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x72,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xb4,0x00,0x00,0x00,0xce,0xff,0xff,0xff,0x5a,0x00,0x00,0x00,0x73,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x77,0x69,
0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d, 0x74,0x63,0x68,0x20,0x54,0x4f,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,
0x30,0x2c,0x79,0x3d,0x31,0x38,0x30,0x2c,0x77,0x3d,0x2d,0x35,0x30,0x2c,0x68,0x3d,0x39,0x30,0x29,0x00, 0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x27,0x74,0x65,0x73,
0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61, 0x74,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x2c,0x20,0x66,0x61,0x6c,0x73,0x65,0x2c,0x20,0x74,
0x75,0x6c,0x74,0x28,0x72,0x3d,0x31,0x2c,0x63,0x3d,0x32,0x2c,0x6d,0x3d,0x32,0x29,0x00,0x00,0x63,0x6f, 0x72,0x75,0x65,0x29,0x00,0x00,0x00,0x00,0x73,0x6c,0x69,0x64,0x65,0x72,0x00,0x00,0x00,0x00,0x00,0x00,
0x6c,0x75,0x6d,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75, 0x0a,0x00,0x00,0x00,0x74,0x00,0x00,0x00,0xec,0xff,0xff,0xff,0x14,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,
0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x3d,0x33,0x2c,0x63,0x3d,0x31,0x2c,0x79,0x6d, 0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x31,0x30,
0x3d,0x32,0x2c,0x73,0x3d,0x31,0x30,0x29,0x00,0x00,0x63,0x68,0x65,0x63,0x6b,0x5f,0x62,0x75,0x74,0x74, 0x2c,0x79,0x3d,0x31,0x31,0x36,0x2c,0x77,0x3d,0x2d,0x32,0x30,0x2c,0x68,0x3d,0x32,0x30,0x29,0x00,0x6e,
0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x61,0x6d,0x65,0x00,0x73,0x6c,0x69,0x64,0x65,0x72,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x34,0x30,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61, 0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x70,0x72,0x6f,
0x6d,0x65,0x00,0x72,0x31,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x6f,0x6f,0x6b,0x00,0x66,0x6f,0x63,0x75, 0x67,0x72,0x65,0x73,0x73,0x5f,0x62,0x61,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x63,0x68,0x65,0x63,0x6b,0x5f,0x62, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x8e,0x00,0x00,0x00,0xec,0xff,0xff,
0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x10,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,
0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x31,0x30,0x2c,0x79,0x3d,0x31,0x34,0x32,0x2c,0x77,0x3d,0x2d,0x32,
0x30,0x2c,0x68,0x3d,0x31,0x36,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x62,0x61,0x72,0x31,0x00,0x76,0x61,
0x6c,0x75,0x65,0x00,0x34,0x30,0x00,0x73,0x68,0x6f,0x77,0x5f,0x74,0x65,0x78,0x74,0x00,0x74,0x72,0x75,
0x65,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f,0x62,0x61,0x72,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x32,0x00,0x74,0x65,0x78,0x74,0x00,0x46,0x6f,0x6f,0x64,0x00,0x66, 0xa0,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x76,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,
0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x63,0x68,0x65,0x63, 0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x72,0x69,0x67,0x68,0x74,0x3a,
0x31,0x30,0x2c,0x79,0x3d,0x31,0x36,0x30,0x2c,0x77,0x3d,0x32,0x30,0x2c,0x68,0x3d,0x31,0x31,0x38,0x29,
0x00,0x6e,0x61,0x6d,0x65,0x00,0x62,0x61,0x72,0x32,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x32,0x30,0x00,
0x76,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x72,0x6f,0x77,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb4,0x00,0x00,0x00,0xce,0xff,0xff,0xff,
0x5a,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,
0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,0x31,0x38,0x30,0x2c,0x77,0x3d,0x2d,0x35,0x30,0x2c,
0x68,0x3d,0x39,0x30,0x29,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,
0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x3d,0x31,0x2c,0x63,0x3d,0x32,0x2c,0x6d,0x3d,
0x32,0x29,0x00,0x00,0x63,0x6f,0x6c,0x75,0x6d,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,
0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x3d,0x33,0x2c,
0x63,0x3d,0x31,0x2c,0x79,0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x31,0x30,0x29,0x00,0x00,0x63,0x68,0x65,0x63,
0x6b,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6b,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x33,0x00,0x74,0x65,0x78,0x74,0x00,0x50,0x65,0x6e, 0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x31,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x6f,0x6f,
0x63,0x69,0x6c,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x66,0x6f,0x63,0x75,0x73, 0x6b,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x63,
0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x00,0x63,0x6f,0x6c,0x75,0x6d,0x6e,0x00, 0x68,0x65,0x63,0x6b,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x32,0x00,0x74,0x65,0x78,0x74,0x00,
0x46,0x6f,0x6f,0x64,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,
0x00,0x00,0x63,0x68,0x65,0x63,0x6b,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x33,0x00,0x74,0x65,
0x61,0x75,0x6c,0x74,0x28,0x72,0x3d,0x33,0x2c,0x63,0x3d,0x31,0x2c,0x79,0x6d,0x3d,0x32,0x2c,0x73,0x3d, 0x78,0x74,0x00,0x50,0x65,0x6e,0x63,0x69,0x6c,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x74,0x72,0x75,0x65,
0x31,0x30,0x29,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00, 0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x00,0x63,
0x6f,0x6c,0x75,0x6d,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x66,0x6f, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,
0x6e,0x74,0x5f,0x73,0x6d,0x61,0x6c,0x6c,0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x6d,0x61,0x6c,0x6c,0x20, 0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x3d,0x33,0x2c,0x63,0x3d,0x31,0x2c,0x79,
0x46,0x6f,0x6e,0x74,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00, 0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x31,0x30,0x29,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,
0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x66,0x6f,0x6e,0x74,0x5f,
0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x00,0x74,0x65,0x78,0x74,0x00,0x4e,0x6f,0x72,0x6d,0x61,0x6c,0x20,0x46,
0x6f,0x6e,0x74,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,
0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x66,0x6f,0x6e,0x74,0x5f,0x62,
0x69,0x67,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x69,0x67,0x20,0x46,0x6f,0x6e,0x74,0x00,0x66,0x6f,0x63,
0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x00,0x00,0x72,0x6f,0x77,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,
0x1e,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,
0x75,0x6c,0x74,0x28,0x78,0x3d,0x32,0x30,0x2c,0x79,0x3d,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x3a,0x36,0x30,
0x2c,0x77,0x3d,0x31,0x30,0x30,0x2c,0x68,0x3d,0x33,0x30,0x29,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,
0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x3d,0x31,
0x2c,0x63,0x3d,0x34,0x29,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,
0x00,0x6c,0x65,0x66,0x74,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,
0x65,0x00,0x6d,0x69,0x64,0x64,0x6c,0x65,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,
0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x73, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,
0x74,0x79,0x6c,0x65,0x00,0x72,0x69,0x67,0x68,0x74,0x00,0x00,0x00,0x63,0x68,0x65,0x63,0x6b,0x5f,0x62, 0x61,0x6d,0x65,0x00,0x66,0x6f,0x6e,0x74,0x5f,0x73,0x6d,0x61,0x6c,0x6c,0x00,0x74,0x65,0x78,0x74,0x00,
0x53,0x6d,0x61,0x6c,0x6c,0x20,0x46,0x6f,0x6e,0x74,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,
0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,
0x00,0x66,0x6f,0x6e,0x74,0x5f,0x6e,0x6f,0x72,0x6d,0x61,0x6c,0x00,0x74,0x65,0x78,0x74,0x00,0x4e,0x6f,
0x72,0x6d,0x61,0x6c,0x20,0x46,0x6f,0x6e,0x74,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,
0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,
0x66,0x6f,0x6e,0x74,0x5f,0x62,0x69,0x67,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x69,0x67,0x20,0x46,0x6f,
0x6e,0x74,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00,
0x00,0x00,0x72,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x64,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,
0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x32,0x30,0x2c,0x79,0x3d,0x62,0x6f,0x74,
0x74,0x6f,0x6d,0x3a,0x36,0x30,0x2c,0x77,0x3d,0x31,0x30,0x30,0x2c,0x68,0x3d,0x33,0x30,0x29,0x00,0x63,
0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,
0x6c,0x74,0x28,0x72,0x3d,0x31,0x2c,0x63,0x3d,0x34,0x29,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,
0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x6d,0x75,0x74,0x65,0x00,0x00,0x00,0x00,0x67,0x72,0x69,0x64,0x00, 0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x6c,0x65,0x66,0x74,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,
0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x28, 0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x6d,0x69,0x64,0x64,0x6c,0x65,0x00,0x00,0x00,0x72,0x61,0x64,
0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75, 0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x6c,0x74,0x28,0x78,0x3d,0x32,0x30,0x2c,0x79,0x3d,0x62,0x6f,0x74,0x74,0x6f,0x6d,0x3a,0x31,0x30,0x2c,
0x77,0x3d,0x38,0x30,0x25,0x2c,0x68,0x3d,0x34,0x30,0x29,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,
0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x3d,0x31,0x2c,
0x63,0x3d,0x35,0x2c,0x78,0x3d,0x32,0x2c,0x73,0x3d,0x31,0x30,0x29,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x72,0x69,0x67,0x68,0x74,0x00,0x00,0x00,0x63,
0x68,0x65,0x63,0x6b,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,0x6d,0x75,0x74,0x65,0x00,0x00,0x00,
0x61,0x67,0x65,0x00,0x65,0x61,0x72,0x74,0x68,0x00,0x61,0x6e,0x69,0x6d,0x61,0x74,0x69,0x6f,0x6e,0x00, 0x00,0x67,0x72,0x69,0x64,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x72,0x6f,0x74,0x61,0x74,0x69,0x6f,0x6e,0x28,0x66,0x72,0x6f,0x6d,0x3d,0x30,0x2c,0x20,0x74,0x6f,0x3d, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,
0x36,0x2e,0x32,0x38,0x2c,0x20,0x72,0x65,0x70,0x65,0x61,0x74,0x5f,0x74,0x69,0x6d,0x65,0x73,0x3d,0x30, 0x00,0x50,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,
0x2c,0x20,0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x32,0x30,0x30,0x30,0x2c,0x20,0x65,0x61,0x73, 0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x32,0x30,0x2c,0x79,0x3d,0x62,0x6f,0x74,0x74,
0x69,0x6e,0x67,0x3d,0x6c,0x69,0x6e,0x65,0x61,0x72,0x29,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00, 0x6f,0x6d,0x3a,0x31,0x30,0x2c,0x77,0x3d,0x38,0x30,0x25,0x2c,0x68,0x3d,0x34,0x30,0x29,0x00,0x63,0x68,
0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,
0x74,0x28,0x72,0x3d,0x31,0x2c,0x63,0x3d,0x35,0x2c,0x78,0x3d,0x32,0x2c,0x73,0x3d,0x31,0x30,0x29,0x00,
0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,
0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x65,0x61,0x72,0x74,0x68,0x00,0x61,0x6e,0x69,0x6d,
0x61,0x74,0x69,0x6f,0x6e,0x00,0x72,0x6f,0x74,0x61,0x74,0x69,0x6f,0x6e,0x28,0x66,0x72,0x6f,0x6d,0x3d,
0x30,0x2c,0x20,0x74,0x6f,0x3d,0x36,0x2e,0x32,0x38,0x2c,0x20,0x72,0x65,0x70,0x65,0x61,0x74,0x5f,0x74,
0x69,0x6d,0x65,0x73,0x3d,0x30,0x2c,0x20,0x64,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x32,0x30,0x30,
0x30,0x2c,0x20,0x65,0x61,0x73,0x69,0x6e,0x67,0x3d,0x6c,0x69,0x6e,0x65,0x61,0x72,0x29,0x00,0x00,0x00,
0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,
0x67,0x65,0x00,0x72,0x67,0x62,0x61,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00, 0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x72,0x67,0x62,0x61,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,
0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,
0x6d,0x61,0x67,0x65,0x00,0x72,0x67,0x62,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,
0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,
0x6d,0x65,0x73,0x73,0x61,0x67,0x65,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,
0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x72, 0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x72,
0x67,0x62,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x65,0x64,0x5f,0x62,0x74,0x6e,0x5f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*3717*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,
0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x6d,0x65,0x73,0x73,0x61,0x67,
0x65,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,
0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x72,0x65,0x64,0x5f,0x62,0x74,0x6e,
0x5f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*3711*/

View File

@ -1,5 +1,5 @@
TK_CONST_DATA_ALIGN(const unsigned char ui_main_fscript[]) = { TK_CONST_DATA_ALIGN(const unsigned char ui_main_fscript[]) = {
0x04,0x00,0x01,0x01,0x6b,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x6d,0x61,0x69,0x6e,0x5f,0x66,0x73,0x63, 0x04,0x00,0x01,0x01,0x73,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x6d,0x61,0x69,0x6e,0x5f,0x66,0x73,0x63,
0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
@ -34,27 +34,28 @@ TK_CONST_DATA_ALIGN(const unsigned char ui_main_fscript[]) = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,
0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x66,0x6f,0x63,0x75,0x73,0x65,0x64,0x00,0x74,0x72,0x75,0x65,0x00, 0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x66,0x6f,0x63,0x75,0x73,0x65,0x64,0x00,0x74,0x72,0x75,0x65,0x00,
0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x74,0x65,0x73,0x74,0x5f,0x66, 0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x27,0x74,0x65,0x73,0x74,0x5f,
0x73,0x63,0x72,0x69,0x70,0x74,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x54,0x65,0x73,0x74,0x20,0x46,0x73, 0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x54,0x65,0x73,0x74,0x20,
0x63,0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00, 0x46,0x73,0x63,0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,
0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00, 0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,
0x6f,0x70,0x65,0x6e,0x28,0x62,0x75,0x74,0x74,0x6f,0x6e,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x29, 0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x27,0x62,0x75,0x74,0x74,0x6f,0x6e,0x5f,0x66,0x73,0x63,0x72,0x69,
0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x00,0x00,0x00,0x62,0x75,0x74,0x74, 0x70,0x74,0x27,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x00,0x00,0x00,
0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,
0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x62,0x61,0x73,0x69,0x63,0x5f,0x66, 0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x27,0x62,0x61,
0x73,0x63,0x72,0x69,0x70,0x74,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x61,0x73,0x69,0x63,0x00,0x00, 0x73,0x69,0x63,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x42,
0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x61,0x73,0x69,0x63,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,
0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x74,0x65, 0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,
0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x29, 0x70,0x65,0x6e,0x28,0x27,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x5f,0x66,
0x00,0x74,0x65,0x78,0x74,0x00,0x54,0x65,0x78,0x74,0x20,0x53,0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x00, 0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x54,0x65,0x78,0x74,0x20,0x53,
0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,
0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x71,0x75,0x69,0x74,0x28,0x29, 0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,
0x00,0x74,0x65,0x78,0x74,0x00,0x51,0x75,0x69,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1179*/ 0x6b,0x00,0x71,0x75,0x69,0x74,0x28,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x51,0x75,0x69,0x74,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1187*/

View File

@ -1,5 +1,5 @@
TK_CONST_DATA_ALIGN(const unsigned char ui_test_fscript[]) = { TK_CONST_DATA_ALIGN(const unsigned char ui_test_fscript[]) = {
0x04,0x00,0x01,0x01,0x8d,0x13,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x65,0x73,0x74,0x5f,0x66,0x73,0x63, 0x04,0x00,0x01,0x01,0xd7,0x13,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x65,0x73,0x74,0x5f,0x66,0x73,0x63,
0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
@ -56,154 +56,141 @@ TK_CONST_DATA_ALIGN(const unsigned char ui_test_fscript[]) = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,
0x6d,0x65,0x00,0x65,0x64,0x69,0x74,0x00,0x74,0x69,0x70,0x73,0x00,0x74,0x65,0x78,0x74,0x20,0x65,0x64, 0x6d,0x65,0x00,0x65,0x64,0x69,0x74,0x00,0x74,0x69,0x70,0x73,0x00,0x74,0x65,0x78,0x74,0x20,0x65,0x64,
0x69,0x74,0x00,0x6f,0x6e,0x3a,0x66,0x6f,0x63,0x75,0x73,0x00,0x70,0x72,0x69,0x6e,0x74,0x28,0x66,0x6f, 0x69,0x74,0x00,0x6f,0x6e,0x3a,0x66,0x6f,0x63,0x75,0x73,0x00,0x70,0x72,0x69,0x6e,0x74,0x28,0x66,0x6f,
0x63,0x75,0x73,0x29,0x00,0x6f,0x6e,0x3a,0x62,0x6c,0x75,0x72,0x00,0x70,0x72,0x69,0x6e,0x74,0x28,0x62, 0x63,0x75,0x73,0x29,0x00,0x6f,0x6e,0x3a,0x62,0x6c,0x75,0x72,0x00,0x70,0x72,0x69,0x6e,0x74,0x28,0x27,
0x6c,0x75,0x72,0x2c,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x73,0x65,0x6c,0x66, 0x62,0x6c,0x75,0x72,0x27,0x2c,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x73,
0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x29,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f, 0x65,0x6c,0x66,0x27,0x2c,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x29,0x00,0x00,0x00,0x70,0x72,0x6f,
0x62,0x61,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x67,0x72,0x65,0x73,0x73,0x5f,0x62,0x61,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,
0x61,0x6d,0x65,0x00,0x62,0x61,0x72,0x00,0x74,0x65,0x78,0x74,0x00,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,
0x31,0x30,0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x00,
0x70,0x72,0x69,0x6e,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x73,0x65,0x6c,
0x66,0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x29,0x00,0x00,0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x62,0x61,0x72,0x00,0x74,0x65,0x78,0x74,0x00,0x00,
0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28, 0x76,0x61,0x6c,0x75,0x65,0x00,0x31,0x30,0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,
0x78,0x3d,0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,0x3d,0x31,0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30, 0x61,0x6e,0x67,0x65,0x64,0x00,0x70,0x72,0x69,0x6e,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,
0x25,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,0x69,0x65,0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65, 0x65,0x74,0x28,0x27,0x73,0x65,0x6c,0x66,0x27,0x2c,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x29,0x00,
0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32, 0x00,0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,
0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x66,0x6f, 0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,
0x63,0x75,0x73,0x65,0x64,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00, 0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,0x3d,
0x6f,0x70,0x65,0x6e,0x28,0x62,0x61,0x73,0x69,0x63,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x29,0x00, 0x31,0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,0x69,
0x74,0x65,0x78,0x74,0x00,0x42,0x61,0x73,0x69,0x63,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00, 0x65,0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,
0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,
0x3d,0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,
0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x66,0x6f,0x63,0x75,0x73,0x65,0x64,0x00,0x74,0x72,0x75,0x65,
0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x6f,0x70,0x65,0x6e,0x28,0x27,0x62,0x61,0x73,0x69,
0x63,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x61,0x73,
0x69,0x63,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,
0x00,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x77,0x69, 0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x75,0x74,0x74,0x6f,0x6e,0x73,
0x6e,0x20,0x3d,0x20,0x6f,0x70,0x65,0x6e,0x28,0x62,0x75,0x74,0x74,0x6f,0x6e,0x5f,0x66,0x73,0x63,0x72, 0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x77,0x69,0x6e,0x20,0x3d,0x20,0x6f,0x70,0x65,0x6e,
0x69,0x70,0x74,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72, 0x28,0x27,0x62,0x75,0x74,0x74,0x6f,0x6e,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x27,0x29,0x0a,0x20,
0x74,0x28,0x21,0x76,0x61,0x6c,0x75,0x65,0x5f,0x69,0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x77,0x69,0x6e, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74,0x28,0x21,0x76,0x61,0x6c,
0x29,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f, 0x75,0x65,0x5f,0x69,0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x77,0x69,0x6e,0x29,0x29,0x0a,0x20,0x20,0x20,
0x73,0x65,0x74,0x28,0x77,0x69,0x6e,0x2c,0x20,0x63,0x6c,0x6f,0x73,0x65,0x2e,0x74,0x65,0x78,0x74,0x2c, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x77,0x69,
0x20,0x22,0x42,0x61,0x63,0x6b,0x22,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61, 0x6e,0x2c,0x20,0x27,0x63,0x6c,0x6f,0x73,0x65,0x2e,0x74,0x65,0x78,0x74,0x27,0x2c,0x20,0x22,0x42,0x61,
0x73,0x73,0x65,0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x77,0x69,0x6e, 0x63,0x6b,0x22,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,
0x2c,0x20,0x63,0x6c,0x6f,0x73,0x65,0x2e,0x74,0x65,0x78,0x74,0x29,0x20,0x3d,0x3d,0x20,0x22,0x42,0x61, 0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x77,0x69,0x6e,0x2c,0x20,0x27,0x63,
0x63,0x6b,0x22,0x29,0x3b,0x00,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00, 0x6c,0x6f,0x73,0x65,0x2e,0x74,0x65,0x78,0x74,0x27,0x29,0x20,0x3d,0x3d,0x20,0x22,0x42,0x61,0x63,0x6b,
0x22,0x29,0x3b,0x00,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,
0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x54,0x65,0x73, 0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x54,0x65,0x73,0x74,0x00,
0x74,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65, 0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,
0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2c,0x20,0x6c,0x61,0x62,0x65,0x6c,0x2e,0x74,0x65,0x78,0x74, 0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x27,0x2c,0x20,0x27,0x6c,0x61,0x62,0x65,0x6c,0x2e,0x74,0x65,0x78,
0x2c,0x20,0x22,0x48,0x65,0x6c,0x6c,0x6f,0x22,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x74,0x27,0x2c,0x20,0x27,0x48,0x65,0x6c,0x6c,0x6f,0x27,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28, 0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,
0x70,0x61,0x72,0x65,0x6e,0x74,0x2c,0x20,0x6c,0x61,0x62,0x65,0x6c,0x2e,0x74,0x65,0x78,0x74,0x29,0x20, 0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x27,0x2c,0x20,0x27,0x6c,0x61,0x62,0x65,0x6c,0x2e,0x74,
0x3d,0x3d,0x20,0x22,0x48,0x65,0x6c,0x6c,0x6f,0x22,0x29,0x3b,0x0a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20, 0x65,0x78,0x74,0x27,0x29,0x20,0x3d,0x3d,0x20,0x27,0x48,0x65,0x6c,0x6c,0x6f,0x27,0x29,0x3b,0x0a,0x0a,
0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x77,0x69,0x6e,0x64,0x6f, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,
0x77,0x2c,0x20,0x76,0x69,0x65,0x77,0x2e,0x6c,0x61,0x62,0x65,0x6c,0x2e,0x74,0x65,0x78,0x74,0x2c,0x20, 0x28,0x27,0x77,0x69,0x6e,0x64,0x6f,0x77,0x27,0x2c,0x20,0x27,0x76,0x69,0x65,0x77,0x2e,0x6c,0x61,0x62,
0x22,0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,0x6c,0x64,0x22,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x65,0x6c,0x2e,0x74,0x65,0x78,0x74,0x27,0x2c,0x20,0x27,0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,
0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f, 0x6c,0x64,0x27,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,
0x67,0x65,0x74,0x28,0x77,0x69,0x6e,0x64,0x6f,0x77,0x2c,0x20,0x76,0x69,0x65,0x77,0x2e,0x6c,0x61,0x62, 0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x77,0x69,0x6e,0x64,0x6f,
0x65,0x6c,0x2e,0x74,0x65,0x78,0x74,0x29,0x20,0x3d,0x3d,0x20,0x22,0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57, 0x77,0x27,0x2c,0x20,0x27,0x76,0x69,0x65,0x77,0x2e,0x6c,0x61,0x62,0x65,0x6c,0x2e,0x74,0x65,0x78,0x74,
0x6f,0x72,0x6c,0x64,0x22,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x0a,0x20, 0x27,0x29,0x20,0x3d,0x3d,0x20,0x27,0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,0x6c,0x64,0x27,0x29,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x73,0x65,0x6c,0x66,0x2c,0x20,0x74,0x65,0x78,0x74,0x2c,0x20,0x22,0x54,0x65,0x73,0x74,0x2e,0x2e,0x2e, 0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x27,0x73,0x65,0x6c,0x66,0x27,
0x22,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74, 0x2c,0x20,0x27,0x74,0x65,0x78,0x74,0x27,0x2c,0x20,0x27,0x54,0x65,0x73,0x74,0x2e,0x2e,0x2e,0x27,0x29,
0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x73,0x65,0x6c,0x66,0x2c,0x20,0x74,0x65, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74,0x28,0x77,
0x78,0x74,0x29,0x20,0x3d,0x3d,0x20,0x22,0x54,0x65,0x73,0x74,0x2e,0x2e,0x2e,0x22,0x29,0x3b,0x00,0x00, 0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x73,0x65,0x6c,0x66,0x27,0x2c,0x20,0x27,0x74,
0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x65,0x78,0x74,0x27,0x29,0x20,0x3d,0x3d,0x20,0x27,0x54,0x65,0x73,0x74,0x2e,0x2e,0x2e,0x27,0x29,0x3b,
0x00,0x00,0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,
0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,0x3d,0x31, 0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,
0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,0x69,0x65, 0x3d,0x31,0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,
0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65, 0x69,0x65,0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,
0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d, 0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,
0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x73,0x3d,0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,
0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x49,0x6e,0x63,0x00,0x6f,0x6e,0x3a,0x63, 0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x49,0x6e,0x63,0x00,0x6f,0x6e,
0x6c,0x69,0x63,0x6b,0x00,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x6f,0x6b, 0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,
0x75,0x70,0x28,0x77,0x69,0x6e,0x64,0x6f,0x77,0x2c,0x20,0x62,0x61,0x72,0x2c,0x20,0x74,0x72,0x75,0x65, 0x6f,0x6b,0x75,0x70,0x28,0x27,0x77,0x69,0x6e,0x64,0x6f,0x77,0x27,0x2c,0x20,0x27,0x62,0x61,0x72,0x27,
0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74, 0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x20,0x3d,0x20,
0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x22,0x76,0x61,0x6c,0x75,0x65,0x22,0x29,0x0a,0x20,0x20,0x20, 0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,
0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x28,0x62,0x20,0x3c,0x3d,0x20,0x39,0x30,0x29,0x20,0x7b,0x0a,0x20, 0x27,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x28,0x62,0x20,0x3c,0x3d,0x20,0x39,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28, 0x30,0x29,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,
0x61,0x2c,0x20,0x22,0x76,0x61,0x6c,0x75,0x65,0x22,0x2c,0x20,0x62,0x20,0x2b,0x20,0x31,0x30,0x29,0x0a, 0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x2c,0x20,0x62,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00, 0x2b,0x20,0x31,0x30,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,0x62,0x75,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,
0x44,0x65,0x63,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,
0x67,0x65,0x74,0x5f,0x6c,0x6f,0x6f,0x6b,0x75,0x70,0x28,0x77,0x69,0x6e,0x64,0x6f,0x77,0x2c,0x20,0x62,
0x61,0x72,0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x20,
0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x22,0x76,0x61,0x6c,
0x75,0x65,0x22,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x28,0x62,0x20,0x3e,0x3d,
0x20,0x31,0x30,0x29,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,
0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,0x20,0x22,0x76,0x61,0x6c,0x75,0x65,0x22,0x2c,0x20,
0x62,0x20,0x2d,0x20,0x31,0x30,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,
0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,
0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,0x3d,0x31,
0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,0x69,0x65,
0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,
0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d,
0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,
0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x72,0x65,0x61,0x74,0x65,0x00,0x6f,
0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,
0x6f,0x6f,0x6b,0x75,0x70,0x28,0x77,0x69,0x6e,0x64,0x6f,0x77,0x2c,0x20,0x66,0x6f,0x6f,0x62,0x61,0x72,
0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x28,0x76,
0x61,0x6c,0x75,0x65,0x5f,0x69,0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x61,0x29,0x29,0x20,0x7b,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,
0x63,0x72,0x65,0x61,0x74,0x65,0x28,0x22,0x6c,0x61,0x62,0x65,0x6c,0x22,0x2c,0x20,0x77,0x69,0x6e,0x64,
0x6f,0x77,0x2e,0x76,0x69,0x65,0x77,0x2c,0x20,0x30,0x2c,0x20,0x30,0x2c,0x20,0x30,0x2c,0x20,0x30,0x29,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74,0x28,0x21,0x76,
0x61,0x6c,0x75,0x65,0x5f,0x69,0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x61,0x29,0x29,0x0a,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,
0x2c,0x20,0x74,0x65,0x78,0x74,0x2c,0x20,0x22,0x44,0x79,0x6e,0x61,0x6d,0x69,0x63,0x20,0x63,0x72,0x65,
0x61,0x74,0x65,0x64,0x22,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,
0x65,0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x74,0x65,
0x78,0x74,0x29,0x20,0x3d,0x3d,0x20,0x22,0x44,0x79,0x6e,0x61,0x6d,0x69,0x63,0x20,0x63,0x72,0x65,0x61,
0x74,0x65,0x64,0x22,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,
0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,0x20,0x6e,0x61,0x6d,0x65,0x2c,0x20,0x22,0x66,0x6f,0x6f,
0x62,0x61,0x72,0x22,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,
0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x6e,0x61,0x6d,
0x65,0x29,0x20,0x3d,0x3d,0x20,0x22,0x66,0x6f,0x6f,0x62,0x61,0x72,0x22,0x29,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x7d,0x20,0x65,0x6c,0x73,0x65,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x70,0x72,0x69,0x6e,0x74,0x28,0x22,0x66,0x6f,0x6f,0x62,0x61,0x72,0x20,0x65,0x78,0x69,
0x73,0x74,0x22,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,0x62,0x75,
0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,
0x00,0x74,0x65,0x78,0x74,0x00,0x44,0x65,0x73,0x74,0x72,0x6f,0x79,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69, 0x00,0x74,0x65,0x78,0x74,0x00,0x44,0x65,0x63,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x61,
0x63,0x6b,0x00,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x6f,0x6b,0x75,0x70, 0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x6f,0x6b,0x75,0x70,0x28,0x27,0x77,0x69,
0x28,0x77,0x69,0x6e,0x64,0x6f,0x77,0x2c,0x20,0x66,0x6f,0x6f,0x62,0x61,0x72,0x2c,0x20,0x74,0x72,0x75, 0x6e,0x64,0x6f,0x77,0x27,0x2c,0x20,0x27,0x62,0x61,0x72,0x27,0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x0a,
0x65,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x28,0x21,0x76,0x61,0x6c,0x75,0x65, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,
0x5f,0x69,0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x61,0x29,0x29,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20, 0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x28, 0x20,0x20,0x20,0x69,0x66,0x28,0x62,0x20,0x3e,0x3d,0x20,0x31,0x30,0x29,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x61,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x20,0x65,0x6c,0x73,0x65,0x20,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x70,0x72,0x69,0x6e,0x74,0x28,0x22,0x6e,0x6f,0x74, 0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x2c,0x20,0x62,0x20,0x2d,0x20,0x31,0x30,0x29,0x0a,0x20,0x20,
0x20,0x66,0x6f,0x75,0x6e,0x64,0x20,0x66,0x6f,0x6f,0x62,0x61,0x72,0x22,0x29,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,
0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,
0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d, 0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,
0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,0x3d,0x31,0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29, 0x3d,0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,0x3d,0x31,0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,
0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,0x69,0x65,0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f, 0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,0x69,0x65,0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,
0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72, 0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,
0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00, 0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63, 0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,
0x6c,0x69,0x63,0x6b,0x00,0x63,0x6c,0x6f,0x73,0x65,0x28,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c, 0x74,0x00,0x43,0x72,0x65,0x61,0x74,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x61,0x20,
0x6f,0x73,0x65,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x6f,0x6b,0x75,0x70,0x28,0x27,0x77,0x69,0x6e,
0x64,0x6f,0x77,0x27,0x2c,0x20,0x27,0x66,0x6f,0x6f,0x62,0x61,0x72,0x27,0x2c,0x20,0x74,0x72,0x75,0x65,
0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x28,0x76,0x61,0x6c,0x75,0x65,0x5f,0x69,
0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x61,0x29,0x29,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x63,0x72,0x65,0x61,0x74,0x65,
0x28,0x27,0x6c,0x61,0x62,0x65,0x6c,0x27,0x2c,0x20,0x27,0x77,0x69,0x6e,0x64,0x6f,0x77,0x2e,0x76,0x69,
0x65,0x77,0x27,0x2c,0x20,0x30,0x2c,0x20,0x30,0x2c,0x20,0x30,0x2c,0x20,0x30,0x29,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,0x74,0x28,0x21,0x76,0x61,0x6c,0x75,0x65,
0x5f,0x69,0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x61,0x29,0x29,0x0a,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x74,
0x65,0x78,0x74,0x27,0x2c,0x20,0x27,0x44,0x79,0x6e,0x61,0x6d,0x69,0x63,0x20,0x63,0x72,0x65,0x61,0x74,
0x65,0x64,0x27,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,0x73,0x65,0x72,
0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x74,0x65,0x78,
0x74,0x27,0x29,0x20,0x3d,0x3d,0x20,0x27,0x44,0x79,0x6e,0x61,0x6d,0x69,0x63,0x20,0x63,0x72,0x65,0x61,
0x74,0x65,0x64,0x27,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,
0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x6e,0x61,0x6d,0x65,0x27,0x2c,0x20,0x27,0x66,
0x6f,0x6f,0x62,0x61,0x72,0x27,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x73,
0x73,0x65,0x72,0x74,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,
0x6e,0x61,0x6d,0x65,0x27,0x29,0x20,0x3d,0x3d,0x20,0x27,0x66,0x6f,0x6f,0x62,0x61,0x72,0x27,0x29,0x0a,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x20,0x65,0x6c,0x73,0x65,0x20,0x7b,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x70,0x72,0x69,0x6e,0x74,0x28,0x22,0x66,0x6f,0x6f,0x62,0x61,0x72,
0x20,0x65,0x78,0x69,0x73,0x74,0x22,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,
0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,
0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x71,0x75, 0x74,0x72,0x75,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x44,0x65,0x73,0x74,0x72,0x6f,0x79,0x00,0x6f,0x6e,
0x69,0x74,0x28,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x51,0x75,0x69,0x74,0x00,0x00,0x00,0x00,0x76,0x69, 0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,
0x6f,0x6b,0x75,0x70,0x28,0x27,0x77,0x69,0x6e,0x64,0x6f,0x77,0x27,0x2c,0x20,0x27,0x66,0x6f,0x6f,0x62,
0x61,0x72,0x27,0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x28,0x21,0x76,0x61,0x6c,0x75,0x65,0x5f,0x69,0x73,0x5f,0x6e,0x75,0x6c,0x6c,0x28,0x61,0x29,0x29,
0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,
0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x28,0x61,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,
0x20,0x65,0x6c,0x73,0x65,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x70,0x72,
0x69,0x6e,0x74,0x28,0x27,0x6e,0x6f,0x74,0x20,0x66,0x6f,0x75,0x6e,0x64,0x20,0x66,0x6f,0x6f,0x62,0x61,
0x72,0x27,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,0x00,0x76,0x69,
0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,
0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65, 0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,
@ -213,42 +200,59 @@ TK_CONST_DATA_ALIGN(const unsigned char ui_test_fscript[]) = {
0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x32,0x29,0x00, 0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x32,0x29,0x00,
0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x74,0x69,0x6d,0x65,0x72,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,
0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c, 0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x63,0x6c,0x6f,0x73,0x65,0x28,0x29,
0x69,0x63,0x6b,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x74,0x69,0x6d,0x65,0x72,0x28,0x31,0x30,0x30,0x29, 0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,
0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x74,0x61,0x72,0x74,0x20,0x54,0x69,0x6d,0x65,0x72,0x00,0x6f,0x6e,
0x3a,0x74,0x69,0x6d,0x65,0x72,0x00,0x61,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,
0x6f,0x6b,0x75,0x70,0x28,0x77,0x69,0x6e,0x64,0x6f,0x77,0x2c,0x20,0x62,0x61,0x72,0x2c,0x20,0x74,0x72,
0x75,0x65,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x62,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,
0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,0x2c,0x20,0x22,0x76,0x61,0x6c,0x75,0x65,0x22,0x29,0x0a,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,0x66,0x28,0x62,0x20,0x3c,0x20,0x31,0x30,0x30,0x29,0x20,0x7b,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,
0x74,0x28,0x61,0x2c,0x20,0x22,0x76,0x61,0x6c,0x75,0x65,0x22,0x2c,0x20,0x62,0x20,0x2b,0x20,0x31,0x29,
0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x20,0x65,0x6c,0x73,0x65,0x20,0x7b,0x0a,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,
0x2c,0x20,0x22,0x76,0x61,0x6c,0x75,0x65,0x22,0x2c,0x20,0x30,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x73,0x74,0x6f,0x70,0x5f,0x74,0x69,0x6d,0x65,0x72,0x28,0x29,0x0a,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,
0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,
0x00,0x73,0x74,0x6f,0x70,0x5f,0x74,0x69,0x6d,0x65,0x72,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x74,
0x69,0x6d,0x65,0x72,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x74,0x6f,0x70,0x20,0x54,0x69,0x6d,0x65,
0x72,0x00,0x00,0x00,0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61, 0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,
0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,0x30, 0x63,0x6c,0x69,0x63,0x6b,0x00,0x71,0x75,0x69,0x74,0x28,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x51,0x75,
0x2c,0x77,0x3d,0x31,0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29,0x00,0x6e,0x61,0x6d,0x65, 0x69,0x74,0x00,0x00,0x00,0x00,0x76,0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x76,0x69,0x65,0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,
0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,
0x32,0x2c,0x73,0x3d,0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75, 0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,
0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00, 0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,
0x62,0x61,0x63,0x6b,0x28,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x61,0x63,0x6b,0x00,0x00,0x00,0x62, 0x30,0x2c,0x77,0x3d,0x31,0x30,0x30,0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29,0x00,0x6e,0x61,0x6d,
0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x65,0x00,0x76,0x69,0x65,0x77,0x00,0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,
0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,
0x3d,0x32,0x2c,0x73,0x3d,0x32,0x29,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,
0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x62,0x61,0x63,0x6b,0x5f,0x74,0x6f,0x5f,0x68, 0x65,0x00,0x74,0x69,0x6d,0x65,0x72,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,
0x6f,0x6d,0x65,0x28,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x61,0x63,0x6b,0x20,0x54,0x6f,0x20,0x48, 0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x73,0x74,0x61,0x72,0x74,0x5f,0x74,0x69,
0x6f,0x6d,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*5053*/ 0x6d,0x65,0x72,0x28,0x31,0x30,0x30,0x29,0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x74,0x61,0x72,0x74,0x20,
0x54,0x69,0x6d,0x65,0x72,0x00,0x6f,0x6e,0x3a,0x74,0x69,0x6d,0x65,0x72,0x00,0x61,0x20,0x3d,0x20,0x77,
0x69,0x64,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x6f,0x6b,0x75,0x70,0x28,0x27,0x77,0x69,0x6e,0x64,0x6f,0x77,
0x27,0x2c,0x20,0x27,0x62,0x61,0x72,0x27,0x2c,0x20,0x74,0x72,0x75,0x65,0x29,0x0a,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x62,0x20,0x3d,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x61,
0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x69,
0x66,0x28,0x62,0x20,0x3c,0x20,0x31,0x30,0x30,0x29,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x76,0x61,
0x6c,0x75,0x65,0x27,0x2c,0x20,0x62,0x20,0x2b,0x20,0x31,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x7d,0x20,0x65,0x6c,0x73,0x65,0x20,0x7b,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x61,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,
0x27,0x2c,0x20,0x30,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x73,0x74,0x6f,0x70,
0x5f,0x74,0x69,0x6d,0x65,0x72,0x28,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0x00,0x00,
0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,
0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x73,0x74,0x6f,0x70,0x5f,0x74,0x69,
0x6d,0x65,0x72,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x74,0x69,0x6d,0x65,0x72,0x27,0x29,0x00,
0x74,0x65,0x78,0x74,0x00,0x53,0x74,0x6f,0x70,0x20,0x54,0x69,0x6d,0x65,0x72,0x00,0x00,0x00,0x00,0x76,
0x69,0x65,0x77,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,
0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x73,0x65,0x6c,0x66,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,
0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x78,0x3d,0x30,0x2c,0x79,0x3d,0x30,0x2c,0x77,0x3d,0x31,0x30,0x30,
0x25,0x2c,0x68,0x3d,0x31,0x30,0x30,0x25,0x29,0x00,0x6e,0x61,0x6d,0x65,0x00,0x76,0x69,0x65,0x77,0x00,
0x63,0x68,0x69,0x6c,0x64,0x72,0x65,0x6e,0x5f,0x6c,0x61,0x79,0x6f,0x75,0x74,0x00,0x64,0x65,0x66,0x61,
0x75,0x6c,0x74,0x28,0x63,0x3d,0x32,0x2c,0x72,0x3d,0x31,0x2c,0x6d,0x3d,0x32,0x2c,0x73,0x3d,0x32,0x29,
0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,
0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,0x6c,0x69,0x63,0x6b,0x00,0x62,0x61,0x63,0x6b,0x28,0x29,
0x00,0x74,0x65,0x78,0x74,0x00,0x42,0x61,0x63,0x6b,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x66,0x6f,0x63,0x75,0x73,0x61,0x62,0x6c,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x63,
0x6c,0x69,0x63,0x6b,0x00,0x62,0x61,0x63,0x6b,0x5f,0x74,0x6f,0x5f,0x68,0x6f,0x6d,0x65,0x28,0x29,0x00,
0x74,0x65,0x78,0x74,0x00,0x42,0x61,0x63,0x6b,0x20,0x54,0x6f,0x20,0x48,0x6f,0x6d,0x65,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*5127*/

View File

@ -1,5 +1,5 @@
TK_CONST_DATA_ALIGN(const unsigned char ui_text_selector_fscript[]) = { TK_CONST_DATA_ALIGN(const unsigned char ui_text_selector_fscript[]) = {
0x04,0x00,0x01,0x01,0xb8,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c, 0x04,0x00,0x01,0x01,0xda,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,
0x65,0x63,0x74,0x6f,0x72,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x65,0x63,0x74,0x6f,0x72,0x5f,0x66,0x73,0x63,0x72,0x69,0x70,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
@ -18,28 +18,29 @@ TK_CONST_DATA_ALIGN(const unsigned char ui_text_selector_fscript[]) = {
0x65,0x61,0x72,0x00,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x39, 0x65,0x61,0x72,0x00,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x39,
0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x00,0x61,0x20, 0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x00,0x61,0x20,
0x3d,0x20,0x67,0x65,0x74,0x5f,0x64,0x61,0x79,0x73,0x5f,0x6f,0x66,0x5f,0x6d,0x6f,0x6e,0x74,0x68,0x28, 0x3d,0x20,0x67,0x65,0x74,0x5f,0x64,0x61,0x79,0x73,0x5f,0x6f,0x66,0x5f,0x6d,0x6f,0x6e,0x74,0x68,0x28,
0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x79,0x65, 0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x79,
0x61,0x72,0x2c,0x20,0x76,0x61,0x6c,0x75,0x65,0x29,0x2c,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67, 0x65,0x61,0x72,0x27,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x2c,0x20,0x77,0x69,0x64,0x67,
0x65,0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x6d,0x6f,0x6e,0x74,0x68,0x2c,0x20,0x76,0x61,0x6c, 0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x6d,0x6f,0x6e,0x74,0x68,
0x75,0x65,0x29,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f, 0x27,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x73,0x65,0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x64,0x61,0x79,0x2c,0x20,0x22,0x6f,0x70,0x74, 0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,
0x69,0x6f,0x6e,0x73,0x22,0x2c,0x20,0x69,0x66,0x6f,0x72,0x6d,0x61,0x74,0x28,0x20,0x22,0x31,0x2d,0x25, 0x64,0x61,0x79,0x27,0x2c,0x20,0x27,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x27,0x2c,0x20,0x69,0x66,0x6f,
0x64,0x22,0x2c,0x20,0x61,0x29,0x20,0x2b,0x20,0x22,0x25,0x30,0x32,0x64,0x22,0x29,0x00,0x00,0x00,0x74, 0x72,0x6d,0x61,0x74,0x28,0x20,0x27,0x31,0x2d,0x25,0x64,0x27,0x2c,0x20,0x61,0x29,0x20,0x2b,0x20,0x27,
0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x25,0x30,0x32,0x64,0x27,0x29,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x31,0x2d,0x31,0x32,0x2d, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74,
0x25,0x30,0x32,0x64,0x00,0x6e,0x61,0x6d,0x65,0x00,0x6d,0x6f,0x6e,0x74,0x68,0x00,0x73,0x65,0x6c,0x65, 0x69,0x6f,0x6e,0x73,0x00,0x31,0x2d,0x31,0x32,0x2d,0x25,0x30,0x32,0x64,0x00,0x6e,0x61,0x6d,0x65,0x00,
0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x38,0x00,0x6c,0x6f,0x6f,0x70,0x5f,0x6f,0x70, 0x6d,0x6f,0x6e,0x74,0x68,0x00,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,
0x74,0x69,0x6f,0x6e,0x73,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f, 0x00,0x38,0x00,0x6c,0x6f,0x6f,0x70,0x5f,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x74,0x72,0x75,0x65,
0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x00,0x61,0x20,0x3d,0x20,0x67,0x65,0x74,0x5f,0x64,0x61,0x79,0x73, 0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x00,0x61,0x20,
0x5f,0x6f,0x66,0x5f,0x6d,0x6f,0x6e,0x74,0x68,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74, 0x3d,0x20,0x67,0x65,0x74,0x5f,0x64,0x61,0x79,0x73,0x5f,0x6f,0x66,0x5f,0x6d,0x6f,0x6e,0x74,0x68,0x28,
0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x79,0x65,0x61,0x72,0x2c,0x20,0x76,0x61,0x6c,0x75,0x65,0x29, 0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x79,
0x2c,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e, 0x65,0x61,0x72,0x27,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x2c,0x20,0x77,0x69,0x64,0x67,
0x6d,0x6f,0x6e,0x74,0x68,0x2c,0x20,0x76,0x61,0x6c,0x75,0x65,0x29,0x29,0x0a,0x20,0x20,0x20,0x20,0x20, 0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x6d,0x6f,0x6e,0x74,0x68,
0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74, 0x27,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x2e,0x64,0x61,0x79,0x2c,0x20,0x22,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x22,0x2c,0x20,0x69,0x66,0x6f, 0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,
0x72,0x6d,0x61,0x74,0x28,0x20,0x22,0x31,0x2d,0x25,0x64,0x22,0x2c,0x20,0x61,0x29,0x20,0x2b,0x20,0x22, 0x64,0x61,0x79,0x27,0x2c,0x20,0x27,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x27,0x2c,0x20,0x69,0x66,0x6f,
0x25,0x30,0x32,0x64,0x22,0x29,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74, 0x72,0x6d,0x61,0x74,0x28,0x20,0x27,0x31,0x2d,0x25,0x64,0x27,0x2c,0x20,0x61,0x29,0x20,0x2b,0x20,0x27,
0x25,0x30,0x32,0x64,0x27,0x29,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,
0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74,
0x69,0x6f,0x6e,0x73,0x00,0x31,0x2d,0x33,0x31,0x2d,0x25,0x30,0x32,0x64,0x00,0x6e,0x61,0x6d,0x65,0x00, 0x69,0x6f,0x6e,0x73,0x00,0x31,0x2d,0x33,0x31,0x2d,0x25,0x30,0x32,0x64,0x00,0x6e,0x61,0x6d,0x65,0x00,
@ -59,32 +60,33 @@ TK_CONST_DATA_ALIGN(const unsigned char ui_text_selector_fscript[]) = {
0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x6f,0x77,0x3d,0x31,0x2c,0x63,0x6f,0x6c, 0x75,0x74,0x00,0x64,0x65,0x66,0x61,0x75,0x6c,0x74,0x28,0x72,0x6f,0x77,0x3d,0x31,0x2c,0x63,0x6f,0x6c,
0x3d,0x33,0x29,0x00,0x68,0x61,0x6e,0x64,0x6c,0x65,0x5f,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61, 0x3d,0x33,0x29,0x00,0x68,0x61,0x6e,0x64,0x6c,0x65,0x5f,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,
0x6e,0x67,0x65,0x64,0x00,0x61,0x20,0x3d,0x20,0x67,0x65,0x74,0x5f,0x64,0x61,0x79,0x73,0x5f,0x6f,0x66, 0x6e,0x67,0x65,0x64,0x00,0x61,0x20,0x3d,0x20,0x67,0x65,0x74,0x5f,0x64,0x61,0x79,0x73,0x5f,0x6f,0x66,
0x5f,0x6d,0x6f,0x6e,0x74,0x68,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x70,0x61, 0x5f,0x6d,0x6f,0x6e,0x74,0x68,0x28,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x70,
0x72,0x65,0x6e,0x74,0x2e,0x79,0x65,0x61,0x72,0x2c,0x20,0x76,0x61,0x6c,0x75,0x65,0x29,0x2c,0x20,0x77, 0x61,0x72,0x65,0x6e,0x74,0x2e,0x79,0x65,0x61,0x72,0x27,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,
0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x6d,0x6f,0x6e, 0x29,0x2c,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x67,0x65,0x74,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,
0x74,0x68,0x2c,0x20,0x76,0x61,0x6c,0x75,0x65,0x29,0x29,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69, 0x74,0x2e,0x6d,0x6f,0x6e,0x74,0x68,0x27,0x2c,0x20,0x27,0x76,0x61,0x6c,0x75,0x65,0x27,0x29,0x29,0x0a,
0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x64,0x61,0x79,0x2c, 0x20,0x20,0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x73,0x65,0x74,0x28,0x27,0x70,0x61,
0x20,0x22,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x22,0x2c,0x20,0x69,0x66,0x6f,0x72,0x6d,0x61,0x74,0x28, 0x72,0x65,0x6e,0x74,0x2e,0x64,0x61,0x79,0x27,0x2c,0x20,0x27,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x27,
0x20,0x22,0x31,0x2d,0x25,0x64,0x22,0x2c,0x20,0x61,0x29,0x20,0x2b,0x20,0x22,0x25,0x30,0x32,0x64,0x22, 0x2c,0x20,0x69,0x66,0x6f,0x72,0x6d,0x61,0x74,0x28,0x20,0x27,0x31,0x2d,0x25,0x64,0x27,0x2c,0x20,0x61,
0x29,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x00,0x00,0x00,0x00, 0x29,0x20,0x2b,0x20,0x27,0x25,0x30,0x32,0x64,0x27,0x29,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,
0x6c,0x65,0x63,0x74,0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x32, 0x00,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x32,0x30,0x30,0x30,0x2d,0x32,0x30,0x35,0x30,0x00,0x6e,
0x30,0x30,0x30,0x2d,0x32,0x30,0x35,0x30,0x00,0x6e,0x61,0x6d,0x65,0x00,0x79,0x65,0x61,0x72,0x00,0x73, 0x61,0x6d,0x65,0x00,0x79,0x65,0x61,0x72,0x00,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,
0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x39,0x00,0x6f,0x6e,0x3a,0x76, 0x64,0x65,0x78,0x00,0x39,0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,
0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x00,0x77,0x69,0x64,0x67,0x65,0x74,0x5f, 0x65,0x64,0x00,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x65,0x76,0x61,0x6c,0x28,0x27,0x70,0x61,0x72,0x65,
0x65,0x76,0x61,0x6c,0x28,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x68,0x61,0x6e,0x64,0x6c,0x65,0x5f,0x76, 0x6e,0x74,0x2e,0x68,0x61,0x6e,0x64,0x6c,0x65,0x5f,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,
0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x29,0x00,0x00,0x00,0x74,0x65,0x78,0x74, 0x67,0x65,0x64,0x27,0x29,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,
0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x31,0x2d,0x31,0x32,0x2d,0x25,0x30,0x32,
0x64,0x00,0x6e,0x61,0x6d,0x65,0x00,0x6d,0x6f,0x6e,0x74,0x68,0x00,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,
0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x38,0x00,0x6c,0x6f,0x6f,0x70,0x5f,0x6f,0x70,0x74,0x69,0x6f,
0x6e,0x73,0x00,0x74,0x72,0x75,0x65,0x00,0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,
0x6e,0x67,0x65,0x64,0x00,0x77,0x69,0x64,0x67,0x65,0x74,0x5f,0x65,0x76,0x61,0x6c,0x28,0x70,0x61,0x72,
0x65,0x6e,0x74,0x2e,0x68,0x61,0x6e,0x64,0x6c,0x65,0x5f,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,
0x6e,0x67,0x65,0x64,0x29,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,
0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74,0x69, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74,0x69,
0x6f,0x6e,0x73,0x00,0x31,0x2d,0x33,0x31,0x2d,0x25,0x30,0x32,0x64,0x00,0x6e,0x61,0x6d,0x65,0x00,0x64, 0x6f,0x6e,0x73,0x00,0x31,0x2d,0x31,0x32,0x2d,0x25,0x30,0x32,0x64,0x00,0x6e,0x61,0x6d,0x65,0x00,0x6d,
0x61,0x79,0x00,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x39,0x00, 0x6f,0x6e,0x74,0x68,0x00,0x73,0x65,0x6c,0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1768*/ 0x38,0x00,0x6c,0x6f,0x6f,0x70,0x5f,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x74,0x72,0x75,0x65,0x00,
0x6f,0x6e,0x3a,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x00,0x77,0x69,0x64,
0x67,0x65,0x74,0x5f,0x65,0x76,0x61,0x6c,0x28,0x27,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x68,0x61,0x6e,
0x64,0x6c,0x65,0x5f,0x76,0x61,0x6c,0x75,0x65,0x5f,0x63,0x68,0x61,0x6e,0x67,0x65,0x64,0x27,0x29,0x00,
0x00,0x00,0x74,0x65,0x78,0x74,0x5f,0x73,0x65,0x6c,0x65,0x63,0x74,0x6f,0x72,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73,0x00,0x31,0x2d,
0x33,0x31,0x2d,0x25,0x30,0x32,0x64,0x00,0x6e,0x61,0x6d,0x65,0x00,0x64,0x61,0x79,0x00,0x73,0x65,0x6c,
0x65,0x63,0x74,0x65,0x64,0x5f,0x69,0x6e,0x64,0x65,0x78,0x00,0x39,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,};/*1802*/

View File

@ -147,8 +147,12 @@ static ret_t func_array_pop(fscript_t* fscript, fscript_args_t* args, value_t* r
obj = value_object(args->args); obj = value_object(args->args);
arr = OBJECT_ARRAY(obj); arr = OBJECT_ARRAY(obj);
return_value_if_fail(arr != NULL, RET_BAD_PARAMS); return_value_if_fail(arr != NULL, RET_BAD_PARAMS);
if (arr->size > 0) {
return object_array_pop(obj, result); return object_array_pop(obj, result);
} else {
result->type = VALUE_TYPE_INVALID;
return RET_OK;
}
} }
static ret_t func_array_shift(fscript_t* fscript, fscript_args_t* args, value_t* result) { static ret_t func_array_shift(fscript_t* fscript, fscript_args_t* args, value_t* result) {
@ -159,7 +163,12 @@ static ret_t func_array_shift(fscript_t* fscript, fscript_args_t* args, value_t*
arr = OBJECT_ARRAY(obj); arr = OBJECT_ARRAY(obj);
return_value_if_fail(arr != NULL, RET_BAD_PARAMS); return_value_if_fail(arr != NULL, RET_BAD_PARAMS);
return object_array_shift(obj, result); if (arr->size > 0) {
return object_array_shift(obj, result);
} else {
result->type = VALUE_TYPE_INVALID;
return RET_OK;
}
} }
static ret_t func_array_set(fscript_t* fscript, fscript_args_t* args, value_t* result) { static ret_t func_array_set(fscript_t* fscript, fscript_args_t* args, value_t* result) {

View File

@ -43,12 +43,16 @@ static ret_t func_object_unref(fscript_t* fscript, fscript_args_t* args, value_t
static ret_t func_object_get_prop(fscript_t* fscript, fscript_args_t* args, value_t* result) { static ret_t func_object_get_prop(fscript_t* fscript, fscript_args_t* args, value_t* result) {
object_t* obj = NULL; object_t* obj = NULL;
FSCRIPT_FUNC_CHECK(args->size == 2, RET_BAD_PARAMS); FSCRIPT_FUNC_CHECK(args->size >= 2, RET_BAD_PARAMS);
obj = value_object(args->args); obj = value_object(args->args);
return_value_if_fail(obj != NULL, RET_BAD_PARAMS); return_value_if_fail(obj != NULL, RET_BAD_PARAMS);
if (object_get_prop(obj, value_str(args->args + 1), result) != RET_OK) { if (object_get_prop(obj, value_str(args->args + 1), result) != RET_OK) {
result->type = VALUE_TYPE_INVALID; if (args->size > 2) {
value_copy(result, args->args + 2);
} else {
result->type = VALUE_TYPE_INVALID;
}
} }
return RET_OK; return RET_OK;

View File

@ -342,7 +342,9 @@ static ret_t fscript_eval_arg(fscript_t* fscript, fscript_func_call_t* iter, uin
if (fscript_get_var(fscript, name, d) != RET_OK) { if (fscript_get_var(fscript, name, d) != RET_OK) {
if (name == NULL || *name != '$') { if (name == NULL || *name != '$') {
/*if it is not $var, consider id as string*/ char msg[128];
tk_snprintf(msg, sizeof(msg)-1, "not found var %s", name);
fscript_set_error(fscript, RET_NOT_FOUND, "get_var", msg);
value_copy(d, s); value_copy(d, s);
} }
} }

View File

@ -7,7 +7,7 @@ assert(array_pop(a), "a")
assert(array_pop(a), "3") assert(array_pop(a), "3")
assert(array_pop(a), "2") assert(array_pop(a), "2")
assert(array_pop(a), "1") assert(array_pop(a), "1")
assert(value_is_valid(array_pop(a))) assert(!value_is_valid(array_pop(a)))
assert(array_clear(a)) assert(array_clear(a))
assert(a.size == 0) assert(a.size == 0)

View File

@ -6,6 +6,6 @@ assert(array_pop(a), "a")
assert(array_pop(a), "3") assert(array_pop(a), "3")
assert(array_pop(a), "2") assert(array_pop(a), "2")
assert(array_pop(a), "1") assert(array_pop(a), "1")
assert(value_is_valid(array_pop(a))) assert(!value_is_valid(array_pop(a)))
assert(array_clear(a)) assert(array_clear(a))
assert(a.size == 0) assert(a.size == 0)

View File

@ -1,5 +1,5 @@
var a = 1; a = 1;
var b = ""; b = "";
if(a == 1) { if(a == 1) {
b = "a" b = "a"